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