|
@@ -165,7 +165,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
toDelete(row) {
|
|
|
- this.$confirm("确定要删除当前考试吗?", "提示", {
|
|
|
+ const msg = row.isConfirm
|
|
|
+ ? "当前已有命题老师上传试卷或答题卡,确定要删除此条考试任务吗?"
|
|
|
+ : "确定要删除此条考试任务吗?";
|
|
|
+ this.$confirm(msg, "提示", {
|
|
|
cancelButtonClass: "el-button--primary",
|
|
|
confirmButtonClass: "el-button--default-act",
|
|
|
type: "warning"
|