|
@@ -65,12 +65,12 @@ const Staff: React.FC<ListProps> = ({ schema, dataID, dispatch, accountTypeList
|
|
|
return <span>{genderEum[gender]}</span>
|
|
|
}
|
|
|
},
|
|
|
- // {
|
|
|
- // dataIndex: 'organizationalStructureID',
|
|
|
- // key: 'organizationalStructureID',
|
|
|
- // title: '组织架构',
|
|
|
- // renderText: (_, record) => record.organizationalStructure.name
|
|
|
- // },
|
|
|
+ {
|
|
|
+ dataIndex: 'organizationalStructureID',
|
|
|
+ key: 'organizationalStructureID',
|
|
|
+ title: '组织架构',
|
|
|
+ renderText: (_, record) => record.organizationalStructure?.name
|
|
|
+ },
|
|
|
{
|
|
|
dataIndex: 'institutionID',
|
|
|
key: 'institutionID',
|