MeetingRoomInfo.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Ext.define('erp.view.oa.meeting.MeetingRoomInfo',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. var mrid = getUrlParam('formCondition').split('IS')[1];//数组【0】【1】值
  8. // alert(mrid);
  9. Ext.apply(me, {
  10. items: [{
  11. layout: 'anchor',
  12. items: [{
  13. xtype:'tabpanel',
  14. anchor: '100% 100%',
  15. items:[{
  16. title:'会议室信息',
  17. iconCls:'workrecord-log' ,
  18. xtype: 'erpFormPanel',
  19. bbar: null,
  20. frame:true,
  21. anchor: '100% 100%',
  22. keyField: 'mr_id'
  23. },{
  24. title:'设备信息',
  25. iconCls:'workrecord-task',
  26. caller: 'Equipment!Query',
  27. html: '<iframe id="iframe_' + new Date() + '" src="' + basePath + 'jsps/oa/meeting/equipment.jsp?whoami=Equipment&urlcondition=eq_mrid='+ mrid +'" height="100%" width="100%" frameborder="0" scrolling="yes"></iframe>',
  28. height:300,
  29. anchor: '100% 100%'
  30. }]
  31. }
  32. ]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });