From a34292254a49fbe57d4637304c39ab98ab88a610 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 29 十月 2025 17:08:10 +0800
Subject: [PATCH] 大屏修改,录像核查修改,查询视频设备修改
---
src/components/RightToolbar/index.vue | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue
index d3e9afd..02213b4 100644
--- a/src/components/RightToolbar/index.vue
+++ b/src/components/RightToolbar/index.vue
@@ -77,6 +77,7 @@
title: "鏄剧ず/闅愯棌",
// 鏄惁鏄剧ず寮瑰嚭灞�
open: false,
+ tableKey: 0,
};
},
props: {
@@ -138,11 +139,13 @@
})
},
addDynamicColumn() {
+ this.getDyColumn()
this.showDynamicColumn = true
},
saveColumns() {
editDynamicColumn(this.dynamicColumnList).then(res => {
this.$message.success("淇濆瓨鎴愬姛")
+ this.$emit('refreshHeader');
this.showDynamicColumn = false
})
},
@@ -153,14 +156,15 @@
})
},
delColumn(id, index) {
- if (! id) {
- this.dynamicColumnList.splice(index, 1)
- return
+ if(id) {
+ deleteDynamicColumnById(id).then(res => {
+ this.$message.success("鍒犻櫎鎴愬姛")
+ this.getDyColumn();
+ this.$emit('refreshHeader');
+ })
+ }else {
+ this.dynamicColumnList.splice(index,1)
}
- deleteDynamicColumnById(id).then(res => {
- this.$message.success("鍒犻櫎鎴愬姛")
- this.getDyColumn();
- })
},
dynamicColumnClose() {
this.showDynamicColumn = false
--
Gitblit v1.8.0