From f20a554bdb24e9dfde9dc6a69d78595944f61d15 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期二, 25 十月 2022 14:53:57 +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