|
@@ -152,6 +152,21 @@
|
|
<chartCollectionTwo ref="chartCollectionTwo"></chartCollectionTwo>
|
|
<chartCollectionTwo ref="chartCollectionTwo"></chartCollectionTwo>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 第七纵向-->
|
|
|
|
+ <!--<div class="bigdata-list wid-li-1 m-l-15">-->
|
|
|
|
+ <!--<!–<div class="b-con mg-b-20 tall">–>-->
|
|
|
|
+ <!--<!–<div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">–>-->
|
|
|
|
+ <!--<!–<span>还田分布、类型统计</span>–>-->
|
|
|
|
+ <!--<!–</div>–>-->
|
|
|
|
+ <!--<!–<chartDetector ref=""></chartDetector>–>-->
|
|
|
|
+ <!--<!–</div>–>-->
|
|
|
|
+ <!--<div class="b-con">-->
|
|
|
|
+ <!--<div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">-->
|
|
|
|
+ <!--<span>农业数据统计</span>-->
|
|
|
|
+ <!--</div>-->
|
|
|
|
+ <!--<chartAgricultureData ref="chartAgricultureData"></chartAgricultureData>-->
|
|
|
|
+ <!--</div>-->
|
|
|
|
+ <!--</div>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -183,6 +198,7 @@ import chartPlant from './chart-plant' //19 种植
|
|
import chartBreed from './chart-breed' //20 养殖
|
|
import chartBreed from './chart-breed' //20 养殖
|
|
import chartFireControlTwo from './chart-firecontrolTwo' //21 病虫害分布
|
|
import chartFireControlTwo from './chart-firecontrolTwo' //21 病虫害分布
|
|
import chartCollectionTwo from './chart-collectionTwo' //22 粪污处理分布
|
|
import chartCollectionTwo from './chart-collectionTwo' //22 粪污处理分布
|
|
|
|
+import chartAgricultureData from './chart-agricultureData' //23 农业数据统计
|
|
|
|
|
|
import bigdataSupermap from '@/components/supermap' //超图
|
|
import bigdataSupermap from '@/components/supermap' //超图
|
|
|
|
|
|
@@ -192,7 +208,7 @@ import {
|
|
, leidaBigData, protectInfoBigData, xubaoBigData
|
|
, leidaBigData, protectInfoBigData, xubaoBigData
|
|
, zhongZiBigData, huaFeiBigData, YangZhiBigData
|
|
, zhongZiBigData, huaFeiBigData, YangZhiBigData
|
|
, getHuanTianDept, getHuanTianType, getLItianDept
|
|
, getHuanTianDept, getHuanTianType, getLItianDept
|
|
- , plantDataAnalysis, breedDataAnalysis
|
|
|
|
|
|
+ , getAgricultureData, plantDataAnalysis, breedDataAnalysis
|
|
} from '@/api/bigdata/bigdata'
|
|
} from '@/api/bigdata/bigdata'
|
|
import { fontConfig } from '@/api/login'
|
|
import { fontConfig } from '@/api/login'
|
|
|
|
|
|
@@ -222,7 +238,8 @@ export default {
|
|
chartPlant,
|
|
chartPlant,
|
|
chartBreed,
|
|
chartBreed,
|
|
chartFireControlTwo,
|
|
chartFireControlTwo,
|
|
- chartCollectionTwo
|
|
|
|
|
|
+ chartCollectionTwo,
|
|
|
|
+ chartAgricultureData,
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.fontConfig()
|
|
this.fontConfig()
|
|
@@ -244,6 +261,7 @@ export default {
|
|
this.breedDataAnalysis()
|
|
this.breedDataAnalysis()
|
|
this.findEventGroupByDept()
|
|
this.findEventGroupByDept()
|
|
this.findPerByEventXl()
|
|
this.findPerByEventXl()
|
|
|
|
+ // this.getAgricultureData();
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
// setTimeout(() => {
|
|
// setTimeout(() => {
|
|
@@ -428,6 +446,11 @@ export default {
|
|
this.$refs.chartWaterIntake.myEcharts(res.data)
|
|
this.$refs.chartWaterIntake.myEcharts(res.data)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ getAgricultureData() {
|
|
|
|
+ getAgricultureData().then(res => {
|
|
|
|
+ this.$refs.chartAgricultureData.myEcharts(res.data)
|
|
|
|
+ })
|
|
|
|
+ },
|
|
plantDataAnalysis() {
|
|
plantDataAnalysis() {
|
|
plantDataAnalysis().then(res => {
|
|
plantDataAnalysis().then(res => {
|
|
for (let i in res.data.series) {
|
|
for (let i in res.data.series) {
|