zhangzengfei
2023-04-10 69cfa80854939d9c62cf9c954dc83613710b2eae
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