AddHrorg.js 690 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.oa.officialDocument.fileManagement.documentRoom.AddHrorg',{
  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: 'south',
  10. xtype:'erpDatalistGridPanel',
  11. anchor: '100% 80%',
  12. selModel: Ext.create('Ext.selection.CheckboxModel',{
  13. }),
  14. tbar:[ {
  15. iconCls: 'x-button-icon-add',
  16. id: 'add',
  17. text: '确 定'
  18. },{
  19. iconCls: 'group-delete',
  20. id: 'cancel',
  21. text: '取 消'
  22. }]
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });