Job.js 930 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.hr.emplmana.Job',{
  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: 'erpFormPanel',
  12. anchor: '100% 100%',
  13. saveUrl: 'hr/employee/saveJob.action',
  14. deleteUrl: 'hr/employee/deleteJob.action',
  15. updateUrl: 'hr/employee/updateJob.action',
  16. auditUrl: 'common/auditCommon.action?caller=' +caller,
  17. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  18. submitUrl: 'common/submitCommon.action?caller='+caller,
  19. resSubmitUrl: 'common/resSubmitCommon.action?caller='+caller,
  20. bannedUrl: 'hr/employee/bannedJob.action',
  21. resBannedUrl: 'hr/employee/resBannedJob.action',
  22. getIdUrl: 'common/getId.action?seq=JOB_SEQ',
  23. keyField: 'jo_id',
  24. codeField: 'jo_code'
  25. }]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });