waring
parent
0b3a3a2e52
commit
63ab0122ef
|
|
@ -160,7 +160,7 @@ const FilingTabs = ({
|
|||
}, [detail.businessScope]);
|
||||
|
||||
/** 人员表格列(管理/评价师共用基础) */
|
||||
const basePersonCols = (withScope) => [
|
||||
const basePersonCols = () => [
|
||||
{ title: "序号", width: 60, render: (_, __, i) => i + 1 },
|
||||
{ title: "姓名", dataIndex: "personName", width: 110 },
|
||||
{ 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: "操作",
|
||||
width: 80,
|
||||
|
|
@ -396,7 +380,7 @@ const FilingTabs = ({
|
|||
pagination={false}
|
||||
dataSource={managerRows}
|
||||
scroll={{ x: 900 }}
|
||||
columns={basePersonCols(false)}
|
||||
columns={basePersonCols()}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
|
@ -410,8 +394,8 @@ const FilingTabs = ({
|
|||
rowKey="id"
|
||||
pagination={false}
|
||||
dataSource={evaluatorRows}
|
||||
scroll={{ x: 1100 }}
|
||||
columns={basePersonCols(true)}
|
||||
scroll={{ x: 900 }}
|
||||
columns={basePersonCols()}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue