类型:开发
描述:
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<el-input placeholder="请输入内容" v-model="cameraName" @input="onInput" />
|
||||
<img class="search-icon" src="/src/assets/images/search-icon-1.png" alt="" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tree-box">
|
||||
<div class="tree-item" v-for="(item, i) in regionList" :key="i">
|
||||
<div class="tree-item__node" @click="handleRegions(i)">
|
||||
@@ -91,7 +91,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="pagination">
|
||||
<el-pagination
|
||||
@@ -244,7 +244,7 @@
|
||||
if (status == 0) {
|
||||
thisVideo.value.isCollect=1
|
||||
videoList.value[index].isCollect = 1
|
||||
|
||||
|
||||
} else {
|
||||
thisVideo.value.isCollect=0
|
||||
videoList.value[index].isCollect = 0
|
||||
@@ -427,14 +427,13 @@
|
||||
cameraName: cameraName.value,
|
||||
businessScenicArea: params.businessScenicArea
|
||||
})
|
||||
console.log(res,11111111111111)
|
||||
regionList.value = res.data
|
||||
regionList.value.forEach((item,index)=>{
|
||||
// item.show = true
|
||||
item.videoResources=item.resourcesList[0].videoResources
|
||||
})
|
||||
regionList.value[0].show = true
|
||||
|
||||
regionList.value[0].show = false
|
||||
|
||||
}
|
||||
const handleRegions = (e) => {
|
||||
regionList.value[e].show = !regionList.value[e].show
|
||||
@@ -448,10 +447,10 @@
|
||||
cameraName.value = ''
|
||||
params.businessScenicArea = data.name
|
||||
getVideoRegions()
|
||||
|
||||
|
||||
})
|
||||
onMonitorChange()
|
||||
|
||||
|
||||
})
|
||||
onUnmounted(() => {
|
||||
clearHlsRefs()
|
||||
@@ -506,7 +505,7 @@
|
||||
}
|
||||
}
|
||||
.video-box {
|
||||
|
||||
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user