dbsd_kczx/src/views/kc/jiaoshi/KcJiaoshixinxibiao.data.ts

173 lines
2.8 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: 'jsbh'
},
{
title: '教室名称',
align: "center",
dataIndex: 'jsmc'
},
{
title: '门牌号',
align: "center",
dataIndex: 'mph'
},
{
title: '校区',
align: "center",
dataIndex: 'xq'
},
{
title: '教室类型',
align: "center",
dataIndex: 'jslx'
},
{
title: '所属教学楼',
align: "center",
dataIndex: 'ssjxl'
},
{
title: '所属单位',
align: "center",
dataIndex: 'ssdw'
},
{
title: '排课优先级',
align: "center",
dataIndex: 'pkyxj'
},
{
title: '是否专用',
align: "center",
dataIndex: 'sfzy'
},
{
title: '教室类型2',
align: "center",
dataIndex: 'jslx2'
},
{
title: '座位数',
align: "center",
dataIndex: 'zws'
},
{
title: '考试座位数',
align: "center",
dataIndex: 'kszws'
},
{
title: '是否可用',
align: "center",
dataIndex: 'sfky'
},
{
title: '是否笔试考试',
align: "center",
dataIndex: 'sfbsks'
},
{
title: '是否可借用',
align: "center",
dataIndex: 'sfkjy'
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '教室编号',
field: 'jsbh',
component: 'Input',
},
{
label: '教室名称',
field: 'jsmc',
component: 'Input',
},
{
label: '门牌号',
field: 'mph',
component: 'Input',
},
{
label: '校区',
field: 'xq',
component: 'Input',
},
{
label: '教室类型',
field: 'jslx',
component: 'Input',
},
{
label: '所属教学楼',
field: 'ssjxl',
component: 'Input',
},
{
label: '所属单位',
field: 'ssdw',
component: 'Input',
},
{
label: '排课优先级',
field: 'pkyxj',
component: 'Input',
},
{
label: '是否专用',
field: 'sfzy',
component: 'Input',
},
{
label: '教室类型2',
field: 'jslx2',
component: 'Input',
},
{
label: '座位数',
field: 'zws',
component: 'Input',
},
{
label: '考试座位数',
field: 'kszws',
component: 'Input',
},
{
label: '是否可用',
field: 'sfky',
component: 'Input',
},
{
label: '是否笔试考试',
field: 'sfbsks',
component: 'Input',
},
{
label: '是否可借用',
field: 'sfkjy',
component: 'Input',
},
// TODO 主键隐藏字段目前写死为ID
{
label: '',
field: 'id',
component: 'Input',
show: false,
},
];