From e953754f1a3082aca2dc4a97a0bae4937c754663 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Fri, 11 Jun 2021 15:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=B8=80=E6=9D=A1=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=8E=86=E5=8F=B2=E5=8F=91?= =?UTF-8?q?=E9=80=81=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/ebiz/customerService.js | 2 +- src/views/ebiz/customerService/customerService.vue | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/router/ebiz/customerService.js b/src/router/ebiz/customerService.js index febea4337..4ad6e77bf 100644 --- a/src/router/ebiz/customerService.js +++ b/src/router/ebiz/customerService.js @@ -7,7 +7,7 @@ export default [ name: 'customerService', component: customerService, meta: { - title: '金掌柜智能客服', + title: '金掌桂智能客服', index: 1 } } diff --git a/src/views/ebiz/customerService/customerService.vue b/src/views/ebiz/customerService/customerService.vue index 5c724a6b1..504e0e8e3 100644 --- a/src/views/ebiz/customerService/customerService.vue +++ b/src/views/ebiz/customerService/customerService.vue @@ -4,7 +4,7 @@
-
+
{{ mandatorName }} @@ -35,7 +35,7 @@
-
{{ item.sendTime | formatDate }}
+
{{ item.sendTime | formatDate }}
@@ -64,7 +64,6 @@ export default { }, data() { return { - status: 0, //默认没有历史记录 mandatorName: '', SessionId: '', MessageId: '', @@ -91,7 +90,6 @@ export default { pageSize: 1000 }) if (res.content.list.length) { - that.status = 1 that.list = res.content.list res.content.list.map(itm => { //纯图片需要xml字符串转换json数据,数据解析 @@ -103,8 +101,6 @@ export default { }) that.list = res.content.list that.scrollToBottom() //滚动条定位底部 - } else { - this.send('你好') } }, //发送消息 @@ -120,10 +116,6 @@ export default { isQuestionQuery: '0' }) if (res.result == 0) { - // status 0 表示没有历史记录,默认传‘你好’,前端不显示 - if (that.status == 0) { - res.singleNode.question = '' - } //纯图片需要xml字符串转换json数据,数据解析 if (res.singleNode.isRichText == 2) { res.singleNode.PicUrl = xmlLoad.xmlStr2json(res.singleNode.answerMsg).root.PicUrl