MrShi
2025-09-24 0e555ff7887e46c5bdd9d8ca237f7ed1e1634c0f
admin/src/views/business/dangerStatic.vue
@@ -34,7 +34,7 @@
<!--    </QueryForm>-->
    <div class="main_content">
      <div class="type_wrap">
        <div class="title">隐患类型统计</div>
        <div class="title">本月隐患类型统计</div>
        <div v-show="typeList && typeList.length > 0" class="echart1" ref="typeRef"></div>
        <div v-show="typeList.length == 0" style="width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;">
          <img style="width: 240px;" src="@/assets/images/default_homeimg.png" alt="">
@@ -42,7 +42,7 @@
      </div>
      <div class="dept_wrap">
        <div class="title">隐患归属部门统计</div>
        <div class="title">本月隐患归属部门统计</div>
        <div v-show="deptList && deptList.length > 0" class="echart2" ref="deptRef"></div>
        <div v-show="deptList.length == 0" style="width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;">
          <img style="width: 240px;" src="@/assets/images/default_homeimg.png" alt="">
@@ -154,7 +154,7 @@
          this.yearList = res.yearList
          this.departmentList = res.departmentList.slice(0, 10)
          this.departmentList = res.departmentSortList.slice(0, 10)
          this.typeList = res.cateList || []
          this.deptList = res.departmentList || []