feat:对接首页地图异常提示数据

This commit is contained in:
张先生
2025-03-13 21:19:59 +08:00
parent 3651b4e0a9
commit a7b4f42df0
4 changed files with 2402 additions and 856 deletions

View File

@@ -95,6 +95,17 @@ export const useHomeStore = defineStore('home', () => {
// 酒店数据
let hotelData = ref(null)
// 异常消息提醒
let notifyInfo = ref([
{ name: '安全异常', value: 0 },
{ name: '排队异常', value: 0 },
{ name: '停车异常', value: 0 },
{ name: '舆论异常', value: 0 }
])
const setNotifyInfo = (val) => {
notifyInfo.value = val
}
const setVisitorInfoList = (val) => {
visitorInfoList.value = val
}
@@ -148,6 +159,8 @@ export const useHomeStore = defineStore('home', () => {
carStopInfoData,
carShipData,
hotelData,
notifyInfo,
setNotifyInfo,
setScenicData,
setUserPortraitData,
setBaiduMapData,