From 39d577ac7950e87b593d96df0b77d5a386756566 Mon Sep 17 00:00:00 2001
From: mark <mark18340872469@163.com>
Date: 星期三, 28 九月 2022 10:43:05 +0800
Subject: [PATCH] 摄像机 find 与 数据推送 的 查询(查询后加的

---
 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