KpiPeriods.js 956 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.hr.kpi.KpiPeriods',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'erpFormPanel',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 70%',
  14. saveUrl: 'hr/kpi/saveKpiPeriods.action',
  15. deleteUrl: 'hr/kpi/deleteKpiPeriods.action',
  16. updateUrl: 'hr/kpi/updateKpiPeriods.action',
  17. getIdUrl: 'common/getId.action?seq=KpiPeriods_SEQ',
  18. auditUrl: 'hr/kpi/auditKpiPeriods.action',
  19. resAuditUrl: 'hr/kpi/resAuditKpiPeriods.action',
  20. submitUrl: 'hr/kpi/submitKpiPeriods.action',
  21. resSubmitUrl: 'hr/kpi/resSubmitKpiPeriods.action',
  22. keyField: 'pe_id',
  23. codeField: 'pe_code'
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 30%',
  27. keyField: 'pd_id',
  28. detno: 'pd_pdno',
  29. mainField: 'pd_peid'
  30. }]
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });