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)