From ba2c435355a217ad20e41be3d30eb7ab3eef49ba Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 11 十月 2022 17:24:22 +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