From 2ec95b3d2fd484b44d5274054bcbd78307a76ef8 Mon Sep 17 00:00:00 2001
From: mark <mark18340872469@163.com>
Date: 星期五, 30 九月 2022 14:04:12 +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