79 lines
2.0 KiB
TypeScript
79 lines
2.0 KiB
TypeScript
import {BasicColumn} from '/@/components/Table';
|
|
import {FormSchema} from '/@/components/Table';
|
|
import { rules} from '/@/utils/helper/validator';
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
//列表数据
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '学期学年',
|
|
align: "center",
|
|
dataIndex: 'xnxq'
|
|
},
|
|
{
|
|
title: '学院编号',
|
|
align: "center",
|
|
dataIndex: 'xybh'
|
|
},
|
|
{
|
|
title: '学院名称',
|
|
align: "center",
|
|
dataIndex: 'xymc'
|
|
},
|
|
{
|
|
title: '任务编号',
|
|
align: "center",
|
|
dataIndex: 'rwbh'
|
|
},
|
|
{
|
|
title: '课程名称',
|
|
align: "center",
|
|
dataIndex: 'kcmc'
|
|
},
|
|
{
|
|
title: '教工号',
|
|
align: "center",
|
|
dataIndex: 'jgh'
|
|
},
|
|
{
|
|
title: '授课教师',
|
|
align: "center",
|
|
dataIndex: 'skjs'
|
|
},
|
|
{
|
|
title: '作业编号',
|
|
align: "center",
|
|
dataIndex: 'zybh'
|
|
},
|
|
{
|
|
title: '作业名称',
|
|
align: "center",
|
|
dataIndex: 'zymc'
|
|
},
|
|
{
|
|
title: '作业类型',
|
|
align: "center",
|
|
dataIndex: 'zylx'
|
|
},
|
|
{
|
|
title: '作业占比',
|
|
align: "center",
|
|
dataIndex: 'qmzb'
|
|
},
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
xnxq: {title: '学期学年',order: 0,view: 'list', type: 'string',dictCode: 'xqxn',},
|
|
xybh: {title: '学院编号',order: 1,view: 'text', type: 'string',},
|
|
xymc: {title: '学院名称',order: 2,view: 'text', type: 'string',},
|
|
rwbh: {title: '任务编号',order: 3,view: 'text', type: 'string',},
|
|
kcmc: {title: '课程名称',order: 4,view: 'text', type: 'string',},
|
|
jgh: {title: '教工号',order: 5,view: 'text', type: 'string',},
|
|
skjs: {title: '授课教师',order: 6,view: 'text', type: 'string',},
|
|
zybh: {title: '作业编号',order: 7,view: 'text', type: 'string',},
|
|
zymc: {title: '作业名称',order: 8,view: 'text', type: 'string',},
|
|
zylx: {title: '作业类型',order: 9,view: 'text', type: 'string',},
|
|
qmzb: {title: '作业占比',order: 10,view: 'text', type: 'string',},
|
|
};
|