|
|
|
@ -262,7 +262,7 @@ |
|
|
|
|
<div v-if="showButton" class="m-b-10 text-right"> |
|
|
|
|
<el-button type="primary" :disabled="status > 3 || hasReport" :loading="allocating" |
|
|
|
|
@click="automaticAllocationMember">{{ |
|
|
|
|
assignRecord.assignOrNot && status < 3 ? '取消' : '' }}重新自动分配阶段成员</el-button> |
|
|
|
|
assignRecord.assignOrNot && status < 3 ? '取消' : '' }}自动分配阶段成员</el-button> |
|
|
|
|
</div> |
|
|
|
|
<table class="table tc"> |
|
|
|
|
<tr> |
|
|
|
@ -1332,11 +1332,12 @@ export default { |
|
|
|
|
Util.successMsg('团队创建成功,系统将在报名结束后自动帮您分配阶段参赛成员,您也可以到参数信息进行指定') |
|
|
|
|
} else { |
|
|
|
|
// 未分配 |
|
|
|
|
this.$confirm('报名成功!是否要启用自动分配成员参加阶段赛项?启用后,将在报名结束后给团队成员自动分配阶段参赛人员。', '提示', { |
|
|
|
|
this.$confirm('<p style="color: #007EFF;">报名成功!</p>您是否要启用自动分配阶段参赛人员功能?启用后,报名截止时系统将清空已有分配,并为团队所有成员重新自动分配。', '提示', { |
|
|
|
|
cancelButtonText: '否', |
|
|
|
|
confirmButtonText: '是', |
|
|
|
|
type: 'success', |
|
|
|
|
closeOnClickModal: false, |
|
|
|
|
dangerouslyUseHTMLString: true, |
|
|
|
|
}).then(() => { |
|
|
|
|
this.automaticAllocation(1) |
|
|
|
|
}).catch(() => { }) |
|
|
|
@ -1355,9 +1356,9 @@ export default { |
|
|
|
|
const whether = this.assignRecord.assignOrNot && this.status < 3 |
|
|
|
|
const tips = this.status < 3 ? |
|
|
|
|
whether ? |
|
|
|
|
'确定取消重新自动分配阶段成员?' : |
|
|
|
|
'<p style="margin-bottom: 5px;font-size: 16px;color: #f00;">是否要启用重新自动分配成员参加阶段赛项?</p>启用后,将在报名结束后给团队成员自动分配阶段参赛人员。' |
|
|
|
|
: '确定立即重新自动分配阶段成员?' |
|
|
|
|
'您是否要取消自动分配阶段参赛人员?<p style="margin-top: 5px;font-size: 13px;color: #f00;">取消后,报名截止时将不再自动分配。</p>' : |
|
|
|
|
'您是否要启用自动分配阶段参赛人员功能?<p style="margin-top: 5px;font-size: 13px;color: #f00;">启用后,报名截止时系统将清空已有分配,并为团队所有成员重新自动分配。</p>' |
|
|
|
|
: '您是否要立即为团队所有成员自动分配阶段参赛人员?<p style="margin-top: 5px;font-size: 13px;color: #f00;">此操作将清除现有分配,并为团队所有成员重新分配。</p>' |
|
|
|
|
this.$confirm(tips, '提示', { |
|
|
|
|
cancelButtonText: '否', |
|
|
|
|
confirmButtonText: '是', |
|
|
|
|