Ext.define('erp.view.common.main.TreeTabPanel',{ extend: 'Ext.tab.Panel', alias: 'widget.erpTreeTabPanel', id: 'tree-tab', region: 'west', split: true, collapsible :true, //可以伸缩 toggleCollapse: function() { if (this.collapsed) { this.expand(this.animCollapse); } else { this.title = $I18N.common.main.navigation; this.collapse(this.collapseDirection, this.animCollapse); } return this; }, //hideCollapseTool :true, //header :false, title: '' + $I18N.common.main.navigation + '', /* plugins:[{ ptype: 'tabcollapsed', }],*/ width : '20%', minSize : 130, maxSize : 300, defaults: { autoScroll:true }, activeTab: 0, border: false, items: [{ title: $I18N.common.main.integrationManage, xtype: 'erpTreePanel' },{ title: $I18N.common.main.navigationchart, xtype:'erpFlowPanel' }], initComponent : function(){ this.callParent(arguments); } });