hanbaoshan
2020-09-16 d447a624a8459e08403691e2f387dd58de9b7e79
src/pages/visual/Pool/CategoryData.ts
@@ -11,6 +11,7 @@
  public mutPieVisitorList: Array<number> = [];
  public mutAnalysisList: Array<number> = [];
  public warnCount: Number = 0;
  public warnInfo: Object = {};
  public personList: Array<object> = [];
  public isShow: Boolean = false;
  public dataStatus: String = "";
@@ -32,6 +33,8 @@
    this.mutAnalysisList = []
    //当前预警总数
    this.warnCount = 0
    //当前预警信息
    this.warnInfo = {}
    //预警列表数据
    this.personList = []
    this.isShow = false
@@ -110,7 +113,8 @@
    const res: any = await statisticsComprehensive({})
    // console.log(res,'当前预警总数')
    if (res && res.success) {
      this.warnCount = res.data
      //this.warnCount = res.data
      this.warnInfo = res.data
    }
  }