From 0f8be5eece9ec8a8a03dc7d4e4b3231e4dc4ebb6 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期三, 28 九月 2022 16:19:07 +0800 Subject: [PATCH] 添加时间段 删除取消确定按钮 --- src/Pool/VideoManageData.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pool/VideoManageData.ts b/src/Pool/VideoManageData.ts index ad533e8..1877555 100644 --- a/src/Pool/VideoManageData.ts +++ b/src/Pool/VideoManageData.ts @@ -1,6 +1,7 @@ import { getAllTimeRule, saveTimeRule } from "@/api/timeRule" import { findDictionaryByType } from "@/api/dictionary" import { findBaseByRuleEditor } from "@/api/es" +import store from "@/store" const AllDayRule = [ { day: 1, time_range: [{ start: "00:00", end: "24:00" }] }, @@ -27,8 +28,7 @@ } public async getTimeRule() { - let rsp: any = await getAllTimeRule("") - console.log(rsp) + let rsp: any = await getAllTimeRule(store.state.devId) if (rsp && rsp.success) { this.TimeRules = rsp.data.timeRules -- Gitblit v1.8.0