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 dba082a3
authored
Mar 25, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.37.0' of
http://192.168.3.233:8090/saas/scrm-micro-quality
into SAAS+V4.37.0
2 parents
8dd54a5a
2a516883
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
12 deletions
src/views/qualityManage/index.vue
src/views/qualityManage/recepDetail.vue
src/views/qualityManage/index.vue
View file @
dba082a
...
...
@@ -72,6 +72,12 @@
<span
v-else
>
{{
scope
.
scope
.
serviceList
.
join
(
''
)
}}
</span>
</
template
>
</div>
<div
slot=
"abnormalProportionHtml"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.abnormalProportion"
>
{{
scope
.
scope
.
abnormalProportion
+
'%'
}}
</
template
>
<
template
v-else
>
统计中
</
template
>
</div>
<div
slot=
"scoreHtml"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.score || scope.scope.score === 0"
>
{{
scope
.
scope
.
score
}}
...
...
@@ -266,7 +272,8 @@ export default {
},
{
label
:
'当日到店量/人'
,
prop
:
'toStoreCount'
,
// prop: 'toStoreCount',
prop
:
'enterReceptionBatch'
,
width
:
'150px'
,
renderHeader
:
createElement
=>
{
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
...
...
@@ -288,6 +295,7 @@ export default {
{
label
:
'异常占比'
,
prop
:
'abnormalProportion'
,
addHtml
:
'abnormalProportionHtml'
,
width
:
'150px'
,
renderHeader
:
createElement
=>
{
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
...
...
@@ -366,7 +374,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
...
...
@@ -466,7 +475,7 @@ export default {
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.quality-control
{
.header
{
display
:
flex
;
...
...
@@ -475,6 +484,7 @@ export default {
padding
:
16px
20px
;
box-sizing
:
border-box
;
border-bottom
:
16px
solid
#f0f1f7
;
.item
{
width
:
274px
;
height
:
104px
;
...
...
@@ -485,21 +495,26 @@ export default {
margin-right
:
16px
;
background
:
#f7f9fa
;
border-radius
:
4px
;
.icon
{
width
:
40px
;
height
:
40px
;
margin-right
:
20px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.info
{
font-size
:
14px
;
color
:
#333333
;
.time
{
color
:
#333333
;
margin-top
:
12px
;
.fw
{
font-weight
:
700
;
font-size
:
26px
;
...
...
@@ -507,16 +522,19 @@ export default {
}
}
}
.mark
{
width
:
16px
;
height
:
16px
;
display
:
inline-block
;
vertical-align
:
middle
;
}
img
{
width
:
100%
;
}
}
.el-range-input
{
appearance
:
none
;
border
:
none
;
...
...
@@ -530,10 +548,11 @@ export default {
font-size
:
14px
;
color
:
#606266
;
}
.more-info
{
white-space
:
nowrap
;
color
:
#5850ff
;
cursor
:
pointer
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/qualityManage/recepDetail.vue
View file @
dba082a
...
...
@@ -36,18 +36,35 @@
</div>
</div>
<div
class=
"content"
>
<GLCombiForm
ref=
"showSearch"
class=
"show-search"
labelWidth=
"110px"
:formObj=
"searchForm"
:form-data=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<GLCombiForm
ref=
"showSearch"
class=
"show-search"
labelWidth=
"110px"
:formObj=
"searchForm"
:form-data=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<
template
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>
</
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"
>
<div
slot=
"durationHtml"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.duration"
>
{{
(
parseInt
(
scope
.
scope
.
duration
)
/
60000
).
toFixed
(
1
)
}}
</
template
>
<
template
v-else
>
--
</
template
>
</div>
<div
slot=
"scoreHtml"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.score || scope.scope.score === 0"
>
{{
scope
.
scope
.
score
}}
</
template
>
<
template
v-else
>
--
</
template
>
</div>
<
template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"qualitDetail(scope.scope)"
>
质检详情
</el-button>
</
template
>
</GLTable>
</div>
<quality-detail
:isQualityVisible=
"isQualityVisible"
v-if=
"isQualityVisible"
:detailObj=
"detailObj"
@
closeDialog=
"closeDialog"
></quality-detail>
<quality-detail
:isQualityVisible=
"isQualityVisible"
v-if=
"isQualityVisible"
:detailObj=
"detailObj"
@
closeDialog=
"closeDialog"
></quality-detail>
</div>
</template>
<
script
>
...
...
@@ -74,7 +91,7 @@ export default {
name
:
'recepTime'
,
// addHtml:'recepTime',
isClear
:
true
,
pickerOptions
:
'
r
angePickerOptions'
pickerOptions
:
'
afterR
angePickerOptions'
},
{
label
:
'质检评分'
,
...
...
@@ -110,7 +127,8 @@ export default {
},
{
label
:
'录音时长/分钟'
,
prop
:
'duration'
prop
:
'duration'
,
addHtml
:
'durationHtml'
},
{
label
:
'预计营销结果'
,
...
...
@@ -118,7 +136,8 @@ export default {
},
{
label
:
'话术质检评分/分'
,
prop
:
'score'
prop
:
'score'
,
addHtml
:
'scoreHtml'
}
]
},
...
...
@@ -217,9 +236,11 @@ export default {
<
style
lang=
"scss"
scoped
>
.recep-wrap
{
margin
:
0
16px
;
.header
{
width
:
100%
;
background
:
#ffffff
;
h2
{
font-size
:
16px
;
font-weight
:
600
;
...
...
@@ -231,15 +252,18 @@ export default {
padding-left
:
20px
;
box-sizing
:
border-box
;
}
.info-wrap
{
display
:
flex
;
flex-wrap
:
wrap
;
padding
:
32px
20px
12px
20px
;
.info-item
{
width
:
50%
;
margin-bottom
:
20px
;
display
:
flex
;
align-items
:
flex-start
;
label
{
width
:
154px
;
text-align
:
right
;
...
...
@@ -247,6 +271,7 @@ export default {
color
:
#666666
;
display
:
inline-block
;
}
span
{
font-size
:
14px
;
color
:
#1d1d1d
;
...
...
@@ -263,6 +288,7 @@ export default {
}
}
}
.content
{
background
:
#ffffff
;
padding
:
20px
;
...
...
@@ -272,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