|
@@ -157,14 +157,6 @@
|
|
@click="openAddingDialog"
|
|
@click="openAddingDialog"
|
|
>新增</el-button
|
|
>新增</el-button
|
|
>
|
|
>
|
|
- <el-button
|
|
|
|
- v-if="rolePrivileges.del_examStudent"
|
|
|
|
- size="small"
|
|
|
|
- type="danger"
|
|
|
|
- icon="el-icon-delete"
|
|
|
|
- @click="deleteStuByExam"
|
|
|
|
- >批次删除</el-button
|
|
|
|
- >
|
|
|
|
<el-button
|
|
<el-button
|
|
v-if="rolePrivileges.copy_examStudent"
|
|
v-if="rolePrivileges.copy_examStudent"
|
|
size="small"
|
|
size="small"
|
|
@@ -173,6 +165,14 @@
|
|
@click="copy"
|
|
@click="copy"
|
|
>复制</el-button
|
|
>复制</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ v-if="rolePrivileges.del_examStudent"
|
|
|
|
+ size="small"
|
|
|
|
+ type="danger"
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
+ @click="deleteStuByExam"
|
|
|
|
+ >按考试删除</el-button
|
|
|
|
+ >
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -604,7 +604,7 @@
|
|
:inline="true"
|
|
:inline="true"
|
|
label-width="120px"
|
|
label-width="120px"
|
|
>
|
|
>
|
|
- <el-form-item label="源考试批次" prop="sourceExamId">
|
|
|
|
|
|
+ <el-form-item label="源考试" prop="sourceExamId">
|
|
<el-select
|
|
<el-select
|
|
class="input"
|
|
class="input"
|
|
:remote-method="queryExams4CopyFrom"
|
|
:remote-method="queryExams4CopyFrom"
|
|
@@ -623,7 +623,7 @@
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="目标考试批次" prop="targetExamId">
|
|
|
|
|
|
+ <el-form-item label="目标考试" prop="targetExamId">
|
|
<el-select
|
|
<el-select
|
|
class="input"
|
|
class="input"
|
|
:remote-method="queryExams4CopyTo"
|
|
:remote-method="queryExams4CopyTo"
|
|
@@ -1128,7 +1128,7 @@ export default {
|
|
{
|
|
{
|
|
type: "number",
|
|
type: "number",
|
|
required: true,
|
|
required: true,
|
|
- message: "请选择源考试批次",
|
|
|
|
|
|
+ message: "请选择源考试",
|
|
trigger: "change"
|
|
trigger: "change"
|
|
}
|
|
}
|
|
],
|
|
],
|
|
@@ -1136,7 +1136,7 @@ export default {
|
|
{
|
|
{
|
|
type: "number",
|
|
type: "number",
|
|
required: true,
|
|
required: true,
|
|
- message: "请选择目标考试批次",
|
|
|
|
|
|
+ message: "请选择目标考试",
|
|
trigger: "change"
|
|
trigger: "change"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -1497,19 +1497,19 @@ export default {
|
|
});
|
|
});
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- //按批次删除方法
|
|
|
|
|
|
+ //按考试删除方法
|
|
deleteStuByExam() {
|
|
deleteStuByExam() {
|
|
if (!this.formSearch.examId) {
|
|
if (!this.formSearch.examId) {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "warning",
|
|
type: "warning",
|
|
- message: "请选择要删除的批次"
|
|
|
|
|
|
+ message: "请选择要删除的考试"
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
this.$msgbox({
|
|
this.$msgbox({
|
|
title: "提示",
|
|
title: "提示",
|
|
- message: "是否删除该批次所有考生?",
|
|
|
|
|
|
+ message: "是否删除该考试所有考生?",
|
|
showCancelButton: false,
|
|
showCancelButton: false,
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
beforeClose: (action, instance, done) => {
|
|
beforeClose: (action, instance, done) => {
|
|
@@ -1708,7 +1708,7 @@ export default {
|
|
) {
|
|
) {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "error",
|
|
type: "error",
|
|
- message: "源批次与目标批次不能相同"
|
|
|
|
|
|
+ message: "源考试与目标考试不能相同"
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -1790,7 +1790,7 @@ export default {
|
|
checkUpload() {
|
|
checkUpload() {
|
|
if (!this.studentImportForm.examId) {
|
|
if (!this.studentImportForm.examId) {
|
|
this.$notify({
|
|
this.$notify({
|
|
- message: "请选择考试批次",
|
|
|
|
|
|
+ message: "请选择考试",
|
|
type: "error"
|
|
type: "error"
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|
|
@@ -1896,7 +1896,7 @@ export default {
|
|
exam.specialSettingsType == "STAGE_BASED"
|
|
exam.specialSettingsType == "STAGE_BASED"
|
|
) {
|
|
) {
|
|
this.examStageDisabled4Search = false;
|
|
this.examStageDisabled4Search = false;
|
|
- this.examStageDisabled4Update = false; //编辑同查询一致,考试批次不可修改
|
|
|
|
|
|
+ this.examStageDisabled4Update = false; //编辑同查询一致,考试不可修改
|
|
this.queryExamStages4Search("");
|
|
this.queryExamStages4Search("");
|
|
this.queryExamStages(value, "", "insertOrUpdate");
|
|
this.queryExamStages(value, "", "insertOrUpdate");
|
|
} else {
|
|
} else {
|