Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-quality
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 a2015e3d
authored
Mar 23, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
81874781
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
22 deletions
src/views/qualityManage/index.vue
src/views/qualityManage/recepDetail.vue
src/views/qualityManage/index.vue
View file @
a2015e3
...
...
@@ -34,7 +34,7 @@
</div>
</GLCombiForm>
<GLTable
ref=
"qualityTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"qualityTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"store"
slot-scope=
"scope"
>
<template
v-if=
"scope.scope.storeList && scope.scope.storeList.length > 1"
>
<span>
{{
scope
.
scope
.
storeList
.
slice
(
0
,
1
).
join
(
''
)
}}
</span>
...
...
@@ -52,7 +52,7 @@
</div>
<div
slot=
"seconds"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.seconds"
>
{{
(
scope
.
scope
.
seconds
/
60
).
toFixed
(
1
)
}}
{{
(
scope
.
scope
.
seconds
/
60
).
toFixed
(
1
)
}}
</
template
>
<
template
v-else
>
--
</
template
>
</div>
...
...
@@ -119,16 +119,13 @@ export default {
}
},
{
icon
:
"score"
,
text
:
"话术平均质检评分"
,
formatter
:
(
data
)
=>
{
let
strHtml
=
data
.
averageQualityTestScore
||
data
.
averageQualityTestScore
==
0
?
`<span style="font-weight:700;font-size:26px;">
${
data
.
averageQualityTestScore
}
</span>分`
:
`<span style="font-weight:700;font-size:22px;">统计中</span>`
icon
:
'score'
,
text
:
'话术平均质检评分'
,
formatter
:
data
=>
{
let
strHtml
=
data
.
averageQualityTestScore
||
data
.
averageQualityTestScore
==
0
?
`<span style="font-weight:700;font-size:26px;">
${
data
.
averageQualityTestScore
}
</span>分`
:
`<span style="font-weight:700;font-size:22px;">统计中</span>`
return
strHtml
},
tooltip
:
"统计当日所有员工的质检平均分,分值越高整体表现越好"
tooltip
:
'统计当日所有员工的质检平均分,分值越高整体表现越好'
}
],
statistics
:
{
...
...
@@ -355,8 +352,8 @@ export default {
getServiceStore
()
{
this
.
$apis
.
quality
.
listShop4sByRef
({
currentPage
:
1
,
pageSize
:
99999
,
currentPage
:
1
,
pageSize
:
99999
,
partnerMerchantId
:
this
.
$globalState
.
session
.
merchantId
})
.
then
(
res
=>
{
...
...
@@ -368,7 +365,8 @@ export default {
let
searchdate
=
Util
.
dateFormate
(
val
,
'YYYY-MM-DD'
)
this
.
$apis
.
quality
.
statisticsEmployeeBadge
({
searchdate
searchdate
,
serviceMerchantNo
:
this
.
$globalState
.
session
.
merchantId
})
.
then
(
res
=>
{
this
.
statistics
=
res
...
...
@@ -468,7 +466,7 @@ export default {
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.quality-control
{
.header
{
height
:
136px
;
...
...
@@ -538,4 +536,4 @@ export default {
cursor
:
pointer
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/qualityManage/recepDetail.vue
View file @
a2015e3
...
...
@@ -20,7 +20,7 @@
<label>
服务商:
</label>
<
template
v-if=
"queryData.serviceList"
>
<el-tooltip
effect=
"dark"
:content=
"queryData.serviceList.join('、')"
placement=
"top-start"
>
<span>
{{
queryData
.
serviceList
.
join
(
'、'
)
}}
</span>
<span>
{{
queryData
.
serviceList
.
join
(
'、'
)
}}
</span>
</el-tooltip>
</
template
>
<span
v-else
>
-
</span>
...
...
@@ -41,7 +41,7 @@
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.qualityTestScore"
></el-input-range>
</
template
>
</GLCombiForm>
<GLTable
ref=
"recepDetail"
:get-list-api=
"getListApi"
:hasNum=
"false"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
:pageConf=
"pageConf"
>
<GLTable
ref=
"recepDetail"
:get-list-api=
"getListApi"
:hasNum=
"false"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
:pageConf=
"pageConf"
>
<
template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"qualitDetail(scope.scope)"
>
质检详情
</el-button>
</
template
>
...
...
@@ -74,7 +74,7 @@ export default {
name
:
'recepTime'
,
// addHtml:'recepTime',
isClear
:
true
,
pickerOptions
:
'
r
angePickerOptions'
pickerOptions
:
'
afterR
angePickerOptions'
},
{
label
:
'质检评分'
,
...
...
@@ -96,9 +96,9 @@ export default {
listName
:
'list'
,
tableOption
:
true
,
tableColumns
:
[
{
label
:
"接待批次"
,
prop
:
"key"
{
label
:
'接待批次'
,
prop
:
'key'
},
{
label
:
'开始接待时间'
,
...
...
@@ -272,4 +272,4 @@ export default {
height
:
auto
;
}
}
</
style
>
\ No newline at end of file
</
style
>
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