import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; import { render } from '/@/utils/common/renderUtils'; export const columns: BasicColumn[] = [ { title: '主键', dataIndex: 'id', ifShow: false, }, { title: '创建人', dataIndex: 'createBy', width: 100, }, { title: '创建日期', dataIndex: 'createTime', width: 160, // sorter:true, }, { title: '文件名称', dataIndex: 'fileName', width: 160, }, // { // title: '文件路径', // dataIndex: 'filePath', // width: 160, // }, // { // title: '所属部门', // dataIndex: 'orgCode', // width: 160, // }, { title: '报表类型', dataIndex: 'reportType', width: 160, customRender: ({ text }) => { return render.renderDict(text, 'reportType'); }, }, { title: '报表版本', dataIndex: 'reportVersion', width: 100, }, // { // title: '所属矿编号', // dataIndex: 'sysOrgCode', // width: 100, // }, ]; // export const searchFormSchema: FormSchema[] = [ // { // label: '报表类型', // field: 'reportType', // component: 'JDictSelectTag', // componentProps: { // dictCode: 'reportType', // placeholder: '请选择报表类型', // }, // colProps: { span: 6 }, // }, // ]; //报表历史记录 export const columnsHis: BasicColumn[] = [ { title: '主键', dataIndex: 'id', ifShow: false, }, { title: '创建人', dataIndex: 'createBy', width: 100, }, { title: '创建日期', dataIndex: 'createTime', width: 160, }, { title: '文件名称', dataIndex: 'fileName', width: 160, }, // { // title: '文件路径', // dataIndex: 'filePath', // width: 160, // }, { title: '报表类型', dataIndex: 'reportType', width: 100, }, { title: '报表版本', dataIndex: 'reportVersion', width: 100, }, ];