|
|
@ -146,7 +146,7 @@ class UseBank extends Component{
|
|
|
|
let url = `/question_banks/save_banks.json`
|
|
|
|
let url = `/question_banks/save_banks.json`
|
|
|
|
this.setState({ loading: true })
|
|
|
|
this.setState({ loading: true })
|
|
|
|
axios.post(url
|
|
|
|
axios.post(url
|
|
|
|
,{
|
|
|
|
, {
|
|
|
|
"object_type": object_type,
|
|
|
|
"object_type": object_type,
|
|
|
|
"bank_id": checkBoxValues,
|
|
|
|
"bank_id": checkBoxValues,
|
|
|
|
"course_id": courseId
|
|
|
|
"course_id": courseId
|
|
|
@ -267,14 +267,14 @@ class UseBank extends Component{
|
|
|
|
></Search>
|
|
|
|
></Search>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
object_list && object_list.length == 0 && page == 1 ? "" : nav_my==='myself'?
|
|
|
|
object_list && object_list.length == 0 && page == 1 ? "" : nav_my === 'myself' ?
|
|
|
|
<p className="color-grey-6 mb25 edu-txt-center">选用对象:你在课堂{engNameMap[object_type]}列表中已<span className="color-orange-tip">“加入题库”</span>的{engNameMap[object_type]}</p>
|
|
|
|
<p className="color-grey-6 mb25 edu-txt-center">选用对象:你在课堂{engNameMap[object_type]}列表中已<span className="color-orange-tip">“加入题库”</span>的{engNameMap[object_type]}</p>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<p className="color-grey-6 mb25 edu-txt-center">选用对象:题库中已设置成公共属性的所有{engNameMap[object_type]}</p>
|
|
|
|
<p className="color-grey-6 mb25 edu-txt-center">选用对象:题库中已设置成公共属性的所有{engNameMap[object_type]}</p>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
nav_my !='myself' && is_teacher == false ?
|
|
|
|
nav_my != 'myself' && is_teacher == false ?
|
|
|
|
<div style={{"height":"230px"}} className="d_middle edu-txt-center">
|
|
|
|
<div style={{"height":"230px"}} className="d_middle edu-txt-center">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<p className="font-16 mb20 color-grey-3">通过职业认证的教师才能访问公共题库</p>
|
|
|
|
<p className="font-16 mb20 color-grey-3">通过职业认证的教师才能访问公共题库</p>
|
|
|
@ -313,7 +313,7 @@ class UseBank extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
>{item.course_list_name}</span>
|
|
|
|
>{item.course_list_name}</span>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
nav_my==='public' &&
|
|
|
|
nav_my === 'public' &&
|
|
|
|
<span className="fl with16 color-grey-6 task-hide pl10">{item.username}</span>
|
|
|
|
<span className="fl with16 color-grey-6 task-hide pl10">{item.username}</span>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{nav_my === "myself" ?
|
|
|
|
{nav_my === "myself" ?
|
|
|
@ -353,7 +353,7 @@ class UseBank extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<p style={{height:"20px",lineHeight:"20px;", marginTop: '4px'}}>
|
|
|
|
<p style={{height: "20px", lineHeight: "20px;", marginTop: '4px'}}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
isChecked !="" ? <span className="color-red">{isChecked}</span>:""
|
|
|
|
isChecked !="" ? <span className="color-red">{isChecked}</span>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|