dbsd_kczx/src/views/zy/sysZy/tlqSys/TlqSys.data.ts

70 lines
1.2 KiB
TypeScript
Raw Normal View History

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: 'kcmc',
},
{
title: '授课教师',
align: 'center',
dataIndex: 'skjs',
},
{
title: '学生姓名',
align: 'center',
dataIndex: 'stuName',
},
{
title: '学号',
align: 'center',
dataIndex: 'stuNo',
},
{
title: '发言主题',
align: 'center',
dataIndex: 'title',
},
{
title: '发言内容',
align: "center",
dataIndex: 'content',
slots: { customRender: 'fileSlot' },
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,
},
];