EmpTransferCheckSet.js 817 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.hr.emplmana.EmpTransferCheckSet',{
  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% 30%',
  13. saveUrl: 'hr/emplmana/saveEmpTransferCheckSet.action',
  14. updateUrl: 'hr/emplmana/updateEmpTransferCheckSet.action',
  15. formCondition: getUrlParam('formCondition')?"caller='"+getUrlParam('formCondition').split('callerIS')[1]+"'":''
  16. },{
  17. xtype: 'erpGridPanel2',
  18. anchor: '100% 70%',
  19. mainField: 'caller',
  20. keyField: 'id',
  21. gridCondition : getUrlParam('gridCondition')?"caller='"+getUrlParam('gridCondition').split('callerIS')[1]+"'":''
  22. }]
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });