|
|
@ -413,6 +413,14 @@ function OrgnizationMgm() { |
|
|
|
setEditStatus(true) |
|
|
|
} |
|
|
|
|
|
|
|
const handleTreeText = (text) => { |
|
|
|
if (text.length > 16) { |
|
|
|
return text?.substring(0, 16) + '...' |
|
|
|
} else { |
|
|
|
return text |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const tabRender = useMemo(() => { |
|
|
|
return [ |
|
|
|
{ |
|
|
@ -533,7 +541,9 @@ function OrgnizationMgm() { |
|
|
|
|
|
|
|
const treeTitleRender = ({ name, children, level, pid, id, virtually_code, lng_lat, code }) => { |
|
|
|
return <> |
|
|
|
<span className='label-text'>{name}</span> |
|
|
|
<span className='label-text'> |
|
|
|
{ name + 'kajsndkjand阿里山扩大你' } |
|
|
|
</span> |
|
|
|
<div className="dropdown-tree"> |
|
|
|
<Dropdown |
|
|
|
menu={{ |
|
|
|
xxxxxxxxxx