|
@@ -217,7 +217,8 @@ const regionNameOk = () => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
getGroupRegionsList();
|
|
getGroupRegionsList();
|
|
- obtainRegionsPointsData(gradeTwo.value);
|
|
|
|
|
|
+ getRegionsPointsList(gradeTwo.value);
|
|
|
|
+
|
|
regionNameOpen.value = false;
|
|
regionNameOpen.value = false;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -232,8 +233,9 @@ const regionNameDelete = () => {
|
|
await regionDelete(monitoringForm.value.regionId);
|
|
await regionDelete(monitoringForm.value.regionId);
|
|
monitoringForm.value.regionId = undefined;
|
|
monitoringForm.value.regionId = undefined;
|
|
getGroupRegionsList();
|
|
getGroupRegionsList();
|
|
|
|
+
|
|
if (gradeTwo.value) {
|
|
if (gradeTwo.value) {
|
|
- obtainRegionsPointsData(gradeTwo.value);
|
|
|
|
|
|
+ getRegionsPointsList(gradeTwo.value);
|
|
}
|
|
}
|
|
|
|
|
|
regionNameOpen.value = false;
|
|
regionNameOpen.value = false;
|
|
@@ -652,11 +654,15 @@ const addOutdoorDrawer = () => {
|
|
regionId: id,
|
|
regionId: id,
|
|
});
|
|
});
|
|
if (outsideDevGroupId) {
|
|
if (outsideDevGroupId) {
|
|
- getDevicesGroupList(outsideDevGroupId, HumitureType.Outdoor, true);
|
|
|
|
|
|
+ getDevicesGroupList(outsideDevGroupId, HumitureType.Outdoor, false);
|
|
|
|
+ } else {
|
|
|
|
+ outdoorDevicesList.value = [];
|
|
}
|
|
}
|
|
|
|
|
|
if (outsideDevId) {
|
|
if (outsideDevId) {
|
|
- getDeviceParamsList(outsideDevId, HumitureType.Outdoor, true);
|
|
|
|
|
|
+ getDeviceParamsList(outsideDevId, HumitureType.Outdoor, false);
|
|
|
|
+ } else {
|
|
|
|
+ outdoorDeviceParamsList.value = [];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|