|
@@ -295,7 +295,7 @@
|
|
|
</van-field>
|
|
|
|
|
|
<!-- 拟参加的活动 -->
|
|
|
- <!-- <van-field size="large" label-align="top" v-model="formData.activitiesAttended" required
|
|
|
+ <van-field size="large" label-align="top" v-model="formData.activitiesAttended" required
|
|
|
:rules="[{ required: true, trigger: 'onBlur', message: lang[langType].activitiesAttendedContent }]"
|
|
|
:placeholder="lang[langType].activitiesAttendedContent">
|
|
|
<template #label>
|
|
@@ -318,12 +318,12 @@
|
|
|
name="active5" @click.stop shape="square" />
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
- <van-cell clickable :title="lang[langType].active6" @click="checkboxRefs[2].toggle()">
|
|
|
+ <!-- <van-cell clickable :title="lang[langType].active6" @click="checkboxRefs[2].toggle()">
|
|
|
<template #icon>
|
|
|
<van-checkbox :ref="el => checkboxRefs[2] = el" style="margin-right: 5px;"
|
|
|
name="active6" @click.stop shape="square" />
|
|
|
</template>
|
|
|
- </van-cell>
|
|
|
+ </van-cell> -->
|
|
|
</van-checkbox-group>
|
|
|
<van-cell clickable :title="lang[langType].active7" @click="selectunde = !selectunde">
|
|
|
<template #icon>
|
|
@@ -334,7 +334,7 @@
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
- </van-field> -->
|
|
|
+ </van-field>
|
|
|
|
|
|
|
|
|
<div style="background-color: #F7F7F7;height: 10px;"></div>
|
|
@@ -437,8 +437,8 @@ const selectunde = ref(false)
|
|
|
const activitiesAttended = ref([])
|
|
|
const form = ref(null);
|
|
|
const photo = ref([]);
|
|
|
-// const checkbox = ref(null);
|
|
|
-// const checkboxRefs = ref([]);
|
|
|
+const checkbox = ref(null);
|
|
|
+const checkboxRefs = ref([]);
|
|
|
const searchConuntry = ref('')
|
|
|
const countryRegionList = ref([]);
|
|
|
|
|
@@ -459,18 +459,18 @@ const reset = () => {
|
|
|
form.value.resetValidation();
|
|
|
}
|
|
|
|
|
|
-// const isGroup = (val) => {
|
|
|
-// if (val.length > 0) {
|
|
|
-// formData.activitiesAttended = val.join(',')
|
|
|
-// selectunde.value = false
|
|
|
-// }
|
|
|
-// }
|
|
|
-// const isUndefined = (val) => {
|
|
|
-// if (val) {
|
|
|
-// activitiesAttended.value = []
|
|
|
-// formData.activitiesAttended = 'undefined'
|
|
|
-// }
|
|
|
-// }
|
|
|
+const isGroup = (val) => {
|
|
|
+ if (val.length > 0) {
|
|
|
+ formData.activitiesAttended = val.join(',')
|
|
|
+ selectunde.value = false
|
|
|
+ }
|
|
|
+}
|
|
|
+const isUndefined = (val) => {
|
|
|
+ if (val) {
|
|
|
+ activitiesAttended.value = []
|
|
|
+ formData.activitiesAttended = 'undefined'
|
|
|
+ }
|
|
|
+}
|
|
|
const countryRegionConfirm = (values) => {
|
|
|
showCountryRegion.value = false;
|
|
|
formData.countryRegionName = values.selectedOptions[0].text;
|