b2fb5e09 by zhangmeng

赛事

1 parent 67a742a3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 7
8 <el-card :body-style="{'padding-top': '0'}"> 8 <el-card :body-style="{'padding-top': '0'}">
9 <el-row :gutter="20" class="mt20"> 9 <el-row :gutter="20" class="mt20">
10 <el-col :lg="10"> 10 <el-col :lg="12">
11 <div class="panel border"> 11 <div class="panel border">
12 <div class="panel-header "> 12 <div class="panel-header ">
13 <h3 v-if="language==0" class="panel-title">选择参赛运动员清单</h3> 13 <h3 v-if="language==0" class="panel-title">选择参赛运动员清单</h3>
...@@ -44,7 +44,10 @@ ...@@ -44,7 +44,10 @@
44 {{ c.ageGroup }} 44 {{ c.ageGroup }}
45 {{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span> 45 {{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span>
46 <!-- @click="editPerson(c.id)"--> 46 <!-- @click="editPerson(c.id)"-->
47 <span v-if="c.disabled||c.ocrFlag==0" class="text-danger po-right">完善信息</span> 47 <span
48 v-if="c.disabled||c.ocrFlag==0"
49 class="text-danger po-right"
50 >{{ language == 0 ? '完善信息' : 'complete details' }}</span>
48 51
49 </div> 52 </div>
50 </el-option> 53 </el-option>
...@@ -90,7 +93,7 @@ ...@@ -90,7 +93,7 @@
90 </div> 93 </div>
91 </div> 94 </div>
92 </el-col> 95 </el-col>
93 <el-col :lg="14"> 96 <el-col :lg="12">
94 <div class="panel border"> 97 <div class="panel border">
95 <div class="panel-header "> 98 <div class="panel-header ">
96 <h3 v-if="language==0" class="panel-title">可参与报名的项目 99 <h3 v-if="language==0" class="panel-title">可参与报名的项目
...@@ -107,6 +110,12 @@ ...@@ -107,6 +110,12 @@
107 /> 110 />
108 </div> 111 </div>
109 </div> 112 </div>
113 <p v-if="show" class="text-danger text-center">
114 {{
115 language == 0 ?
116 '可通过选手管理,增加运动员和完善运动员信息' : `You can add players and complete athletes' details through [Athlete Management]`
117 }}
118 </p>
110 <div id="projectbox" v-loading="loadingProject" style="height: 50vh;overflow: auto;"> 119 <div id="projectbox" v-loading="loadingProject" style="height: 50vh;overflow: auto;">
111 <el-checkbox-group v-model="projectIds" @change="changeProject"> 120 <el-checkbox-group v-model="projectIds" @change="changeProject">
112 <el-checkbox 121 <el-checkbox
...@@ -325,7 +334,7 @@ const matchId = ref(route.query.matchId) ...@@ -325,7 +334,7 @@ const matchId = ref(route.query.matchId)
325 const checked = ref('0') 334 const checked = ref('0')
326 const insuranceFlag = ref() 335 const insuranceFlag = ref()
327 const insuranceAgreement = ref() 336 const insuranceAgreement = ref()
328 337 const show = ref(false)
329 338
330 let signInfoType = null 339 let signInfoType = null
331 onMounted(() => { 340 onMounted(() => {
...@@ -350,6 +359,7 @@ function getAthletesList() { ...@@ -350,6 +359,7 @@ function getAthletesList() {
350 } 359 }
351 } 360 }
352 } 361 }
362 show.value = athletesList.value.some(v => !v.phone || v.ocrFlag == 0)
353 }) 363 })
354 } 364 }
355 365
......
1 <template> 1 <template>
2 <el-dialog 2 <el-dialog
3 v-model="show" :close-on-click-modal="false" 3 v-model="show" :close-on-click-modal="false"
4 :title="language==0?'赛事购买协':'Event Insurance Procurement Agreement'" append-to-body center 4 :title="language==0?'赛事购买协':'Event Insurance Procurement Agreement'" append-to-body center
5 class="pcloginpop" 5 class="pcloginpop"
6 close-icon="CircleClose" destroy-on-close 6 close-icon="CircleClose" destroy-on-close
7 width="1100px" 7 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!