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