Strategy.js 988 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.crm.marketCompete.Strategy',{
  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% 100%',
  14. saveUrl: 'common/saveCommon.action?caller=' +caller,
  15. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  16. updateUrl: 'common/updateCommon.action?caller=' +caller,
  17. auditUrl: 'common/auditCommon.action?caller=' +caller,
  18. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  19. submitUrl: 'common/submitCommon.action?caller=' +caller,
  20. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller,
  21. getIdUrl: 'common/getId.action?seq=STRATEGY_SEQ',
  22. keyField: 'st_id',
  23. codeField: 'st_code',
  24. statusField: 'st_status',
  25. statusCodeField: 'st_statuscode'
  26. }]
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });