From d21a83cbc92dce00b3ae239f0ed3b0b84b443f7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=B6=E5=A3=AB=E6=B6=B5?= <630892807@qq.com>
Date: Mon, 30 Nov 2020 22:55:32 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E5=AE=A2=E6=9C=8D=E7=9A=84?=
=?UTF-8?q?=E5=89=8D=E7=AB=AFjs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
static/html/chat_main.html | 6 +++++-
static/js/chat-main.js | 8 +++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/static/html/chat_main.html b/static/html/chat_main.html
index cad783c..fa6e014 100644
--- a/static/html/chat_main.html
+++ b/static/html/chat_main.html
@@ -230,11 +230,15 @@
+
+ 离线
+ 转移
+
diff --git a/static/js/chat-main.js b/static/js/chat-main.js
index 06ec835..1a07afa 100644
--- a/static/js/chat-main.js
+++ b/static/js/chat-main.js
@@ -603,7 +603,13 @@ var app=new Vue({
_this.otherKefus=result;
});
},
- transKefuBtn(){},
+ //转移访客客服
+ transKefuVisitor(kefu,visitorId){
+ var _this=this;
+ // this.sendAjax("/other_kefulist","get",{},function(result){
+ // _this.otherKefus=result;
+ // });
+ },
sendAjax(url,method,params,callback){
let _this=this;
$.ajax({