1 #236
@ -774,13 +774,16 @@ export default {
|
|||||||
// console.log("根据用户id查询对应的设备数据 Copy", res);
|
// console.log("根据用户id查询对应的设备数据 Copy", res);
|
||||||
|
|
||||||
res.data.data.forEach((item, index) => {
|
res.data.data.forEach((item, index) => {
|
||||||
|
//规定 指定id获取监控
|
||||||
|
//规定 id为1(丽水) 并且使用第一个设备ID的监控
|
||||||
if (
|
if (
|
||||||
item.cameraSerialNumber != null &&
|
item.cameraSerialNumber != null &&
|
||||||
(item.deviceId == 2023042214250027 ||
|
(item.deviceId == 2023042214250027 ||
|
||||||
item.deviceId == 2023120613270115 ||
|
item.deviceId == 2023120613270115 ||
|
||||||
item.deviceId == 2024070113400048 ||
|
item.deviceId == 2024070113400048 ||
|
||||||
item.deviceId == 2023042214250017||
|
item.deviceId == 2023042214250017||
|
||||||
item.deviceId == 2023120613270053)
|
item.deviceId == 2023120613270053|| (this.limitUserId==1&&index==0)
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
this.get_sel_eqbyid_list.push({ ...item, number: index });
|
this.get_sel_eqbyid_list.push({ ...item, number: index });
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user