fix : 前置流程多选
This commit is contained in:
@@ -353,46 +353,46 @@ const handleSubmit = async () => {
|
||||
}
|
||||
console.log('params', params)
|
||||
let res
|
||||
// if (props.step === '20') {
|
||||
// if (props.mode === 'resubmit') {
|
||||
// res = await resubmitApply(params)
|
||||
// } else {
|
||||
// res = await projectApply(params)
|
||||
// }
|
||||
// } else if (props.step === '40') {
|
||||
// if (props.mode === 'resubmit') {
|
||||
// res = await resubmitCheck(params)
|
||||
// } else {
|
||||
// res = await projectCheck(params)
|
||||
// }
|
||||
// } else if (props.step === '50') {
|
||||
// if (props.mode === 'resubmit') {
|
||||
// res = await resubmitConclusion(params)
|
||||
// } else {
|
||||
// res = await projectConclusion(params)
|
||||
// }
|
||||
// }
|
||||
// ElNotification({
|
||||
// title: '提示',
|
||||
// message: res.msg,
|
||||
// type: res.code === 1000 ? 'success' : 'error'
|
||||
// })
|
||||
// if (res.code === 1000) {
|
||||
// tagsViewStore.delVisitedViews(router.currentRoute.value.path)
|
||||
// if (props.step === '20') {
|
||||
// await router.push({
|
||||
// name: 'Initiation'
|
||||
// })
|
||||
// } else if (props.step === '40') {
|
||||
// await router.push({
|
||||
// name: 'Implementation'
|
||||
// })
|
||||
// } else if (props.step === '50') {
|
||||
// await router.push({
|
||||
// name: 'Filing'
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
if (props.step === '20') {
|
||||
if (props.mode === 'resubmit') {
|
||||
res = await resubmitApply(params)
|
||||
} else {
|
||||
res = await projectApply(params)
|
||||
}
|
||||
} else if (props.step === '40') {
|
||||
if (props.mode === 'resubmit') {
|
||||
res = await resubmitCheck(params)
|
||||
} else {
|
||||
res = await projectCheck(params)
|
||||
}
|
||||
} else if (props.step === '50') {
|
||||
if (props.mode === 'resubmit') {
|
||||
res = await resubmitConclusion(params)
|
||||
} else {
|
||||
res = await projectConclusion(params)
|
||||
}
|
||||
}
|
||||
ElNotification({
|
||||
title: '提示',
|
||||
message: res.msg,
|
||||
type: res.code === 1000 ? 'success' : 'error'
|
||||
})
|
||||
if (res.code === 1000) {
|
||||
tagsViewStore.delVisitedViews(router.currentRoute.value.path)
|
||||
if (props.step === '20') {
|
||||
await router.push({
|
||||
name: 'Initiation'
|
||||
})
|
||||
} else if (props.step === '40') {
|
||||
await router.push({
|
||||
name: 'Implementation'
|
||||
})
|
||||
} else if (props.step === '50') {
|
||||
await router.push({
|
||||
name: 'Filing'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
const init = async () => {
|
||||
let id = projectId.value
|
||||
|
||||
Reference in New Issue
Block a user