dbsd_kczx/src/views/zy/sysZy/kccygl/Kccygl.data.ts

92 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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',
},
{
title: '作业数量',
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,
},
];