|
|
|
@ -124,7 +124,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="right_top bcg" :style="$store.state.app.sidebar.opened ? 'width: 24%;': 'width: 32%;' "> -->
|
|
|
|
|
<div class="right_top bcg">
|
|
|
|
|
<h3>上报隐患数量排名</h3>
|
|
|
|
|
<h3>本月上报隐患排名</h3>
|
|
|
|
|
<el-table
|
|
|
|
|
ref="right_top"
|
|
|
|
|
class="custom-table"
|
|
|
|
@ -185,7 +185,7 @@ import {
|
|
|
|
|
getTrade,
|
|
|
|
|
getEconomics,
|
|
|
|
|
getScale,
|
|
|
|
|
getDangerClass,
|
|
|
|
|
getDangerStatus,
|
|
|
|
|
getDangerList,
|
|
|
|
|
} from "@/api/ehs/ehsExamples";
|
|
|
|
|
import indexHD from "./indexHD";
|
|
|
|
@ -296,10 +296,10 @@ export default {
|
|
|
|
|
// myChart.resize();
|
|
|
|
|
},
|
|
|
|
|
async rightBominit() {
|
|
|
|
|
let res = await getDangerClass();
|
|
|
|
|
let res = await getDangerStatus();
|
|
|
|
|
this.myChart2 = echarts.init(this.$refs.right_bom);
|
|
|
|
|
let option = {
|
|
|
|
|
title: { text: "隐患类型分析统计" },
|
|
|
|
|
title: { text: "隐患整改进度统计" },
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: "item",
|
|
|
|
|
},
|
|
|
|
@ -310,7 +310,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: "隐患类型数量",
|
|
|
|
|
name: "隐患数量",
|
|
|
|
|
type: "pie",
|
|
|
|
|
radius: ["40%", "70%"],
|
|
|
|
|
avoidLabelOverlap: false,
|
|
|
|
@ -517,7 +517,7 @@ export default {
|
|
|
|
|
mounted() {
|
|
|
|
|
// this.autoScroll();自动滚动
|
|
|
|
|
this.leftCenterinit(); //隐患数据
|
|
|
|
|
this.rightBominit(); //隐患类型
|
|
|
|
|
this.rightBominit(); //隐患整改进度
|
|
|
|
|
this.hylyinit(); // 行业领域
|
|
|
|
|
this.jjClassInit(); // 经济类型
|
|
|
|
|
this.scaleInit(); // 企业规模
|
|
|
|
|