Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into onigin/ysl_a

dev_cs
杨树林 6 years ago
commit 8d51fbb88e

@ -450,6 +450,7 @@ class NewWorkForm extends Component{
className="AboutInputForm groupSetting" className="AboutInputForm groupSetting"
> >
{getFieldDecorator('personNum', { {getFieldDecorator('personNum', {
validateTrigger: 'onNone',
rules: [{ rules: [{
// required: true, // required: true,
// message: '人数不能为空' // message: '人数不能为空'

@ -53,7 +53,7 @@ class ModalWrapper extends Component{
{this.props.checkBoxValuestype===true?<div className={"mt10 color-red"}> {this.props.checkBoxValuestype===true?<div className={"mt10 color-red"}>
请先选择课堂 请先选择课堂
</div>:""} </div>:""}
<div className="mt30 marginauto clearfix edu-txt-center"> <div className="mt20 marginauto clearfix edu-txt-center">
<a onClick={this.onCancel} className="pop_close task-btn mr30">{ cancelText || '取消' }</a> <a onClick={this.onCancel} className="pop_close task-btn mr30">{ cancelText || '取消' }</a>
<a onClick={this.onOk} className="task-btn task-btn-orange" id="submit_send_shixun">{ okText || "确定" }</a> <a onClick={this.onOk} className="task-btn task-btn-orange" id="submit_send_shixun">{ okText || "确定" }</a>
</div> </div>

@ -216,7 +216,9 @@ class Bullsubdirectory extends Component{
let{description,whethertoeditysl,addonAfter,eduintits,informs,isSpinysl} =this.state; let{description,whethertoeditysl,addonAfter,eduintits,informs,isSpinysl} =this.state;
let{myname,mydescription,id}=this.props; let{myname,mydescription,id}=this.props;
const {getFieldDecorator} = this.props.form; const {getFieldDecorator} = this.props.form;
console.log("Bullsubdirectory");
console.log(this.props.isAdmin());
console.log(this.props.yslbool);
return( return(
<React.Fragment > <React.Fragment >
<div > <div >
@ -239,10 +241,13 @@ class Bullsubdirectory extends Component{
<div> <div>
<span className="fr yslbianji" style={{marginRight:"17px"}}> <span className="fr yslbianji" style={{marginRight:"17px"}}>
{ {
this.props.isClassManagement() === true ? this.props.isAdmin() === true ?
(this.props.yslbool===false? (this.props.yslbool===false?
<Tooltip placement="bottom" title={<div>
编辑
</div>}>
<i className="iconfont icon-bianji1 newbianji1" onClick={()=>this.bianji(true)}></i> <i className="iconfont icon-bianji1 newbianji1" onClick={()=>this.bianji(true)}></i>
</Tooltip>
: :
"" ""
) )
@ -251,10 +256,13 @@ class Bullsubdirectory extends Component{
</span> </span>
<span className="fr yslbianji" style={{marginRight:"22px"}}> <span className="fr yslbianji" style={{marginRight:"22px"}}>
{ {
this.props.isClassManagement() === true ? this.props.isAdmin() === true ?
(this.props.yslbool===false? (this.props.yslbool===false?
<Tooltip placement="bottom" title={<div>
删除
</div>}>
<i className="iconfont icon-shanchu newbianji1" style={{ color: "#4CACFF"}} onClick={()=>this.setModeltrue(true)}></i> <i className="iconfont icon-shanchu newbianji1" style={{ color: "#4CACFF"}} onClick={()=>this.setModeltrue(true)}></i>
</Tooltip>
: :
"" ""
) )

@ -89,7 +89,7 @@ class GroupPackage extends Component {
</p> </p>
:datas&&datas.group_info&&datas.group_info.base_on_project===0? :datas&&datas.group_info&&datas.group_info.base_on_project===0?
<p> <p>
<span className="ysltextcolor66">基于项目实施</span> <span className="ysltextcolor66">基于项目</span>
<span className="ysltextcolor05">无需在平台创建项目任意小组成员均可以提交作品</span> <span className="ysltextcolor05">无需在平台创建项目任意小组成员均可以提交作品</span>
</p> </p>
:"" :""

@ -89,7 +89,7 @@ function CourseGroupChooser({ course_groups, isAdminOrCreator = true, item, inde
<p className="drop_down_btn"> <p className="drop_down_btn">
<a href="javascript:void(0)" className="color-grey-6" <a href="javascript:void(0)" className="color-grey-6"
onClick={() => trigger('groupAdd')} onClick={() => trigger('groupAdd')}
>添加分班...</a> >添加分班</a>
</p> </p>
</ul> </ul>
) )

@ -65,16 +65,22 @@ function CourseGroupChooserModal({ course_groups = [], isAdminOrCreator, item, i
className="courseGroupChooserModal" className="courseGroupChooserModal"
> >
<style>{` <style>{`
.courseGroupChooserModal .ant-modal-body{
padding:20px 30px;
}
.courseGroupChooserModal .description { .courseGroupChooserModal .description {
font-size: 16px; font-size: 16px;
text-align: center; text-align: center;
margin-bottom: 20px; margin-bottom: 20px;
} }
.courseGroupChooserModal .marginauto{
margin-top:10px!important;
}
.courseGroupChooserModal .drop_down_menu { .courseGroupChooserModal .drop_down_menu {
position: relative; position: relative;
top: auto; top: auto;
box-shadow: none; box-shadow: none;
padding-top: 12px; padding:0px;
} }
.courseGroupChooserModal .drop_down_menu .mainGroup{ .courseGroupChooserModal .drop_down_menu .mainGroup{
background: #f2f9ff; background: #f2f9ff;
@ -95,9 +101,15 @@ function CourseGroupChooserModal({ course_groups = [], isAdminOrCreator, item, i
padding: 0px; padding: 0px;
} }
.courseGroupChooserModal .drop_down_menu .drop_down_btn { .courseGroupChooserModal .drop_down_menu .drop_down_btn {
height: 26px;
line-height: 26px;
padding: 0px 20px; padding: 0px 20px;
margin: 0; margin: 0;
} }
.mainGroup .drop_down_menu .drop_down_btn{
height: 26px;
line-height: 26px;
}
`}</style> `}</style>
{/* <React.Fragment> {/* <React.Fragment>
<React.Fragment> */} <React.Fragment> */}

@ -227,10 +227,6 @@
left:0px; left:0px;
background: #4CACFF; background: #4CACFF;
} }
.square-Item{
height: 295px;
}
/* 题库相关 */ /* 题库相关 */
.breadcrumb{ .breadcrumb{
height: 18px; height: 18px;

Loading…
Cancel
Save