|
@@ -94,6 +94,7 @@
|
|
|
>查看详情</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
+ v-if="scope.row.canDelete"
|
|
|
class="btn-danger"
|
|
|
type="text"
|
|
|
@click="toDelete(scope.row)"
|
|
@@ -204,6 +205,7 @@ export default {
|
|
|
this.$refs.ModifyBusinessStudent.open();
|
|
|
},
|
|
|
async toDelete(row) {
|
|
|
+ if (!row.canDelete) return;
|
|
|
const confirm = await this.$confirm(
|
|
|
`确定要删除考生【${row.studentName}】吗?`,
|
|
|
"提示",
|