Browse Source

init

newStyle
lancer 2 years ago
parent
commit
58a08c0536
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/views/Customer/index.vue

+ 6
- 3
src/views/Customer/index.vue View File

@@ -233,8 +233,10 @@
<div class="labeltext">违禁标签:</div> <div class="labeltext">违禁标签:</div>
<el-select <el-select
v-model="searchForm.sensitiveWords" v-model="searchForm.sensitiveWords"
multiple
clearable clearable
filterable filterable
collapse-tags
placeholder="请选择" placeholder="请选择"
class="div-inpbox" class="div-inpbox"
> >
@@ -515,7 +517,7 @@ export default {
timeType: "0", timeType: "0",
clientStage: "", clientStage: "",
orderBy:'', orderBy:'',
sensitiveWords:'',
sensitiveWords:[],
}, },
clientStagelist: [], clientStagelist: [],
sensitiveList:[],//违禁词 sensitiveList:[],//违禁词
@@ -572,6 +574,7 @@ export default {
...this.searchForm, ...this.searchForm,
}; };
obj.keywordIds = obj.keywordsId.join(","); obj.keywordIds = obj.keywordsId.join(",");
obj.sensitiveWords = JSON.stringify(obj.sensitiveWords);
(obj.dateType = this.searchForm.staDate (obj.dateType = this.searchForm.staDate
? null ? null
: this.searchForm.dateType), : this.searchForm.dateType),
@@ -596,7 +599,7 @@ export default {
searchForm: "", searchForm: "",
timeType: "0", timeType: "0",
orderBy:'', orderBy:'',
sensitiveWords:'',
sensitiveWords:[],
projectId: projectId:
this.orgType == 3 this.orgType == 3
? localStorage.getItem("houseId") ? localStorage.getItem("houseId")
@@ -605,7 +608,7 @@ export default {
this.findbypage(); this.findbypage();
}, },
houseChange() { houseChange() {
this.searchForm.sensitiveWords=''
this.searchForm.sensitiveWords=[]
this.searchForm.keywordsId=[] this.searchForm.keywordsId=[]
this.findbypage(); this.findbypage();
this.findKeywords(); this.findKeywords();


Loading…
Cancel
Save