src/views/line_graph/SiteComprehensiveRskRanking.vue
@@ -101,7 +101,7 @@
      // 其中一个40是盒子的总外边距
      this.tableHeight = `calc(100vh - ${h1}px  - 40px - 40px - var(--el-main-padding) * 2`
    },
    // 点击展示按钮
    // 点击风险排名按钮
    fetchData() {
      this.loading = true
      this.queryButton = true
@@ -136,6 +136,7 @@
              this.$nextTick(()=>{
              this.$refs.table.sort('riskValue','descending')
            })
            })
@@ -144,20 +145,20 @@
    },
    // 企业异常详情
    exceptiondataCount() {
      exceptionApi
        .exceptiondata1({
          // siteName: this.form.name,
          siteName: '',
          beginTime: this.form.beginTime,
          endTime: this.form.endTime
        })
        .then((res) => {
          let obj = index.calRecur(res.data.data)
          this.bill.exceptionRecurrence = obj['exceptionRecurrence']
          this.bill.exceptionTypeAggregation = obj['exceptionTypeAggregation']
        })
    },
    // exceptiondataCount() {
    //   exceptionApi
    //     .exceptiondata1({
    //       // siteName: this.form.name,
    //       siteName: '',
    //       beginTime: this.form.beginTime,
    //       endTime: this.form.endTime
    //     })
    //     .then((res) => {
    //       let obj = index.calRecur(res.data.data)
    //       this.bill.exceptionRecurrence = obj['exceptionRecurrence']
    //       this.bill.exceptionTypeAggregation = obj['exceptionTypeAggregation']
    //     })
    // },
    /**
     * 初始加载函数