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, }, ];