Commit 94934771 by 姜雷

Merge branch 'develop' into 'test'

修改切换区域同时更新设备数据 See merge request !11
parents 2d9da7a5 69028fa3
......@@ -98,6 +98,7 @@ const actions = {
let list = res.data;
if (data && data.updatePercentList) {
commit(GET_PERCENT_DATA, list);
commit(GET_EUIPMENT_DATA, list);
return;
}
if (data && data.updateEuipmentList) {
......
......@@ -113,6 +113,7 @@ export default {
clickHandle(ev) {
let data = ev.data._origin;
if (this.SelectedDataIndex.serviceId !== data.serviceId) {
this.SelectedDataIndex = data;
let data = ev.data._origin;
this.changeSelected(data);
this.changeServiceHandle(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment