83 lines
1.5 KiB
TypeScript
83 lines
1.5 KiB
TypeScript
|
import {BasicColumn} from '/@/components/Table';
|
|||
|
import {FormSchema} from '/@/components/Table';
|
|||
|
import { rules} from '/@/utils/helper/validator';
|
|||
|
import { render } from '/@/utils/common/renderUtils';
|
|||
|
//列表数据
|
|||
|
export const columns: BasicColumn[] = [
|
|||
|
{
|
|||
|
title: '问卷名称',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'title'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '学生',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'userName'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '得分',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'score'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '总分数',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'totalScore'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '答卷时间',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'openTime'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '交卷时间',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'commitTime'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '答卷用时',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'answerSfm'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '学期学年',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'xqxn'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '课程名称',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'kcmc'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '开始时间',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'startTime'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '结束时间',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'endTime'
|
|||
|
},
|
|||
|
{
|
|||
|
title: '问卷描述',
|
|||
|
align: "center",
|
|||
|
dataIndex: 'content'
|
|||
|
},
|
|||
|
];
|
|||
|
|
|||
|
//查询数据
|
|||
|
export const searchFormSchema: FormSchema[] = [
|
|||
|
];
|
|||
|
|
|||
|
//表单数据
|
|||
|
export const formSchema: FormSchema[] = [
|
|||
|
// TODO 主键隐藏字段,目前写死为ID
|
|||
|
{
|
|||
|
label: '',
|
|||
|
field: 'id',
|
|||
|
component: 'Input',
|
|||
|
show: false,
|
|||
|
},
|
|||
|
];
|