提交 d4aef84f authored 作者: matian's avatar matian

考试详情增加筛选项考生状态等

上级 5f6ef648
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<router-link <router-link
:to="{ path: 'markingPaper', query: { eid: exam_id, sid: row.student_id } }" :to="{ path: 'markingPaper', query: { eid: exam_id, sid: row.student_id } }"
target="_blank"
v-permission="'admin_exam_exam_sheet_detail'" v-permission="'admin_exam_exam_sheet_detail'"
> >
<el-button type="text">查看详情</el-button> <el-button type="text">查看详情</el-button>
...@@ -86,15 +85,16 @@ import { ...@@ -86,15 +85,16 @@ import {
getTranserList, getTranserList,
transferStudent transferStudent
} from '../api' } from '../api'
// const stuStatus = [ const stuStatus = [
// { id: '1', name: '未开考' }, // { id: '1', name: '未开考' },
// { id: '2', name: '已登录' }, // { id: '2', name: '已登录' },
// { id: '3', name: '考试中' }, // { id: '3', name: '考试中' },
// { id: '4', name: '已中断' }, // { id: '4', name: '已中断' },
// { id: '5', name: '已提交' }, // { id: '5', name: '已提交' },
// { id: '6', name: '已完成' }, { id: '6', name: '已批阅' },
// { id: '7', name: '待批阅' } { id: '7', name: '待批阅' }
// ] ]
export default { export default {
data() { data() {
return { return {
...@@ -131,16 +131,16 @@ export default { ...@@ -131,16 +131,16 @@ export default {
prop: 'school', prop: 'school',
label: '学校:', label: '学校:',
placeholder: '请输入学校' placeholder: '请输入学校'
},
{
type: 'select',
prop: 'relation_status',
placeholder: '请选择考生状态',
options: stuStatus,
labelKey: 'name',
valueKey: 'id',
label: '考生状态:'
} }
// {
// type: 'select',
// prop: 'relation_status',
// placeholder: '请选择考生状态',
// options: stuStatus,
// labelKey: 'name',
// valueKey: 'id',
// label: '考生状态'
// }
], ],
columns: [ columns: [
{ type: 'selection', minWidth: '50px', fixed: 'left' }, { type: 'selection', minWidth: '50px', fixed: 'left' },
......
...@@ -24,6 +24,7 @@ const status = [ ...@@ -24,6 +24,7 @@ const status = [
{ value: '2', label: '已结束' }, { value: '2', label: '已结束' },
{ value: '3', label: '待批阅' } { value: '3', label: '待批阅' }
] ]
export default { export default {
data() { data() {
return { return {
...@@ -52,7 +53,7 @@ export default { ...@@ -52,7 +53,7 @@ export default {
{ {
type: 'select', type: 'select',
prop: 'status', prop: 'status',
placeholder: '请输入考试状态', placeholder: '请选择考试状态',
label: '考试状态:', label: '考试状态:',
options: status, options: status,
labelKey: 'label', labelKey: 'label',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论