SingleForm.js 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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. submitApprovesUrl:'custom/submitapproves.action?caller=' + caller+'!Confirm',
  24. resSubmitApprovesUrl:'custom/ressubmitapproves.action?caller=' + caller+'!Confirm',
  25. checkUrl : 'custom/aprovePage.action?caller=' + caller+'!Confirm',
  26. codeField : 'CT_CODE',
  27. keyField : 'CT_ID'
  28. } ]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });