SysCheckScan.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Ext.define('erp.view.ma.SysCheckScan', {
  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 : 'border',
  10. items : [ {
  11. region : 'west',
  12. width : '25%',
  13. xtype : 'erpSysCheckTreePanel',
  14. layout : 'fit',
  15. }, {
  16. layout : 'anchor',
  17. region : 'center',
  18. id:'mainplace',
  19. items : [{
  20. //style : 'background:#CDCDB4',
  21. //bodyStyle : 'background:#CDCDB4;',
  22. anchor : '100% 7%',
  23. region:'north',
  24. xtype : 'SearChForm',
  25. },{
  26. anchor:'100% 93%',
  27. layout:'fit',
  28. autoScroll:true,
  29. region:'center',
  30. xtype : 'erpSysCheckGrid',
  31. condition:'1=1'
  32. },{
  33. anchor:'100% 93%',
  34. layout:'fit',
  35. autoScroll:true,
  36. hidden:true,
  37. id:'gridpanel',
  38. xtype : 'erpGridPanel2',
  39. caller : 'SysCheckData',
  40. bbar:{
  41. xtype:'toolbar',
  42. items:['-', {
  43. text : '合计栏',
  44. xtype : 'tbtext',
  45. }, {
  46. xtype:'splitter',
  47. width:10,
  48. },{
  49. id:'scd_count',
  50. itemId:'allcount',
  51. xtype:'tbtext',
  52. text:'记录总数:0'
  53. },{
  54. xtype : 'splitter',
  55. width : 10
  56. }, {
  57. id : 'scd_warn_sum',
  58. itemId : 'scdwarncount',
  59. xtype : 'tbtext',
  60. text : '提醒:0',
  61. margin : '0 0 10 0'
  62. }, {
  63. xtype : 'splitter',
  64. width : 10
  65. },{
  66. id:'scd_publish_sum',
  67. itemId:'scdpublish',
  68. xtype:'tbtext',
  69. text:'处罚:0'
  70. },{
  71. xtype:'splitter',
  72. width:10
  73. },{
  74. id:'scd_publishamount_sum',
  75. itemId:'publishamount',
  76. xtype:'tbtext',
  77. text:'处罚分数:0'
  78. },]
  79. }
  80. }]
  81. } ]
  82. } ]
  83. });
  84. me.callParent(arguments);
  85. }
  86. });