From 0917d7f5f8620797027d1a9c9a8bf8ceaeee90ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=88=90=E5=BC=BA?= Date: Tue, 10 Nov 2020 09:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/set/authority/index.vue | 2 +- src/views/kpi/set/index.vue | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/kpi/set/authority/index.vue b/src/views/kpi/set/authority/index.vue index 3adf940..584ed6d 100644 --- a/src/views/kpi/set/authority/index.vue +++ b/src/views/kpi/set/authority/index.vue @@ -317,7 +317,7 @@
diff --git a/src/views/kpi/set/index.vue b/src/views/kpi/set/index.vue index 54c2453..46ef059 100644 --- a/src/views/kpi/set/index.vue +++ b/src/views/kpi/set/index.vue @@ -31,6 +31,15 @@ export default { groundTable, tryAuthority }, + created () { + if (this.auth.evaluationSet) { + this.activeIndex = '0' + } else if (this.auth.roleSet) { + this.activeIndex = '1' + } else { + this.activeIndex = '' + } + }, beforeMount () { }, mounted () { }, methods: {