查询优化

szh-new
lijingjia 4 months ago
parent bc56062ceb
commit 5dbfd09046

@ -119,25 +119,25 @@
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
} }
] ]
@ -148,25 +148,25 @@
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
}, },
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
} }
] ]
@ -259,6 +259,7 @@
UpdateUserQuerySet(propsData).then(res => {}) UpdateUserQuerySet(propsData).then(res => {})
} }
const changeHandle = (e, row) => { const changeHandle = (e, row) => {
row.value = null
props.schemas.forEach(item => { props.schemas.forEach(item => {
if (item.field == e) { if (item.field == e) {
row.component = item.component row.component = item.component
@ -291,7 +292,7 @@
{ {
field: null, field: null,
operator: null, operator: null,
value: '', value: null,
component: '' component: ''
} }
] ]

@ -311,8 +311,10 @@
optionsStore.getOptionsByCode('GetPackageSelectList') optionsStore.getOptionsByCode('GetPackageSelectList')
}) })
}, },
//
beforeFetch: (p) => { beforeFetch: (p) => {
return formatParams(p) return formatParams(p)
},
// if (moreNumVal.value) { // if (moreNumVal.value) {
// let ManyQueryData: any = { ConditionalList: [] } // let ManyQueryData: any = { ConditionalList: [] }
// moreNumVal.value // moreNumVal.value
@ -327,7 +329,6 @@
// condition.push(ManyQueryData) // condition.push(ManyQueryData)
// } // }
},
afterFetch: () => { afterFetch: () => {
isAdvancedQuery.value = false isAdvancedQuery.value = false
moreNumVisible.value = false moreNumVisible.value = false

Loading…
Cancel
Save