diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 5e0e3c6..ad3de22 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -683,6 +683,17 @@ export function personalReceptionRecord(query) { }) } +// 获取禁忌执行 +export function findTabooWordsByCusId(query) { + return request({ + url: 'autoSR/customer/findTabooWordsByCusId', + method:'get', + params:query + }) +} + + + // 获取系统分析 export function findCARKeywords(query) { return request({ diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index c442a73..d6f8cd3 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -615,13 +615,18 @@ v-if="zhixingcenterindex == 1" style="padding: 0px 10px 10px 10px" > -
- {{ index + 1 }}、{{ item }} -
+ +
@@ -1394,7 +1399,10 @@ export default { Getintentionlist: [], //客户意向 argtextindex: "", //常错词下标 ratelist: [], //评分集合 - prohibitedlist: [], //违禁集合 + prohibitedlist: { + guwen: [], // 顾问违禁 + kehu: [], // 客户违禁 + }, //违禁集合 textItself: "", //原词内容 Acquirecustomerintentlist2: [], //校准列表 dialogFormtext: false, @@ -2242,15 +2250,22 @@ export default { } else { this.kehuyixiangcenterindex = 1; } - - this.prohibitedlist = JSON.parse(res.data.sensitiveWords) || []; this.findCARKeywords(); this.findBannedWordsByCusId(); this.Getsthetransliteratecontent(); this.marketingBusinessNoApi(); + this.findTabooWordsByCusId(); }); }, + // 禁忌执行 + findTabooWordsByCusId() { + this.$api.http + .findTabooWordsByCusId({ cusId: this.fileId }) + .then((res) => { + this.prohibitedlist = res.data; + }); + }, //常错词确认 subMsg() { if (this.mistakenList.indexOf(this.form.wrongWord) != -1) {