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 6401fa2d
authored
May 18, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
质检接口调试
1 parent
ac87c76b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
43 deletions
linkwe-pc/src/views/conversation/quality/api.js
linkwe-pc/src/views/conversation/quality/records-statistic.vue
linkwe-pc/src/views/conversation/quality/records.vue
linkwe-pc/src/views/conversation/quality/api.js
View file @
6401fa2
...
@@ -43,15 +43,6 @@ export function detailQuality(id) {
...
@@ -43,15 +43,6 @@ export function detailQuality(id) {
})
})
}
}
// 周报列表 待调
export
function
qualityWeeklyTatble
(
data
)
{
return
request
({
url
:
service
+
'/qi/list'
,
method
:
'get'
,
params
:
data
})
}
// 质检统计 看板
// 质检统计 看板
export
function
statisticData
(
id
)
{
export
function
statisticData
(
id
)
{
return
request
({
return
request
({
...
@@ -89,3 +80,11 @@ export function qualityWeeklyDetailTotal(id) {
...
@@ -89,3 +80,11 @@ export function qualityWeeklyDetailTotal(id) {
url
:
service
+
'/qi/weekly/getDetail/'
+
id
url
:
service
+
'/qi/weekly/getDetail/'
+
id
})
})
}
}
// 质检周报 详情列表
export
function
qualityWeeklyTable
(
id
,
data
)
{
return
request
({
url
:
service
+
'/qi/weekly/detail/list/'
+
id
,
params
:
data
})
}
linkwe-pc/src/views/conversation/quality/records-statistic.vue
View file @
6401fa2
...
@@ -33,27 +33,20 @@
...
@@ -33,27 +33,20 @@
show-overflow-tooltip
show-overflow-tooltip
></el-table-column>
></el-table-column>
<el-table-column
label=
"所属部门"
align=
"center"
prop=
"deptName"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"所属部门"
align=
"center"
prop=
"deptName"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"所属会话"
align=
"center"
prop=
"chatName"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"超时次数"
align=
"center"
prop=
"timeOutNum"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"会话类型"
align=
"center"
prop=
"chatType"
show-overflow-tooltip
>
<el-table-column
label=
"超时率"
align=
"center"
prop=
"timeOutRate"
show-overflow-tooltip
></el-table-column>
<template
slot-scope=
"
{ row }">
<div>
{{
row
.
chatType
==
1
?
'客户会话'
:
'客群会话'
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"超时时长"
align=
"center"
prop=
"timeout"
show-overflow-tooltip
></el-table-column>
<el-table-column
<el-table-column
label=
"
触发时间
"
label=
"
客户会话超时率
"
align=
"center"
align=
"center"
prop=
"createTime"
prop=
"chatTimeOutRate"
width=
"180"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"客群会话超时率"
align=
"center"
prop=
"groupChatTimeOutRate"
show-overflow-tooltip
show-overflow-tooltip
></el-table-column>
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"180"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"{ row }"
>
<el-button
type=
"text"
>
查看
</el-button>
</
template
>
</el-table-column>
</el-table>
</el-table>
<pagination
<pagination
:total=
"total"
:total=
"total"
...
@@ -79,7 +72,7 @@
...
@@ -79,7 +72,7 @@
<
script
>
<
script
>
import
ChartLine
from
'@/components/ChartLine.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
SearchTitle
from
'@/components/SearchTitle.vue'
import
SearchTitle
from
'@/components/SearchTitle.vue'
import
{
qualityWeeklyDetailTotal
,
statisticTable
,
statisticRecordList
}
from
'./api.js'
import
{
qualityWeeklyDetailTotal
,
qualityWeeklyTable
}
from
'./api.js'
import
SelectDept
from
'@/components/SelectDept'
import
SelectDept
from
'@/components/SelectDept'
export
default
{
export
default
{
...
@@ -99,28 +92,35 @@
...
@@ -99,28 +92,35 @@
userName
:
''
,
userName
:
''
,
cardData
:
[
cardData
:
[
{
{
title
:
'总超时次数'
,
title
:
'本周督导成员数'
,
tips
:
'成员在会话中未能及时回复的次数,仅计算产生双方参与的会话次数'
,
value
:
0
},
{
title
:
'客户会话数'
,
value
:
0
},
{
title
:
'客群会话数'
,
value
:
0
},
{
title
:
'成员回复次数'
,
value
:
0
value
:
0
},
},
{
{
title
:
'总超时率'
,
title
:
'成员超时次数'
,
tips
:
'成员在会话中未能及时回复的次数/双方共产生会话的次数'
,
value
:
0
value
:
0
},
},
{
{
title
:
'今日超时人数'
,
title
:
'成员超时率'
,
tips
:
'今日未能及时回复用户会话的成员人数'
,
value
:
0
value
:
0
},
},
{
{
title
:
'今日超时次数'
,
title
:
'客户会话超时率'
,
tips
:
'今日成员在会话中未能及时回复的次数'
,
value
:
0
value
:
0
},
},
{
{
title
:
'今日超时率'
,
title
:
'客群会话超时率'
,
tips
:
'今日成员在会话中未能及时回复的次数/今日双方共产生会话的次数'
,
value
:
0
value
:
0
}
}
],
],
...
@@ -188,16 +188,19 @@
...
@@ -188,16 +188,19 @@
},
},
getTabTotalFn
()
{
getTabTotalFn
()
{
qualityWeeklyDetailTotal
(
this
.
id
).
then
((
res
)
=>
{
qualityWeeklyDetailTotal
(
this
.
id
).
then
((
res
)
=>
{
this
.
cardData
[
0
].
value
=
res
.
data
.
timeOutTotalNum
this
.
cardData
[
0
].
value
=
res
.
data
.
staffNum
this
.
cardData
[
1
].
value
=
res
.
data
.
timeOutTotalRate
this
.
cardData
[
1
].
value
=
res
.
data
.
chatNum
this
.
cardData
[
2
].
value
=
res
.
data
.
todayTimeOutUserNum
this
.
cardData
[
2
].
value
=
res
.
data
.
groupChatNum
this
.
cardData
[
3
].
value
=
res
.
data
.
todayTimeOutNum
this
.
cardData
[
3
].
value
=
res
.
data
.
replyNum
this
.
cardData
[
4
].
value
=
res
.
data
.
todayTimeOutRate
this
.
cardData
[
4
].
value
=
res
.
data
.
timeOutNum
this
.
cardData
[
5
].
value
=
res
.
data
.
timeOutRate
this
.
cardData
[
6
].
value
=
res
.
data
.
chatTimeOutRate
this
.
cardData
[
7
].
value
=
res
.
data
.
chatTimeOutRate
})
})
},
},
getTableChangeSize
()
{
getTableChangeSize
()
{
this
.
loading
=
true
this
.
loading
=
true
statistic
Table
(
this
.
id
,
Object
.
assign
({},
this
.
query
)).
then
((
res
)
=>
{
qualityWeekly
Table
(
this
.
id
,
Object
.
assign
({},
this
.
query
)).
then
((
res
)
=>
{
this
.
tableList
=
res
.
rows
this
.
tableList
=
res
.
rows
this
.
total
=
Number
(
res
.
total
)
this
.
total
=
Number
(
res
.
total
)
this
.
loading
=
false
this
.
loading
=
false
...
...
linkwe-pc/src/views/conversation/quality/records.vue
View file @
6401fa2
...
@@ -74,6 +74,7 @@
...
@@ -74,6 +74,7 @@
this
.
list
=
res
.
rows
this
.
list
=
res
.
rows
this
.
total
=
Number
(
res
.
total
)
this
.
total
=
Number
(
res
.
total
)
}
}
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
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