Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
dcxy-manage-shell
Commits
ff8b5fa5
Commit
ff8b5fa5
authored
May 05, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数值显示方式
parent
67bbb13f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
11 deletions
+4
-11
.env
.env
+1
-0
CampusRankChart.vue
src/containers/Dashboard/CampusRank/CampusRankChart.vue
+1
-1
chart.vue
src/containers/Dashboard/CustomerConsumption/chart.vue
+0
-9
SeviceRatioChart.vue
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
+2
-1
No files found.
.env
View file @
ff8b5fa5
...
@@ -6,6 +6,7 @@ VUE_APP_SYSTEM_MENU_CODE=0003
...
@@ -6,6 +6,7 @@ VUE_APP_SYSTEM_MENU_CODE=0003
VUE_APP_STATISTICS_MENU_CODE=0044
VUE_APP_STATISTICS_MENU_CODE=0044
VUE_APP_DEVICE_MENU_CODE=0048
VUE_APP_DEVICE_MENU_CODE=0048
VUE_APP_DASHBOARD_CODE=0079
VUE_APP_DASHBOARD_CODE=0079
VUE_APP_CUSTOMER_OPERATE_CODE=0077
VUE_APP_WHITE_LIST=/login,/404,/401
VUE_APP_WHITE_LIST=/login,/404,/401
VUE_APP_LIB_MANAGER=http://ex-dev-dcxy-static.168cad.top
VUE_APP_LIB_MANAGER=http://ex-dev-dcxy-static.168cad.top
VUE_APP_SYSTEM_SERVER_URL=http://ex-dev-dcxy-system-manage.168cad.top
VUE_APP_SYSTEM_SERVER_URL=http://ex-dev-dcxy-system-manage.168cad.top
...
...
src/containers/Dashboard/CampusRank/CampusRankChart.vue
View file @
ff8b5fa5
...
@@ -73,7 +73,7 @@ export default {
...
@@ -73,7 +73,7 @@ export default {
style="display:inline-block;margin-right:10px;background-color:
${
color
}
;"
style="display:inline-block;margin-right:10px;background-color:
${
color
}
;"
></i>
></i>
<span class="g2-legend-text" title="
${
value
}
">
${
value
}
: </span>
<span class="g2-legend-text" title="
${
value
}
">
${
value
}
: </span>
<span class="g2-legend-price">
${
obj
.
count
.
toFixed
(
2
)
}
</span>
<span class="g2-legend-price">
${
price
}
</span>
</li>
</li>
`
;
`
;
},
},
...
...
src/containers/Dashboard/CustomerConsumption/chart.vue
View file @
ff8b5fa5
...
@@ -48,15 +48,6 @@ export default {
...
@@ -48,15 +48,6 @@ export default {
offset
:
10
,
offset
:
10
,
});
});
let
money
=
this
.
consumeCount
&&
this
.
consumeCount
.
payableMoney
?
this
.
consumeCount
.
payableMoney
:
'0.00'
;
let
menCount
=
this
.
consumeCount
&&
this
.
consumeCount
.
payMen
?
this
.
consumeCount
.
payMen
:
'0'
;
this
.
chart
.
render
();
this
.
chart
.
render
();
this
.
chart
.
guide
().
text
({
this
.
chart
.
guide
().
text
({
top
:
true
,
top
:
true
,
...
...
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
View file @
ff8b5fa5
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
itemTpl
:
(
value
,
color
,
checked
,
index
)
=>
{
itemTpl
:
(
value
,
color
,
checked
,
index
)
=>
{
const
obj
=
this
.
data
[
index
];
const
obj
=
this
.
data
[
index
];
checked
=
checked
?
'checked'
:
'unChecked'
;
checked
=
checked
?
'checked'
:
'unChecked'
;
let
price
=
this
.
$formatPrice
(
obj
.
count
);
return
`
return
`
<li
<li
class="g2-legend-list-item item-
${
index
}
${
checked
}
"
class="g2-legend-list-item item-
${
index
}
${
checked
}
"
...
@@ -67,7 +68,7 @@ export default {
...
@@ -67,7 +68,7 @@ export default {
style="display:inline-block;margin-right:10px;background-color:
${
color
}
;"
style="display:inline-block;margin-right:10px;background-color:
${
color
}
;"
></i>
></i>
<span class="g2-legend-text">
${
value
}
: </span>
<span class="g2-legend-text">
${
value
}
: </span>
<span class="g2-legend-price">
${
obj
.
count
.
toFixed
(
2
)
}
</span>
<span class="g2-legend-price">
${
price
}
</span>
</li>
</li>
`
;
`
;
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment