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