Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 985dc4c9
authored
Jun 18, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决代码合并覆盖问题
1 parent
8796ba4f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
25 deletions
src/views/residentManage/components/qualityAnalyse.vue
src/views/residentManage/components/qualityDetail.vue
src/views/residentManage/components/qualityIndex.vue
src/views/residentManage/components/qualityAnalyse.vue
View file @
985dc4c
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
<d2-table
<d2-table
class=
"table-wrap"
ref=
"analyseTable"
ref=
"analyseTable"
:search-form=
"searchFormSearch"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:table-params=
"tableParams"
...
@@ -397,6 +398,10 @@ export default {
...
@@ -397,6 +398,10 @@ export default {
font-weight
:
600
;
font-weight
:
600
;
}
}
}
}
.table-wrap
{
height
:
calc
(
100%
-
150px
);
overflow-y
:
auto
;
}
.up-btns
{
.up-btns
{
padding
:
0
;
padding
:
0
;
width
:
fit-content
;
width
:
fit-content
;
...
...
src/views/residentManage/components/qualityDetail.vue
View file @
985dc4c
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
}
}
},
},
{
{
label
:
"
话术评
分"
,
label
:
"
质检得
分"
,
formatter
(
row
)
{
formatter
(
row
)
{
if
(
row
.
bussinessType
==
2
)
return
"-"
if
(
row
.
bussinessType
==
2
)
return
"-"
return
row
.
score
!=
null
return
row
.
score
!=
null
...
@@ -156,11 +156,15 @@ export default {
...
@@ -156,11 +156,15 @@ export default {
}
}
},
},
{
{
label
:
"
接待时长
"
,
label
:
"
攻防得分
"
,
formatter
(
row
)
{
formatter
(
row
)
{
return
`<div class="num">
${
return
row
.
defence
===
2
row
.
duration
?
toMinutesAndSeconds
(
row
.
duration
)
:
"-"
?
`<div class="num">
${
row
.
defencePoint
}
<span class="unit">分</span></div>`
}
<
/div>
`
:
row
.
defence
===
1
||
row
.
defence
===
0
||
row
.
defence
===
4
?
`<span style="font-size:22px;color:#999">分析中</span>`
:
row
.
defence
===
3
?
`<span style="font-size:22px;color:#999">未发现攻防</span>`
:
`<span style="font-size:22px;color:#999">-</span>`
}
}
}
}
],
],
...
...
src/views/residentManage/components/qualityIndex.vue
View file @
985dc4c
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
return
{
return
{
showFormData
:
[
showFormData
:
[
{
{
label
:
"
质检
日期"
,
label
:
"
接待
日期"
,
name
:
"searchdate"
,
name
:
"searchdate"
,
type
:
"datePicker"
,
type
:
"datePicker"
,
isClear
:
false
,
isClear
:
false
,
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
searchForm
:
{
searchForm
:
{
searchdate
:
[
new
Date
(),
new
Date
()],
searchdate
:
[
new
Date
(),
new
Date
()],
// serviceMerchantNo: "",
// serviceMerchantNo: "",
BussinessType
:
""
,
BussinessType
:
1
,
employeeName
:
""
,
employeeName
:
""
,
phoneNumber
:
""
,
phoneNumber
:
""
,
// toStoreCount: [],
// toStoreCount: [],
...
@@ -268,7 +268,7 @@ export default {
...
@@ -268,7 +268,7 @@ export default {
width
:
"50px"
width
:
"50px"
},
},
{
{
label
:
"
质检
日期"
,
label
:
"
接待
日期"
,
prop
:
"searchdate"
,
prop
:
"searchdate"
,
width
:
"120px"
width
:
"120px"
},
},
...
@@ -461,10 +461,6 @@ export default {
...
@@ -461,10 +461,6 @@ export default {
storeIdList
:
[],
storeIdList
:
[],
sceneTypeList
:
[
sceneTypeList
:
[
{
{
id
:
""
,
name
:
"全部"
},
{
id
:
1
,
id
:
1
,
name
:
"延保"
name
:
"延保"
},
},
...
@@ -489,6 +485,7 @@ export default {
...
@@ -489,6 +485,7 @@ export default {
this
.
getTableList
()
this
.
getTableList
()
},
},
mounted
()
{
mounted
()
{
this
.
getOptionsList
()
this
.
getServiceStore
()
this
.
getServiceStore
()
this
.
getSaasList
()
this
.
getSaasList
()
},
},
...
@@ -499,7 +496,7 @@ export default {
...
@@ -499,7 +496,7 @@ export default {
currentPage
:
1
currentPage
:
1
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
baseData
.
parkServiceList
=
res
.
list
this
.
baseData
.
parkServiceList
=
res
.
list
this
.
getOptionsList
()
this
.
getOptionsList
(
true
,
'parkServiceList'
)
})
})
},
},
getServiceStore
(
merchantId
)
{
getServiceStore
(
merchantId
)
{
...
@@ -507,7 +504,7 @@ export default {
...
@@ -507,7 +504,7 @@ export default {
yqMerchantId
:
merchantId
yqMerchantId
:
merchantId
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
baseData
.
storeIdList
=
res
||
[]
this
.
baseData
.
storeIdList
=
res
||
[]
this
.
getOptionsList
()
this
.
getOptionsList
(
true
,
'storeIdList'
)
})
})
},
},
recepDetail
(
row
)
{
recepDetail
(
row
)
{
...
@@ -582,20 +579,23 @@ export default {
...
@@ -582,20 +579,23 @@ export default {
resolve()
resolve()
})
})
},
},
getOptionsList() {
getOptionsList(
isAll,optionsName
) {
this.showFormData.forEach((item, index) => {
this.showFormData.forEach((item, index) => {
if (item.type === "select") {
if (item.type === "select") {
if (
if (isAll&&item.optionsName==optionsName) {
this.baseData[item.optionsName]?.length &&
if (
this.baseData[item.optionsName][0][
this.baseData[item.optionsName]?.length &&
this.showFormData[index].optionLabel
this.baseData[item.optionsName][0][
] !== "全部"
this.showFormData[index].optionLabel
) {
] !== "全部"
const temp = {}
) {
// temp[this.showFormData[index].optionId] = ""
const temp = {}
temp[this.showFormData[index].optionLabel] = "全部"
// temp[this.showFormData[index].optionId] = ""
this.baseData[item.optionsName].unshift(temp)
temp[this.showFormData[index].optionLabel] = "全部"
this.baseData[item.optionsName].unshift(temp)
}
}
}
this.$set(
this.$set(
this.showFormData[index],
this.showFormData[index],
"optionList",
"optionList",
...
...
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