90 lines
1.6 KiB
TypeScript
90 lines
1.6 KiB
TypeScript
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: '$no',
|
|
width: '50px',
|
|
customRender: (r) => {
|
|
return r.index+1;
|
|
}
|
|
},
|
|
{
|
|
title: '开课单位',
|
|
align: "center",
|
|
dataIndex: 'userid'
|
|
},
|
|
{
|
|
title: '开课课堂数',
|
|
children: [
|
|
{
|
|
title: '总数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
{
|
|
title: '本单位数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: '评课课堂数',
|
|
children: [
|
|
{
|
|
title: '总数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
{
|
|
title: '本单位数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: '听课人次数',
|
|
children: [
|
|
{
|
|
title: '总人次数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
{
|
|
title: '本单位人次数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: '评课人次数',
|
|
children: [
|
|
{
|
|
title: '总人次数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
{
|
|
title: '本单位人次数',
|
|
dataIndex: 'userid',
|
|
key: 'userid',
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
//查询数据
|
|
export const searchFormSchema: FormSchema[] = [
|
|
];
|
|
|
|
//表单数据
|
|
export const formSchema: FormSchema[] = [
|
|
];
|