GridPage.js 748 B

1234567891011121314151617181920212223
  1. Ext.define('erp.view.common.GridPage',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpGridPanel4',
  10. defaultCondition: '1=1',
  11. anchor: '100% 100%',
  12. saveUrl: 'common/batchSave.action?caller=' +caller,
  13. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  14. updateUrl: 'common/updateCommon.action?caller=' +caller,
  15. auditUrl: 'common/auditCommon.action?caller=' +caller,
  16. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  17. submitUrl: 'common/submitCommon.action?caller=' +caller,
  18. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller
  19. }]
  20. });
  21. me.callParent(arguments);
  22. }
  23. });