diff --git a/src/stores/home.js b/src/stores/home.js index a9beb9a..8c262f5 100644 --- a/src/stores/home.js +++ b/src/stores/home.js @@ -10,9 +10,9 @@ export const useHomeStore = defineStore('home', () => { { value: 0, name: '低感景区总数' } ], data: [ - { name: '购今日票数:', value: 0 }, - { name: '购未来三天票数:', value: 0 }, - { name: '购三天后票数:', value: 0 } + { name: '预定今日票:', value: 0 }, + { name: '今日购票数:', value: 0 }, + // { name: '购三天后票数:', value: 0 } ] }) //直通车购票 diff --git a/src/stores/scenic.js b/src/stores/scenic.js index 827c072..48b5338 100644 --- a/src/stores/scenic.js +++ b/src/stores/scenic.js @@ -7,21 +7,21 @@ export const useScenicStore = defineStore('scenic', () => { // 门票销售数据 let scenicSpotData = ref({ data: [ - { name: '购今日票数', value: 0 }, + { name: '预定今日票', value: 0 }, - { name: '购未来三天票数', value: 0 }, + { name: '今日购票数', value: 0 }, - { name: '购三天后票数', value: 0 } + // { name: '购三天后票数', value: 0 } ], infoList: [ { name: '游玩舒适度', type: 0, value: '空闲' }, - { name: '景区安全', type: 0, value: '安全' }, + // { name: '景区安全', type: 0, value: '安全' }, { name: '通景交通', type: 0, value: '通畅' }, { name: '停车场负荷', type: 0, value: '空闲' } ] }) // 景区排队信息 - let scenicQueueData = ref({ dataList: [], header: { jrcp: 0, jrjdrs: 0, pdcxsj: 0, pdrs: 0 } }) + let scenicQueueData = ref({ dataList: [], header: { jrcp: 0, jrjdrs: 0,jrjdcy:0, pdcxsj: 0, pdrs: 0 } }) // 景区负载信息 let scenicBearData = ref({ dataList: [], header: { jqRate: 0, jqzdcz: 0, jrjdrs: 0 } }) // 景区停车信息 diff --git a/src/views/home/components/box-3.vue b/src/views/home/components/box-3.vue index 4c8462e..1df3e0a 100644 --- a/src/views/home/components/box-3.vue +++ b/src/views/home/components/box-3.vue @@ -13,7 +13,7 @@
-
当前拥堵路段
+
今日拥堵路段
@@ -42,7 +42,7 @@ :data="congestionData" :xAxisData="congestionXAxisData" /> - +
diff --git a/src/views/monitor/components/box-1.vue b/src/views/monitor/components/box-1.vue index 1361f9f..a900246 100644 --- a/src/views/monitor/components/box-1.vue +++ b/src/views/monitor/components/box-1.vue @@ -4,21 +4,21 @@
- 总核心监控点位 + 总监控点位
- 总核心分析点位 + 核心分析点位
- 总异常点位 + 异常点位
diff --git a/src/views/scenic/components/box-1.vue b/src/views/scenic/components/box-1.vue index 319b2c8..d92c93e 100644 --- a/src/views/scenic/components/box-1.vue +++ b/src/views/scenic/components/box-1.vue @@ -134,7 +134,7 @@ import pubSub from 'pubsub-js' // let spotRes = await getSpotListApi() // return false; pubSub.publish('navToChange',hrefItem.value) - + router.push('/monitor') } let src = ref('') @@ -193,7 +193,7 @@ import pubSub from 'pubsub-js' &__left { display: flex; align-items: center; - + > img { width: vw(74); height: auto; @@ -201,7 +201,7 @@ import pubSub from 'pubsub-js' } &__left-item { position: relative; - width: vw(120); + width: vw(180); height: vh(58); padding-left: vw(10); display: flex; diff --git a/src/views/scenic/index.vue b/src/views/scenic/index.vue index a5b09c7..7bdc2f9 100644 --- a/src/views/scenic/index.vue +++ b/src/views/scenic/index.vue @@ -128,14 +128,38 @@ scenicSpotId: scenicSpotId.value }) ) //车窗数据2 - sendMessage( - JSON.stringify({ - action: 'start', - type: 'gpsData', - keyword:keyword.value, - scenicSpotId: scenicSpotId.value - }) - ) //车窗数据 + sendMessage( + JSON.stringify({ + action: 'start', + type: 'gpsData', + keyword:keyword.value, + scenicSpotId: scenicSpotId.value + }) + ) + sendMessage( + JSON.stringify({ + action: 'start', + type: 'scenicSppotLoad', + keyword:keyword.value, + scenicSpotId: scenicSpotId.value + }) + ) + sendMessage( + JSON.stringify({ + action: 'start', + type: 'scenicSppotLineUp', + keyword:keyword.value, + scenicSpotId: scenicSpotId.value + }) + ) + sendMessage( + JSON.stringify({ + action: 'start', + type: 'scenicSpotData', + keyword:keyword.value, + scenicSpotId: scenicSpotId.value + }) + ) } }, 5000) }