Commit 667ca8c1 authored by 皮倩雯's avatar 皮倩雯

fix: '机构管理,所在机构展示优化'

parent d4617766
Pipeline #82575 passed with stages
...@@ -209,13 +209,22 @@ const UserManage = () => { ...@@ -209,13 +209,22 @@ const UserManage = () => {
}, },
{ {
title: '所在机构', title: '所在机构',
dataIndex: 'groupName', dataIndex: 'groupLevel',
key: 'groupName', key: 'groupLevel',
// width: 150, // width: 150,
ellipsis: true, ellipsis: true,
// filters: orgFilters, render: text => {
// filteredValue, let arr = text.split('/');
// onFilter: (value, record) => record.groupName === value, if (arr.length > 2) {
let str = `${arr[0]}/.../${arr[arr.length - 1]}`;
return (
<Tooltip title={text}>
<span>{str}</span>
</Tooltip>
);
}
return <span>{text}</span>;
},
}, },
{ {
title: '手机号码', title: '手机号码',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment