From 5dbfd09046917a08d12731c524e90a937f524ece Mon Sep 17 00:00:00 2001 From: lijingjia Date: Fri, 12 Jul 2024 13:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Form/src/components/AdvancedSearch.vue | 19 ++++++++++--------- src/views/operation/seaexport/index.vue | 3 ++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/components/Form/src/components/AdvancedSearch.vue b/src/components/Form/src/components/AdvancedSearch.vue index 9b51dc19..e9fc5082 100644 --- a/src/components/Form/src/components/AdvancedSearch.vue +++ b/src/components/Form/src/components/AdvancedSearch.vue @@ -119,25 +119,25 @@ { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' } ] @@ -148,25 +148,25 @@ { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' }, { field: null, operator: null, - value: '', + value: null, component: '' } ] @@ -259,6 +259,7 @@ UpdateUserQuerySet(propsData).then(res => {}) } const changeHandle = (e, row) => { + row.value = null props.schemas.forEach(item => { if (item.field == e) { row.component = item.component @@ -291,7 +292,7 @@ { field: null, operator: null, - value: '', + value: null, component: '' } ] diff --git a/src/views/operation/seaexport/index.vue b/src/views/operation/seaexport/index.vue index b17b7561..41593a1a 100644 --- a/src/views/operation/seaexport/index.vue +++ b/src/views/operation/seaexport/index.vue @@ -311,8 +311,10 @@ optionsStore.getOptionsByCode('GetPackageSelectList') }) }, + // 请求前的参数格式化 beforeFetch: (p) => { return formatParams(p) + }, // if (moreNumVal.value) { // let ManyQueryData: any = { ConditionalList: [] } // moreNumVal.value @@ -327,7 +329,6 @@ // condition.push(ManyQueryData) // } - }, afterFetch: () => { isAdvancedQuery.value = false moreNumVisible.value = false