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

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

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