Tidy.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Ext.define('erp.view.data.Tidy',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'accordion',
  10. xtype: 'panel',
  11. title: '数据字典维护',
  12. anchor: '100% 100%',
  13. layoutConfig:{
  14. // titleCollapse: false,
  15. animate: true,
  16. activeOnTop: true
  17. },
  18. items:[{
  19. title:'<img src="' + basePath + 'resource/images/grid.png" width=16 height=16/>&nbsp;&nbsp;数据字典缺省的表列表',
  20. // xtype: 'erpGridPanel',
  21. xtype: 'erpGridPanel6',
  22. // id:'grid1',
  23. id:'grid6'
  24. },{
  25. title:'<img src="' + basePath + 'resource/images/grid.png" width=16 height=16/>&nbsp;&nbsp;数据库缺省的表列表',
  26. // xtype: 'erpGridPanel2',
  27. // id:'grid2'
  28. xtype: 'erpGridPanel7',
  29. id:'grid7'
  30. },{
  31. title:'<img src="' + basePath + 'resource/images/grid.png" width=16 height=16/>&nbsp;&nbsp;表结构中缺省的字段列表',
  32. // xtype: 'erpGridPanel3',
  33. // id:'grid3'
  34. xtype: 'erpGridPanel8',
  35. id:'grid8'
  36. },{
  37. title:'<img src="' + basePath + 'resource/images/grid.png" width=16 height=16/>&nbsp;&nbsp;数据字典中缺省的表字段列表',
  38. // xtype: 'erpGridPanel4',
  39. // id:'grid4'
  40. xtype: 'erpGridPanel9',
  41. id:'grid9'
  42. }],
  43. // tbar:[{
  44. // text: '数据字典维护',
  45. // iconCls: 'x-button-icon-close',
  46. // cls: 'x-btn-gray',
  47. // id:'tidy'
  48. // }]
  49. }]
  50. });
  51. me.callParent(arguments);
  52. }
  53. });