fix : 修复首页查看跳转
This commit is contained in:
@@ -165,41 +165,14 @@ const handleView = (row) => {
|
|||||||
id: row.targetId
|
id: row.targetId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
} else{
|
||||||
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){
|
|
||||||
router.push({
|
router.push({
|
||||||
name: 'Implementation/detail',
|
name: 'Implementation/detail',
|
||||||
query: {
|
query: {
|
||||||
id: row.targetId,
|
id: row.targetId,
|
||||||
projectId: row.targetId,
|
projectId: row.targetId,
|
||||||
state: row.state
|
state: row.state,
|
||||||
}
|
step: row.targetState
|
||||||
})
|
|
||||||
}else if(row.targetState=='50'&&row.targetId){
|
|
||||||
router.push({
|
|
||||||
name: 'Filing/detail',
|
|
||||||
query: {
|
|
||||||
id: row.targetId,
|
|
||||||
projectId: row.targetId,
|
|
||||||
state: row.state
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const summaryProcessViewer = ref(true)
|
|||||||
const processStore = useProcessStore()
|
const processStore = useProcessStore()
|
||||||
const companyOption = ref([])
|
const companyOption = ref([])
|
||||||
const cuurentStep = ref()
|
const cuurentStep = ref()
|
||||||
|
route.query.step == '10' && (cuurentStep.value = 1)
|
||||||
route.query.step == '20' && (cuurentStep.value = 2)
|
route.query.step == '20' && (cuurentStep.value = 2)
|
||||||
route.query.step == '40' && (cuurentStep.value = 3)
|
route.query.step == '40' && (cuurentStep.value = 3)
|
||||||
route.query.step == '50' && (cuurentStep.value = 4)
|
route.query.step == '50' && (cuurentStep.value = 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user