项目监督列表、项目委托列表项目名称列宽优化

This commit is contained in:
zhangyx
2022-06-15 16:52:15 +08:00
parent 7dc348be97
commit e4d912cb79
14 changed files with 140 additions and 117 deletions

View File

@ -40,15 +40,15 @@ const entrust: React.FC<{}> = () => {
//委托列表
const columns: ProColumns<any>[] = [
{ title: '序号', valueType: 'index', width: 60, },
{ title: '委托方', dataIndex: 'purchaser', width: '10%', search: false },
{ title: '项目名称', dataIndex: 'projectName', },
{ title: '方案编号', dataIndex: 'projectNumber', width: '10%', search: false },
{ title: '委托方', dataIndex: 'purchaser', width: '15%', search: false },
{ title: '项目名称', dataIndex: 'projectName', width: 400, },
{ title: '方案编号', dataIndex: 'projectNumber', width: '6%', search: false },
{ title: '接收时间', dataIndex: 'receiveTime', width: '10%', valueType: 'dateTime', search: false },
{ title: '撤回时间', dataIndex: 'createDate', width: '10%', valueType: 'dateTime', search: false },
{ title: '采购方式', dataIndex: 'procurementMode', width: '10%', valueEnum: proTableValueEnum(dictData['procurement_mode=entrust']) },
{ title: '标的类型', dataIndex: 'procurementType', width: '10%', search: false, valueEnum: proTableValueEnum(dictData['procurement_type=entrust']) },
{ title: '采购方式', dataIndex: 'procurementMode', width: '6%', valueEnum: proTableValueEnum(dictData['procurement_mode=entrust']) },
{ title: '标的类型', dataIndex: 'procurementType', width: '5%', search: false, valueEnum: proTableValueEnum(dictData['procurement_type=entrust']) },
{
title: '操作', width: '12%',
title: '操作', width: '4%',
valueType: 'option',
render: (_, record) => {
return <Button type='text' onClick={() => recordIdSet(record.id)}></Button>