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
4f7588bd
Commit
4f7588bd
authored
Apr 29, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
Develop See merge request
!48
parents
33562d97
a3d5b1c9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
5 deletions
+28
-5
CampusRankChart.vue
src/containers/Dashboard/CampusRank/CampusRankChart.vue
+18
-3
CustomerData.vue
src/containers/Dashboard/CustomerData/CustomerData.vue
+7
-0
SeviceRatioChart.vue
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
+2
-1
userBaseInfo.js
src/mixins/user/userBaseInfo.js
+1
-1
No files found.
src/containers/Dashboard/CampusRank/CampusRankChart.vue
View file @
4f7588bd
...
@@ -51,7 +51,7 @@ export default {
...
@@ -51,7 +51,7 @@ export default {
position
:
'right-center'
,
position
:
'right-center'
,
marker
:
'square'
,
marker
:
'square'
,
clickable
:
false
,
clickable
:
false
,
offsetX
:
-
10
,
offsetX
:
-
4
,
useHtml
:
true
,
useHtml
:
true
,
containerTpl
:
`
containerTpl
:
`
<div class="g2-legend">
<div class="g2-legend">
...
@@ -71,8 +71,8 @@ export default {
...
@@ -71,8 +71,8 @@ export default {
class="g2-legend-marker"
class="g2-legend-marker"
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"
title="
${
value
}
"
>
${
value
}
: </span>
<span>
${
obj
.
count
}
</span>
<span>
${
obj
.
count
.
toFixed
(
2
)
}
</span>
</li>
</li>
`
;
`
;
},
},
...
@@ -85,6 +85,13 @@ export default {
...
@@ -85,6 +85,13 @@ export default {
'g2-legend-list-item'
:
{
'g2-legend-list-item'
:
{
color
:
'#333'
,
color
:
'#333'
,
},
},
'g2-legend-text'
:
{
display
:
'inline-block'
,
width
:
'100px'
,
overflow
:
'hidden'
,
'text-overflow'
:
'ellipsis'
,
'white-space'
:
'nowrap'
,
},
'g2-legend-marker'
:
{
'g2-legend-marker'
:
{
width
:
'10px'
,
width
:
'10px'
,
height
:
'5px'
,
height
:
'5px'
,
...
@@ -194,5 +201,13 @@ export default {
...
@@ -194,5 +201,13 @@ export default {
max-height
:
270px
;
max-height
:
270px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
.g2-legend-text
{
display
:
inline-block
;
width
:
100px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
vertical-align
:
middle
;
}
}
}
</
style
>
</
style
>
src/containers/Dashboard/CustomerData/CustomerData.vue
View file @
4f7588bd
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
>
本年
</el-radio>
>
本年
</el-radio>
</el-radio-group>
</el-radio-group>
<el-button
<el-button
:loading=
"consumptionLoading||rechargeLoading"
type=
"primary"
type=
"primary"
@
click=
"fetchAllData"
@
click=
"fetchAllData"
>
搜索
</el-button>
>
搜索
</el-button>
...
@@ -60,6 +61,12 @@ export default {
...
@@ -60,6 +61,12 @@ export default {
},
},
computed
:
{
computed
:
{
...
mapGetters
(
'Dashboard/customerData'
,
[
'filters'
]),
...
mapGetters
(
'Dashboard/customerData'
,
[
'filters'
]),
...
mapGetters
(
'Dashboard/customerData/customerConsumption'
,
{
consumptionLoading
:
'loading'
,
}),
...
mapGetters
(
'Dashboard/customerData/customerRecharge'
,
{
rechargeLoading
:
'loading'
,
}),
},
},
methods
:
{
methods
:
{
...
mapActions
(
'Dashboard/customerData'
,
[
'updateFilters'
]),
...
mapActions
(
'Dashboard/customerData'
,
[
'updateFilters'
]),
...
...
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
View file @
4f7588bd
...
@@ -46,6 +46,7 @@ export default {
...
@@ -46,6 +46,7 @@ export default {
position
:
'right-center'
,
position
:
'right-center'
,
marker
:
'square'
,
marker
:
'square'
,
clickable
:
false
,
clickable
:
false
,
offsetX
:
-
10
,
useHtml
:
true
,
useHtml
:
true
,
containerTpl
:
`
containerTpl
:
`
<div class="g2-legend">
<div class="g2-legend">
...
@@ -71,7 +72,7 @@ export default {
...
@@ -71,7 +72,7 @@ export default {
`
;
`
;
},
},
'g2-legend'
:
{
'g2-legend'
:
{
width
:
'1
25
px'
,
width
:
'1
40
px'
,
// left: '-20px',
// left: '-20px',
},
},
'g2-legend-list-item'
:
{
'g2-legend-list-item'
:
{
...
...
src/mixins/user/userBaseInfo.js
View file @
4f7588bd
...
@@ -63,7 +63,7 @@ export default {
...
@@ -63,7 +63,7 @@ export default {
methods
:
{
methods
:
{
...
mapActions
([
'fetchUserBaseInfo'
,
'fetchUserBaseInfoByPhone'
]),
...
mapActions
([
'fetchUserBaseInfo'
,
'fetchUserBaseInfoByPhone'
]),
getAllData
()
{
getAllData
()
{
console
.
log
(
'in getAllData'
,
this
.
showMoney
);
// console.log('in getAllData', this.customerId, this.customerPhone
);
if
(
this
.
showMoney
)
{
if
(
this
.
showMoney
)
{
const
entity
=
this
.
customerId
const
entity
=
this
.
customerId
...
...
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