|
@@ -1,5 +1,6 @@
|
|
|
import { BasicColumn } from '/@/components/Table';
|
|
|
import { FormSchema } from '/@/components/Table';
|
|
|
+import { render } from '/@/utils/common/renderUtils';
|
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
{
|
|
@@ -23,32 +24,36 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'fileName',
|
|
|
width: 160,
|
|
|
},
|
|
|
- {
|
|
|
- title: '文件路径',
|
|
|
- dataIndex: 'filePath',
|
|
|
- width: 160,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '文件路径',
|
|
|
+ // dataIndex: 'filePath',
|
|
|
+ // width: 160,
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '所属部门',
|
|
|
- dataIndex: 'orgCode',
|
|
|
- width: 160,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '所属部门',
|
|
|
+ // dataIndex: 'orgCode',
|
|
|
+ // width: 160,
|
|
|
+ // },
|
|
|
{
|
|
|
title: '报表类型',
|
|
|
dataIndex: 'reportType',
|
|
|
- width: 100,
|
|
|
+ width: 160,
|
|
|
+ customRender: ({ text }) => {
|
|
|
+ return render.renderDict(text, 'reportType');
|
|
|
+ },
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
title: '报表版本',
|
|
|
dataIndex: 'reportVersion',
|
|
|
width: 100,
|
|
|
},
|
|
|
- {
|
|
|
- title: '所属矿编号',
|
|
|
- dataIndex: 'sysOrgCode',
|
|
|
- width: 100,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '所属矿编号',
|
|
|
+ // dataIndex: 'sysOrgCode',
|
|
|
+ // width: 100,
|
|
|
+ // },
|
|
|
];
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
@@ -64,16 +69,16 @@ export const columns: BasicColumn[] = [
|
|
|
colProps: { span: 6 },
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- label: '报表版本',
|
|
|
- field: 'reportVersion',
|
|
|
- component: 'JDictSelectTag',
|
|
|
- componentProps: {
|
|
|
- dictCode: 'reportVersion',
|
|
|
- placeholder: '请选择报表版本',
|
|
|
- },
|
|
|
- colProps: { span: 6 },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: '报表版本',
|
|
|
+ // field: 'reportVersion',
|
|
|
+ // component: 'JDictSelectTag',
|
|
|
+ // componentProps: {
|
|
|
+ // dictCode: 'reportVersion',
|
|
|
+ // placeholder: '请选择报表版本',
|
|
|
+ // },
|
|
|
+ // colProps: { span: 6 },
|
|
|
+ // },
|
|
|
];
|
|
|
//报表历史记录
|
|
|
export const columnsHis: BasicColumn[] = [
|
|
@@ -98,11 +103,11 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'fileName',
|
|
|
width: 160,
|
|
|
},
|
|
|
- {
|
|
|
- title: '文件路径',
|
|
|
- dataIndex: 'filePath',
|
|
|
- width: 160,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '文件路径',
|
|
|
+ // dataIndex: 'filePath',
|
|
|
+ // width: 160,
|
|
|
+ // },
|
|
|
{
|
|
|
title: '报表类型',
|
|
|
dataIndex: 'reportType',
|