From e2696cbe085a0373b12cadfc48fd0f5b694088a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Tue, 11 Jul 2023 16:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=9D=E7=A6=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/http.js | 11 +++++++++++ src/views/Receive/index.vue | 35 +++++++++++++++++++++++++---------- 2 files changed, 36 insertions(+), 10 deletions(-) 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) {