[update] 修改一般检索点击其他筛选条件不管用的问题
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
<div :key="key" v-if="selectOptions[value]" :gutter="24" class="filter-row">
|
<div :key="key" v-if="selectOptions[value]" :gutter="24" class="filter-row">
|
||||||
<div class="label-col"><span class="search_label">{{ selectOptions[value].label }}</span></div>
|
<div class="label-col"><span class="search_label">{{ selectOptions[value].label }}</span></div>
|
||||||
<div class="option-col">
|
<div class="option-col">
|
||||||
<div v-for="item in selectOptions[value].options" :key="item.itemValue" class="option-div" :class="selectOptions[value].current === item.itemValue ? 'option-curr' : ''" @click="selectOptionsChange(key, item.itemValue)">
|
<div v-for="item in selectOptions[value].options" :key="item.itemValue" class="option-div" :class="selectOptions[value].current === item.itemValue ? 'option-curr' : ''" @click="selectOptionsChange(value, item.itemValue)">
|
||||||
<span>{{ item.itemText }}<span v-if="item.statisticsCount || item.statisticsCount === 0">(<span class="option-span-num">{{ item.statisticsCount }}</span>)</span></span>
|
<span>{{ item.itemText }}<span v-if="item.statisticsCount || item.statisticsCount === 0">(<span class="option-span-num">{{ item.statisticsCount }}</span>)</span></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -347,6 +347,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 其他检索条件改变
|
// 其他检索条件改变
|
||||||
selectOptionsChange (changeKey, value) {
|
selectOptionsChange (changeKey, value) {
|
||||||
|
console.log(changeKey, value)
|
||||||
this.selectOptions[changeKey].current = value
|
this.selectOptions[changeKey].current = value
|
||||||
this.onSearch(1)
|
this.onSearch(1)
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
|||||||
Reference in New Issue
Block a user