Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f44812c8
authored
Feb 21, 2022
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
超时时间校验
1 parent
833082aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
linkwe-ui/src/views/customerService/customerServiceManage/part3.vue
linkwe-ui/src/views/customerService/customerServiceManage/part3.vue
View file @
f44812c
...
@@ -104,11 +104,11 @@
...
@@ -104,11 +104,11 @@
queueNotice
:
1
,
queueNotice
:
1
,
queueNoticeContent
:
'抱歉,当前所有客服都在接待中,请耐心等待,谢谢。'
,
queueNoticeContent
:
'抱歉,当前所有客服都在接待中,请耐心等待,谢谢。'
,
timeOutNotice
:
1
,
timeOutNotice
:
1
,
timeOut
:
null
,
timeOut
:
5
,
timeOutType
:
1
,
timeOutType
:
1
,
timeOutContent
:
'客服当前仍在等待您的回复哦~'
,
timeOutContent
:
'客服当前仍在等待您的回复哦~'
,
endNotice
:
1
,
endNotice
:
1
,
endNoticeTime
:
null
,
endNoticeTime
:
10
,
endTimeType
:
1
,
endTimeType
:
1
,
endContent
:
'感谢您的支持与信任,若您有任何疑问,欢迎随时联系,谢谢。'
endContent
:
'感谢您的支持与信任,若您有任何疑问,欢迎随时联系,谢谢。'
},
},
...
@@ -166,6 +166,20 @@
...
@@ -166,6 +166,20 @@
this
.
$message
.
error
(
'请选择接待员工!'
)
this
.
$message
.
error
(
'请选择接待员工!'
)
return
return
}
}
if
(
this
.
form
.
timeOutNotice
===
1
&&
!
this
.
form
.
timeOut
)
{
this
.
$message
.
error
(
'超时未回复提醒开启时超时时间不能为空!'
)
return
}
if
(
this
.
form
.
endNotice
===
1
&&
!
this
.
form
.
endNoticeTime
)
{
this
.
$message
.
error
(
'自动结束提醒开启时超时时间不能为空!'
)
return
}
if
(
this
.
form
.
timeOutNotice
===
1
&&
this
.
form
.
endNotice
===
1
)
{
if
(
this
.
form
.
timeOut
>=
this
.
form
.
endNoticeTime
)
{
this
.
$message
.
error
(
'超时未回复提醒时间需小于自动结束提醒时间!'
)
return
}
}
let
arr
=
[]
let
arr
=
[]
this
.
userList
.
forEach
(
dd
=>
{
this
.
userList
.
forEach
(
dd
=>
{
arr
.
push
({
userId
:
dd
.
userId
})
arr
.
push
({
userId
:
dd
.
userId
})
...
@@ -177,7 +191,6 @@
...
@@ -177,7 +191,6 @@
this
.
dialogVisibleSelectUser
=
true
this
.
dialogVisibleSelectUser
=
true
},
},
selectedUser
(
users
)
{
selectedUser
(
users
)
{
console
.
log
(
users
)
this
.
userList
=
users
this
.
userList
=
users
this
.
dialogVisibleSelectUser
=
false
this
.
dialogVisibleSelectUser
=
false
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment