|
|
|
@ -296,17 +296,21 @@ class UseBank extends Component{
|
|
|
|
|
<span className="fl with16 color-grey-6 task-hide pl10">{item.username}</span>
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.props.object_type && this.props.object_type === "" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue font-14 pl5"
|
|
|
|
|
this.props.object_type && this.props.object_type === "normal" ?
|
|
|
|
|
<a style={{textAlign: "center"}} key={item.id} className="color-blue font-14 pl5"
|
|
|
|
|
href={`/banks/normal/${item.id}/edit/personal?tab=0`}
|
|
|
|
|
>编辑</a>
|
|
|
|
|
: this.props.object_type && this.props.object_type === "" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue font-14 pl5"
|
|
|
|
|
: this.props.object_type && this.props.object_type === "group" ?
|
|
|
|
|
<a style={{textAlign: "center"}} key={item.id} className="color-blue font-14 pl5"
|
|
|
|
|
href={`/banks/group/${item.id}/edit/publicly?tab=0`}
|
|
|
|
|
>编辑</a>
|
|
|
|
|
: this.props.object_type && this.props.object_type === "" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue font-14 pl5"
|
|
|
|
|
: this.props.object_type && this.props.object_type === "exercise" ?
|
|
|
|
|
<a style={{textAlign: "center"}} key={item.id} className="color-blue font-14 pl5"
|
|
|
|
|
href={`/banks/exercise/${item.id}/edit/personal`}
|
|
|
|
|
>编辑</a>
|
|
|
|
|
: this.props.object_type && this.props.object_type === "" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue font-14 pl5"
|
|
|
|
|
: this.props.object_type && this.props.object_type === "poll" ?
|
|
|
|
|
<a style={{textAlign: "center"}} key={item.id} className="color-blue font-14 pl5"
|
|
|
|
|
href={`/banks/poll/${item.id}/edit/personal`}
|
|
|
|
|
>编辑</a>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|