Merge branch 'dev_hjm_groupwork_leader' into dev_hjm_826_2

dev_unstable
hjm 6 years ago
commit 1c754b3bc2

@ -270,12 +270,12 @@ class CommonWorkAppraise extends Component{
其他组员 其他组员
{work_members.map((item, index) => { {work_members.map((item, index) => {
return <React.Fragment> return <React.Fragment>
isAdmin ? {isAdmin ?
<a className={`color-blue ${index == 0 ? '' : 'ml10'}`} href="javascript:void(0)" <a className={`color-blue ${index == 0 ? '' : 'ml10'}`} href="javascript:void(0)"
onClick={() => this.props.toWorkDetailPage(this.props.match.params, null, item.work_id)} onClick={() => this.props.toWorkDetailPage(this.props.match.params, null, item.work_id)}
> >
{item.user_name} {item.user_name}
</a> : <span className={`${index == 0 ? '' : 'ml10'}`} >{item.user_name}</span> </a> : <span className={`${index == 0 ? '' : 'ml10'}`} >{item.user_name}</span>}
{item.is_leader && <LeaderIcon small={true} ></LeaderIcon>} {item.is_leader && <LeaderIcon small={true} ></LeaderIcon>}
</React.Fragment> </React.Fragment>
})} })}

Loading…
Cancel
Save