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
d455a1ed
Commit
d455a1ed
authored
Apr 24, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
Develop See merge request
!24
parents
2859f2cb
a10ba1dd
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
14 deletions
+21
-14
index.html
public/index.html
+3
-3
chart.vue
src/containers/Dashboard/CustomerConsumption/chart.vue
+1
-1
chart.vue
src/containers/Dashboard/CustomerRecharge/chart.vue
+8
-2
Dashboard.js
src/containers/Dashboard/Dashboard.js
+2
-2
Dashboard.vue
src/containers/Dashboard/Dashboard.vue
+4
-3
IconMenu.vue
src/containers/layout/IconMenu/IconMenu.vue
+1
-1
develop.html
src/dev-local/develop.html
+2
-2
No files found.
public/index.html
View file @
d455a1ed
...
...
@@ -5,9 +5,9 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
/>
<script
src=
"https://
cdn.jsdelivr.net/np
m/vue@2.6.10/dist/vue.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/np
m/vuex@3.1.0/dist/vuex.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/np
m/vue-router@3.0.1/dist/vue-router.js"
></script>
<script
src=
"https://
unpkg.co
m/vue@2.6.10/dist/vue.js"
></script>
<script
src=
"https://
unpkg.co
m/vuex@3.1.0/dist/vuex.js"
></script>
<script
src=
"https://
unpkg.co
m/vue-router@3.0.1/dist/vue-router.js"
></script>
<script
src=
"<%= VUE_APP_LIB_MANAGER %><%= VUE_APP_LIB_BASE_URL %>lib/manageShell.umd.min.js"
></script>
<script
src=
"<%= VUE_APP_LIB_MANAGER %>/customerManage/lib/customerManage.umd.min.js"
></script>
<script
src=
"<%= VUE_APP_LIB_MANAGER %>/baseManage/lib/baseManage.umd.min.js"
></script>
...
...
src/containers/Dashboard/CustomerConsumption/chart.vue
View file @
d455a1ed
...
...
@@ -29,7 +29,7 @@ export default {
container
:
'CustomerConsumptionChart'
,
forceFit
:
true
,
height
:
this
.
height
,
padding
:
[
50
,
5
0
,
50
,
100
],
padding
:
[
50
,
6
0
,
50
,
100
],
});
this
.
chart
.
source
(
this
.
data
);
this
.
chart
...
...
src/containers/Dashboard/CustomerRecharge/chart.vue
View file @
d455a1ed
...
...
@@ -127,7 +127,7 @@ export default {
container
:
'CustomerRechargeChart'
,
forceFit
:
true
,
height
:
this
.
height
,
padding
:
[
5
0
,
50
,
20
,
120
],
padding
:
[
3
0
,
50
,
20
,
120
],
});
this
.
chart
.
source
(
dv
,
{
...
...
@@ -138,6 +138,10 @@ export default {
alias
:
'充值人数'
,
},
});
// this.chart.tooltip({
// offset: 250,
// });
this
.
chart
.
axis
(
'areaName'
,
{
label
:
{
offsetX
:
-
80
,
...
...
@@ -273,8 +277,10 @@ export default {
transform
:
translate
(
100%
,
-100%
);
}
.CustomerRechargeChart-areaTitle
{
color
:
#666
;
width
:
85px
;
height
:
2em
;
height
:
2
.4em
;
line-height
:
1
.2
;
overflow
:
hidden
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
...
...
src/containers/Dashboard/Dashboard.js
View file @
d455a1ed
...
...
@@ -168,8 +168,8 @@ const mutations = {
:
[];
let
campusList
=
data
.
list
?
data
.
list
:
[];
if
(
campusList
.
length
>
10
)
{
let
arrStart
=
campusList
.
slice
(
0
,
10
);
let
arrEnd
=
campusList
.
slice
(
10
).
reduce
(
let
arrStart
=
campusList
.
slice
(
0
,
9
);
let
arrEnd
=
campusList
.
slice
(
9
).
reduce
(
(
item
,
curentVal
)
=>
({
...
item
,
count
:
item
.
count
+
curentVal
.
count
,
...
...
src/containers/Dashboard/Dashboard.vue
View file @
d455a1ed
...
...
@@ -83,7 +83,7 @@ export default {
}
.Dashboard-SearchBar
{
display
:
flex
;
padding
:
20px
0
5
0px
;
padding
:
10px
0
2
0px
;
.el-input
,
.el-input__inner
,
.filter-item
{
...
...
@@ -98,6 +98,7 @@ export default {
min-width
:
40px
;
}
.Dashboard-Radio
{
margin-left
:
10px
;
display
:
flex
;
align-items
:
center
;
justify-self
:
flex-end
;
...
...
@@ -135,13 +136,13 @@ export default {
}
.Dashboard-title
{
position
:
relative
;
padding
:
20px
0
0
;
padding
:
20px
0
12px
;
margin
:
0
20px
;
}
.
Dashboard-title
:
:
before
{
content
:
''
;
position
:
absolute
;
bottom
:
-12px
;
bottom
:
0
;
left
:
0
;
width
:
32px
;
height
:
4px
;
...
...
src/containers/layout/IconMenu/IconMenu.vue
View file @
d455a1ed
...
...
@@ -229,7 +229,7 @@ export default {
}
}
.fastLink.marleft
{
margin-left
:
133
px
;
margin-left
:
70
px
;
}
.DashboardButton
{
height
:
80px
;
...
...
src/dev-local/develop.html
View file @
d455a1ed
...
...
@@ -5,8 +5,8 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
/>
<script
src=
"https://
cdn.jsdelivr.net/np
m/vue@2.6.10/dist/vue.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/np
m/vuex@3.1.0/dist/vuex.js"
></script>
<script
src=
"https://
unpkg.co
m/vue@2.6.10/dist/vue.js"
></script>
<script
src=
"https://
unpkg.co
m/vuex@3.1.0/dist/vuex.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vue-router@3.0.1/dist/vue-router.js"
></script>
<title>
系统管理
</title>
</head>
...
...
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