37 lines
982 B
TypeScript
37 lines
982 B
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: '名称',
|
||
|
align: "center",
|
||
|
dataIndex: 'name'
|
||
|
},
|
||
|
{
|
||
|
title: '备注',
|
||
|
align: "center",
|
||
|
dataIndex: 'descr'
|
||
|
},
|
||
|
{
|
||
|
title: '文件类型',
|
||
|
align: "center",
|
||
|
dataIndex: 'fileType_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '文件预览',
|
||
|
align: "center",
|
||
|
dataIndex: 'filePath'
|
||
|
},
|
||
|
];
|
||
|
|
||
|
// 高级查询数据
|
||
|
export const superQuerySchema = {
|
||
|
name: {title: '名称',order: 0,view: 'text', type: 'string',},
|
||
|
descr: {title: '备注',order: 1,view: 'textarea', type: 'string',},
|
||
|
fileType: {title: '文件类型',order: 2,view: 'text', type: 'string',},
|
||
|
filePath: {title: '文件预览',order: 3,view: 'text', type: 'string',},
|
||
|
};
|