Equipment.js.svn-base 786 B

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