CopyPower.js 747 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.ma.CopyPower',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpGridPanel4',
  12. anchor: '100% 100%',
  13. tbar: ['->',{
  14. cls: 'x-btn-blue',
  15. id: 'copypower',
  16. text: '复制权限',
  17. width: 80,
  18. margin: '0 0 0 50'
  19. },{
  20. cls: 'x-btn-blue',
  21. id: 'search',
  22. text: '查看历史',
  23. width: 80,
  24. margin: '0 0 0 5'
  25. },{
  26. cls: 'x-btn-blue',
  27. id: 'close',
  28. text: $I18N.common.button.erpCloseButton,
  29. width: 80,
  30. margin: '0 0 0 5'
  31. },'->']
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });