zhangzengfei
2022-08-22 f14f98a263141d2f8ec0079866a758cc7a1c38d1
src/views/dataView/index.vue
@@ -29,7 +29,7 @@
          <div class="center-count">
            <b style="font-size: 40px;">{{ warnTotal }}</b>
            <p style="margin-top:2px">7日内预警总量</p>
            <p style="margin-top:35px">设备总量: 974</p>
            <p style="margin-top:35px">场景总量: 974</p>
            <p style="margin-top:5px">监测点总量: {{ cameraTotal }}</p>
          </div>
        </div>
@@ -136,7 +136,7 @@
          .format("YYYY-MM-DD 00:00:00"),
        this.$moment().format("YYYY-MM-DD HH:mm:ss")
      ],
      loading: false,
      loading: true,
      lineChart: {},
      pieChart: {},
      barChart: {},
@@ -376,7 +376,7 @@
    this.timer()
    setTimeout(() => {
      this.loading = false
    }, 3000)
    }, 6000)
    this.$nextTick(() => {
      this.initLineChart()
@@ -442,11 +442,11 @@
        for (let i = 0; i < tmpTree.length; i++) {
          this.countNodes(tmpTree[i], null)
        }
        // this.menuTree = tmpTree
        // 根据部门数据统计报警数量
        await this.orgsWarnCount()
        this.loading = false
        // 统计7日排查量
        this.checkWarnCount()
      }
@@ -580,7 +580,6 @@
            })
          }
          // console.log("WarningRate:", decodeResult)
          // console.log("WarningRate:", warningTotal, warningFalse, warningSolved, warningNoCheck, warningChecked)
          // 处理率
          this.manageRate = parseInt(((warningChecked + warningFalse) / warningTotal) * 100)
          // 排查率
@@ -723,6 +722,7 @@
  top: 0;
  left: 0;
  z-index: 999;
  opacity: 0.95;
}
#load .load_img {