From 4b90690fc6715504b9df5f9e4d76a7aea849ed7d Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期日, 28 八月 2022 23:14:50 +0800 Subject: [PATCH] 添加排查标记. 修正饼图提示 --- src/Pool/VideoManageData.ts | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Pool/VideoManageData.ts b/src/Pool/VideoManageData.ts index 1caee06..fb11ffd 100644 --- a/src/Pool/VideoManageData.ts +++ b/src/Pool/VideoManageData.ts @@ -12,6 +12,7 @@ { day: 7, time_range: [{ start: "00:00", end: "24:00" }] } ] + export default class VideoManageData { public SepTasks: Array<object> = []; public TimeRules: Array<object> = []; @@ -23,14 +24,16 @@ // this.getAllSeparateTasks(); this.getTimeRule(); this.getDictionary(); - this.getTagList(); + // this.getTagList(); } public async getTimeRule() { let rsp: any = await getAllTimeRule(); + console.log(rsp); + if (rsp && rsp.success) { - this.TimeRules = rsp.data; - this.TimeRuleSum = rsp.data.length + this.TimeRules = rsp.data.timeRules; + this.TimeRuleSum = this.TimeRules.length } // 娣诲姞涓�鏉¢粯璁よ鍒� -- Gitblit v1.8.0