SingleForm.js 1.1 KB

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.oa.custom.SingleForm', {
  2. extend : 'Ext.Viewport',
  3. layout : 'anchor',
  4. initComponent : function() {
  5. var me = this;
  6. Ext.apply(me, {
  7. items : [ {
  8. xtype : 'erpFormPanel',
  9. anchor : '100% 100%',
  10. saveUrl : 'custom/savePage.action?caller=' + caller,
  11. deleteUrl : 'custom/deletePage.action?caller=' + caller,
  12. updateUrl : 'custom/updatePage.action?caller=' + caller,
  13. auditUrl : 'custom/auditPage.action?caller=' + caller,
  14. resAuditUrl : 'custom/resAuditPage.action?caller=' + caller,
  15. submitUrl : 'custom/submitPage.action?caller=' + caller,
  16. bannedUrl : 'custom/bannedPage.action?caller=' + caller,
  17. printUrl: 'custom/printPage.action?caller=' + caller,
  18. resBannedUrl : 'custom/resBannedPage.action?caller=' + caller,
  19. resSubmitUrl : 'custom/resSubmitPage.action?caller=' + caller,
  20. onConfirmUrl : 'oa/custom/confirm.action?caller=' + caller,
  21. resConfirmUrl:'oa/custom/resConfirm.action?caller=' + caller,
  22. getIdUrl : 'common/getId.action?seq=CUSTOMTABLE_SEQ',
  23. codeField : 'CT_CODE',
  24. keyField : 'CT_ID'
  25. } ]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });