Commit c813f140 authored by XieZhiXiong's avatar XieZhiXiong

chore: 删除 align: center

parent d73048a2
...@@ -88,18 +88,15 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ ...@@ -88,18 +88,15 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({
{ {
title: '序号', title: '序号',
dataIndex: 'index', dataIndex: 'index',
align: 'center',
render: (_, record, index) => index + 1, render: (_, record, index) => index + 1,
}, },
{ {
title: '操作角色', title: '操作角色',
dataIndex: 'roleName', dataIndex: 'roleName',
align: 'center',
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
align: 'center',
render: (text, record) => ( render: (text, record) => (
<StatusTag type={outerStatusMap[record.statusCode] || 'default'} title={text} /> <StatusTag type={outerStatusMap[record.statusCode] || 'default'} title={text} />
), ),
...@@ -112,13 +109,11 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ ...@@ -112,13 +109,11 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({
{ {
title: '操作时间', title: '操作时间',
dataIndex: 'operateTime', dataIndex: 'operateTime',
align: 'center',
ellipsis: true, ellipsis: true,
}, },
{ {
title: '审核意见', title: '审核意见',
dataIndex: 'opinion', dataIndex: 'opinion',
align: 'center',
ellipsis: true, ellipsis: true,
}, },
]; ];
...@@ -127,27 +122,22 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ ...@@ -127,27 +122,22 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({
{ {
title: '序号', title: '序号',
dataIndex: 'step', dataIndex: 'step',
align: 'center',
}, },
{ {
title: '操作人', title: '操作人',
dataIndex: 'operator', dataIndex: 'operator',
align: 'center',
}, },
{ {
title: '部门', title: '部门',
dataIndex: 'department', dataIndex: 'department',
align: 'center',
}, },
{ {
title: '职位', title: '职位',
dataIndex: 'jobTitle', dataIndex: 'jobTitle',
align: 'center',
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
align: 'center',
render: (text, record) => ( render: (text, record) => (
<Badge color={innerStatusColorMap[record.statusCode] || '#606266'} text={text} /> <Badge color={innerStatusColorMap[record.statusCode] || '#606266'} text={text} />
), ),
...@@ -155,18 +145,15 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ ...@@ -155,18 +145,15 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({
{ {
title: '操作', title: '操作',
dataIndex: 'operate', dataIndex: 'operate',
align: 'center',
}, },
{ {
title: '操作时间', title: '操作时间',
dataIndex: 'operateTime', dataIndex: 'operateTime',
align: 'center',
ellipsis: true, ellipsis: true,
}, },
{ {
title: '审核意见', title: '审核意见',
dataIndex: 'opinion', dataIndex: 'opinion',
align: 'center',
ellipsis: true, ellipsis: true,
}, },
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment