MeetingRoom.js 812 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.oa.meeting.MeetingRoom',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. layout: 'anchor',
  9. items: [{
  10. //region: 'north',
  11. xtype:'erpQueryFormPanel',
  12. anchor: '100% 20%'
  13. },{
  14. //region: 'south',
  15. xtype:'erpDatalistGridPanel',
  16. anchor: '100% 80%',
  17. selModel: Ext.create('Ext.selection.CheckboxModel',{
  18. }),
  19. tbar:[ {
  20. iconCls: 'x-button-icon-add',
  21. id: 'add',
  22. text: '添 加'
  23. },{
  24. iconCls: 'group-delete',
  25. id: 'delete',
  26. text: $I18N.common.button.erpDeleteButton
  27. }]
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });