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 2151c5de
authored
Jul 28, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
0dc8b187
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
22 deletions
src/views/serviceCentre/longCourse/components/customCouse.vue
src/views/serviceCentre/longCourse/components/echartBar.vue
src/views/serviceCentre/longCourse/components/echartLine.vue
src/views/serviceCentre/longCourse/components/longDetailDialog.vue
src/views/serviceCentre/shortCourse/components/shortDetailDialog.vue
src/views/serviceCentre/longCourse/components/customCouse.vue
View file @
2151c5d
...
...
@@ -174,17 +174,20 @@ export default {
let
merchantNos
=
[]
this
.
conditionData
.
metricRuleList
.
forEach
((
item
)
=>
{
if
(
item
.
active
)
{
if
(
item
.
merchantNos
&&
item
.
merchantNos
.
length
)
{
merchantNos
.
push
(...
item
.
merchantNos
)
console
.
log
(
item
)
if
(
!
item
.
merchantNos
||
item
.
merchantNos
.
length
==
0
)
{
item
.
merchantNos
=
[
-
1
]
}
merchantNos
.
push
(
item
.
merchantNos
.
join
(
","
))
}
})
console
.
log
(
merchantNos
)
if
(
merchantNos
.
length
>
0
)
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
handleFormRef
].
clearValidate
(
`merchantNos`
)
}
this
.
coustomForm
.
merchantNos
=
merchantNos
.
join
(
","
)
this
.
coustomForm
.
merchantNos
=
merchantNos
},
handleData
(
val
)
{
this
.
coustomForm
.
brandId
=
val
.
id
...
...
src/views/serviceCentre/longCourse/components/echartBar.vue
View file @
2151c5d
...
...
@@ -109,7 +109,7 @@ ${this.title}:${
: rate.indexOf("
-
") > -1
? "
#
2
CCA74
"
: "
#
EB4E4E
"
}"
>
$
{
rate
==
"null"
?
"-"
:
rate
?
rate
:
0
}${
}"
>
$
{
rate
==
"null"
?
"-"
:
rate
?
rate
+
"%"
:
0
+
"%"
}${
rate
==
"null"
||
rate
==
0
?
""
:
rate
.
indexOf
(
"-"
)
>
-
1
...
...
src/views/serviceCentre/longCourse/components/echartLine.vue
View file @
2151c5d
...
...
@@ -120,7 +120,7 @@ ${this.title}:${
: rate.indexOf("
-
") > -1
? "
#
2
CCA74
"
: "
#
EB4E4E
"
}"
>
$
{
rate
==
"null"
?
"-"
:
rate
?
rate
:
0
}${
}"
>
$
{
rate
==
"null"
?
"-"
:
rate
?
rate
+
"%"
:
0
+
"%"
}${
rate
==
"null"
||
rate
==
0
?
""
:
rate
.
indexOf
(
"-"
)
>
-
1
...
...
src/views/serviceCentre/longCourse/components/longDetailDialog.vue
View file @
2151c5d
...
...
@@ -26,7 +26,7 @@
></div>
<template
v-if=
"
item.key == 'merchantName
s
' || item.key == 'superiors'
item.key == 'merchantName' || item.key == 'superiors'
"
>
<template
...
...
@@ -99,8 +99,15 @@
>
<div
slot=
"OutputValue"
slot-scope=
"scope"
>
<div>
¥{{ scope.scope.lastOutputValue || "-" }} → ¥{{
scope.scope.currentOutputValue || "-"
¥{{
scope.scope.lastOutputValue === 0
? 0
: scope.scope.lastOutputValue || "-"
}}
→ ¥{{
scope.scope.currentOutputValue === 0
? 0
: scope.scope.currentOutputValue || "-"
}}
</div>
<div
...
...
@@ -113,14 +120,24 @@
: ''
]"
>
环 {{ scope.scope.outputValueRate }}
环 {{ scope.scope.outputValueRate }}%
</div>
<div
v-else
class=
"normal"
>
环 {{ scope.scope.outputValueRate === 0 ? 0 + "%" : "-" }}
</div>
<div
v-else
class=
"normal"
>
环 -
</div>
</div>
<div
slot=
"Conversion"
slot-scope=
"scope"
>
<div>
{{ scope.scope.lastConversion || "-" }}% →
{{ scope.scope.currentConversion || "-" }}%
{{
scope.scope.lastConversion === 0
? 0
: scope.scope.lastConversion || "-"
}}% →
{{
scope.scope.currentConversion === 0
? 0
: scope.scope.currentConversion || "-"
}}%
</div>
<div
v-if=
"scope.scope.conversionRate"
...
...
@@ -132,14 +149,23 @@
: ''
]"
>
环 {{ scope.scope.conversionRate }}
环 {{ scope.scope.conversionRate }}%
</div>
<div
v-else
class=
"normal"
>
环 {{ scope.scope.conversionRate === 0 ? 0 + "%" : "-" }}
</div>
<div
v-else
class=
"normal"
>
环 -
</div>
</div>
<div
slot=
"CustomerUnitPrice"
slot-scope=
"scope"
>
<div>
¥{{ scope.scope.lastCustomerUnitPrice || "-" }} → ¥{{
scope.scope.currentCustomerUnitPrice || "-"
¥{{
scope.scope.lastCustomerUnitPrice === 0
? 0
: scope.scope.lastCustomerUnitPrice || "-"
}}
→ ¥{{
scope.scope.currentCustomerUnitPrice === 0
? 0
: scope.scope.currentCustomerUnitPrice || "-"
}}
</div>
<div
...
...
@@ -153,9 +179,11 @@
: ''
]"
>
环 {{ scope.scope.customerUnitPriceRate }}
环 {{ scope.scope.customerUnitPriceRate }}%
</div>
<div
v-else
class=
"normal"
>
环 {{ scope.scope.customerUnitPriceRate === 0 ? 0 + "%" : "-" }}
</div>
<div
v-else
class=
"normal"
>
环 -
</div>
</div>
</d2-table>
</div>
...
...
@@ -203,7 +231,7 @@ export default {
},
{
title
:
"门店:"
,
key
:
"merchantName
s
"
key
:
"merchantName"
},
{
title
:
"上级:"
,
...
...
@@ -354,8 +382,8 @@ export default {
},
{
staffName
:
this
.
paramsObj
.
staffPhone
,
merchantName
s
:
this
.
paramsObj
.
merchantName
,
staff
Name
:
this
.
paramsObj
.
staffNam
e
merchantName
:
this
.
paramsObj
.
merchantName
,
staff
Phone
:
this
.
paramsObj
.
staffPhon
e
}
)
}
...
...
src/views/serviceCentre/shortCourse/components/shortDetailDialog.vue
View file @
2151c5d
...
...
@@ -25,7 +25,7 @@
></div>
<template
v-if=
"
item.key == 'merchantName
s
' || item.key == 'superiors'
item.key == 'merchantName' || item.key == 'superiors'
"
>
<template
...
...
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