2024-06-09 17:39:16 +08:00
|
|
|
|
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: 'xqxn',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '开课单位',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'kkdw',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '课程编号',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'kcbh',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '课程名称',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'kcmc',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '开课任务编号',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'rwbh',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '上课时间',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'sksj',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '上课地点',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'skdd',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '授课教师',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'skjs',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '选课学生',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'xkrs',
|
|
|
|
|
},
|
|
|
|
|
{
|
2024-06-17 17:02:31 +08:00
|
|
|
|
title: '测验数量',
|
2024-06-09 17:39:16 +08:00
|
|
|
|
align: "center",
|
|
|
|
|
dataIndex: 'num',
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// title: '课程简介',
|
|
|
|
|
// align: 'center',
|
|
|
|
|
// dataIndex: 'kcjs',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// title: '教学日历',
|
|
|
|
|
// align: "center",
|
|
|
|
|
// dataIndex: 'jxrlFilePath',
|
|
|
|
|
// slots: { customRender: 'fileSlot2' },
|
|
|
|
|
// width: '300'
|
|
|
|
|
// },
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
//查询数据
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
//表单数据
|
|
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
label: '附件',
|
|
|
|
|
field: 'filePath',
|
|
|
|
|
component: 'JUpload',
|
|
|
|
|
componentProps:{
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'id',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
];
|