cont.
This commit is contained in:
parent
1ddb821fba
commit
df3ba179a3
|
|
@ -97,15 +97,21 @@ function List(props){
|
|||
<img src={getImageUrl(organizeDetail && organizeDetail.avatar_url)} alt="" />
|
||||
<div className="info-orz">
|
||||
<p className="orz-main">
|
||||
<span className="orz-name task-hide">{organizeDetail && organizeDetail.nickname}</span>
|
||||
{organizeDetail && <div>
|
||||
{enterpriseOpenInfo && <>
|
||||
{!enterpriseOpenInfo.isOpen && organizeDetail.is_admin && <Link to={`/${OIdentifier}/enterprise`}><Button type='primary'>开通工作台</Button></Link>}
|
||||
{enterpriseOpenInfo.isOpen && enterpriseOpenInfo.url ? <Button type='primary' onClick={() => { window.open(enterpriseOpenInfo.url) }}>前往工作台</Button> : <Button type='primary'>正在开通工作台</Button>}
|
||||
</>
|
||||
}
|
||||
{organizeDetail.is_admin && <Link to={`/${OIdentifier}/setting`} className="color-blue ml20 font-14"><Button type='primary' ghost>设置</Button></Link>}
|
||||
</div>}
|
||||
<span className="orz-name task-hide">{organizeDetail && organizeDetail.nickname}</span>
|
||||
{organizeDetail && (
|
||||
<div>
|
||||
{!enterpriseOpenInfo.isOpen && organizeDetail.is_admin && (
|
||||
<Link to={`/${OIdentifier}/enterprise`}>
|
||||
<Button type='primary'>开通工作台</Button>
|
||||
</Link>
|
||||
)}
|
||||
{enterpriseOpenInfo.isOpen && enterpriseOpenInfo.url ? (
|
||||
<Button type='primary' onClick={() => { window.open(enterpriseOpenInfo.url) }}>前往工作台</Button>
|
||||
) : (
|
||||
<Button type='primary'>正在开通工作台</Button>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</p>
|
||||
<div className="orz-desc task-hide-2">
|
||||
<Tooltip title={organizeDetail && organizeDetail.description} placement={"bottomLeft"}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue