From 0a2761299184bd30451fb85c59d357d20b8c11ec Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Tue, 12 Jul 2022 14:05:07 +0100 Subject: [PATCH] https://github.com/chatopera/cskefu/issues/721 add reminder for chatbot agent service --- .../src/main/resources/application.properties | 1 + .../templates/admin/system/chatbot/index.pug | 2 +- .../templates/apps/agent/mainagentuser.pug | 19 +++++++++++++++---- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/contact-center/app/src/main/resources/application.properties b/contact-center/app/src/main/resources/application.properties index db23e83b..60f54f18 100644 --- a/contact-center/app/src/main/resources/application.properties +++ b/contact-center/app/src/main/resources/application.properties @@ -50,6 +50,7 @@ cs.im.server.ssl.port= spring.servlet.multipart.enabled=true spring.servlet.multipart.max-file-size=15MB spring.servlet.multipart.max-request-size=15MB +spring.thymeleaf.enabled=false server.tomcat.remote-ip-header=x-forwarded-for server.tomcat.protocol-header=x-forwarded-proto diff --git a/contact-center/app/src/main/resources/templates/admin/system/chatbot/index.pug b/contact-center/app/src/main/resources/templates/admin/system/chatbot/index.pug index 13ac6d3c..7af035ae 100644 --- a/contact-center/app/src/main/resources/templates/admin/system/chatbot/index.pug +++ b/contact-center/app/src/main/resources/templates/admin/system/chatbot/index.pug @@ -193,7 +193,7 @@ block content .row(style='padding:5px;') .col-lg-12 - | 还没有智能机器人, + | 还没有智能机器人?新用户赠送免费试用资源包, a(href='javascript:void(0)', onclick='showChatbotCreateDialogue()') 现在去创建! script. // 打开文档中心 diff --git a/contact-center/app/src/main/resources/templates/apps/agent/mainagentuser.pug b/contact-center/app/src/main/resources/templates/apps/agent/mainagentuser.pug index 1aeb841f..6bbf86ff 100644 --- a/contact-center/app/src/main/resources/templates/apps/agent/mainagentuser.pug +++ b/contact-center/app/src/main/resources/templates/apps/agent/mainagentuser.pug @@ -218,10 +218,9 @@ script(language='javascript'). .layui-tab(style='margin-top:0px;') ul.layui-tab-title li.layui-this 访客 - if aisuggest && aisuggest == true - li#robot(onclick="$('#dot').css('display','none')") - span 智能机器人 - span#dot(style=" width: 7px;height: 7px;background: red;-moz-border-radius: 50%;-webkit-border-radius: 50%;border-radius: 50%;position: absolute;top: 5px;display: none") + li#robot(onclick="$('#dot').css('display','none')") + span 智能机器人 + span#dot(style=" width: 7px;height: 7px;background: red;-moz-border-radius: 50%;-webkit-border-radius: 50%;border-radius: 50%;position: absolute;top: 5px;display: inline-block") li 历史 li 搜索历史消息 .layui-tab-content(style='padding: 5px 0px 0px;') @@ -295,6 +294,18 @@ script(language='javascript'). .ukefu-empty(style="background: none") i.layui-icon  div(style="") 未触发知识库查询 + else + .layui-tab-item + .box + .box-title + h1.site-h1(style="background-color:#EEEEEE;") + | 知识库快捷 + .box-body(style="padding:0px 10px;") + ul#quickReplyBox.info-list.ukefu-quick-reply + li(style="list-style: none;background-image: url();padding: 50px 0 50px;") + .ukefu-empty(style="background: none") + i.layui-icon  + div(style="") 知识库快捷:提高用户满意度,提升工作效率。系统管理员进入【系统-智能对话机器人】绑定渠道开始使用。 .layui-tab-item .box .box-title