zhangzengfei
2023-06-30 db5872786c1e1697a59af41386136ee002bb68ad
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