diff --git a/src/views/apply/apply/MainForm.vue b/src/views/apply/apply/MainForm.vue
index febe124b8..fa7d4c7ca 100644
--- a/src/views/apply/apply/MainForm.vue
+++ b/src/views/apply/apply/MainForm.vue
@@ -48,7 +48,10 @@
-
+
+
+
@@ -277,14 +280,26 @@ const open = async (type: string, id?: number) => {
formLoading.value = true
try {
formData.value = await MainApi.getMain(id)
+ if(formData.value.technicalField){
+ formData.value.technicalField = Number(formData.value.technicalField)
+ }
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.endDate){
+ formData.value.endDate = Number(formData.value.endDate)
+ }
+ if(formData.value.engagMajor){
+ formData.value.engagMajor =Number(formData.value.engagMajor)
}
if(formData.value.major){
- formData.value.major =(formData.value.major).toString()
+ formData.value.major =Number(formData.value.major)
+ }
+ if(formData.value.gender){
+ formData.value.gender =Number(formData.value.gender)
+ }
+ if(formData.value.education){
+ formData.value.education =Number(formData.value.education)
}
} finally {
formLoading.value = false
diff --git a/src/views/apply/apply/components/InfoForm.vue b/src/views/apply/apply/components/InfoForm.vue
index 998e70a8e..fef4ab700 100644
--- a/src/views/apply/apply/components/InfoForm.vue
+++ b/src/views/apply/apply/components/InfoForm.vue
@@ -28,15 +28,15 @@
-
+
-
+
-
+
@@ -45,15 +45,15 @@
-
+
-
+
-
+
@@ -121,4 +121,4 @@ const getData = () => {
}
defineExpose({ validate, getData })
-
\ No newline at end of file
+