CheckBase.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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: 'Datalist'
  45. },{
  46. xtype: 'displayfield',
  47. value: '列表明细',
  48. table: 'DatalistDetail'
  49. },{
  50. xtype: 'displayfield',
  51. value: '表单dbfind',
  52. table: 'DbfindsetUI'
  53. },{
  54. xtype: 'displayfield',
  55. value: '表格dbfind',
  56. table: 'Dbfindset'
  57. },{
  58. xtype: 'displayfield',
  59. value: '表格dbfind明细',
  60. table: 'DbfindsetDetail'
  61. },{
  62. xtype: 'displayfield',
  63. value: '表格dbfind对照关系',
  64. table: 'DbfindsetGrid'
  65. },{
  66. xtype: 'displayfield',
  67. value: '下拉框',
  68. table: 'DatalistCombo'
  69. },{
  70. xtype: 'displayfield',
  71. value: '表格',
  72. table: 'DetailGrid'
  73. },{
  74. xtype: 'displayfield',
  75. value: '逻辑配置明细',
  76. table: 'DocumentHandler'
  77. },{
  78. xtype: 'displayfield',
  79. value: '出入库单设置',
  80. table: 'DocumentSetup'
  81. },{
  82. xtype: 'displayfield',
  83. value: '表单',
  84. table: 'Form'
  85. },{
  86. xtype: 'displayfield',
  87. value: '表单明细',
  88. table: 'FormDetail'
  89. },{
  90. xtype: 'displayfield',
  91. value: '表格按钮',
  92. table: 'GridButton'
  93. },{
  94. xtype: 'displayfield',
  95. value: '初始化表',
  96. table: 'Initialize'
  97. },{
  98. xtype: 'displayfield',
  99. value: '初始化明细表',
  100. table: 'InitDetail'
  101. },{
  102. xtype: 'displayfield',
  103. value: '算法设计',
  104. table: 'LogicDesc'
  105. },{
  106. xtype: 'displayfield',
  107. value: '逻辑配置',
  108. table: 'LogicSetup'
  109. },{
  110. xtype: 'displayfield',
  111. value: '抛转公式',
  112. table: 'PostStyle'
  113. },{
  114. xtype: 'displayfield',
  115. value: '抛转关系对照表',
  116. table: 'PostStyleDetail'
  117. },{
  118. xtype: 'displayfield',
  119. value: '抛转步骤',
  120. table: 'PostStyleStep'
  121. },{
  122. xtype: 'displayfield',
  123. value: '表单关联查询',
  124. table: 'RelativeSearch'
  125. },{
  126. xtype: 'displayfield',
  127. value: '表单关联查询Form',
  128. table: 'RelativeSearchForm'
  129. },{
  130. xtype: 'displayfield',
  131. value: '表单关联查询Grid',
  132. table: 'RelativeSearchGrid'
  133. },{
  134. xtype: 'displayfield',
  135. value: '状态码对照表',
  136. table: 'Status'
  137. },{
  138. xtype: 'displayfield',
  139. value: '导航',
  140. table: 'Sysnavigation'
  141. },{
  142. xtype: 'displayfield',
  143. value: '特殊权限库',
  144. table: 'SysSpecialPower'
  145. },{
  146. xtype: 'displayfield',
  147. value: '关联UU字段',
  148. table: 'UUListener'
  149. },{
  150. xtype: 'checkbox',
  151. checked: true,
  152. boxLabel: '基础数据(业务处理前需具备数据)',
  153. margin: '4 0 0 0',
  154. columnWidth: 1
  155. },{
  156. xtype: 'displayfield',
  157. value: '辅助核算',
  158. table: 'AssKind'
  159. },{
  160. xtype: 'displayfield',
  161. value: '币别',
  162. table: 'Currencys'
  163. },{
  164. xtype: 'displayfield',
  165. value: '月度汇率',
  166. table: 'CurrencysMonth'
  167. },{
  168. xtype: 'displayfield',
  169. value: '编号原则',
  170. table: 'MaxNumbers'
  171. },{
  172. xtype: 'displayfield',
  173. value: '账期',
  174. table: 'Periods'
  175. },{
  176. xtype: 'displayfield',
  177. value: '账期明细',
  178. table: 'PeriodsDetail'
  179. },{
  180. xtype: 'displayfield',
  181. value: '系统设置',
  182. table: 'Setting'
  183. },{
  184. xtype: 'displayfield',
  185. value: '标准岗位',
  186. table: 'ST_Job'
  187. },{
  188. xtype: 'displayfield',
  189. value: '标准岗位权限',
  190. table: 'ST_PositionPower'
  191. }]
  192. }],
  193. buttonAlign: 'center',
  194. buttons: [{
  195. text: '上一步',
  196. cls: 'custom-button',
  197. name: 'prev'
  198. },{
  199. text: '检测',
  200. name: 'check',
  201. cls: 'custom-button'
  202. }, {
  203. disabled: true,
  204. text: '一键修补',
  205. name: 'repair',
  206. cls: 'custom-button'
  207. }, {
  208. disabled: true,
  209. text: '下一步',
  210. name: 'next',
  211. cls: 'custom-button'
  212. }]
  213. }]
  214. });
  215. me.callParent(arguments);
  216. }
  217. });