From 5c357cd927e74cc57531bd0a95338635e39be9af Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 29 一月 2024 09:45:06 +0800 Subject: [PATCH] 修改强密码 --- src/views/safetyReview/projectManage/components/contractManage.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/safetyReview/projectManage/components/contractManage.vue b/src/views/safetyReview/projectManage/components/contractManage.vue index a48ba7b..54d456c 100644 --- a/src/views/safetyReview/projectManage/components/contractManage.vue +++ b/src/views/safetyReview/projectManage/components/contractManage.vue @@ -54,6 +54,7 @@ const state = reactive({ formData: { id: '', + projectId: null, contractSignDate: '', contractMoney: '', contractIntroduction: '' @@ -74,6 +75,7 @@ }); const riskOpen = async (type,val) => { + state.formData.projectId = val; if(type === 'detail' || type === 'edit' ){ const res = await getDetail({projectId: val}); if(res.code == 200){ @@ -95,7 +97,7 @@ if (res.code == 200) { ElMessage.success('保存成功') formRef.value.clearValidate(); - emit('getNextStatus', res.data); + emit('getNextStatus', state.formData.projectId); } else { ElMessage.warning(res.message) } -- Gitblit v1.9.2