lingdu 4 days ago
parent
commit
769508e668

+ 2 - 2
src/view/fenghui/form.vue

@@ -204,7 +204,7 @@
                 </van-field>
 
                 <!-- 职级 -->
-                <van-field size="large" label-align="top" input-align="right" v-model="formData.level"
+                <van-field size="large" label-align="top" v-model="formData.level"
                     :rules="[{ required: true, trigger: 'onBlur', message: lang[langType].levelContent }]" required
                     :placeholder="lang[langType].levelContent">
                     <template #label>
@@ -212,7 +212,7 @@
                     </template>
                     <template #input>
                         <van-radio-group checked-color="#3F5AC8" style="width: 100%;" v-model="formData.level"
-                            direction="horizontal">
+                            :direction="langType == 'zh' ? 'horizontal': 'vertical'">
                             <van-radio style="flex: 1;margin-top: 10px " :name="item.value"
                                 v-for="item in lang[langType].careerList" :key="item.value">{{
                                     item.text

+ 0 - 3
src/view/fenghui/form1.vue

@@ -508,9 +508,7 @@ const dateTimeColumns = computed(() => {
 
 let loading = false
 const onSubmit = () => {
-    console.log('-')
     if (loading) return
-    console.log('0')
     loading = true
     const active = {
         active4: '否',
@@ -566,7 +564,6 @@ const onSubmit = () => {
             message: lang[props.langType].registration,
         })
     }).catch((res) => {
-        console.log(res)
         loading = false
         showToast(res.msg || lang[props.langType].networkError);
     });

+ 0 - 2
src/view/fenghui/form1Recurrence.vue

@@ -386,8 +386,6 @@ const props = defineProps(['langType', 'verificationCode', 'subData']);
 
 const emits = defineEmits(['closeComponent']);
 
-console.log(props.subData);
-
 const formData = reactive({})
 const cardTypeList = computed(() => lang[props.langType].cardTypeList)
 const unitTypeList = computed(() => lang[props.langType].foreignCountryUnitType)

+ 0 - 1
src/view/fenghui/form2Recurrence.vue

@@ -146,7 +146,6 @@ const initFormData = () => {
         }
         if (key === 'workGroup') {
             try {
-                console.log(subData[key], lang[props.langType].workGroup);
                 formData.unitTypeName = lang[props.langType].workGroup.filter(item => item.value === subData[key])[0].text;
             } catch (err) {
                 formData.unitTypeName = '';

+ 0 - 1
src/view/fenghui/introduction.vue

@@ -233,7 +233,6 @@ const checkVerificationCode = () => {
         code: verificationCode.value.toLowerCase(),
         userType
     }).then((res) => {
-        console.log(res)
         if (!isNaN(res.code) && res.code !== 0) {
             showToast(res.msg || lang[props.langType].verificationCodeError);
             return;

+ 4 - 12
src/view/fenghui/lang.js

@@ -132,10 +132,6 @@ export default {
             { text: '港澳居民通行证', value: '港澳居民通行证' },
             { text: '台湾居民通行证', value: '台湾居民通行证' },
         ],
-        "countryOrRegionList": [
-            { text: '中国', value: '中国' },
-            { text: '其他国家', value: '其他国家' },
-        ],
         "dateList": ['年', '月', '日', '时', '分'],
         "distinguishedGuest": {
             "fore25": "国外嘉宾",
@@ -200,6 +196,8 @@ export default {
         ],
     },
     "en": {
+        "level": "level",
+        "levelContent": "level",
         "identityType": "Identity category",
         "identityTypeContent": "Identity category",
         "media": "For Chinese media",
@@ -329,10 +327,6 @@ export default {
             { "text": "Mainland Travel Permit for Hong Kong and Macao Residents", "value": "港澳居民通行证" },
             { "text": "Mainland Travel Permit for Taiwan Residents", "value": "台湾居民通行证" }
         ],
-        "countryOrRegionList": [
-            { "text": "China", "value": "中国" },
-            { "text": "Other Countries", "value": "其他国家" }
-        ],
         "dateList": ["Year", "Month", "Day", "Hour", "Minute"],
         "distinguishedGuest": {
             "fore25": "国外嘉宾",
@@ -399,6 +393,8 @@ export default {
         ],
     },
     "es": {
+        "level": "职级",
+        "levelContent": "请选择职级",
         "identityType": "Categoría de identidad",
         "identityTypeContent": "Categoría de identidad",
         "media": "Medios de comunicación",
@@ -530,10 +526,6 @@ export default {
             { "text": "Tarjeta del permiso de viaje a China continental para residentes de Hong Kong y Macao", "value": "港澳居民通行证" },
             { "text": "Tarjeta del permiso de viaje a China continental para residentes de Taiwan", "value": "台湾居民通行证" }
         ],
-        "countryOrRegionList": [
-            { "text": "China", "value": "中国" },
-            { "text": "Otros países", "value": "其他国家" }
-        ],
         "dateList": ["Año", "Mes", "Día", "Hora", "Minuto"],
         "distinguishedGuest": {
             "fore25": "国外嘉宾",