|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" round @click="add">新增</el-button> |
|
|
|
|
<el-button type="primary" round @click="add" v-auth="'/match:管理:报名人员:新增'">新增</el-button> |
|
|
|
|
<el-button type="primary" round @click="exportAll" v-auth="'/match:管理:报名人员:导出'">批量导出</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -39,10 +39,11 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="320"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="edit(scope.row)">编辑</el-button> |
|
|
|
|
<el-button v-auth="'/match:管理:报名人员:编辑'" type="text" @click="edit(scope.row)">编辑</el-button> |
|
|
|
|
<template v-if="info.releaseType"> |
|
|
|
|
<el-button type="text" @click="toInfo(scope.row)">参赛信息与成绩</el-button> |
|
|
|
|
<el-button v-auth="'/match:管理:报名人员:参赛信息与成绩'" type="text" @click="toInfo(scope.row)">参赛信息与成绩</el-button> |
|
|
|
|
<el-switch |
|
|
|
|
v-auth="'/match:管理:报名人员:禁用'" |
|
|
|
|
v-model="scope.row.isDisable" |
|
|
|
|
:active-text="scope.row.isDisable ? '关' : '开'" |
|
|
|
|
:active-value="0" |
|
|
|
|