Window.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Ext.define('uas.view.window.searchPlan.Window', {
  2. extend: 'Ext.window.Window',
  3. alias: 'widget.searchPlanWindow',
  4. xtype: 'searchPlanWindow',
  5. cls: 'x-window-searchPlanWindow',
  6. title: '筛选方案',
  7. scrollable: true,
  8. bodyPadding: 4,
  9. resizable:false,
  10. constrain: true,
  11. modal: true,
  12. closable: true,
  13. layout: 'border',
  14. closeAction: 'hide',
  15. items:[{
  16. width:260,
  17. frame:true,
  18. region:'west',
  19. xtype:'searchplan-treepanel'
  20. },{
  21. margin:'0 0 0 1',
  22. xtype:'tabpanel',
  23. cls:'x-tab-searchPlanTab',
  24. region:'center',
  25. frame:true,
  26. tabBar: {
  27. layout: {
  28. pack: 'center'
  29. }
  30. },
  31. items:[{
  32. title:'条件设置',
  33. xtype:'conditionPanel'
  34. },{
  35. title:'排序设置'
  36. },{
  37. title:'列设置'
  38. }]
  39. }],
  40. listeners:{
  41. show:function(){
  42. const me = this;
  43. const baseConditionGrid = me.down("[name=baseConditionGrid]");
  44. baseConditionGrid.refreshDate(me.grid);
  45. }
  46. }
  47. });