|
|
|
@ -758,14 +758,14 @@ class Coursesleftnav extends Component{
|
|
|
|
|
{/*{item.type==="course_group"? :""}*/}
|
|
|
|
|
<div onClick={e=>this.Navmodalnames(e,3,"editname",item.id,item.name)}>重命名</div>
|
|
|
|
|
{/*online_learning*/}
|
|
|
|
|
{
|
|
|
|
|
this.props.isClassManagement()===true?
|
|
|
|
|
(
|
|
|
|
|
item.type==="online_learning"?
|
|
|
|
|
<div onClick={e=>this.Chapterediting(e,item.id,item.url)}>章节编辑</div>
|
|
|
|
|
:""
|
|
|
|
|
)
|
|
|
|
|
:""}
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/* this.props.isClassManagement()===true?*/}
|
|
|
|
|
{/* (*/}
|
|
|
|
|
{/* item.type==="online_learning"?*/}
|
|
|
|
|
{/* <div onClick={e=>this.Chapterediting(e,item.id,item.url)}>章节编辑</div>*/}
|
|
|
|
|
{/* :""*/}
|
|
|
|
|
{/* )*/}
|
|
|
|
|
{/* :""}*/}
|
|
|
|
|
<div onClick={e=>this.edithidden(e,item.id)}>隐藏</div>
|
|
|
|
|
<div onClick={e=>this.editSetup(e,item.id)}>置顶</div>
|
|
|
|
|
</div>)
|
|
|
|
@ -840,27 +840,27 @@ class Coursesleftnav extends Component{
|
|
|
|
|
>
|
|
|
|
|
</Modals>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
this.state.chapterupdate===true?
|
|
|
|
|
<div>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.ant-modal-body{
|
|
|
|
|
padding-left: 33px !important;
|
|
|
|
|
padding-right: 33px !important;
|
|
|
|
|
padding-top: 27px !important;
|
|
|
|
|
padding-bottom: 21px !important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<MyEduChapterupdate {...this.props} {...this.state} chapterupdate={this.state.chapterupdate} setchapterupdatefalse={this.setchapterupdatefalse}>
|
|
|
|
|
</MyEduChapterupdate>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/* this.state.chapterupdate===true?*/}
|
|
|
|
|
{/* <div>*/}
|
|
|
|
|
{/* <style>*/}
|
|
|
|
|
{/* {*/}
|
|
|
|
|
{/* `*/}
|
|
|
|
|
{/* .ant-modal-body{*/}
|
|
|
|
|
{/* padding-left: 33px !important;*/}
|
|
|
|
|
{/* padding-right: 33px !important;*/}
|
|
|
|
|
{/* padding-top: 27px !important;*/}
|
|
|
|
|
{/* padding-bottom: 21px !important;*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/* `*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/* </style>*/}
|
|
|
|
|
{/* <MyEduChapterupdate {...this.props} {...this.state} chapterupdate={this.state.chapterupdate} setchapterupdatefalse={this.setchapterupdatefalse}>*/}
|
|
|
|
|
{/* </MyEduChapterupdate>*/}
|
|
|
|
|
{/* </div>*/}
|
|
|
|
|
{/* :*/}
|
|
|
|
|
{/* ""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
Navmodalnametype===true?<style>
|
|
|
|
|