From 9aed08d0cd50add414f0866e2599616a6c787ba9 Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Tue, 15 Dec 2020 15:53:06 +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 --- .../kpi/assessment/performance/components/table.vue | 9 +++++---- src/views/kpi/workbench/home/index.vue | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/kpi/assessment/performance/components/table.vue b/src/views/kpi/assessment/performance/components/table.vue index a7e0443..d03597e 100644 --- a/src/views/kpi/assessment/performance/components/table.vue +++ b/src/views/kpi/assessment/performance/components/table.vue @@ -282,10 +282,11 @@ export default { } }, async mounted () { - await this.handleGrt375() - if (this.$route.query.detailId) { - this.handleLookProcess(this.$route.query.detailId) - } + console.log('this.$route.query: ', this.$route.query) + // await this.handleGrt375() + // if (this.$route.params.detailId) { + // this.handleLookProcess(this.$route.query.detailId) + // } }, methods: { // 获取指标任务详情 diff --git a/src/views/kpi/workbench/home/index.vue b/src/views/kpi/workbench/home/index.vue index 15a7dbc..81cbd6f 100644 --- a/src/views/kpi/workbench/home/index.vue +++ b/src/views/kpi/workbench/home/index.vue @@ -69,7 +69,8 @@ export default { this.$nextTick(() => { this.$router.replace({ name: item[0].name, - query: this.$route.query + query: this.$route.query, + params: this.$route.query }) }) }