zhangzengfei
2020-09-17 d4cd7df0bd1484c31e37bcb0642e89ecdcf7ab29
src/pages/cameraAccess/components/SceneRule.vue
@@ -6,7 +6,7 @@
        type="primary"
        size="mini"
        @click="handleCreate"
        style="margin-left:87%"
        style="margin-left:90%"
        v-show="!editScene"
      >+ 添加场景</el-button>
    </div>
@@ -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;"
@@ -346,6 +346,7 @@
      this.onSaveScene(this.sceneForm);
    },
    handleDelScene(groupRule) {
      let _this = this;
      this.$confirm("提示:删除后,该条规则将失效,是否删除?", {
        center: true,
        cancelButtonClass: "comfirm-class-cancle",
@@ -359,7 +360,7 @@
                type: "success",
                message: "删除成功"
              });
              _this.$root.$children[0].$children[0].querySearchAsync('camera')
            } else {
              this.$notify({
                type: "error",
@@ -439,6 +440,9 @@
    }
    .cell {
      padding-left: 0 !important;
      i{
        outline: none!important;
      }
    }
  }
}