From 8aa8085a5cfc8ec3b89a9b655bb3bf349c26e9ba Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 03 九月 2024 21:13:42 +0800
Subject: [PATCH] 考核详情加标签table
---
src/components/RightToolbar/index.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue
index 8a1b609..35563f4 100644
--- a/src/components/RightToolbar/index.vue
+++ b/src/components/RightToolbar/index.vue
@@ -115,7 +115,9 @@
}
},
created() {
- this.getDyColumn()
+ if (this.$route.path.concat("equipment")) {
+ this.getDyColumn()
+ }
if (this.showColumnsType == 'transfer') {
// 鏄鹃殣鍒楀垵濮嬮粯璁ら殣钘忓垪
for (let item in this.columns) {
@@ -127,15 +129,13 @@
},
methods: {
getDyColumn() {
- if (this.$route.path.concat("equipment")) {
- // 鏌ヨ鍔ㄦ�佸垪
- let params = {
- tableName: 't_monitor'
- }
- getDynamicColumnList(params).then(res => {
- this.dynamicColumnList = res.data
- })
+ // 鏌ヨ鍔ㄦ�佸垪
+ let params = {
+ tableName: 't_monitor'
}
+ getDynamicColumnList(params).then(res => {
+ this.dynamicColumnList = res.data
+ })
},
addDynamicColumn() {
this.showDynamicColumn = true
--
Gitblit v1.8.0