|
@@ -27,22 +27,22 @@ const renderUserCard = (user: UserVO) => { |
|
|
<div style={{ flex: 1, }}> |
|
|
<div style={{ flex: 1, }}> |
|
|
<div> |
|
|
<div> |
|
|
<div className=' text-gray-900 text-lg font-semibold leading-relaxed'>{user.username}</div> |
|
|
<div className=' text-gray-900 text-lg font-semibold leading-relaxed'>{user.username}</div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>{user.remark}</div> |
|
|
|
|
|
|
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>{user.remark??"-"}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className='grid grid-cols-2 gap-4 mt-5' > |
|
|
<div className='grid grid-cols-2 gap-4 mt-5' > |
|
|
<div> |
|
|
<div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>用户账号</div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>用户账号</div> |
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.username}</div> |
|
|
|
|
|
|
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.username??"-"}</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div> |
|
|
<div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>手机号码</div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>手机号码</div> |
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.mobile}</div> |
|
|
|
|
|
|
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.mobile??"-"}</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div> |
|
|
<div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>用户邮箱</div> |
|
|
<div className='text-zinc-400 text-xs font-normal leading-relaxed'>用户邮箱</div> |
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.email}</div> |
|
|
|
|
|
|
|
|
<div className='text-gray-900 text-xs font-medium leading-relaxed'>{user.email??"-"}</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div> |
|
|
<div> |
|
@@ -101,7 +101,7 @@ export default () => { |
|
|
if (!error) { |
|
|
if (!error) { |
|
|
setDataSource(data.list.map((item) => { |
|
|
setDataSource(data.list.map((item) => { |
|
|
return ({ |
|
|
return ({ |
|
|
subTitle: <Tag color="#5BD8A6">{item.dept.name}</Tag>, |
|
|
|
|
|
|
|
|
subTitle: <Tag color="#5BD8A6">{item.dept?.name??""}</Tag>, |
|
|
actions: [ |
|
|
actions: [ |
|
|
<EditOutlined className='my-1' onClick={() => { |
|
|
<EditOutlined className='my-1' onClick={() => { |
|
|
seEditData(item); |
|
|
seEditData(item); |
|
|