调整 24692 题库选用新增需求

competitions
杨树林 5 years ago
parent d768f8d7c7
commit 5a00620d71

@ -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>
: ""
}

Loading…
Cancel
Save