This commit is contained in:
谢思 2024-03-06 16:17:09 +08:00
parent 8bfe95b2e3
commit 6a02e8df6d
1 changed files with 5 additions and 7 deletions

View File

@ -98,13 +98,11 @@ function List(props){
<div className="info-orz">
<p className="orz-main">
<span className="orz-name task-hide">{organizeDetail && organizeDetail.nickname}</span>
<div>
{(organizeDetail && organizeDetail.is_admin && enterpriseOpenInfo) && !enterpriseOpenInfo.isOpen ? <Link to={`/${OIdentifier}/enterprise`}><Button type='primary'>开通工作台</Button></Link> :
enterpriseOpenInfo.url ? <Button type='primary' onClick={() => { window.open(enterpriseOpenInfo.url) }}>前往工作台</Button> : <Button type='primary'>正在开通工作台</Button>}
{organizeDetail && organizeDetail.is_admin ?
<Link to={`/${OIdentifier}/setting`} className="color-blue ml20 font-14"><Button type='primary' ghost>设置</Button></Link>
:""}
</div>
{organizeDetail && organizeDetail.is_admin && <div>
{enterpriseOpenInfo && (!enterpriseOpenInfo.isOpen ? <Link to={`/${OIdentifier}/enterprise`}><Button type='primary'>开通工作台</Button></Link> :
enterpriseOpenInfo.url ? <Button type='primary' onClick={() => { window.open(enterpriseOpenInfo.url) }}>前往工作台</Button> : <Button type='primary'>正在开通工作台</Button>)}
<Link to={`/${OIdentifier}/setting`} className="color-blue ml20 font-14"><Button type='primary' ghost>设置</Button></Link>
</div>}
</p>
<div className="orz-desc task-hide-2">
<Tooltip title={organizeDetail && organizeDetail.description} placement={"bottomLeft"}>