Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
8 years ago
Commit
be89b650f2b5a166f84a8d8081bc26d621a23c53
1 parent
1727787f
fixed:排队的时候不显示人工客服
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
public/js/service/client.page.js
public/js/service/client.page.js
View file @
be89b65
...
...
@@ -281,7 +281,7 @@ function pageInit() {
}
/**
* 人工客服
s
* 人工客服
*/
function
manualService
()
{
socketConfCM
.
type
=
allRTs
.
MANUAL_SERVICE
;
...
...
@@ -297,6 +297,14 @@ function pageInit() {
}
/**
* 客服已离线
*/
function
csOffline
(
message
)
{
// 系统通知
systemTip
(
''
,
message
.
content
);
}
/**
* 留言
*/
function
leaveMsg
()
{
...
...
@@ -359,6 +367,8 @@ function pageInit() {
<
/span
>
<
/p
>
<
/div>`
;
// 隐藏人工
$iconMs
.
hide
();
break
;
case
MANUAL_SERVICE
:
// 2是接入人工成功
...
...
@@ -649,6 +659,11 @@ function pageInit() {
csChatting
(
message
);
break
;
// 对方离开
case
allTypes
.
OP_LEAVE
:
csOffline
(
message
);
break
;
case
allTypes
.
OFFLINE
:
tipTpl
=
`
<
div
class
=
"list-item"
>
...
...
Please
register
or
login
to post a comment