This commit is contained in:
duanliang
2025-04-27 12:38:37 +08:00
parent 35e9db9722
commit 127695eedf
4 changed files with 15 additions and 6 deletions

View File

@@ -374,6 +374,7 @@
}
const handleRegList = (item,i,x)=>{
regionList.value[i].resourcesList[x].show = !regionList.value[i].resourcesList[x].show
}
const handleCamera = async (itemCode,resource) => {
console.log(resource,'resourceresourceresourceresourceresourceresource')
@@ -512,11 +513,19 @@
cameraName: cameraName.value,
businessScenicArea: params.businessScenicArea
})
console.log(res.data,'测收拾收拾')
regionList.value = res.data
regionList.value.videoResources = res.data.videoResources
// regionList.value[0].show = true
// regionList.value[0].resourcesList[0].show = true
// 初始化 false
regionList.value.forEach((item,index)=>{
// item.show = true
item.resourcesList.forEach((r,i)=>{
r.show = false
})
})
if(search=='search'){
regionList.value.forEach((item,index)=>{
item.show = true