dev-tmp1
luotaiqian 2026-08-14 17:59:54 +08:00
parent 0b3a3a2e52
commit 63ab0122ef
1 changed files with 4 additions and 20 deletions

View File

@ -160,7 +160,7 @@ const FilingTabs = ({
}, [detail.businessScope]); }, [detail.businessScope]);
/** 人员表格列(管理/评价师共用基础) */ /** 人员表格列(管理/评价师共用基础) */
const basePersonCols = (withScope) => [ const basePersonCols = () => [
{ title: "序号", width: 60, render: (_, __, i) => i + 1 }, { title: "序号", width: 60, render: (_, __, i) => i + 1 },
{ title: "姓名", dataIndex: "personName", width: 110 }, { title: "姓名", dataIndex: "personName", width: 110 },
{ title: "岗位类别", dataIndex: "positionName", width: 140, ellipsis: true }, { title: "岗位类别", dataIndex: "positionName", width: 140, ellipsis: true },
@ -220,22 +220,6 @@ const FilingTabs = ({
: "-"; : "-";
}, },
}, },
...(withScope
? [
{
title: "申请业务范围",
width: 200,
ellipsis: true,
render: (_, r) => {
const scopes = r.appliedScope || r.scopeList;
if (Array.isArray(scopes)) {
return scopes.map((s) => QUALIFICATION_INDUSTRY_OPTIONS_MAP[s] || s).join("、");
}
return scopes || "-";
},
},
]
: []),
{ {
title: "操作", title: "操作",
width: 80, width: 80,
@ -396,7 +380,7 @@ const FilingTabs = ({
pagination={false} pagination={false}
dataSource={managerRows} dataSource={managerRows}
scroll={{ x: 900 }} scroll={{ x: 900 }}
columns={basePersonCols(false)} columns={basePersonCols()}
/> />
), ),
}, },
@ -410,8 +394,8 @@ const FilingTabs = ({
rowKey="id" rowKey="id"
pagination={false} pagination={false}
dataSource={evaluatorRows} dataSource={evaluatorRows}
scroll={{ x: 1100 }} scroll={{ x: 900 }}
columns={basePersonCols(true)} columns={basePersonCols()}
/> />
), ),
}, },