diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 9eda12c..2d94631 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -1169,7 +1169,7 @@ export function setSourceupDateSort(data) { // 客户管理违禁词 export function sensitivewordsList(data) { return request({ - url: '/autoSR/sensitivewords/list ', + url: '/autoSR/sensitivewords/list', method: 'get', params: data }) diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue index e101d5d..d784be4 100644 --- a/src/views/Customer/index.vue +++ b/src/views/Customer/index.vue @@ -228,6 +228,24 @@ > + +
+
违禁标签:
+ + + +
@@ -497,6 +515,7 @@ export default { timeType: "0", clientStage: "", orderBy:'', + sensitiveWords:'', }, clientStagelist: [], sensitiveList:[],//违禁词 @@ -577,6 +596,7 @@ export default { searchForm: "", timeType: "0", orderBy:'', + sensitiveWords:'', projectId: this.orgType == 3 ? localStorage.getItem("houseId") @@ -585,13 +605,15 @@ export default { this.findbypage(); }, houseChange() { + this.searchForm.sensitiveWords='' + this.searchForm.keywordsId=[] this.findbypage(); this.findKeywords(); // 获取置业顾问列表 this.findUserListByHouseId(); this.getclientStage(); // 获取违禁词 - // this.sensitivewordsList() + this.sensitivewordsList() }, // 违禁词 sensitivewordsList(){ @@ -599,6 +621,7 @@ export default { houseId: this.searchForm.projectId, }; this.$api.api.sensitivewordsList(obj).then((res) => { + console.log(res,'suhju') this.sensitiveList = res.data; }); }, diff --git a/vue.config.js b/vue.config.js index 0646ad8..41846be 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,10 +4,10 @@ */ // const url = 'http://pigx-gateway' // const url = 'http://39.97.167.65:9999' //测试 -// const url = 'http://192.168.31.167:9999' //长龙 +const url = 'http://192.168.31.167:9999' //长龙 // const url = 'http://192.168.31.134:9999' //嘉豪 // const url = 'http://192.168.31.100:9999' //王笑 -const url = 'http://62.234.122.43:9999' //正式 +// const url = 'http://62.234.122.43:9999' //正式 const CompressionWebpackPlugin = require('compression-webpack-plugin') const productionGzipExtensions = ['js', 'css']