From 554c7d2be7668d973bd62c7b379308bad1e45345 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 27 May 2024 23:10:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 33 ++----------------- .../implementation/detail.vue | 1 + 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index fddca86..fa6bd63 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -165,41 +165,14 @@ const handleView = (row) => { id: row.targetId } }) - } - else if(row.targetState=='10'&&row.targetId){ - router.push({ - name: 'Summary/detail', - query: { - id: row.targetId, - projectId: row.targetId, - state: row.state - } - }) - }else if(row.targetState=='20'&&row.targetId){ - router.push({ - name: 'Initiation/detail', - query: { - id: row.targetId, - projectId: row.targetId, - state: row.state - } - }) - }else if(row.targetState=='40'&&row.targetId){ + } else{ router.push({ name: 'Implementation/detail', query: { id: row.targetId, projectId: row.targetId, - state: row.state - } - }) - }else if(row.targetState=='50'&&row.targetId){ - router.push({ - name: 'Filing/detail', - query: { - id: row.targetId, - projectId: row.targetId, - state: row.state + state: row.state, + step: row.targetState } }) } diff --git a/src/views/project-management/implementation/detail.vue b/src/views/project-management/implementation/detail.vue index 9422df4..210b912 100644 --- a/src/views/project-management/implementation/detail.vue +++ b/src/views/project-management/implementation/detail.vue @@ -50,6 +50,7 @@ const summaryProcessViewer = ref(true) const processStore = useProcessStore() const companyOption = ref([]) const cuurentStep = ref() +route.query.step == '10' && (cuurentStep.value = 1) route.query.step == '20' && (cuurentStep.value = 2) route.query.step == '40' && (cuurentStep.value = 3) route.query.step == '50' && (cuurentStep.value = 4)