|
|
|
@ -234,14 +234,14 @@ class CommonWorkItem extends Component{
|
|
|
|
|
{ //
|
|
|
|
|
item.work_status && item.work_status.indexOf('关联项目') != -1 &&
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<WordsBtn style="blue" className={` font-16 fl`} onClick={() => this.props.toCreateProject(item)}>创建项目</WordsBtn>
|
|
|
|
|
<WordsBtn style="blue" className={` font-16 fl ml28`} onClick={() => this.props.toCreateProject(item)}>创建项目</WordsBtn>
|
|
|
|
|
<WordsBtn style="blue" className={` font-16 fl ml28`} onClick={() => this.props.openConnectionProject(item)}>关联项目</WordsBtn>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{ //
|
|
|
|
|
item.work_status && item.work_status.indexOf('取消关联') != -1 &&
|
|
|
|
|
<WordsBtn style="blue" className={` font-16 fl`} onClick={() => this.props.cancelConnectionProject(item)}>取消关联</WordsBtn>
|
|
|
|
|
<WordsBtn style="blue" className={` font-16 fl ml28`} onClick={() => this.props.cancelConnectionProject(item)}>取消关联</WordsBtn>
|
|
|
|
|
}
|
|
|
|
|
{ //
|
|
|
|
|
item.work_status && item.work_status.indexOf('提交作品') != -1 &&
|
|
|
|
|