feat:完善信息

This commit is contained in:
张先生
2025-03-13 22:17:49 +08:00
parent a7b4f42df0
commit 15b119a994
5 changed files with 66 additions and 17 deletions

View File

@@ -238,15 +238,15 @@
title.value = navLeft.value[current.value].name
pubSub.publish('scenicChange', navLeft.value[current.value])
otherLeftNav.value = [
{
name: '大窝景区'
},
{
name: '天坑景区'
},
{
name: '旅游环线'
}
// {
// name: '大窝景区'
// },
// {
// name: '天坑景区'
// },
// {
// name: '旅游环线'
// }
]
break
case '/sentiment':

View File

@@ -21,10 +21,20 @@
</div>
<div class="right">
<div class="item" v-for="(item, index) in homeStore.visitorInfoList" :key="index">
<template v-if="index == 2">
<div class="label">接待情况</div>
<div class="value--primary">平稳</div>
</template>
<template v-else-if="index == 4">
<div class="label">停车场负荷</div>
<div class="value--primary">空闲</div>
</template>
<template v-else>
<div class="label">{{ item.name }}</div>
<div :class="[item.type == 1 ? 'value--error' : 'value--primary']">{{
item.value
}}</div>
</template>
</div>
</div>
</div>

View File

@@ -28,7 +28,7 @@
</div>
<div>
<div class="label">停车场负荷度</div>
<p class="value error">调试中</p>
<p class="value">空闲</p>
</div>
</div>
</div>

View File

@@ -117,7 +117,7 @@
</div>
</div>
<div class="box-2">
<Title1 title="安全信息(调试中) " />
<Title1 title="安全信息 " />
<div class="count-box flex">
<count-item
v-for="item in scenicStore.secureData.headList"
@@ -130,11 +130,11 @@
</div>
<div class="border flex-1">
<div class="pt-10">
<Title3 title="异常告警占比(调试中)" />
<Title3 title="异常告警占比" />
</div>
<PieRow
label="告警总数"
:dataList="scenicStore.secureData.dataList"
:dataList="list"
:total="alarmTotal"
:width="440"
:height="300"
@@ -335,6 +335,44 @@
let carOverlays = ref([])
let shipOverlays = ref([])
let list = ref([
{
name: '人群聚集识别',
count: 0,
value: 0
},
{
name: '人群计数识别',
count: 0,
value: 0
},
{
name: '游客跌倒',
count: 0,
value: 0
},
{
name: '游客攀爬',
count: 0,
value: 0
},
{
name: '违法吸烟',
count: 0,
value: 0
},
{
name: '烟火焚烧',
count: 0,
value: 0
},
{
name: '人员离岗',
count: 0,
value: 0
}
])
const garageList = computed(() => {
return scenicStore.stopCarData.headList
})

View File

@@ -37,6 +37,7 @@
() => dataRes.value,
(val) => {
if (val) {
console.log(val, '=====')
switch (val.type) {
case 'wordkOrderlist':
scenicStore.setWordkOrderList(val.data)