dev_202412
yujialong 4 months ago
parent 8193864fe5
commit a0634d4dcb
  1. 13
      src/pages/account/login/accountApply.vue
  2. 2
      src/pages/account/login/accountApplyMatch.vue
  3. 12
      src/pages/account/login/index.vue
  4. 16
      src/pages/match/details/index.vue

@ -234,4 +234,17 @@ export default {
right: 10px;
}
}
.buy {
text-align: center;
.tips {
margin-bottom: 10px;
font-size: 14px;
}
img {
width: 85%;
}
}
</style>

@ -159,7 +159,7 @@ export default {
this.$refs.form.validate(valid => {
if (valid) {
const form = this.form
form.schoolId = 208
form.schoolId = 2886
if (form.password !== form.rePassword) return Util.errorMsg('两次输入的密码不一致,请重新输入!')
// id-id-schoolId-workNumber
form.account = `${Setting.platformId}-1-${form.schoolId}-${form.workNumber}`

@ -1069,18 +1069,6 @@ export default {
}
}
.buy {
text-align: center;
.tips {
margin-bottom: 10px;
font-size: 14px;
}
img {
width: 85%;
}
}
@media (max-height: 680px) {
.wrap .login {

@ -212,8 +212,8 @@
</tr>
<tr>
<th>队长</th>
<td>{{ info.caption.userName }}{{ info.caption.realSchool && ',' + info.caption.realSchool }}{{
info.caption.workNumber && ',' + info.caption.workNumber }}</td>
<td>{{ info.captain.userName }}{{ info.captain.realSchool && ',' + info.captain.realSchool }}{{
info.captain.workNumber && ',' + info.captain.workNumber }}</td>
</tr>
<tr>
<th>团队成员</th>
@ -353,7 +353,7 @@
</div>
<div class="flex-center">
<p>队长{{ info.caption.userName }}</p>
<p>队长{{ info.captain.userName }}</p>
<el-button type="primary" @click="transfer">转让队长</el-button>
</div>
<el-alert style="margin: 10px 0;" title="请确保团队成员人数满足大赛要求,否则无法参加比赛" type="success" :closable="false">
@ -709,7 +709,7 @@ export default {
info: {
isCaption: 0,
person: {},
caption: {},
captain: {},
team: {
captain: 1,
invitationCode: ''
@ -964,10 +964,10 @@ export default {
info.team = {}
info.teamDetail = []
} else {
info.isCaption = info.team.caption
info.isCaption = info.team.captain
}
const caption = info.teamDetail.find(e => !e.captain)
info.caption = caption ? caption : {}
const captain = info.teamDetail.find(e => !e.captain)
info.captain = captain ? captain : {}
info.person = info.personalDetail || info.teamDetail.find(e => e.accountId == info.team.accountId)
if (info.person) this.curRealSchoolId = info.person.realSchoolId
this.originInfo = _.cloneDeep(info)
@ -1201,7 +1201,7 @@ export default {
transferSubmit () {
if (!this.checkedPlayer) return Util.errorMsg('请选择成员')
this.$post(this.api.captainOfTransfer, {
captainId: this.info.caption.teamId,
captainId: this.info.captain.teamId,
playerId: this.checkedPlayer
}).then(res => {
this.checkedPlayer = ''

Loading…
Cancel
Save