fix : 修复首页查看跳转
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user