马宇豪
2024-01-29 5c357cd927e74cc57531bd0a95338635e39be9af
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)
        }