Meetingroomapply.js.svn-base 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Ext.define('erp.view.oa.meeting.Meetingroomapply',{
  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% 65%',
  13. saveUrl: 'oa/meeting/saveMeetingroomapply.action',
  14. deleteUrl: 'oa/meeting/deleteMeetingroomapply.action',
  15. updateUrl: 'oa/meeting/updateMeetingroomapply.action',
  16. getIdUrl: 'common/getId.action?seq=Meetingroomapply_SEQ',
  17. auditUrl: 'oa/meeting/auditMeetingroomapply.action',
  18. resAuditUrl: 'oa/meeting/resAuditMeetingroomapply.action',
  19. submitUrl: 'oa/meeting/submitMeetingroomapply.action',
  20. resSubmitUrl: 'oa/meeting/resSubmitMeetingroomapply.action',
  21. keyField: 'ma_id'
  22. },{
  23. xtype: 'erpGridPanel2',
  24. anchor: '100% 35%',
  25. detno: 'md_detno',
  26. //necessaryField: 'md_participants',
  27. keyField: 'md_id',
  28. mainField: 'md_maid'
  29. /*xtype:'tabpanel',
  30. anchor: '100% 40%',
  31. items:[{
  32. title:'会议申请阶段',
  33. xtype: 'erpGridPanel2',
  34. anchor: '100% 30%',
  35. detno: 'mad_detno',
  36. //necessaryField: 'md_participants',
  37. keyField: 'mad_id',
  38. mainField: 'mad_maid'
  39. },{
  40. //id: 'recordDetailDet',
  41. xtype: 'MeetingDetail',
  42. title:'会议参与人',
  43. necessaryField: 'md_participants',
  44. //keyField: 'pl_id',
  45. //detno: 'pl_detno',
  46. //mainField: 'pl_vrid'
  47. }]*/
  48. }]
  49. }]
  50. });
  51. me.callParent(arguments);
  52. }
  53. });