b2fb5e09 by zhangmeng

赛事

1 parent 67a742a3
......@@ -7,7 +7,7 @@
<el-card :body-style="{'padding-top': '0'}">
<el-row :gutter="20" class="mt20">
<el-col :lg="10">
<el-col :lg="12">
<div class="panel border">
<div class="panel-header ">
<h3 v-if="language==0" class="panel-title">选择参赛运动员清单</h3>
......@@ -44,7 +44,10 @@
{{ c.ageGroup }}
{{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span>
<!-- @click="editPerson(c.id)"-->
<span v-if="c.disabled||c.ocrFlag==0" class="text-danger po-right">完善信息</span>
<span
v-if="c.disabled||c.ocrFlag==0"
class="text-danger po-right"
>{{ language == 0 ? '完善信息' : 'complete details' }}</span>
</div>
</el-option>
......@@ -90,7 +93,7 @@
</div>
</div>
</el-col>
<el-col :lg="14">
<el-col :lg="12">
<div class="panel border">
<div class="panel-header ">
<h3 v-if="language==0" class="panel-title">可参与报名的项目
......@@ -107,6 +110,12 @@
/>
</div>
</div>
<p v-if="show" class="text-danger text-center">
{{
language == 0 ?
'可通过选手管理,增加运动员和完善运动员信息' : `You can add players and complete athletes' details through [Athlete Management]`
}}
</p>
<div id="projectbox" v-loading="loadingProject" style="height: 50vh;overflow: auto;">
<el-checkbox-group v-model="projectIds" @change="changeProject">
<el-checkbox
......@@ -325,7 +334,7 @@ const matchId = ref(route.query.matchId)
const checked = ref('0')
const insuranceFlag = ref()
const insuranceAgreement = ref()
const show = ref(false)
let signInfoType = null
onMounted(() => {
......@@ -350,6 +359,7 @@ function getAthletesList() {
}
}
}
show.value = athletesList.value.some(v => !v.phone || v.ocrFlag == 0)
})
}
......
<template>
<el-dialog
v-model="show" :close-on-click-modal="false"
:title="language==0?'赛事购买协':'Event Insurance Procurement Agreement'" append-to-body center
:title="language==0?'赛事购买协':'Event Insurance Procurement Agreement'" append-to-body center
class="pcloginpop"
close-icon="CircleClose" destroy-on-close
width="1100px"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!