27
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user