Browse Source

标签管理-标签使用记录 选择器搜索bug修正

master
x_ying 3 years ago
parent
commit
8660571bee
  1. 7
      src/views/storeManage/tagManage/tagLog/index.vue

7
src/views/storeManage/tagManage/tagLog/index.vue

@ -5,7 +5,7 @@
<el-select v-model="bindingType" class="filter-item" style="width: 130px; height: 30px;margin:0 25px 0 10px" @change="crud.toQuery">
<el-option v-for="item in bindingTypeOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
<el-select v-model="operType" class="filter-item line-before" allow-create="" style="width: 130px; height: 30px;" @change="crud.toQuery">
<el-select v-model="operType" class="filter-item line-before" style="width: 130px; height: 30px;" @change="crud.toQuery">
<el-option v-for="item in operTypeOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
<el-input v-model="keyWord" size="small" clearable placeholder="请输入关键词" style="width: 245px;margin:0 10px 0 -20px;padding-left:10px" class="input-prepend filter-item" @keyup.enter.native="crud.toQuery">
@ -97,8 +97,12 @@ export default {
}
},
methods: {
//
[CRUD.HOOK.beforeRefresh]() {
this.crud.query.tid = this.params.tid
this.crud.query.title = this.params.title
this.crud.query.operType = null
this.crud.query.bindingType = null
if (this.operType > 0) {
this.crud.query.operType = this.operType
}
@ -111,6 +115,7 @@ export default {
} else if (this.searchVal === 'tid') {
this.crud.query.tid = this.keyWord
}
// console.log(this.crud.data)
},
clickRowHandler(row) {
this.$refs.table.toggleRowSelection(row)

Loading…
Cancel
Save