From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- src/pages/visual/Pool/CategoryData.ts | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/visual/Pool/CategoryData.ts b/src/pages/visual/Pool/CategoryData.ts index c1a37b5..4464105 100644 --- a/src/pages/visual/Pool/CategoryData.ts +++ b/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 } } @@ -132,7 +136,7 @@ // console.log(res,'棰勮鍒楄〃鏁版嵁') if (res && res.success) { this.personList = res.data.dataList - console.log(this.personList, "realTimeCapture") + // console.log(this.personList, "realTimeCapture") } } -- Gitblit v1.8.0