修改搜搜中心
This commit is contained in:
@@ -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 = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user