FormPanel.js 953 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Ext.define('saas.view.sys.manager.FormPanel', {
  2. extend: 'Ext.tab.Panel',
  3. xtype: 'sys-manager-formpanel',
  4. layout:'fit',
  5. bodyCls:'x-manager-background',
  6. //工具类
  7. FormUtil: Ext.create('saas.util.FormUtil'),
  8. BaseUtil: Ext.create('saas.util.BaseUtil'),
  9. tabBar: {
  10. layout: {
  11. pack: 'left'
  12. },
  13. border: false
  14. },
  15. defaults: {
  16. iconAlign: 'left',
  17. bodyPadding: 15
  18. },
  19. items: [{
  20. icon:'x-fa fa-key',
  21. title: '公司设置',
  22. xtype:'sys-config-formpanel'
  23. }, {
  24. icon:'x-fa fa-key',
  25. title: '账户设置',
  26. xtype:'panel'
  27. }, {
  28. icon:'x-fa fa-key',
  29. title: '权限设置',
  30. xtype:'sys-power-formpanel'
  31. }],
  32. initComponent: function () {
  33. var me = this;
  34. me.callParent(arguments);
  35. },
  36. refresh:function(){
  37. this.ownerCt.setTitle('系统管理');
  38. },
  39. });