优化表格样式

This commit is contained in:
zhangyx
2022-09-05 11:14:01 +08:00
parent 31a7029be8
commit f98cf790b8

View File

@ -22,25 +22,31 @@ const PersonReport: React.FC<{}> = () => {
{
title: '项目名称',
dataIndex: 'projectName',
width: '20%',
},
{
title: '项目编号',
dataIndex: 'projectNum',
width: '12%',
search: false,
},
{
title: '标段名称',
dataIndex: 'packageNames',
width: '20%',
ellipsis: true,
search: false,
},
{
title: '评审室名称',
dataIndex: 'areaName',
width: '12%',
search: false,
},
{
title: '评审室状态',
dataIndex: 'status',
width: 90,
valueEnum: {
0: { text: '未开启' },
1: { text: '进行中' },
@ -53,18 +59,21 @@ const PersonReport: React.FC<{}> = () => {
title: '预约开始时间',
dataIndex: 'reserveStartDate',
valueType: 'dateTime',
width: '9.5%',
search: false,
},
{
title: '预约结束时间',
dataIndex: 'reserveEndDate',
valueType: 'dateTime',
width: '9.5%',
search: false,
},
{
title: '报道状态',
dataIndex: 'reportStatus',
search: false,
width: 75,
valueEnum: {
"all": { text: '全部报道' },
"half": { text: '部分报道' },
@ -74,6 +83,7 @@ const PersonReport: React.FC<{}> = () => {
{
title: '操作',
search: false,
width: 80,
render: (text: any, record: any) => {
return (
<>