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 3ee750f4
authored
Mar 23, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 回显bug修复
1 parent
8cc457fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
9 deletions
src/views/qualityManage/index.vue
src/views/qualityManage/recepDetail.vue
src/views/qualityManage/index.vue
View file @
3ee750f
...
@@ -281,7 +281,8 @@ export default {
...
@@ -281,7 +281,8 @@ export default {
},
},
{
{
label
:
'当日到店量/人'
,
label
:
'当日到店量/人'
,
prop
:
'toStoreCount'
,
// prop: 'toStoreCount',
prop
:
'enterReceptionBatch'
,
width
:
'150px'
,
width
:
'150px'
,
renderHeader
:
createElement
=>
{
renderHeader
:
createElement
=>
{
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
...
...
src/views/qualityManage/recepDetail.vue
View file @
3ee750f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<label>
服务商:
</label>
<label>
服务商:
</label>
<
template
v-if=
"queryData.serviceList"
>
<
template
v-if=
"queryData.serviceList"
>
<el-tooltip
effect=
"dark"
:content=
"queryData.serviceList.join('、')"
placement=
"top-start"
>
<el-tooltip
effect=
"dark"
:content=
"queryData.serviceList.join('、')"
placement=
"top-start"
>
<span>
{{
queryData
.
serviceList
.
join
(
'、'
)
}}
</span>
<span>
{{
queryData
.
serviceList
.
join
(
'、'
)
}}
</span>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
...
@@ -36,18 +36,35 @@
...
@@ -36,18 +36,35 @@
</div>
</div>
</div>
</div>
<div
class=
"content"
>
<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"
>
<
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
>
</
template
>
</GLCombiForm>
</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"
>
<
template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"qualitDetail(scope.scope)"
>
质检详情
</el-button>
<el-button
type=
"text"
@
click=
"qualitDetail(scope.scope)"
>
质检详情
</el-button>
</
template
>
</
template
>
</GLTable>
</GLTable>
</div>
</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>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -96,7 +113,7 @@ export default {
...
@@ -96,7 +113,7 @@ export default {
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
true
,
tableOption
:
true
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
"接待批次"
,
label
:
"接待批次"
,
prop
:
"key"
prop
:
"key"
},
},
...
@@ -110,7 +127,8 @@ export default {
...
@@ -110,7 +127,8 @@ export default {
},
},
{
{
label
:
'录音时长/分钟'
,
label
:
'录音时长/分钟'
,
prop
:
'duration'
prop
:
'duration'
,
addHtml
:
'durationHtml'
},
},
{
{
label
:
'预计营销结果'
,
label
:
'预计营销结果'
,
...
@@ -118,7 +136,8 @@ export default {
...
@@ -118,7 +136,8 @@ export default {
},
},
{
{
label
:
'话术质检评分/分'
,
label
:
'话术质检评分/分'
,
prop
:
'score'
prop
:
'score'
,
addHtml
:
'scoreHtml'
}
}
]
]
},
},
...
@@ -217,9 +236,11 @@ export default {
...
@@ -217,9 +236,11 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.recep-wrap
{
.recep-wrap
{
margin
:
0
16px
;
margin
:
0
16px
;
.header
{
.header
{
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
h2
{
h2
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -231,15 +252,18 @@ export default {
...
@@ -231,15 +252,18 @@ export default {
padding-left
:
20px
;
padding-left
:
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.info-wrap
{
.info-wrap
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
32px
20px
12px
20px
;
padding
:
32px
20px
12px
20px
;
.info-item
{
.info-item
{
width
:
50%
;
width
:
50%
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
label
{
label
{
width
:
154px
;
width
:
154px
;
text-align
:
right
;
text-align
:
right
;
...
@@ -247,6 +271,7 @@ export default {
...
@@ -247,6 +271,7 @@ export default {
color
:
#666666
;
color
:
#666666
;
display
:
inline-block
;
display
:
inline-block
;
}
}
span
{
span
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#1d1d1d
;
color
:
#1d1d1d
;
...
@@ -263,6 +288,7 @@ export default {
...
@@ -263,6 +288,7 @@ export default {
}
}
}
}
}
}
.content
{
.content
{
background
:
#ffffff
;
background
:
#ffffff
;
padding
:
20px
;
padding
:
20px
;
...
...
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