|
@@ -1,21 +1,51 @@
|
|
|
<template>
|
|
|
- <div id="main">
|
|
|
- <Left />
|
|
|
- <Right />
|
|
|
+ <PageWrapper id="main-page">
|
|
|
+ <template #left>
|
|
|
+ <ContainerBorder title="数据统计">
|
|
|
+ <DataStatistics />
|
|
|
+ </ContainerBorder>
|
|
|
+ <ContainerBorder title="数据分析">
|
|
|
+ <DataAnalysis />
|
|
|
+ </ContainerBorder>
|
|
|
+ <ContainerBorder title="状态监测">
|
|
|
+ <ConditionMonitoring />
|
|
|
+ </ContainerBorder>
|
|
|
+ </template>
|
|
|
+ <template #right>
|
|
|
+ <ContainerBorder title="救援站点统计">
|
|
|
+ <RescueStationStatistics />
|
|
|
+ </ContainerBorder>
|
|
|
+ <ContainerBorder title="出警统计">
|
|
|
+ <PoliceStatistics />
|
|
|
+ </ContainerBorder>
|
|
|
+ <ContainerBorder title="消防日志">
|
|
|
+ <FireLog />
|
|
|
+ </ContainerBorder>
|
|
|
+ </template>
|
|
|
<CenterPanel />
|
|
|
- </div>
|
|
|
+ </PageWrapper>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import Left from '@/views/modules/left/index.vue'
|
|
|
-import Right from '@/views/modules/right/index.vue'
|
|
|
-import CenterPanel from '@/views/modules/panel/index.vue'
|
|
|
+import CenterPanel from '@/views/modules/CenterPanel'
|
|
|
+import { DataStatistics, DataAnalysis, ConditionMonitoring } from '@/bis-components'
|
|
|
+import { ContainerBorder, PageWrapper } from '@/components'
|
|
|
+import {RescueStationStatistics, PoliceStatistics, FireLog} from './components'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'MainView',
|
|
|
components: {
|
|
|
- Left,
|
|
|
- Right,
|
|
|
- CenterPanel
|
|
|
+ PageWrapper,
|
|
|
+ CenterPanel,
|
|
|
+ ContainerBorder,
|
|
|
+ // 左侧组件
|
|
|
+ DataStatistics,
|
|
|
+ DataAnalysis,
|
|
|
+ ConditionMonitoring,
|
|
|
+ // 右侧组件
|
|
|
+ RescueStationStatistics,
|
|
|
+ PoliceStatistics,
|
|
|
+ FireLog
|
|
|
}
|
|
|
}
|
|
|
</script>
|