fix : 修复项目实施阶段变更功能

This commit is contained in:
2024-06-09 20:03:26 +08:00
parent b0eabd9c39
commit a88ae09628
2 changed files with 15 additions and 13 deletions

View File

@@ -143,19 +143,18 @@ const handleSubmit = async () => {
} else {
attachment.value.clearValidate()
}
console.log('params-提交', params,userList.value)
// let res = await submitPhaseChange(params)
// ElNotification({
// title: '提示',
// message: res.msg,
// type: res.code === 1000 ? 'success' : 'error'
// })
// if (res.code === 1000) {
// tagsViewStore.delVisitedViews(router.currentRoute.value.path)
// await router.push({
// name: 'Implementation'
// })
// }
let res = await submitPhaseChange(params)
ElNotification({
title: '提示',
message: res.msg,
type: res.code === 1000 ? 'success' : 'error'
})
if (res.code === 1000) {
tagsViewStore.delVisitedViews(router.currentRoute.value.path)
await router.push({
name: 'Implementation'
})
}
}
const handleResubmit = (instance) => {
let singleFile = {}