西海岸:获取摄像头,拼接status=1

This commit is contained in:
guoyue 2022-09-22 13:29:47 +08:00
parent 6f6ec109e4
commit 2d32d735a5
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,7 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: '70be8c5b664f4bcf869d82f2e8335051', areaId: '70be8c5b664f4bcf869d82f2e8335051',
status: 1,
}).then((res) => { }).then((res) => {
treeData.value = res.data.data treeData.value = res.data.data
}) })
@ -269,6 +270,7 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: val.id, areaId: val.id,
status: 1,
}).then((res) => { }).then((res) => {
treeData.value.map((treeDataItem, index) => { treeData.value.map((treeDataItem, index) => {
if (item.id == treeDataItem.id) { if (item.id == treeDataItem.id) {
@ -343,6 +345,7 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: item.id, areaId: item.id,
status: 1,
}).then((res) => { }).then((res) => {
treeData.value.map((treeDataItem, index) => { treeData.value.map((treeDataItem, index) => {
if (item.id == treeDataItem.id) { if (item.id == treeDataItem.id) {