feat: There is no way the, 56586 高级查询里边的以下查询条件,搜索之后点击清空,不能重置,必须刷新页面
This commit is contained in:
@@ -1665,6 +1665,7 @@
|
||||
<!-- 标准类别-->
|
||||
<el-form-item :label="$t('m.standardCategory')" class="add-form-item form-item-disabled">
|
||||
<search-select
|
||||
:key="keyModel"
|
||||
v-model="sarStandardsSearch.standSort"
|
||||
:placeholder="$t('m.standardCategoryTips')"
|
||||
:options="standSortOptions"
|
||||
@@ -1809,6 +1810,7 @@
|
||||
<!-- 归口管理部门-->
|
||||
<el-form-item label="归口管理部门" class="add-form-item form-item-disabled">
|
||||
<search-select
|
||||
:key="keyModel"
|
||||
v-model="advanceSearchMapping.GKDW"
|
||||
:placeholder="'归口管理部门'"
|
||||
:options="gkglbmOptions"
|
||||
@@ -1831,6 +1833,7 @@
|
||||
<!-- 适用车型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="keyModel"
|
||||
style="margin-left: -14px"
|
||||
:config="applyArcticOptions"
|
||||
v-model="sarStandardsSearch['CLLX']"
|
||||
@@ -1848,6 +1851,7 @@
|
||||
<!-- 适用认证-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="keyModel"
|
||||
style="margin-left: -14px"
|
||||
:config="syrzOptions"
|
||||
v-model="advanceSearchMapping['SYRZ']"
|
||||
@@ -1924,6 +1928,7 @@
|
||||
<!-- 能源类型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="keyModel"
|
||||
:config="nylxOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="advanceSearchMapping['NYLX']"
|
||||
@@ -1941,6 +1946,7 @@
|
||||
<!-- 适用产品线(新增字段)-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="keyModel"
|
||||
:config="sycpxOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="advanceSearchMapping['SYCPX']"
|
||||
@@ -2233,6 +2239,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
keyModel: 1,
|
||||
modalShowFlag6: false,
|
||||
QCDWValue: [],
|
||||
QCDWmodal: false,
|
||||
@@ -3791,31 +3798,16 @@ export default {
|
||||
// },
|
||||
// 清空搜索框
|
||||
clearAllSearch(flag) {
|
||||
if (flag === 'sarStandardsSearch' || flag === 'standCommonlySearch') {
|
||||
debugger
|
||||
if (flag === 'sarStandardsSearch' || flag === 'standCommonlySearch') {
|
||||
// 标准搜索
|
||||
this.sarStandardsSearch.country = ''
|
||||
this.sarStandardsSearch.standSort = ''
|
||||
this.sarStandardsSearch.standNumber = ''
|
||||
this.sarStandardsSearch.standName = ''
|
||||
this.sarStandardsSearch.standEnName = ''
|
||||
this.sarStandardsSearch.standState = ''
|
||||
this.sarStandardsSearch.standNature = ''
|
||||
this.sarStandardsSearch.issueTime = ''
|
||||
this.sarStandardsSearch.applyArctic = ''
|
||||
this.sarStandardsSearch.replaceStandNum = ''
|
||||
this.sarStandardsSearch.replacedStandNum = ''
|
||||
this.sarStandardsSearch.replacePartStandNum = ''
|
||||
this.sarStandardsSearch.replacedPartStandNum = ''
|
||||
this.sarStandardsSearch.synopsis = ''
|
||||
this.sarStandardsSearch.category = ''
|
||||
this.sarStandardsSearch.standYear = ''
|
||||
this.sarStandardsSearch.standEnName = ''
|
||||
this.isAdvancedSearch = false
|
||||
// } else if (flag === 'standCommonlySearch') {
|
||||
this.sarStandardsSearch.standName = ''
|
||||
this.sarStandardsSearch.standNumber = ''
|
||||
this.sarStandardsSearch = {}
|
||||
this.advanceSearchMapping = {}
|
||||
this.standCommonlySearch = {}
|
||||
this.sarStandardsSearch['CLLX'] = []
|
||||
this.keyModel++
|
||||
this.sarStandardsSearch = {
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
@@ -4619,7 +4611,7 @@ export default {
|
||||
connect: "and",
|
||||
field: key || '',
|
||||
type: 'regexp',
|
||||
value: list.join(',')
|
||||
value: value.join(',')
|
||||
});
|
||||
} else if (value !== null && value !== '' && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) {
|
||||
advanceSearchVOList.push({
|
||||
|
||||
Reference in New Issue
Block a user