Ext.define('uas.view.window.searchPlan.Window', { extend: 'Ext.window.Window', alias: 'widget.searchPlanWindow', xtype: 'searchPlanWindow', cls: 'x-window-searchPlanWindow', title: '筛选方案', scrollable: true, bodyPadding: 4, resizable:false, constrain: true, modal: true, closable: true, layout: 'border', closeAction: 'hide', items:[{ width:260, frame:true, region:'west', xtype:'searchplan-treepanel' },{ margin:'0 0 0 1', xtype:'tabpanel', cls:'x-tab-searchPlanTab', region:'center', frame:true, tabBar: { layout: { pack: 'center' } }, items:[{ title:'条件设置', xtype:'conditionPanel' },{ title:'列设置' }] }], bbar:[{ xtype:'checkbox', boxLabel: '设为默认方案', },'->',{ cls:'x-btn-blue', xtype:'button', text: '查询', },{ xtype:'button', text: '确认', },{ xtype:'button', text: '取消', handler:function(me){ me.ownerCt.ownerCt.hide() } }], listeners:{ show:function(){ const me = this; const baseConditionGrid = me.down("[name=baseConditionGrid]"); baseConditionGrid.refreshDate(me.grid); } } });