85 lines
2.3 KiB
TypeScript
85 lines
2.3 KiB
TypeScript
import {BasicColumn} from '/@/components/Table';
|
|
import {FormSchema} from '/@/components/Table';
|
|
import { rules} from '/@/utils/helper/validator';
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
//列表数据
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '实践计划id',
|
|
align: "center",
|
|
dataIndex: 'planId'
|
|
},
|
|
{
|
|
title: '实践计划名称',
|
|
align: "center",
|
|
dataIndex: 'planName'
|
|
},
|
|
{
|
|
title: '学生id',
|
|
align: "center",
|
|
dataIndex: 'studentId'
|
|
},
|
|
{
|
|
title: '学生姓名',
|
|
align: "center",
|
|
dataIndex: 'studentName'
|
|
},
|
|
{
|
|
title: '阶段id',
|
|
align: "center",
|
|
dataIndex: 'stepId'
|
|
},
|
|
{
|
|
title: '阶段名称',
|
|
align: "center",
|
|
dataIndex: 'stepName'
|
|
},
|
|
{
|
|
title: '子分类id',
|
|
align: "center",
|
|
dataIndex: 'taskId'
|
|
},
|
|
{
|
|
title: '子分类名称',
|
|
align: "center",
|
|
dataIndex: 'taskName'
|
|
},
|
|
{
|
|
title: '资源INT ID',
|
|
align: "center",
|
|
dataIndex: 'resourceIdInt'
|
|
},
|
|
{
|
|
title: '文件fileid',
|
|
align: "center",
|
|
dataIndex: 'fileId'
|
|
},
|
|
{
|
|
title: '资源标题',
|
|
align: "center",
|
|
dataIndex: 'resourceTitle'
|
|
},
|
|
{
|
|
title: '资源路径',
|
|
align: "center",
|
|
dataIndex: 'resourcePath'
|
|
},
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
planId: {title: '实践计划id',order: 0,view: 'text', type: 'string',},
|
|
planName: {title: '实践计划名称',order: 1,view: 'text', type: 'string',},
|
|
studentId: {title: '学生id',order: 2,view: 'number', type: 'number',},
|
|
studentName: {title: '学生姓名',order: 3,view: 'text', type: 'string',},
|
|
stepId: {title: '阶段id',order: 4,view: 'text', type: 'string',},
|
|
stepName: {title: '阶段名称',order: 5,view: 'text', type: 'string',},
|
|
taskId: {title: '子分类id',order: 6,view: 'text', type: 'string',},
|
|
taskName: {title: '子分类名称',order: 7,view: 'text', type: 'string',},
|
|
resourceIdInt: {title: '资源INT ID',order: 8,view: 'number', type: 'number',},
|
|
fileId: {title: '文件fileid',order: 9,view: 'text', type: 'string',},
|
|
resourceTitle: {title: '资源标题',order: 10,view: 'text', type: 'string',},
|
|
resourcePath: {title: '资源路径',order: 11,view: 'text', type: 'string',},
|
|
};
|