From a88ae09628388caff706ced4b8ec913eb866c82b Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 9 Jun 2024 20:03:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=AE=9E=E6=96=BD=E9=98=B6=E6=AE=B5=E5=8F=98=E6=9B=B4=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../implementation/phase.vue | 25 +++++++++---------- .../implementation/phaseDetail.vue | 3 +++ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/views/project-management/implementation/phase.vue b/src/views/project-management/implementation/phase.vue index 8e05176..346b5f0 100644 --- a/src/views/project-management/implementation/phase.vue +++ b/src/views/project-management/implementation/phase.vue @@ -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 = {} diff --git a/src/views/project-management/implementation/phaseDetail.vue b/src/views/project-management/implementation/phaseDetail.vue index 6aab684..c535dc5 100644 --- a/src/views/project-management/implementation/phaseDetail.vue +++ b/src/views/project-management/implementation/phaseDetail.vue @@ -1,5 +1,6 @@