Merge pull request '线上代码同步' (#774) from pre_gitlink_ssr into gitlink_management
1
This commit is contained in:
commit
1c90ac557e
|
@ -100,8 +100,19 @@ function List(props){
|
|||
<span className="orz-name task-hide">{organizeDetail && organizeDetail.nickname}</span>
|
||||
{organizeDetail && (
|
||||
<div>
|
||||
{organizeDetail.pms_enable && organizeDetail.is_admin && !enterpriseOpenInfo.isOpen &&
|
||||
<Link to={`/${OIdentifier}/enterprise`}>
|
||||
<Button type='primary'>开通工作台</Button>
|
||||
</Link>
|
||||
}
|
||||
{
|
||||
organizeDetail.pms_enable &&(
|
||||
organizeDetail.pms_enable && enterpriseOpenInfo.isOpen && organizeDetail.is_member && (enterpriseOpenInfo.url ?
|
||||
<Button type='primary' onClick={() => { window.open(enterpriseOpenInfo.url) }}>前往工作台</Button>
|
||||
:
|
||||
<Button type='primary'>正在开通工作台</Button>)
|
||||
}
|
||||
{/* {
|
||||
organizeDetail.pms_enable && organizeDetail.is_admin &&(
|
||||
!enterpriseOpenInfo.isOpen ? (
|
||||
<Link to={`/${OIdentifier}/enterprise`}>
|
||||
<Button type='primary'>开通工作台</Button>
|
||||
|
@ -113,7 +124,7 @@ function List(props){
|
|||
<Button type='primary'>正在开通工作台</Button>
|
||||
)
|
||||
)
|
||||
}
|
||||
} */}
|
||||
{organizeDetail.is_admin && <Link to={`/${OIdentifier}/setting`} className="color-blue ml20 font-14"><Button type='primary' ghost>设置</Button></Link>}
|
||||
</div>
|
||||
)}
|
||||
|
|
|
@ -136,8 +136,8 @@ class Attachment extends Component {
|
|||
<span className="ml20">{item.filesize}</span>
|
||||
</a>
|
||||
) : (
|
||||
<Link
|
||||
to={`${item.url}`}
|
||||
<a
|
||||
href={`${item.url}`}
|
||||
target="_blank"
|
||||
className="attachment-list-a"
|
||||
download
|
||||
|
@ -145,7 +145,7 @@ class Attachment extends Component {
|
|||
<i className="iconfont icon-fujian mr8 paper-clip-color font-12"></i>
|
||||
<span>{item.title}</span>
|
||||
<span className="ml20">{item.filesize}</span>
|
||||
</Link>
|
||||
</a>
|
||||
)}
|
||||
|
||||
{canDelete ? (
|
||||
|
|
|
@ -84,7 +84,7 @@ class Read extends Component {
|
|||
暂仅支持文本格式,不支持图片,excel等不可以txt读取的文件
|
||||
</p> */}
|
||||
<p className="mt10">
|
||||
文件名请使用英文且不得超过{size}MB
|
||||
文件名请使用英文且不得超过{size}MB<span style={{color:"#f07622"}}>(超过{size}MB文件请用git工具上传)</span>
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue