KpiDetail.js 848 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.hr.kpi.KpiDetail',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpKpiPanel',
  10. anchor: '100% 50%',
  11. fixedlayout:true,
  12. saveUrl: 'hr/kpi/saveDetail.action?caller=' +caller,
  13. updateUrl:'hr/kpi/updateDetail.action?caller=' +caller,
  14. deleteUrl: 'hr/kpi/deleteDetail.action?caller=' +caller,
  15. getIdUrl: 'common/getCommonId.action?caller=' +caller,
  16. keyField: '',
  17. codeField: ''
  18. },
  19. {
  20. xtype: 'erpGridPanel2',
  21. selModel: {
  22. injectCheckbox: 0,
  23. mode: "MULTI", //"SINGLE"/"SIMPLE"/"MULTI"
  24. checkOnly: true //只能通过checkbox选择
  25. },
  26. selType: "checkboxmodel",
  27. anchor: '100% 50%'
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });