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

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

@ -101,7 +101,7 @@ const Index: React.FC<{}> = () => {
search: proTypeCode?.length > 1 ? null : false,
initialValue: bidMethodDict ? bidMethodDict : void 0,
valueEnum: proTableValueEnumOther(dictData['procurement_mode=entrust'], proTypeCode),
width: '10%',
width: '7%',
render: (_: any, record: any) => {
if (proTypeCode.indexOf("procurement_mode_4") !== -1) {
const recruitmentMethod = getDictName(dictData[recruitmentMethodRecord], record.examinationMethodDict)
@ -124,7 +124,7 @@ const Index: React.FC<{}> = () => {
title: proTypeCode.indexOf("procurement_mode_4") !== -1 ? '招募人' : '采购人',
dataIndex: 'tendereeOrgName',
search: false,
width: '10%'
width: '15%'
},
{
title: '代理机构',
@ -137,17 +137,17 @@ const Index: React.FC<{}> = () => {
dataIndex: 'procurementType',
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
search: false,
width: '8%'
width: '5%'
},
{
title: '所属区域',
dataIndex: 'regionDictName',
search: false,
width: '10%'
width: '15%'
},
{
title: '操作',
width: '15%',
width: '7%',
search: false,
render: (text: any, record: any) => {
if (MethodDict == "procurement_mode_7") {
@ -156,11 +156,11 @@ const Index: React.FC<{}> = () => {
)
} else {
return (
<Space>
<>
<Button hidden={btnAuthority(['ebtp-supplier'])} type="text" onClick={() => saveProject(record)} danger></Button>
<Button hidden={btnAuthority(['ebtp-supplier'])} type="text" danger onClick={() => changePerson(record)} ></Button>
<Button hidden={btnAuthority(['ebtp-supplier'])} type="text" danger onClick={() => quitProject(record.id)} >退</Button>
</Space>
</>
)
}
}
@ -182,31 +182,33 @@ const Index: React.FC<{}> = () => {
title: '采购类型',
dataIndex: 'procurementTypeDict',
search: false,
width: '8%',
width: '5%',
valueEnum: proTableValueEnum(dictData['procurement_type=entrust'])
},
{
title: '采购方式',
dataIndex: 'bidMethodDict',
search: false,
width: '10%',
width: '7%',
valueEnum: proTableValueEnum(dictData['procurement_mode=entrust'])
},
{
title: '已报名标段名称',
dataIndex: 'bidSectName',
width: '20%',
search: false
},
{
title: '已报名标段编号',
dataIndex: 'bidSectBizNum',
width: '10%',
search: false
},
{
title: '项目负责人',
dataIndex: 'projectBidUser',
search: false,
width: '10%'
width: '7%'
},
];
const dataSource = [