|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="dashboard-editor-container">
|
|
<div class="dashboard-editor-container">
|
|
|
|
|
|
- <panel-group :statisticsList="statisticsList" v-if="show"/>
|
|
|
|
|
|
+ <panel-group :statisticsList="statisticsList"/>
|
|
|
|
|
|
<el-row style="background:#fff;margin-bottom:32px;">
|
|
<el-row style="background:#fff;margin-bottom:32px;">
|
|
<el-card style="height: 570px">
|
|
<el-card style="height: 570px">
|
|
@@ -20,20 +20,20 @@
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<el-row :gutter="32">
|
|
<el-row :gutter="32">
|
|
- <el-col :span="8">
|
|
|
|
- <el-card>
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8">
|
|
|
|
+ <div class="chart-wrapper">
|
|
<pfl-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></pfl-pie-chart>
|
|
<pfl-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></pfl-pie-chart>
|
|
- </el-card>
|
|
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="8">
|
|
|
|
- <el-card>
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8">
|
|
|
|
+ <div class="chart-wrapper">
|
|
<xll-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></xll-pie-chart>
|
|
<xll-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></xll-pie-chart>
|
|
- </el-card>
|
|
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="8">
|
|
|
|
- <el-card>
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8">
|
|
|
|
+ <div class="chart-wrapper">
|
|
<jpl-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></jpl-pie-chart>
|
|
<jpl-pie-chart v-if="showPoint" :pointList="pointCountList" :plant-name="''"></jpl-pie-chart>
|
|
- </el-card>
|
|
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.dashboard-editor-container {
|
|
.dashboard-editor-container {
|
|
- padding: 32px;
|
|
|
|
|
|
+ padding: 10px 32px 32px;
|
|
background-color: rgb(240, 242, 245);
|
|
background-color: rgb(240, 242, 245);
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|