CustomFlow.js 796 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.oa.myProcess.CustomFlow',{
  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% 0%',
  13. saveUrl: 'oa/saveCustomFlow.action',
  14. deleteUrl: 'oa/deleteCustomFlow.action',
  15. updateUrl: 'oa/updateCustomFlow.action',
  16. getIdUrl: 'common/getId.action?seq=CUSTOMFLOW_SEQ',
  17. keyField: 'cf_id',
  18. codeField: 'cf_id',
  19. //statusField: 'cf_statuscode'
  20. },{
  21. xtype: 'erpGridPanel2',
  22. anchor: '100% 100%',
  23. detno: 'cfd_detno',
  24. necessaryField: 'cfd_actorUsers',
  25. keyField: 'cfd_id',
  26. mainField: 'cfd_cfid'
  27. }]
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });