|
@@ -8,12 +8,12 @@
|
|
<div class="bt"><span><i class="el-icon-coin i"></i> 泄露程度统计</span></div>
|
|
<div class="bt"><span><i class="el-icon-coin i"></i> 泄露程度统计</span></div>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-card style="margin:0 5px 0 0;height: 500px" shadow="hover">
|
|
<el-card style="margin:0 5px 0 0;height: 500px" shadow="hover">
|
|
- <plant-count-chart v-if="show" :statistics="statisticsList"></plant-count-chart>
|
|
|
|
|
|
+ <plant-count-chart :statistics="xlcdList"></plant-count-chart>
|
|
</el-card>
|
|
</el-card>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-card style="margin: 0 0 0 5px;height: 500px " shadow="hover">
|
|
<el-card style="margin: 0 0 0 5px;height: 500px " shadow="hover">
|
|
- <pt-count-chart v-if="show" :queryParams="queryParams"></pt-count-chart>
|
|
|
|
|
|
+ <pt-count-chart :queryParams="queryParams"></pt-count-chart>
|
|
</el-card>
|
|
</el-card>
|
|
</el-col>
|
|
</el-col>
|
|
</el-card>
|
|
</el-card>
|
|
@@ -47,7 +47,7 @@ import LineChart from './dashboard/LineChart'
|
|
import RaddarChart from './dashboard/RaddarChart'
|
|
import RaddarChart from './dashboard/RaddarChart'
|
|
import PieChart from './dashboard/PieChart'
|
|
import PieChart from './dashboard/PieChart'
|
|
import BarChart from './dashboard/BarChart'
|
|
import BarChart from './dashboard/BarChart'
|
|
-import {listStatistics, pflByPoint} from "@/api/statistics/statistics";
|
|
|
|
|
|
+import {countXlcd, listStatistics, pflByPoint} from "@/api/statistics/statistics";
|
|
import PflPieChart from "@/views/statistics/pie/pflPieChart";
|
|
import PflPieChart from "@/views/statistics/pie/pflPieChart";
|
|
import XllPieChart from "@/views/statistics/pie/xllPieChart";
|
|
import XllPieChart from "@/views/statistics/pie/xllPieChart";
|
|
import JplPieChart from "@/views/statistics/pie/jplPieChart";
|
|
import JplPieChart from "@/views/statistics/pie/jplPieChart";
|
|
@@ -102,6 +102,7 @@ export default {
|
|
show: false,
|
|
show: false,
|
|
showPoint: false,
|
|
showPoint: false,
|
|
statisticsList: [],
|
|
statisticsList: [],
|
|
|
|
+ xlcdList: [],
|
|
pointCountList: [],
|
|
pointCountList: [],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -122,6 +123,9 @@ export default {
|
|
this.pointCountList = response.data;
|
|
this.pointCountList = response.data;
|
|
this.showPoint = true;
|
|
this.showPoint = true;
|
|
})
|
|
})
|
|
|
|
+ countXlcd(this.queryParams).then(response => {
|
|
|
|
+ this.xlcdList = response.data;
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|