diff --git a/src/views/apply/apply/MainForm.vue b/src/views/apply/apply/MainForm.vue index bb02b4fa7..febe124b8 100644 --- a/src/views/apply/apply/MainForm.vue +++ b/src/views/apply/apply/MainForm.vue @@ -221,15 +221,15 @@ const formData = ref({ name: undefined, technicalField: undefined, year: undefined, - beginDate: undefined, + beginDate: new Date().getTime(), endDate: undefined, directorId: undefined, director: undefined, gender: undefined, age: undefined, education: undefined, - major: undefined, - engagMajor: undefined, + major: 1, + engagMajor: 1, position: undefined, phoneNo: undefined, email: undefined, @@ -277,6 +277,15 @@ const open = async (type: string, id?: number) => { formLoading.value = true try { formData.value = await MainApi.getMain(id) + if(formData.value.beginDate){ + formData.value.beginDate = Number(formData.value.beginDate) + } + if(formData.value.engagMajor){ + formData.value.engagMajor =(formData.value.engagMajor).toString() + } + if(formData.value.major){ + formData.value.major =(formData.value.major).toString() + } } finally { formLoading.value = false } diff --git a/src/views/apply/apply/components/InfoForm.vue b/src/views/apply/apply/components/InfoForm.vue index 4aaba9f3f..998e70a8e 100644 --- a/src/views/apply/apply/components/InfoForm.vue +++ b/src/views/apply/apply/components/InfoForm.vue @@ -5,44 +5,56 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + +
+ 项目实施目标及考核指标 + + + + + + + + + + + + + + +
+
+ 主要研究内容开发内容 + + + + + + + + + + + +