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
69028fa3
Commit
69028fa3
authored
Apr 19, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改切换区域同时更新设备数据
parent
b22a8cb3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Dashboard.js
src/containers/Dashboard/Dashboard.js
+1
-0
SeviceRatioChart.vue
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
+1
-0
No files found.
src/containers/Dashboard/Dashboard.js
View file @
69028fa3
...
@@ -98,6 +98,7 @@ const actions = {
...
@@ -98,6 +98,7 @@ const actions = {
let
list
=
res
.
data
;
let
list
=
res
.
data
;
if
(
data
&&
data
.
updatePercentList
)
{
if
(
data
&&
data
.
updatePercentList
)
{
commit
(
GET_PERCENT_DATA
,
list
);
commit
(
GET_PERCENT_DATA
,
list
);
commit
(
GET_EUIPMENT_DATA
,
list
);
return
;
return
;
}
}
if
(
data
&&
data
.
updateEuipmentList
)
{
if
(
data
&&
data
.
updateEuipmentList
)
{
...
...
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
View file @
69028fa3
...
@@ -113,6 +113,7 @@ export default {
...
@@ -113,6 +113,7 @@ export default {
clickHandle
(
ev
)
{
clickHandle
(
ev
)
{
let
data
=
ev
.
data
.
_origin
;
let
data
=
ev
.
data
.
_origin
;
if
(
this
.
SelectedDataIndex
.
serviceId
!==
data
.
serviceId
)
{
if
(
this
.
SelectedDataIndex
.
serviceId
!==
data
.
serviceId
)
{
this
.
SelectedDataIndex
=
data
;
let
data
=
ev
.
data
.
_origin
;
let
data
=
ev
.
data
.
_origin
;
this
.
changeSelected
(
data
);
this
.
changeSelected
(
data
);
this
.
changeServiceHandle
(
data
);
this
.
changeServiceHandle
(
data
);
...
...
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