hanbaoshan
2020-10-20 98a6297b10a4b97c3022f84d3ba7908c178d9ee0
src/pages/cameraAccess/components/SceneRule.vue
@@ -100,14 +100,14 @@
          </el-table-column>
          <el-table-column label="操作" fixed="right" align="center" width="100">
            <template slot-scope="scope">
              <el-tooltip content="编辑" placement="top" popper-class="atooltip">
              <el-tooltip content="编辑" :hide-after="700" placement="top" popper-class="atooltip">
                <i
                  class="iconfont iconbianji1 btn-icon"
                  style="font-size: 28px;"
                  @click="handleEdit(scope.row)"
                ></i>
              </el-tooltip>
              <el-tooltip content="删除" placement="top" popper-class="atooltipgroup_">
              <el-tooltip content="删除" :hide-after="700" placement="top" popper-class="atooltipgroup_">
                <i
                  class="iconfont iconshanchu4 btn-icon"
                  style="font-size: 28px; color:red;"
@@ -235,6 +235,7 @@
        time_rule_id: "",
      };
      this.$refs.sceneEditor.cleanRule();
      this.$refs.sceneEditor.getSdkConnection();
    },
    handleCreate() {
@@ -346,6 +347,7 @@
      this.onSaveScene(this.sceneForm);
    },
    handleDelScene(groupRule) {
      let _this = this;
      this.$confirm("提示:删除后,该条规则将失效,是否删除?", {
        center: true,
        cancelButtonClass: "comfirm-class-cancle",
@@ -359,7 +361,7 @@
                type: "success",
                message: "删除成功"
              });
              _this.$root.$children[0].$children[0].querySearchAsync('camera')
            } else {
              this.$notify({
                type: "error",
@@ -439,6 +441,9 @@
    }
    .cell {
      padding-left: 0 !important;
      i{
        outline: none!important;
      }
    }
  }
}