123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- Ext.define('uas.view.window.searchPlan.ConditionPanel', {
- extend: 'Ext.panel.Panel',
- alias: 'widget.conditionPanel',
- xtype: 'conditionPanel',
- cls: 'x-panel-conditionPanel',
- layout:'column',
- defaults: {
- columnWidth:0.333,
- margin:'0 0 0 15'
- },
- items:[{
- xtype:'checkbox',
- boxLabel: '基本信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '高级信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '财务信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '辅助信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '人员信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '纳税信息',
- },
- {
- xtype:'checkbox',
- boxLabel: '供应商信息',
- },{
- margin:'0',
- xtype:'tabpanel',
- columnWidth:1,
- height:300,
- tabBar: {
- layout: {
- pack: 'center'
- }
- },
- layout:'fit',
- style:'border-top:1px solid rgb(197, 197, 197)',
- items:[{
- name:'baseConditionGrid',
- title:'基础设置',
- xtype:'grid',
- store:{
- fields:['type','operate','field','value'],
- data:[]
- },
- columns:[{
- dataIndex:'field',
- flex:1,
- text:'字段'
- },{
- dataIndex:'operate',
- width:100,
- text:'过滤逻辑'
- },{
- dataIndex:'value',
- width:160,
- text:'关键词'
- },{
- xtype:'actioncolumn',
- width:100,
- text:'操作'
- }],
- refreshDate:function(grid){
- const me = this;
- if(grid.nowFilterCondition&&grid.nowFilterCondition.length>0){
- me.store.loadData(grid.nowFilterCondition,false)
- }else{
- me.store.removeAll();
- }
- }
- },{
- title:'高级设置',
- xtype:'grid',
- columns:[{
- width:60,
- text:'括号'
- },{
- width:100,
- text:'字段'
- },{
- width:80,
- text:'逻辑'
- },{
- width:190,
- text:'关键字'
- },{
- width:60,
- text:'括号'
- },{
- width:60,
- text:'连接'
- }]
- }]
- }]
-
- });
|