
@@ -1105,12 +1105,14 @@ export default {
get_sel_eqbyid(userId) {
this.api.sel_eqbyid(userId).then((res) => {
// console.log("根据用户id查询对应的设备数据 Copy", res);
+
res.data.data.forEach((item, index) => {
if (
item.cameraSerialNumber != null &&
(item.deviceId == 2023042214250027 ||
item.deviceId == 2023120613270115 ||
- item.deviceId == 2024070113400048)
+ item.deviceId == 2024070113400048||
+ item.deviceId==2023042214250017)
) {
this.get_sel_eqbyid_list.push({ ...item, number: index });
@@ -1379,9 +1381,7 @@ export default {
this.get_readControl_getState(2023042214250070);
} else if (this.limitUserId == 7) {
this.get_readControl_getState(2023120613270120);
- } else if (this.limitUserId == 8) {
- this.get_readControl_getState(list[0].deviceId);
- } else if (this.limitUserId == 9) {
+ } else if (this.limitUserId == 8||this.limitUserId == 9||this.limitUserId == 10) {
this.get_readControl_getState(list[0].deviceId);
}