| | |
| | | </el-table-column> |
| | | <el-table-column label="试卷状态" prop="state" align="center" > |
| | | <template #default="scope"> |
| | | <span>{{scope.row.state ===0 ? '待考试' : scope.row.state ===1 ? '待批阅':'批阅完成'}}</span> |
| | | <span>{{scope.row.state ===0 ? '待考试' : scope.row.state ===1 ? '待批阅':scope.row.state ===2 ? '已完成':''}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="考试是否完成" prop="completed" align="center" >--> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="correct(scope.row)" v-if="scope.row.state != 0">批阅</el-button> |
| | | <!-- <el-button link type="primary" @click="correct(scope.row)" v-if="scope.row.state != 0">批阅</el-button>--> |
| | | <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | import {batchDelStudent, delBatchStu, getBatchStudent} from "@/api/onlineEducation/batch"; |
| | | import {useRoute, useRouter} from 'vue-router' |
| | | import {delExamStu, examDelStudent, getExamStudent} from "@/api/onlineEducation/exam"; |
| | | import ExamChooseStudent from "@/views/onlineEducation/groupExams/components/examChooseStudent.vue"; |
| | | import ExamChooseStudent from "@/views/work/onlineEducation/groupExams/components/examChooseStudent.vue"; |
| | | const route = useRoute() |
| | | const router = useRouter(); |
| | | |
| | |
| | | }, |
| | | { |
| | | id: 2, |
| | | name: '批阅完成' |
| | | name: '已完成' |
| | | }, |
| | | ] |
| | | |