hldy_vue/src/views/admin/mediamanage/MediaManage.data.ts

42 lines
1.0 KiB
TypeScript
Raw Normal View History

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: 'sysFunc_dictText'
},
{
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',},
};