|
@@ -246,14 +246,14 @@
|
|
|
<el-button
|
|
|
class="btn-primary"
|
|
|
type="text"
|
|
|
- :disabled="!scope.row.subjectiveScoreList"
|
|
|
+ :disabled="!scope.row.subjectiveCheckFlag"
|
|
|
@click="toCheckQuestion(scope.row, 'subjective')"
|
|
|
>主观题检查</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
class="btn-primary"
|
|
|
type="text"
|
|
|
- :disabled="!scope.row.objectiveScore"
|
|
|
+ :disabled="!scope.row.objectiveCheckFlag"
|
|
|
@click="toCheckQuestion(scope.row, 'objective')"
|
|
|
>客观题检查</el-button
|
|
|
>
|
|
@@ -393,7 +393,7 @@ export default {
|
|
|
if (!this.multipleSelection.length) return;
|
|
|
if (type === "objective") {
|
|
|
const studentIds = this.multipleSelection
|
|
|
- .filter((item) => item.objectiveScore)
|
|
|
+ .filter((item) => item.objectiveCheckFlag)
|
|
|
.map((item) => item.studentId);
|
|
|
if (!studentIds.length) {
|
|
|
this.$message.error("没有可检查数据!");
|
|
@@ -403,7 +403,7 @@ export default {
|
|
|
this.toMarkObjectiveAnswer(studentIds);
|
|
|
} else {
|
|
|
const studentIds = this.multipleSelection
|
|
|
- .filter((item) => item.subjectiveScoreList)
|
|
|
+ .filter((item) => item.subjectiveCheckFlag)
|
|
|
.map((item) => item.studentId);
|
|
|
if (!studentIds.length) {
|
|
|
this.$message.error("没有可检查数据!");
|