From b4b966c10d7a513aaa0fd386bb4062a6a90d02f8 Mon Sep 17 00:00:00 2001 From: yyl <279235553@qq.com> Date: Tue, 23 Jan 2024 14:58:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9C=80=E6=96=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=8Cbug=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/event/perceiveEvent.js | 160 ++++++++++++++++++ .../components/ConditionStatistics/index.vue | 6 +- .../components/auditAnalytics/index.vue | 2 +- .../components/channelAnalytics/index.vue | 2 +- .../components/eventTypeAnalysis/index.vue | 2 +- .../components/nucleusThrough/index.vue | 2 +- .../components/postTrendsDay/index.vue | 2 +- .../components/postTrendsMonth/index.vue | 6 +- .../components/topComponent/index.vue | 2 +- .../components/RoadSectionTolls/index.vue | 2 +- .../components/daylyAnalysis/index.vue | 2 +- .../components/monthlyAnalysis/index.vue | 2 +- .../components/deviceUptime/index.vue | 2 +- .../statisticalAnalysis/index.vue | 2 +- .../components/dailyDisposal/index.vue | 2 +- .../components/dayTotal/index.vue | 2 +- .../components/eventQuery/index.vue | 8 +- .../components/eventSource/assets/charts.js | 6 +- .../components/eventSource/index.vue | 12 +- .../components/monthStatistics/index.vue | 2 +- .../components/railway/index.vue | 2 +- .../components/railwayDay/index.vue | 2 +- .../components/typeAnalysis/index.vue | 2 +- .../components/TemperatureTrend/index.vue | 2 +- .../components/visibilityTrends/index.vue | 2 +- .../classification/assets/charts.js | 8 +- .../components/classification/index.vue | 4 +- .../components/congestion/index.vue | 2 +- .../components/flowstate/index.vue | 2 +- .../components/situation/index.vue | 2 +- .../components/unblocked/index.vue | 2 +- .../components/changesIndicators/index.vue | 2 +- .../components/composeFeatures/index.vue | 2 +- .../components/congestionIndicator/index.vue | 4 +- .../components/crowding/index.vue | 2 +- .../components/roadIndicators/index.vue | 6 +- .../components/saturationMax/index.vue | 2 +- .../components/trafficIndicators/index.vue | 10 +- .../components/IndicatorQuery/index.vue | 108 ++++++++++++ .../components/auditAnalytics/index.vue | 2 +- .../components/channelAnalytics/index.vue | 2 +- .../components/eventTypeAnalysis/index.vue | 4 +- .../components/nucleusThrough/index.vue | 2 +- .../components/postTrendsDay/index.vue | 2 +- .../components/postTrendsMonth/index.vue | 4 +- .../components/topComponent/index.vue | 2 +- ruoyi-ui/src/views/bigScreen2/index.vue | 12 +- ruoyi-ui/vue.config.js | 7 +- 48 files changed, 352 insertions(+), 77 deletions(-) create mode 100644 ruoyi-ui/src/api/event/perceiveEvent.js diff --git a/ruoyi-ui/src/api/event/perceiveEvent.js b/ruoyi-ui/src/api/event/perceiveEvent.js new file mode 100644 index 00000000..fb81f30e --- /dev/null +++ b/ruoyi-ui/src/api/event/perceiveEvent.js @@ -0,0 +1,160 @@ +import request from '@/utils/request' +import { download } from '../../utils/request' +// 全景数据 - 运行环境接口 + + +//查询预警表与历史表所有感知事件的数量 +export function geTwarningTotal(query) { + return request({ + url: '/perceivedEvents/warning/warningTotal', + method: 'post', + params: { + ...query, + } + }) + } + + //查询全部的感知事件类型 + export function getSystemStatusTabList(query) { + //system/status/tablist + return request({ + url: '/system/status/tablist', + method: 'get', + params: { + ...query, + } + }) + } + + //根据事件主子类查询事件列表 + export function getPerceivedEventsList(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/perceivedEventsList', + method: 'get', + params: { + ...query, + } + }) + } + + //路段感知事件排名 + export function getSectionPerceivedList(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/sectionPerceivedList', + method: 'get', + params: { + ...query, + } + }) + } + + + //路段日感知事件 + export function getSectionPerceivedNumber(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/sectionPerceivedNumber', + method: 'get', + params: { + ...query, + } + }) + } + + //日累计感知事件 + export function getDailyCumulative(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/dailyCumulative', + method: 'get', + params: { + ...query, + } + }) + } + + //感知事件源分析 + export function getWarningSourceGroup(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/warningSourceGroup', + method: 'get', + params: { + ...query, + } + }) + } + + //日事件处置情况占比 + export function getWarningStateDay(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/warningStateDay', + method: 'get', + params: { + ...query, + } + }) + } + + //近一月感知事件时段分布统计 + export function getDailyCumulativeMonth(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/dailyCumulativeMonth', + method: 'get', + params: { + ...query, + } + }) + } + + //感知事件类型分析 + export function getWarningTypeDay(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/warningTypeDay', + method: 'get', + params: { + ...query, + } + }) + } + + //感知事件查询-感知事件趋势 + export function getWarningTrend(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/warningTrend', + method: 'get', + params: { + ...query, + } + }) + } + + //感知事件查询-类型占比 + export function getWarningSectionType(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/warningSectionType', + method: 'get', + params: { + ...query, + } + }) + } + + //感知事件查询-路段范围内桩号分布 + export function getSectionMarkNumber(query) { + //system/status/tablist + return request({ + url: '/perceivedEvents/warning/sectionMarkNumber', + method: 'get', + params: { + ...query, + } + }) + } \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue index 10d82fc8..92e60219 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue @@ -25,7 +25,7 @@