yyl
10 months ago
48 changed files with 352 additions and 77 deletions
@ -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, |
|||
} |
|||
}) |
|||
} |
Loading…
Reference in new issue