修改搜搜中心

This commit is contained in:
qq787203167
2022-03-25 19:16:56 +08:00
parent b2468052c7
commit dfb94dae42
2 changed files with 55 additions and 39 deletions
@@ -5,7 +5,7 @@
<div class="search-detail">
<div class="search-detail-wrap">
<a-input-group class="input-group" compact v-if="active === $t('DocumentLibrary')">
<a-select v-model="selectModel">
<a-select v-model="selectModel" @change="selectModelChange">
<a-select-option :value="item.db_field_name"
v-for="(item,index) in searchOption" :key="index">
{{item.db_field_txt}}
@@ -98,7 +98,7 @@
this.$refs.wholeRef.searchDataTwo(event)
} else if (this.$refs.DocumentLibraryRef) {
this.queryParam[this.selectModel] = event
this.$refs.DocumentLibraryRef.searchDataTwo(this.queryParam,this.selectModel)
this.$refs.DocumentLibraryRef.searchDataTwo(this.queryParam, this.selectModel)
}
},
getCondition() {
@@ -116,6 +116,9 @@
this.searchOption = []
}
})
},
selectModelChange(event) {
this.queryParam = {}
}
}
}