dbsd_kczx/src/views/kc/ktgl/KcKechengbiao.data.ts

123 lines
2.0 KiB
TypeScript
Raw Normal View History

2023-03-30 23:29:42 +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: 'kcmc'
},
{
title: '授课教师',
align: "center",
dataIndex: 'skjs'
},
{
title: '授课时间',
align: "center",
dataIndex: 'sksj'
},
{
title: '节次',
align: "center",
dataIndex: 'hh'
},
{
title: '星期几',
align: "center",
dataIndex: 'week'
},
{
title: '直播方式',
align: "center",
dataIndex: 'zbfs'
},
{
title: '会议号',
align: "center",
dataIndex: 'hyh'
},
{
title: '会议密码',
align: "center",
dataIndex: 'hymm'
},
{
title: '课程链接',
align: "center",
dataIndex: 'kclj'
},
// {
// title: '直播平台',
// align: "center",
// dataIndex: 'zbpx'
// },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '课程名称',
field: 'kcmc',
component: 'Input',
},
{
label: '授课教师',
field: 'skjs',
component: 'Input',
},
{
label: '授课时间',
field: 'sksj',
component: 'Input',
},
{
label: '节次',
field: 'hh',
component: 'Input',
},
{
label: '星期几',
field: 'week',
component: 'Input',
},
{
label: '直播方式',
field: 'zbfs',
component: 'Input',
},
{
label: '会议号',
field: 'hyh',
component: 'Input',
},
{
label: '会议密码',
field: 'hymm',
component: 'Input',
},
{
label: '课程链接',
field: 'kclj',
component: 'Input',
},
{
label: '直播平台',
field: 'zbpx',
component: 'Input',
},
// TODO 主键隐藏字段目前写死为ID
{
label: '',
field: 'id',
component: 'Input',
show: false,
},
];