stage
Showing
8 changed files
with
37 additions
and
16 deletions
| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 33 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 34 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 34 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 35 | 35 | ||
| 36 | <p class="name">{{ c.xing }}{{c.ming}} | 36 | <p class="name">{{ c.realName }} |
| 37 | <el-icon @click.stop="editPerson(c.id)"> | 37 | <el-icon @click.stop="editPerson(c.id)"> |
| 38 | <Edit/> | 38 | <Edit/> |
| 39 | </el-icon> | 39 | </el-icon> |
| ... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
| 60 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> | 60 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> |
| 61 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 61 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 62 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 62 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 63 | <p class="name">{{ c.xing }}{{c.ming}} | 63 | <p class="name">{{ c.realName }} |
| 64 | <el-icon @click.stop="editPerson(c.id)"> | 64 | <el-icon @click.stop="editPerson(c.id)"> |
| 65 | <Edit/> | 65 | <Edit/> |
| 66 | </el-icon> | 66 | </el-icon> |
| ... | @@ -85,7 +85,7 @@ | ... | @@ -85,7 +85,7 @@ |
| 85 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> | 85 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> |
| 86 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 86 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 87 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 87 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 88 | <p class="name">{{ c.xing }}{{c.ming}} | 88 | <p class="name">{{ c.realName }} |
| 89 | <el-icon @click.stop="editPerson(c.id)"> | 89 | <el-icon @click.stop="editPerson(c.id)"> |
| 90 | <Edit/> | 90 | <Edit/> |
| 91 | </el-icon> | 91 | </el-icon> |
| ... | @@ -110,7 +110,7 @@ | ... | @@ -110,7 +110,7 @@ |
| 110 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> | 110 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> |
| 111 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 111 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 112 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 112 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 113 | <p class="name">{{ c.xing }}{{c.ming}} | 113 | <p class="name">{{ c.realName }} |
| 114 | <el-icon @click.stop="editPerson(c.id)"> | 114 | <el-icon @click.stop="editPerson(c.id)"> |
| 115 | <Edit/> | 115 | <Edit/> |
| 116 | </el-icon> | 116 | </el-icon> |
| ... | @@ -135,7 +135,7 @@ | ... | @@ -135,7 +135,7 @@ |
| 135 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> | 135 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> |
| 136 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 136 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 137 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 137 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 138 | <p class="name">{{ c.xing }}{{c.ming}} | 138 | <p class="name">{{ c.realName }} |
| 139 | <el-icon @click.stop="editPerson(c.id)"> | 139 | <el-icon @click.stop="editPerson(c.id)"> |
| 140 | <Edit/> | 140 | <Edit/> |
| 141 | </el-icon> | 141 | </el-icon> |
| ... | @@ -160,7 +160,7 @@ | ... | @@ -160,7 +160,7 @@ |
| 160 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> | 160 | <el-avatar fit="cover" v-if="c.picUrl" :size="60" :src="fillImgUrl(c.picUrl)"/> |
| 161 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> | 161 | <el-avatar fit="cover" v-else-if="c.sex == 0" :size="60" src="/img/head1.png"/> |
| 162 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> | 162 | <el-avatar fit="cover" v-else-if="c.sex == 1" :size="60" src="/img/head0.png"/> |
| 163 | <p class="name">{{ c.xing }}{{c.ming}} | 163 | <p class="name">{{ c.realName }} |
| 164 | <el-icon @click.stop="editPerson(c.id)"> | 164 | <el-icon @click.stop="editPerson(c.id)"> |
| 165 | <Edit/> | 165 | <Edit/> |
| 166 | </el-icon> | 166 | </el-icon> | ... | ... |
| ... | @@ -319,10 +319,10 @@ function submitForm() { | ... | @@ -319,10 +319,10 @@ function submitForm() { |
| 319 | return | 319 | return |
| 320 | } | 320 | } |
| 321 | } | 321 | } |
| 322 | // if(!form.value.passportUrl){ | 322 | if(form.value.idcType != 0&&!form.value.passportUrl){ |
| 323 | // ElMessage.warning(language.value == 0 ? '请上传有效证件' :'Please upload your passport file') | 323 | ElMessage.warning(language.value == 0 ? '请上传有效证件' :'Please upload your passport file') |
| 324 | // return | 324 | return |
| 325 | // } | 325 | } |
| 326 | if (typeof (form.value.regionId) === 'object') { | 326 | if (typeof (form.value.regionId) === 'object') { |
| 327 | form.value.regionId = _.last(form.value.regionId) | 327 | form.value.regionId = _.last(form.value.regionId) |
| 328 | } | 328 | } | ... | ... |
| ... | @@ -201,8 +201,14 @@ | ... | @@ -201,8 +201,14 @@ |
| 201 | <el-row :gutter="20" class="pd20" v-else> | 201 | <el-row :gutter="20" class="pd20" v-else> |
| 202 | <el-col :span="24"> | 202 | <el-col :span="24"> |
| 203 | <div class="fr mb20"> | 203 | <div class="fr mb20"> |
| 204 | <el-input size="small" v-model="queryGroupList.name" :prefix-icon="Search" | 204 | <div class="flex"> |
| 205 | <el-input class="mr10" size="small" v-model="queryGroupList.groupName" :prefix-icon="Search" | ||
| 206 | :placeholder="language == 0 ? '请输入参赛队名称' :'Please enter the Team name'" | ||
| 205 | @change="getGroupListByCptId" clearable/> | 207 | @change="getGroupListByCptId" clearable/> |
| 208 | <el-input size="small" v-model="queryGroupList.athleteName" :prefix-icon="Search" | ||
| 209 | :placeholder=" language == 0 ? '请输入运动员查询' :'Please enter the athlete name'" | ||
| 210 | @change="getGroupListByCptId" clearable/> | ||
| 211 | </div> | ||
| 206 | </div> | 212 | </div> |
| 207 | <el-table :data="signDoneGroupList"> | 213 | <el-table :data="signDoneGroupList"> |
| 208 | <el-table-column prop="groupCode" align="center" :label="language == 0 ? '组别代码' :'EVENT CODE'" min-width="120"/> | 214 | <el-table-column prop="groupCode" align="center" :label="language == 0 ? '组别代码' :'EVENT CODE'" min-width="120"/> | ... | ... |
| ... | @@ -361,6 +361,7 @@ const upForm = ref({ | ... | @@ -361,6 +361,7 @@ const upForm = ref({ |
| 361 | }) | 361 | }) |
| 362 | const errorBox = ref(false) | 362 | const errorBox = ref(false) |
| 363 | const hideconfirmbtn = ref(false) | 363 | const hideconfirmbtn = ref(false) |
| 364 | const isphone = ref(false) | ||
| 364 | const insuranceFeeTotal = ref(0) | 365 | const insuranceFeeTotal = ref(0) |
| 365 | const serviceFeeTotal = ref(0) | 366 | const serviceFeeTotal = ref(0) |
| 366 | const zuQuery = ref({ | 367 | const zuQuery = ref({ |
| ... | @@ -382,6 +383,13 @@ onMounted(() => { | ... | @@ -382,6 +383,13 @@ onMounted(() => { |
| 382 | language.value = 1 | 383 | language.value = 1 |
| 383 | } | 384 | } |
| 384 | } | 385 | } |
| 386 | console.log(navigator.userAgent) | ||
| 387 | var is_mobile = navigator.userAgent.toLowerCase().match(/(ipod|ipad|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null; | ||
| 388 | if (is_mobile) { | ||
| 389 | isphone.value = true | ||
| 390 | } else { | ||
| 391 | isphone.value = false | ||
| 392 | } | ||
| 385 | }) | 393 | }) |
| 386 | if (useUserStore().user) { | 394 | if (useUserStore().user) { |
| 387 | isLogin.value = true | 395 | isLogin.value = true |
| ... | @@ -453,6 +461,9 @@ function changePaytype() { | ... | @@ -453,6 +461,9 @@ function changePaytype() { |
| 453 | } | 461 | } |
| 454 | function goPay(){ | 462 | function goPay(){ |
| 455 | if(payType.value=='2' && form.value.payTypeArr.indexOf('2')>-1){ | 463 | if(payType.value=='2' && form.value.payTypeArr.indexOf('2')>-1){ |
| 464 | if(isphone.value){ | ||
| 465 | //移动支付 | ||
| 466 | } | ||
| 456 | match.createWePay({orderId:orderId.value}).then(res=>{ | 467 | match.createWePay({orderId:orderId.value}).then(res=>{ |
| 457 | wePayCodeUrl.value = res.data | 468 | wePayCodeUrl.value = res.data |
| 458 | hideconfirmbtn.value = true | 469 | hideconfirmbtn.value = true | ... | ... |
| ... | @@ -195,7 +195,6 @@ onMounted(() => { | ... | @@ -195,7 +195,6 @@ onMounted(() => { |
| 195 | console.log(cptId.value,route.query,route.params) | 195 | console.log(cptId.value,route.query,route.params) |
| 196 | // 获取团体信息 | 196 | // 获取团体信息 |
| 197 | getGroupInfo() | 197 | getGroupInfo() |
| 198 | signType.value = route.query.signType | ||
| 199 | isNational.value = route.query.isNational | 198 | isNational.value = route.query.isNational |
| 200 | languageSource.value = route.query.languageSource | 199 | languageSource.value = route.query.languageSource |
| 201 | 200 | ... | ... |
| ... | @@ -50,9 +50,9 @@ | ... | @@ -50,9 +50,9 @@ |
| 50 | <!-- </el-select>--> | 50 | <!-- </el-select>--> |
| 51 | <!-- </el-form-item>--> | 51 | <!-- </el-form-item>--> |
| 52 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> | 52 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> |
| 53 | <el-select :disabled="language==1" v-model="form.type" :placeholder="typeOptions[language].selectPlaceholder" style="width: 100%;"> | 53 | <el-select :disabled="form.type=='4'" v-model="form.type" :placeholder="typeOptions[language].selectPlaceholder" style="width: 100%;"> |
| 54 | <el-option v-for="(o,index) in typeOptions[language].options" :label="o.text" | 54 | <el-option v-for="(o,index) in typeOptions[language].options" :label="o.text" |
| 55 | :key="index" :value="o.value" /> | 55 | :key="index" :value="o.value" :disabled="o.disabled"/> |
| 56 | </el-select> | 56 | </el-select> |
| 57 | </el-form-item> | 57 | </el-form-item> |
| 58 | <el-form-item :label="language==0?'详细地址':'Detailed Address'" prop="address"> | 58 | <el-form-item :label="language==0?'详细地址':'Detailed Address'" prop="address"> |
| ... | @@ -131,7 +131,7 @@ const data = reactive({ | ... | @@ -131,7 +131,7 @@ const data = reactive({ |
| 131 | {value:'1',text:'专业舞蹈学校'}, | 131 | {value:'1',text:'专业舞蹈学校'}, |
| 132 | {value:'2',text:'培训机构/俱乐部'}, | 132 | {value:'2',text:'培训机构/俱乐部'}, |
| 133 | {value:'3',text:'地方协会'}, | 133 | {value:'3',text:'地方协会'}, |
| 134 | {value:'4',text:'国家协会'}, | 134 | {value:'4',text:'国家协会',disabled:true}, |
| 135 | ] | 135 | ] |
| 136 | }, | 136 | }, |
| 137 | 1: { | 137 | 1: { | ... | ... |
| ... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
| 35 | </div> | 35 | </div> |
| 36 | </el-form-item> | 36 | </el-form-item> |
| 37 | <el-form-item :label="language==0?'代表国家/地区':'Representing'" required prop="countryId"> | 37 | <el-form-item :label="language==0?'代表国家/地区':'Representing'" required prop="countryId"> |
| 38 | <el-select filterable v-model="form.countryId"> | 38 | <el-select filterable v-model="form.countryId" :disabled="language==0&&form.is=='0'"> |
| 39 | <!-- <el-option v-for="item in countryList" :key="item.id" :label="language==0?item.name:item.enName" :value="item.id"/>--> | 39 | <!-- <el-option v-for="item in countryList" :key="item.id" :label="language==0?item.name:item.enName" :value="item.id"/>--> |
| 40 | <el-option v-for="item in countryList" :key="item.id" :label="item.noc||item.enName" :value="item.id"/> | 40 | <el-option v-for="item in countryList" :key="item.id" :label="item.noc||item.enName" :value="item.id"/> |
| 41 | </el-select> | 41 | </el-select> |
| ... | @@ -321,6 +321,9 @@ const changeIs = (e) => { | ... | @@ -321,6 +321,9 @@ const changeIs = (e) => { |
| 321 | if(e == 1){ | 321 | if(e == 1){ |
| 322 | form.value.type = '4' | 322 | form.value.type = '4' |
| 323 | } else { | 323 | } else { |
| 324 | if(language.value == '0'){ | ||
| 325 | form.value.countryId = 240 | ||
| 326 | } | ||
| 324 | form.value.type = '' | 327 | form.value.type = '' |
| 325 | } | 328 | } |
| 326 | } | 329 | } | ... | ... |
-
Please register or sign in to post a comment