Commit 69028fa3 by 姜雷

修改切换区域同时更新设备数据

parent b22a8cb3
......@@ -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