27
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg">
|
||||
<Title3 title="今日安全告警" />
|
||||
<Title3 title="今日异常告警" />
|
||||
<Line
|
||||
:width="370"
|
||||
:height="180"
|
||||
@@ -160,7 +160,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="traffic-alarm-statistics-item">
|
||||
<span class="traffic-alarm-statistics-item__label">安全告警总数</span>
|
||||
<span class="traffic-alarm-statistics-item__label">异常告警总数</span>
|
||||
<countup
|
||||
class="traffic-alarm-statistics-item__value"
|
||||
:end-val="pointAlarmData.allAbnormalAlarm"
|
||||
|
||||
@@ -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