选择课程作业考试后,页面回显

This commit is contained in:
zhangyc
2022-12-06 00:34:10 +08:00
parent 5847f6fcba
commit fc6a7258a0
4 changed files with 59 additions and 18 deletions

View File

@@ -905,7 +905,9 @@
<div class="close_exit" @click="closedeleteAll"></div>
</div>
<div class="body">
<span>请确认是否批量删除任务</span>
<span
>请确认是否批量删除{{ deleteType === 1 ? "任务" : "学员" }}</span
>
</div>
<div class="del_btnbox">
<div class="del_btn btn1" @click="closedeleteAll">
@@ -1628,8 +1630,10 @@ export default {
state.gqxy_hs = !state.gqxy_hs;
};
const showDeleteALLModal = (type) => {
if (state.selectRow.length === 0)
if (state.selectRow.length === 0){
message.destroy();
return message.warning("请选择要删除的任务");
}
state.deleteAll = true;
state.deleteType = type;
};