147 lines
4.8 KiB
Vue
Raw Normal View History

2025-03-14 17:52:05 +08:00
<template>
2025-03-24 17:32:57 +08:00
<div class="data-plant-index">
2025-04-30 12:15:12 +08:00
<baseBg :name-val="'plant'" top-title="政务云数字农业智慧大屏">
2025-03-14 17:52:05 +08:00
<template #center>
<el-row style="width: 100%; height: 100%">
<el-col :span="6" class="left-charts">
2025-03-20 14:55:37 +08:00
<div class="left-charts-item">
<customBack top-title="智慧种植种类分析" :top-postion="'left'">
<template #back>
<plantTypeCharts></plantTypeCharts>
</template>
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="昆虫害监测" :top-postion="'left'">
2025-03-21 16:48:39 +08:00
<template #back>
2025-03-27 17:22:39 +08:00
<insectPestsCharts></insectPestsCharts>
2025-03-21 16:48:39 +08:00
</template>
2025-03-20 14:55:37 +08:00
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="病理害监测" :top-postion="'left'">
2025-03-21 16:48:39 +08:00
<template #back>
<pathologyCharts></pathologyCharts>
</template>
2025-03-20 14:55:37 +08:00
</customBack>
</div>
</el-col>
2025-03-27 16:04:07 +08:00
<el-col :span="12" style="height: 100%">
2025-03-24 17:32:57 +08:00
<el-row style="height: 67%">
2025-03-27 16:04:07 +08:00
<el-col :span="24" class="center-top" style="height: 100%">
2025-03-24 17:32:57 +08:00
<div class="notice">
<noticeBar :height="'40px'"></noticeBar>
</div>
<div class="top">
<environment></environment>
</div>
<div class="map-gis">
<plantgs></plantgs>
</div>
</el-col>
2025-03-20 14:55:37 +08:00
</el-row>
2025-03-24 17:32:57 +08:00
<el-row style="height: 33%" :gutter="30">
<el-col :span="12" style="height: 100%">
2025-03-21 16:48:39 +08:00
<customBack top-title="水肥检测分析" :top-postion="'left'">
<template #back>
<waterfertilizerCharts></waterfertilizerCharts>
</template>
</customBack>
2025-03-20 14:55:37 +08:00
</el-col>
2025-03-24 17:32:57 +08:00
<el-col :span="12" style="height: 100%">
2025-03-21 17:33:11 +08:00
<customBack top-title="智慧水肥灌溉" :top-postion="'right'">
<template #back>
<irrigationCharts></irrigationCharts>
</template>
</customBack>
2025-03-20 14:55:37 +08:00
</el-col>
</el-row>
2025-03-14 17:52:05 +08:00
</el-col>
<el-col :span="6" class="right-charts">
2025-03-20 14:55:37 +08:00
<div class="right-charts-item">
<customBack top-title="智慧监控 A区 QQI" :top-postion="'right'">
2025-03-24 17:32:57 +08:00
<template #back>
<monitoringScreen></monitoringScreen>
</template>
2025-03-20 14:55:37 +08:00
</customBack>
</div>
<div class="right-charts-item">
<customBack top-title="种植产量分析" :top-postion="'right'">
2025-03-24 17:32:57 +08:00
<template #back>
<yieldCharts></yieldCharts>
</template>
2025-03-20 14:55:37 +08:00
</customBack>
</div>
<div class="right-charts-item">
<customBack top-title="水质检测分析" :top-postion="'right'">
2025-03-24 17:32:57 +08:00
<template #back>
<waterdetectionCharts></waterdetectionCharts>
</template>
2025-03-20 14:55:37 +08:00
</customBack>
</div>
2025-03-14 17:52:05 +08:00
</el-col>
</el-row>
</template>
</baseBg>
</div>
</template>
<script setup>
2025-03-20 14:55:37 +08:00
import plantTypeCharts from './components/plantTypeCharts.vue';
2025-03-27 17:22:39 +08:00
import insectPestsCharts from './components/insectPestsCharts.vue';
2025-03-21 16:48:39 +08:00
import pathologyCharts from './components/pathologyCharts.vue';
import waterfertilizerCharts from './components/waterfertilizerCharts.vue';
2025-03-21 17:33:11 +08:00
import irrigationCharts from './components/irrigationCharts.vue';
2025-03-24 17:32:57 +08:00
import yieldCharts from './components/yieldCharts.vue';
import waterdetectionCharts from './components/waterdetectionCharts.vue';
import environment from './components/environment.vue';
import plantgs from './components/plantgs.vue';
import monitoringScreen from './components/monitoringScreen.vue';
import noticeBar from './components/noticeBar.vue';
2025-03-14 17:52:05 +08:00
</script>
<style lang="scss" scoped>
2025-03-24 17:32:57 +08:00
.data-plant-index {
2025-03-14 17:52:05 +08:00
.left-charts {
display: flex;
justify-content: space-around;
width: 100%;
height: 100%;
flex-direction: column;
}
.left-charts-item {
width: 100%;
height: calc((100% - 30px) / 3);
}
.right-charts {
display: flex;
justify-content: space-around;
width: 100%;
height: 100%;
flex-direction: column;
}
.right-charts-item {
width: 100%;
height: calc((100% - 30px) / 3);
}
2025-03-24 17:32:57 +08:00
.center-top {
padding: 16px;
.notice,
.top,
.map-gis {
display: inline-block;
width: 100%;
}
.notice {
height: 40px;
}
.top {
height: 80px;
}
.map-gis {
height: calc(100% - 140px);
}
}
2025-03-14 17:52:05 +08:00
}
</style>