CheckBase.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. Ext.define('erp.view.common.init.CheckBase', {
  2. extend: 'Ext.Viewport',
  3. layout: {
  4. type: 'hbox',
  5. align: 'middle',
  6. pack: 'center'
  7. },
  8. style: 'background: #f1f2f5;',
  9. initComponent : function(){
  10. var me = this;
  11. Ext.apply(me, {
  12. items: [{
  13. xtype: 'form',
  14. height: 400,
  15. width: 500,
  16. layout: 'vbox',
  17. bodyStyle: 'background: #f1f1f1;',
  18. items: [{
  19. xtype: 'progressbar',
  20. text: '检测基础配置及基础资料设置',
  21. width: 500,
  22. value: 1,
  23. height: 20
  24. },{
  25. xtype: 'fieldcontainer',
  26. layout: 'column',
  27. margin: '4 0 0 4',
  28. width: 500,
  29. defaults: {
  30. columnWidth: .25
  31. },
  32. items: [{
  33. xtype: 'checkbox',
  34. checked: true,
  35. boxLabel: '基础配置项(使用前需具备数据)',
  36. columnWidth: 1
  37. },{
  38. xtype: 'displayfield',
  39. value: '基础资料表',
  40. table: 'BaseDataSet'
  41. },{
  42. xtype: 'displayfield',
  43. value: '数据字典',
  44. table: 'DataDictionary'
  45. },{
  46. xtype: 'displayfield',
  47. value: '数据字典明细',
  48. table: 'DataDictionaryDetail'
  49. },{
  50. xtype: 'displayfield',
  51. value: '列表',
  52. table: 'Datalist'
  53. },{
  54. xtype: 'displayfield',
  55. value: '列表明细',
  56. table: 'DatalistDetail'
  57. },{
  58. xtype: 'displayfield',
  59. value: '表单dbfind',
  60. table: 'DbfindsetUI'
  61. },{
  62. xtype: 'displayfield',
  63. value: '表格dbfind',
  64. table: 'Dbfindset'
  65. },{
  66. xtype: 'displayfield',
  67. value: '表格dbfind明细',
  68. table: 'DbfindsetDetail'
  69. },{
  70. xtype: 'displayfield',
  71. value: '表格dbfind对照关系',
  72. table: 'DbfindsetGrid'
  73. },{
  74. xtype: 'displayfield',
  75. value: '下拉框',
  76. table: 'DatalistCombo'
  77. },{
  78. xtype: 'displayfield',
  79. value: '表格',
  80. table: 'DetailGrid'
  81. },{
  82. xtype: 'displayfield',
  83. value: '逻辑配置明细',
  84. table: 'DocumentHandler'
  85. },{
  86. xtype: 'displayfield',
  87. value: '出入库单设置',
  88. table: 'DocumentSetup'
  89. },{
  90. xtype: 'displayfield',
  91. value: '表单',
  92. table: 'Form'
  93. },{
  94. xtype: 'displayfield',
  95. value: '表单明细',
  96. table: 'FormDetail'
  97. },{
  98. xtype: 'displayfield',
  99. value: '表格按钮',
  100. table: 'GridButton'
  101. },{
  102. xtype: 'displayfield',
  103. value: '初始化表',
  104. table: 'Initialize'
  105. },{
  106. xtype: 'displayfield',
  107. value: '初始化明细表',
  108. table: 'InitDetail'
  109. },{
  110. xtype: 'displayfield',
  111. value: '算法设计',
  112. table: 'LogicDesc'
  113. },{
  114. xtype: 'displayfield',
  115. value: '逻辑配置',
  116. table: 'LogicSetup'
  117. },{
  118. xtype: 'displayfield',
  119. value: '抛转公式',
  120. table: 'PostStyle'
  121. },{
  122. xtype: 'displayfield',
  123. value: '抛转关系对照表',
  124. table: 'PostStyleDetail'
  125. },{
  126. xtype: 'displayfield',
  127. value: '抛转步骤',
  128. table: 'PostStyleStep'
  129. },{
  130. xtype: 'displayfield',
  131. value: '表单关联查询',
  132. table: 'RelativeSearch'
  133. },{
  134. xtype: 'displayfield',
  135. value: '表单关联查询Form',
  136. table: 'RelativeSearchForm'
  137. },{
  138. xtype: 'displayfield',
  139. value: '表单关联查询Grid',
  140. table: 'RelativeSearchGrid'
  141. },{
  142. xtype: 'displayfield',
  143. value: '状态码对照表',
  144. table: 'Status'
  145. },{
  146. xtype: 'displayfield',
  147. value: '导航',
  148. table: 'Sysnavigation'
  149. },{
  150. xtype: 'displayfield',
  151. value: '特殊权限库',
  152. table: 'SysSpecialPower'
  153. },{
  154. xtype: 'displayfield',
  155. value: '关联UU字段',
  156. table: 'UUListener'
  157. },{
  158. xtype: 'checkbox',
  159. checked: true,
  160. boxLabel: '基础数据(业务处理前需具备数据)',
  161. margin: '4 0 0 0',
  162. columnWidth: 1
  163. },{
  164. xtype: 'displayfield',
  165. value: '辅助核算',
  166. table: 'AssKind'
  167. },{
  168. xtype: 'displayfield',
  169. value: '币别',
  170. table: 'Currencys'
  171. },{
  172. xtype: 'displayfield',
  173. value: '月度汇率',
  174. table: 'CurrencysMonth'
  175. },{
  176. xtype: 'displayfield',
  177. value: '编号原则',
  178. table: 'MaxNumbers'
  179. },{
  180. xtype: 'displayfield',
  181. value: '账期',
  182. table: 'Periods'
  183. },{
  184. xtype: 'displayfield',
  185. value: '账期明细',
  186. table: 'PeriodsDetail'
  187. },{
  188. xtype: 'displayfield',
  189. value: '系统设置',
  190. table: 'Setting'
  191. },{
  192. xtype: 'displayfield',
  193. value: '标准岗位',
  194. table: 'ST_Job'
  195. },{
  196. xtype: 'displayfield',
  197. value: '标准岗位权限',
  198. table: 'ST_PositionPower'
  199. }]
  200. }],
  201. buttonAlign: 'center',
  202. buttons: [{
  203. text: '上一步',
  204. cls: 'custom-button',
  205. name: 'prev'
  206. },{
  207. text: '检测',
  208. name: 'check',
  209. cls: 'custom-button'
  210. }, {
  211. disabled: true,
  212. text: '一键修补',
  213. name: 'repair',
  214. cls: 'custom-button'
  215. }, {
  216. disabled: true,
  217. text: '下一步',
  218. name: 'next',
  219. cls: 'custom-button'
  220. }]
  221. }]
  222. });
  223. me.callParent(arguments);
  224. }
  225. });