This commit is contained in:
parent
773c048b13
commit
12ae917046
|
|
@ -33,12 +33,12 @@ use([
|
|||
|
||||
const activeTrendMetric = ref('speed')
|
||||
|
||||
const statusMonitorOverviewCards = [
|
||||
{label: '路段平均速度', value: '32', unit: '(km/h)', icon: imgStatusLdpjsd},
|
||||
{label: '断面流量', value: '1200', unit: '(车次/h)', icon: imgStatusDmll},
|
||||
{label: '事故点核心车速', value: '10', unit: '(km/h)', icon: imgStatusYxcs},
|
||||
{label: '影响区车辆数', value: '580', unit: '(辆)', icon: imgStatusYxqcl},
|
||||
]
|
||||
const statusMonitorOverviewCards = ref([
|
||||
{label: '路段平均速度', value: '', unit: '(km/h)', icon: imgStatusLdpjsd},
|
||||
{label: '断面流量', value: '', unit: '(车次/h)', icon: imgStatusDmll},
|
||||
{label: '事故点核心车速', value: '', unit: '(km/h)', icon: imgStatusYxcs},
|
||||
{label: '影响区车辆数', value: '', unit: '(辆)', icon: imgStatusYxqcl},
|
||||
])
|
||||
|
||||
// 事故影响下交通流变化趋势:下拉选择项(绑定图表)
|
||||
const accidentImpactSection = ref('A-001')
|
||||
|
|
@ -1118,7 +1118,16 @@ const getPageData = async () => {
|
|||
demoAreaHistorySeries1d.value.speed[index] = item.data ?? 0
|
||||
}
|
||||
})
|
||||
// 111
|
||||
// 特免顶部数据
|
||||
const pageTopDisplay = data['page_top_display']?.items || []
|
||||
pageTopDisplay.forEach(item => {
|
||||
for (let key in statusMonitorOverviewCards.value) {
|
||||
const temp = statusMonitorOverviewCards.value[key]
|
||||
if (temp.label === item.project) {
|
||||
statusMonitorOverviewCards.value[key].value = item.data
|
||||
}
|
||||
}
|
||||
})
|
||||
// 111
|
||||
// 111
|
||||
// 111
|
||||
|
|
|
|||
Loading…
Reference in New Issue