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