KpiPosition.js 696 B

12345678910111213141516171819202122232425262728
  1. Ext.define('erp.view.hr.kpi.KpiPosition',{
  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% 30%',
  14. saveUrl: 'hr/kpi/saveKpiPosition.action',
  15. deleteUrl: 'common/deleteCommon.action?caller='+caller,
  16. updateUrl: 'common/updateCommon.action?caller='+caller,
  17. getIdUrl: 'common/getId.action?seq=KpiRule_SEQ',
  18. keyField: 'kr_id',
  19. codeField: 'kr_code'
  20. },{
  21. xtype: 'erpPositionGrid',
  22. anchor: '100% 70%'
  23. }]
  24. }]
  25. });
  26. me.callParent(arguments);
  27. }
  28. });