AttentionManage.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Ext.define('erp.view.oa.attention.AttentionManage',{
  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:'erpAttentionManageGridPanel',
  11. anchor: '100% 100%',
  12. dockedItems: [{
  13. xtype: 'toolbar',
  14. dock: 'top',
  15. style:'font-size:16px;height:40px',
  16. bodyStyle: 'font-size:16px;height:40px',
  17. items: [{
  18. xtype: 'button',
  19. id:'delete',
  20. iconCls: 'tree-delete',
  21. text: $I18N.common.button.erpDeleteButton,
  22. style:'margin-left:10px'
  23. },{
  24. xtype:'button',
  25. text:'授权设置',
  26. id:'accredit',
  27. iconCls: 'x-button-icon-install',
  28. style:'margin-left:10px'
  29. },{
  30. xtype:'button',
  31. text:'关注点设置',
  32. id:'attention',
  33. iconCls: 'x-button-icon-install',
  34. style:'margin-left:10px'
  35. },{
  36. xtype:'button',
  37. text:'等级设置',
  38. id:'rank',
  39. iconCls: 'x-button-icon-install',
  40. style:'margin-left:10px'
  41. }]
  42. }]
  43. }]
  44. });
  45. me.callParent(arguments);
  46. }
  47. });