diff --git a/src/utils/request.ts b/src/utils/request.ts index e8edf08..3a25d38 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -97,6 +97,10 @@ service.interceptors.request.use( */ const handleResponse = (response: AxiosResponse) => { if (response.data.code === 1) { + // 业务错误,统一弹出错误提示 + if (response.data.msg) { + useMessage().error(response.data.msg); + } throw response.data; } diff --git a/src/views/recruit/recruitstudentsignup/detaiform.vue b/src/views/recruit/recruitstudentsignup/detaiform.vue index a782118..007379f 100644 --- a/src/views/recruit/recruitstudentsignup/detaiform.vue +++ b/src/views/recruit/recruitstudentsignup/detaiform.vue @@ -38,8 +38,25 @@ - - + + + {{ item.label }} + + + + + + + + + + + + - - - - - - - - + + v-for="item in nationalityList" + :key="item.nationCode" + :label="item.nationName" + :value="item.nationName"> @@ -92,6 +102,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -105,58 +161,46 @@ - - - - - - - + - - - - - - - - - - - - - - - - - - - - + - - - + + + + + + + + + + + + + + + + + + + + + @@ -171,48 +215,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + @@ -340,7 +355,7 @@
专业信息
- + @@ -470,7 +485,7 @@ - {{dataForm.feeTuition+dataForm.feeAgency}} + {{Number(dataForm.feeTuition)+Number(dataForm.feeAgency)}} @@ -595,11 +610,6 @@ - - - - - @@ -627,13 +637,6 @@ - - - - - - -