From 45abc1d097c88e3d9d5b4a7a71a2257cab9dd3ba Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 17 九月 2020 16:40:51 +0800
Subject: [PATCH] 可视化左侧树组件替换
---
src/pages/cameraAccess/components/SceneRule.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/pages/cameraAccess/components/SceneRule.vue b/src/pages/cameraAccess/components/SceneRule.vue
index 2fe8c47..82e709d 100644
--- a/src/pages/cameraAccess/components/SceneRule.vue
+++ b/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;"
@@ -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;
+ }
}
}
}
--
Gitblit v1.8.0