zhangzengfei
2023-06-30 db5872786c1e1697a59af41386136ee002bb68ad
src/views/hashrate/CameraManage/CameraRules/index.vue
@@ -532,6 +532,7 @@
    // 初始化摄像机信息,父组件调用
    async initCameraData(id, devId) {
      this.$store.commit("setDevId", devId)
      devId ? false : (devId = "")
      getAllTimeRule(devId).then((rsp) => {
        this.VideoManageData.TimeRules = rsp.data.timeRules
@@ -849,6 +850,7 @@
      } else if (newRule.action === "edit") {
        //独立场景
        if (this.ruleType == "separate") {
          this.SeparateRules[newRule.data.index].time_name = newRule.data.time_name
          this.SeparateRules[newRule.data.index].alarm_level = newRule.data.alarm_level
          this.SeparateRules[newRule.data.index].scene_name = newRule.data.scene_name
          this.SeparateRules[newRule.data.index].desc = newRule.data.desc