|
@@ -18,179 +18,268 @@
|
|
</div>
|
|
</div>
|
|
<!-- 头部E -->
|
|
<!-- 头部E -->
|
|
|
|
|
|
- <div class="bigdata-body">
|
|
|
|
- <!-- 第一纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-1">
|
|
|
|
- <div class="b-con mg-b-20">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>事件来源,类型统计</span>
|
|
|
|
- </div>
|
|
|
|
- <chartEvent></chartEvent>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>林场分布统计</span>
|
|
|
|
- </div>
|
|
|
|
- <chartForestFarm></chartForestFarm>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>设备类型统计</span>
|
|
|
|
- </div>
|
|
|
|
- <chartEquipmentType></chartEquipmentType>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第二纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-2 m-l-15">
|
|
|
|
- <div class="bigdata-map mg-b-20">
|
|
|
|
- <!-- 地图 -->
|
|
|
|
- <bigdataSupermap ref="bigdataSupermap" style="width: 100%;height: 59vh;" class="indexSupermapClass"
|
|
|
|
- :mapDiv="'bigdataMap'" dynamicPlotting="false" :mapSite="{doubleClickZoom:false}"
|
|
|
|
- :codes="['9fa5']" :isSideBySide="false" />
|
|
|
|
- </div>
|
|
|
|
- <tabbar></tabbar>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第三纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>起火原因统计</span>
|
|
|
|
- </div>
|
|
|
|
- <chartFireCause></chartFireCause>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>设备上报事件数量</span>
|
|
|
|
- </div>
|
|
|
|
- <chartDeviceReportingEvents></chartDeviceReportingEvents>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>重点区域</span>
|
|
|
|
- </div>
|
|
|
|
- <chartKeyArea></chartKeyArea>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>珍惜古树</span>
|
|
|
|
- </div>
|
|
|
|
- <chartAncientTree></chartAncientTree>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>事件趋势</span>
|
|
|
|
- </div>
|
|
|
|
- <chartEventTrend></chartEventTrend>
|
|
|
|
- <strong></strong>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第四纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
- <div class="b-con mg-b-20 tall">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>网格分布</span>
|
|
|
|
- </div>
|
|
|
|
- <chartGridDistribution></chartGridDistribution>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>天气趋势</span>
|
|
|
|
- </div>
|
|
|
|
- <chartWeatherTrends></chartWeatherTrends>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第五纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
- <div class="b-con mg-b-20 tall">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>网格人员</span>
|
|
|
|
- </div>
|
|
|
|
- <chartGridStaff></chartGridStaff>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>防火队</span>
|
|
|
|
- </div>
|
|
|
|
- <chartFireBrigade></chartFireBrigade>
|
|
|
|
- </div>
|
|
|
|
- <div class="b-con mg-b-20 b-49">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>气象站</span>
|
|
|
|
- </div>
|
|
|
|
- <chartWeatherStation></chartWeatherStation>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第六纵向-->
|
|
|
|
- <div class="bigdata-list wid-li-1 m-l-15">
|
|
|
|
- <div class="b-con mg-b-20 taller">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>设备分布</span>
|
|
|
|
- </div>
|
|
|
|
- <chartEquipmentDistribution></chartEquipmentDistribution>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- 第七纵向 列表-->
|
|
|
|
- <div class="bigdata-list wid-li-1 m-l-15 m-r-15" style="width:500px">
|
|
|
|
- <div class="b-con mg-b-20 taller" style="overflow-y:hidden;">
|
|
|
|
- <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
- <span>历次火灾涉及组成</span>
|
|
|
|
- </div>
|
|
|
|
- <dv-scroll-board :config="config"/>
|
|
|
|
- <!-- 示例说明 http://datav.jiaminghi.com/guide/scrollBoard.html#%E5%AE%9A%E5%88%B6%E5%85%83%E7%B4%A0 -->
|
|
|
|
- <!-- 应用 https://www.cnblogs.com/Fancy1486450630/p/16260846.html -->
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="bigdata-body">
|
|
|
|
+ <!-- 第一纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-1">
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>事件来源,类型统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartEvent></chartEvent>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>林场分布统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartForestFarm></chartForestFarm>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>设备类型统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartEquipmentType></chartEquipmentType>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第二纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-2 m-l-15">
|
|
|
|
+ <div class="bigdata-map mg-b-20">
|
|
|
|
+ <!-- 地图 -->
|
|
|
|
+ <bigdataSupermap ref="bigdataSupermap" style="width: 100%;height: 59vh;" class="indexSupermapClass"
|
|
|
|
+ :mapDiv="'bigdataMap'" dynamicPlotting="false" :mapSite="{doubleClickZoom:false}"
|
|
|
|
+ :codes="['9fa5']" :isSideBySide="false"/>
|
|
|
|
+ </div>
|
|
|
|
+ <tabbar></tabbar>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第三纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>起火原因统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireCause></chartFireCause>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>设备上报事件数量</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartDeviceReportingEvents></chartDeviceReportingEvents>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>重点区域</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartKeyArea></chartKeyArea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>珍惜古树</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartAncientTree></chartAncientTree>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>事件趋势</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartEventTrend></chartEventTrend>
|
|
|
|
+ <strong></strong>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第四纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
+ <div class="b-con mg-b-20 tall">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>网格分布</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartGridDistribution></chartGridDistribution>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>天气趋势</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartWeatherTrends></chartWeatherTrends>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第五纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
+ <div class="b-con mg-b-20 tall">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>网格人员</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartGridStaff></chartGridStaff>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>防火队</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireBrigade></chartFireBrigade>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>气象站</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartWeatherStation></chartWeatherStation>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第六纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-1 m-l-15">
|
|
|
|
+ <div class="b-con mg-b-20 taller">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>设备分布</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartEquipmentDistribution></chartEquipmentDistribution>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第七纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-1 m-l-15">
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>各林场巡查队伍当日在职情况</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFirecontrol></chartFirecontrol>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>森林资源统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFarm></chartFarm>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>车辆信息统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartPit></chartPit>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第八纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-1 m-l-15">
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>防火设备统计</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartCollection></chartCollection>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>巡查出勤排名</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFarmtype></chartFarmtype>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>植树造林计划、面积、完成情况等</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartDanger></chartDanger>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 第九纵向-->
|
|
|
|
+ <div class="bigdata-list wid-li-3 m-l-15 flex-r">
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>按时间、事件类别统计事件数据(年度、月份、四类事件数量)</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireTypeYear></chartFireTypeYear>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>火险高发统计分析</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireIncidence></chartFireIncidence>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>火灾等级统计分析</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireGrade></chartFireGrade>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="b-con mg-b-20 b-49">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>火灾种类统计分析</span>
|
|
|
|
+ </div>
|
|
|
|
+ <chartFireType></chartFireType>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- 第十纵向 列表-->
|
|
|
|
+ <div class="bigdata-list wid-li-1 m-l-15 m-r-15" style="width:500px">
|
|
|
|
+ <div class="b-con mg-b-20 taller" style="overflow-y:hidden;">
|
|
|
|
+ <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
|
|
|
|
+ <span>历次火灾涉及组成</span>
|
|
|
|
+ </div>
|
|
|
|
+ <dv-scroll-board :config="config"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- import tabbar from './tabbar.vue' //区域切换
|
|
|
|
- import bigdataSupermap from '@/components/supermap' //超图
|
|
|
|
- //echarts
|
|
|
|
- import chartEvent from './chart-event.vue' //1 事件、、
|
|
|
|
- import chartForestFarm from './chart-forestFarm.vue' //2 林场分布、、
|
|
|
|
- import chartEquipmentType from './chart-equipmentType.vue' //3 公司、、
|
|
|
|
- import chartFireCause from './chart-fireCause.vue' //4 起火原因、、
|
|
|
|
- import chartDeviceReportingEvents from './chart-deviceReportingEvents.vue' //5 设备上报数量、、
|
|
|
|
- import chartEventTrend from './chart-eventTrend.vue' //6 事件趋势、、
|
|
|
|
- import chartKeyArea from './chart-keyArea.vue' //7 重点区域、、
|
|
|
|
- import chartAncientTree from './chart-ancientTree.vue' //8 珍惜古树、、
|
|
|
|
- import chartWeatherTrends from './chart-weatherTrends.vue' //9 天气趋势、、
|
|
|
|
- import chartGridDistribution from './chart-gridDistribution.vue' //10 网格分布、、
|
|
|
|
- import chartFireBrigade from './chart-fireBrigade.vue' //12 防火队、、
|
|
|
|
- import chartGridStaff from './chart-gridStaff.vue' //13 网格人员、、
|
|
|
|
- import chartWeatherStation from './chart-weatherStation.vue' //14 气象站、、
|
|
|
|
- import chartEquipmentDistribution from './chart-equipmentDistribution' //16 设备分布、、
|
|
|
|
- import {
|
|
|
|
- getRlt
|
|
|
|
- } from '@/api/bigdata'
|
|
|
|
- import {
|
|
|
|
- fontConfig
|
|
|
|
- } from '@/api/login'
|
|
|
|
-
|
|
|
|
- export default {
|
|
|
|
- components: {
|
|
|
|
- bigdataSupermap,
|
|
|
|
- tabbar,
|
|
|
|
- chartEvent,
|
|
|
|
- chartForestFarm,
|
|
|
|
- chartEquipmentType,
|
|
|
|
- chartFireCause,
|
|
|
|
- chartDeviceReportingEvents,
|
|
|
|
- chartEventTrend,
|
|
|
|
- chartKeyArea,
|
|
|
|
- chartAncientTree,
|
|
|
|
- chartWeatherTrends,
|
|
|
|
- chartGridDistribution,
|
|
|
|
- chartFireBrigade,
|
|
|
|
- chartGridStaff,
|
|
|
|
- chartWeatherStation,
|
|
|
|
- chartEquipmentDistribution
|
|
|
|
- },
|
|
|
|
- data() {
|
|
|
|
|
|
+import tabbar from './tabbar.vue' //区域切换
|
|
|
|
+import bigdataSupermap from '@/components/supermap' //超图
|
|
|
|
+//echarts
|
|
|
|
+import chartEvent from './chart-event.vue' //1 事件、、
|
|
|
|
+import chartForestFarm from './chart-forestFarm.vue' //2 林场分布、、
|
|
|
|
+import chartEquipmentType from './chart-equipmentType.vue' //3 公司、、
|
|
|
|
+import chartFireCause from './chart-fireCause.vue' //4 起火原因、、雷达
|
|
|
|
+import chartDeviceReportingEvents from './chart-deviceReportingEvents.vue' //5 设备上报数量、、
|
|
|
|
+import chartEventTrend from './chart-eventTrend.vue' //6 事件趋势、、
|
|
|
|
+import chartKeyArea from './chart-keyArea.vue' //7 重点区域、、
|
|
|
|
+import chartAncientTree from './chart-ancientTree.vue' //8 珍惜古树、、 柱状图
|
|
|
|
+import chartWeatherTrends from './chart-weatherTrends.vue' //9 天气趋势、、
|
|
|
|
+import chartGridDistribution from './chart-gridDistribution.vue' //10 网格分布、、
|
|
|
|
+import chartFireBrigade from './chart-fireBrigade.vue' //12 防火队、、 柱状图
|
|
|
|
+import chartGridStaff from './chart-gridStaff.vue' //13 网格人员、、
|
|
|
|
+import chartWeatherStation from './chart-weatherStation.vue' //14 气象站、、 横向组图
|
|
|
|
+import chartEquipmentDistribution from './chart-equipmentDistribution' //16 设备分布、、
|
|
|
|
+
|
|
|
|
+import chartFirecontrol from './chart-firecontrol.vue' //17 各林场巡查队伍当日在职情况(在职、缺岗)
|
|
|
|
+import chartFarm from './chart-farm.vue' //18 森林资源统计
|
|
|
|
+import chartPit from './chart-pit.vue' //19 车辆信息统计
|
|
|
|
+import chartCollection from './chart-collection.vue' //20 防火设备统计
|
|
|
|
+import chartFarmtype from './chart-farmtype.vue' //21 巡查出勤排名(正负排名)
|
|
|
|
+import chartDanger from './chart-danger.vue' //22 植树造林计划、面积、完成情况等
|
|
|
|
+
|
|
|
|
+import chartFireGrade from './chart-fireGrade.vue' //22 火灾等级统计分析
|
|
|
|
+import chartFireType from './chart-fireType.vue' //23 火灾种类统计分析
|
|
|
|
+import chartFireIncidence from './chart-fireIncidence.vue' //24 火险高发统计分析
|
|
|
|
+
|
|
|
|
+import chartFireTypeYear from './chart-fireTypeYear.vue' //25 按时间、事件类别统计事件数据(年度、月份、四类事件数量)
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+import { getRlt,getEventInfoList } from '@/api/bigdata'
|
|
|
|
+import { fontConfig } from '@/api/login'
|
|
|
|
+
|
|
|
|
+export default {
|
|
|
|
+ components: {
|
|
|
|
+ bigdataSupermap,
|
|
|
|
+ tabbar,
|
|
|
|
+ chartEvent,
|
|
|
|
+ chartForestFarm,
|
|
|
|
+ chartEquipmentType,
|
|
|
|
+ chartFireCause,
|
|
|
|
+ chartDeviceReportingEvents,
|
|
|
|
+ chartEventTrend,
|
|
|
|
+ chartKeyArea,
|
|
|
|
+ chartAncientTree,
|
|
|
|
+ chartWeatherTrends,
|
|
|
|
+ chartGridDistribution,
|
|
|
|
+ chartFireBrigade,
|
|
|
|
+ chartGridStaff,
|
|
|
|
+ chartWeatherStation,
|
|
|
|
+ chartEquipmentDistribution,
|
|
|
|
+ chartFirecontrol,
|
|
|
|
+ chartFarm,
|
|
|
|
+ chartPit,
|
|
|
|
+ chartCollection,
|
|
|
|
+ chartFarmtype,
|
|
|
|
+ chartDanger,
|
|
|
|
+ chartFireGrade,
|
|
|
|
+ chartFireType,
|
|
|
|
+ chartFireIncidence,
|
|
|
|
+ chartFireTypeYear
|
|
|
|
+ },
|
|
|
|
+ data() {
|
|
|
|
|
|
return {
|
|
return {
|
|
systemTitle: {
|
|
systemTitle: {
|
|
@@ -244,41 +333,25 @@
|
|
|
|
|
|
//列表
|
|
//列表
|
|
config: { //消息中心数据所有
|
|
config: { //消息中心数据所有
|
|
- header: ['总面积', '总人数', '林木组成', '林令', '数密度'],
|
|
|
|
|
|
+ header: ['总面积', '总人数', '林木组成', '林令', '疏密度'],
|
|
indexHeader: '序号',
|
|
indexHeader: '序号',
|
|
- rowNum: 13, // 表行数 表行数小于数据行数时才会出现自动滚动
|
|
|
|
|
|
+ rowNum: 11, // 表行数 表行数小于数据行数时才会出现自动滚动
|
|
headerBGC: 'rgb(74, 144, 204);', // 表头背景色
|
|
headerBGC: 'rgb(74, 144, 204);', // 表头背景色
|
|
oddRowBGC: 'rgb(9 48 79);', // 奇数行背景色
|
|
oddRowBGC: 'rgb(9 48 79);', // 奇数行背景色
|
|
evenRowBGC: 'rgba(1, 84, 120, 0.266666666666667)', // 偶数行背景色
|
|
evenRowBGC: 'rgba(1, 84, 120, 0.266666666666667)', // 偶数行背景色
|
|
- waitTime: 2000, // 轮播时间间隔(ms)
|
|
|
|
|
|
+ waitTime: 3000, // 轮播时间间隔(ms)
|
|
align: 'center',
|
|
align: 'center',
|
|
index: false,
|
|
index: false,
|
|
carousel: 'page',
|
|
carousel: 'page',
|
|
// columnWidth: [60], // 剩下两列宽度将自动计算
|
|
// columnWidth: [60], // 剩下两列宽度将自动计算
|
|
headerHeight: 50,
|
|
headerHeight: 50,
|
|
- data: [
|
|
|
|
- ['行1列1', '行1列2', '行1列3', '行1列1', '行1列2'],
|
|
|
|
- ['行2列1', '行2列2', '行2列3', '行1列1', '行1列2'],
|
|
|
|
- ['行3列1', '行3列2', '行3列3', '行1列1', '行1列2'],
|
|
|
|
- ['行4列1', '行4列2', '行4列3', '行1列1', '行1列2'],
|
|
|
|
- ['行5列1', '行5列2', '行5列3', '行1列1', '行1列2'],
|
|
|
|
- ['行6列1', '行6列2', '行6列3', '行1列1', '行1列2'],
|
|
|
|
- ['行7列1', '行7列2', '行7列3', '行1列1', '行1列2'],
|
|
|
|
- ['行8列1', '行8列2', '行8列3', '行1列1', '行1列2'],
|
|
|
|
- ['行9列1', '行9列2', '行9列3', '行1列1', '行1列2'],
|
|
|
|
- ['行10列1', '行10列2', '行10列3', '行1列1', '行1列2'],
|
|
|
|
- ['行10列1', '行10列2', '行10列3', '行1列1', '行1列2'],
|
|
|
|
- ['行10列1', '行10列2', '行10列3', '行1列1', '行1列2'],
|
|
|
|
- ['行10列1', '行10列2', '行10列3', '行1列1', '行1列2'],
|
|
|
|
- ]
|
|
|
|
|
|
+ data: []
|
|
},
|
|
},
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.fontConfig()
|
|
|
|
|
|
+ this.fontConfig();
|
|
|
|
+ this.getEventInfoList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
rlt() {
|
|
rlt() {
|
|
@@ -295,7 +368,22 @@
|
|
this.systemTitle.title = res.data.fontTitle
|
|
this.systemTitle.title = res.data.fontTitle
|
|
this.systemTitle.subTitle = res.data.subTitle
|
|
this.systemTitle.subTitle = res.data.subTitle
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ getEventInfoList(){
|
|
|
|
+ getEventInfoList().then(res => {
|
|
|
|
+ for(let i in res.data){
|
|
|
|
+ const data = [];
|
|
|
|
+ data.push(res.data[i].areaTotal);
|
|
|
|
+ data.push(res.data[i].peopleTotal);
|
|
|
|
+ data.push(res.data[i].forestComposition);
|
|
|
|
+ data.push(res.data[i].forestToken);
|
|
|
|
+ data.push(res.data[i].porosities);
|
|
|
|
+ this.config.data.push(data);
|
|
|
|
+ }
|
|
|
|
+ this.config = {...this.config};//必不可少,不可省略
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.rlt()
|
|
this.rlt()
|
|
@@ -546,7 +634,7 @@
|
|
.m-r-15 {
|
|
.m-r-15 {
|
|
margin-right: .5%;
|
|
margin-right: .5%;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.scrollHeight {
|
|
.scrollHeight {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|