Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-system
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-system
Commits
bd0f14b5
Commit
bd0f14b5
authored
Apr 28, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据首页点击搜索后才查询
parent
4c06bc96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
CampusRank.vue
src/containers/Dashboard/CampusRank/CampusRank.vue
+5
-1
CustomerData.vue
src/containers/Dashboard/CustomerData/CustomerData.vue
+7
-4
chart.vue
src/containers/Dashboard/CustomerRecharge/chart.vue
+4
-1
No files found.
src/containers/Dashboard/CampusRank/CampusRank.vue
View file @
bd0f14b5
...
...
@@ -24,7 +24,7 @@
<el-radio-group
class=
"Dashboard-Radio"
:value=
"filters.timeType"
@
input=
"val =>
changeFilterHandle
(
{ timeType: val })"
@
input=
"val =>
updateFilters
(
{ timeType: val })"
>
<el-radio
class=
"Dashboard-Radio-item"
...
...
@@ -42,6 +42,7 @@
<el-button
type=
"primary"
@
click=
"fetchConsumeList"
class=
"CampusRank-search"
>
搜索
</el-button>
</div>
<CampusRankChart
...
...
@@ -134,5 +135,8 @@ export default {
height
:
100%
!
important
;
}
}
.CampusRank-search
{
margin-right
:
5px
;
}
}
</
style
>
src/containers/Dashboard/CustomerData/CustomerData.vue
View file @
bd0f14b5
...
...
@@ -5,20 +5,20 @@
<operator-select
:accessType=
"1"
:value=
"filters.operateId"
@
input=
"val =>
fetchAllData(
{operateId: val
})"
@
input=
"val =>
updateFilters(
{operateId: val,areaId:undefined
})"
/>
</search-item>
<search-item
label=
"区域"
>
<dashboard-area-select
:operateId=
"filters.operateId"
:value=
"filters.areaId"
@
input=
"val =>
fetchAllData
(
{areaId: val})"
@
input=
"val =>
updateFilters
(
{areaId: val})"
/>
</search-item>
<el-radio-group
class=
"Dashboard-Radio"
:value=
"filters.timeType"
@
input=
"val =>
fetchAllData
(
{timeType: val})"
@
input=
"val =>
updateFilters
(
{timeType: val})"
>
<el-radio
class=
"Dashboard-Radio-item"
...
...
@@ -61,7 +61,10 @@ export default {
...
mapGetters
(
'Dashboard/customerConsumption'
,
[
'filters'
]),
},
methods
:
{
...
mapActions
(
'Dashboard/customerConsumption'
,
[
'getConsumeOrderList'
]),
...
mapActions
(
'Dashboard/customerConsumption'
,
[
'getConsumeOrderList'
,
'updateFilters'
,
]),
...
mapActions
(
'Dashboard/customerRecharge'
,
[
'getRechargeOrderList'
]),
fetchAllData
(
entity
)
{
this
.
getConsumeOrderList
(
entity
);
...
...
src/containers/Dashboard/CustomerRecharge/chart.vue
View file @
bd0f14b5
...
...
@@ -249,10 +249,13 @@ export default {
width
:
26
,
height
:
this
.
height
,
padding
:
[
20
,
0
,
20
,
0
],
xAxis
:
'rechargeM
en
'
,
xAxis
:
'rechargeM
oney
'
,
yAxis
:
'index'
,
scales
:
{
min
:
0
,
max
:
arrLength
-
1
,
index
:
{
type
:
'linear'
,
formatter
:
val
=>
{
return
parseInt
(
val
,
10
);
},
...
...
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