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 2a516883
authored
Mar 23, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.37.0' into SAAS+V4.37.0_0326
2 parents
3ee750f4
dd679619
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
30 deletions
src/views/qualityManage/index.vue
src/views/qualityManage/recepDetail.vue
src/views/qualityManage/index.vue
View file @
2a51688
...
...
@@ -17,30 +17,24 @@
</div>
</div>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
class=
"show-search"
labelWidth=
"110px"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<GLCombiForm
ref=
"showSearch"
class=
"show-search"
labelWidth=
"110px"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<div
slot=
"searchdate"
>
<el-date-picker
v-model=
"searchForm.searchdate"
type=
"date"
placeholder=
"选择日期"
:picker-options=
"rangePickerOptions"
></el-date-picker>
<el-date-picker
v-model=
"searchForm.searchdate"
type=
"date"
placeholder=
"选择日期"
:picker-options=
"rangePickerOptions"
></el-date-picker>
</div>
<!-- 质检评分 -->
<div
slot=
"score"
>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.qualityTestScore"
></el-input-range>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.qualityTestScore"
></el-input-range>
</div>
<!-- 当日到店量 -->
<div
slot=
"toStoreCount"
>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.toStoreCount"
></el-input-range>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.toStoreCount"
></el-input-range>
</div>
<div
slot=
"AbnormalProportion"
>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.AbnormalProportion"
></el-input-range>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.AbnormalProportion"
></el-input-range>
</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>
...
...
@@ -90,8 +84,7 @@
<
template
v-else
>
统计中
</
template
>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"recepDetail(scope.scope)"
:disabled=
"!scope.scope.score && scope.scope.score != 0"
>
接待明细
</el-button>
<el-button
type=
"text"
@
click=
"recepDetail(scope.scope)"
:disabled=
"!scope.scope.score && scope.scope.score != 0"
>
接待明细
</el-button>
</div>
</GLTable>
</div>
...
...
@@ -132,16 +125,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
:
{
...
...
@@ -304,7 +294,7 @@ export default {
{
label
:
'异常占比'
,
prop
:
'abnormalProportion'
,
addHtml
:
"abnormalProportionHtml"
,
addHtml
:
'abnormalProportionHtml'
,
width
:
'150px'
,
renderHeader
:
createElement
=>
{
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
...
...
@@ -383,7 +373,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
...
...
@@ -483,7 +474,7 @@ export default {
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.quality-control
{
.header
{
height
:
136px
;
...
...
@@ -563,4 +554,4 @@ export default {
cursor
:
pointer
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/qualityManage/recepDetail.vue
View file @
2a51688
...
...
@@ -91,7 +91,7 @@ export default {
name
:
'recepTime'
,
// addHtml:'recepTime',
isClear
:
true
,
pickerOptions
:
'
r
angePickerOptions'
pickerOptions
:
'
afterR
angePickerOptions'
},
{
label
:
'质检评分'
,
...
...
@@ -114,8 +114,8 @@ export default {
tableOption
:
true
,
tableColumns
:
[
{
label
:
"接待批次"
,
prop
:
"key"
label
:
'接待批次'
,
prop
:
'key'
},
{
label
:
'开始接待时间'
,
...
...
@@ -298,4 +298,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