GridPage.js 802 B

1234567891011121314151617181920212223242526
  1. Ext.define('erp.view.pm.make.GridPage',{
  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: 'anchor',
  10. items: [{
  11. xtype: 'erpGridPanel4',
  12. defaultCondition: '1=1',
  13. anchor: '100% 100%',
  14. saveUrl: 'common/batchSave.action?caller=' +caller,
  15. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  16. updateUrl: 'common/updateCommon.action?caller=' +caller,
  17. auditUrl: 'common/auditCommon.action?caller=' +caller,
  18. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  19. submitUrl: 'common/submitCommon.action?caller=' +caller,
  20. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller
  21. }]
  22. }]
  23. });
  24. me.callParent(arguments);
  25. }
  26. });