From 31e231f3a6dddfc6e6c493c14edd19421e1b0377 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 24 十月 2024 11:35:59 +0800
Subject: [PATCH] 取消单位密码 表单验证,一机一档录像优化
---
src/components/RightToolbar/index.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue
index d3e9afd..a56bab7 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,13 +156,10 @@
})
},
delColumn(id, index) {
- if (! id) {
- this.dynamicColumnList.splice(index, 1)
- return
- }
deleteDynamicColumnById(id).then(res => {
this.$message.success("鍒犻櫎鎴愬姛")
this.getDyColumn();
+ this.$emit('refreshHeader');
})
},
dynamicColumnClose() {
--
Gitblit v1.8.0