|
|
|
@ -628,7 +628,7 @@ class Goldsubject extends Component {
|
|
|
|
|
this.applyForAddOrgForm.setVisible(true)
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
let {datatime,datatimetwo,school,bordebool,searchlistscholl,Whethertocreateanewclassroom,addonAfteronelenone,addonAfteronelentwo} = this.state;
|
|
|
|
|
let {datatime,datatimetwo,school,bordebool,searchlistscholl,Whethertocreateanewclassroom,addonAfteronelenone,addonAfteronelentwo,name} = this.state;
|
|
|
|
|
const {getFieldDecorator} = this.props.form;
|
|
|
|
|
const propsWithoutForm = Object.assign({}, this.props)
|
|
|
|
|
delete propsWithoutForm.form
|
|
|
|
@ -664,11 +664,11 @@ class Goldsubject extends Component {
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
.color-green-light {
|
|
|
|
|
color: #45E660!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
.color-green-light {
|
|
|
|
|
color: #45E660!important;
|
|
|
|
|
}
|
|
|
|
|
.line15{line-height: 15px;}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<ApplyForAddOrgModal ref="applyForAddOrgModal" wrappedComponentRef={(form) => this.applyForAddOrgForm = form} schoolName={school}
|
|
|
|
@ -693,47 +693,50 @@ class Goldsubject extends Component {
|
|
|
|
|
{/* <Breadcrumb.Item>{Whethertocreateanewclassroom===true?"新建课堂":"编辑课堂"}</Breadcrumb.Item>*/}
|
|
|
|
|
{/*</Breadcrumb>*/}
|
|
|
|
|
<p className="clearfix mb20 mt10">
|
|
|
|
|
<a className="btn colorgrey fl hovercolorblue " href="/courses">翻转课堂</a>
|
|
|
|
|
<a className="btn colorgrey fl hovercolorblue " href={Whethertocreateanewclassroom===true?"/courses":this.props.current_user&&this.props.current_user.first_category_url}
|
|
|
|
|
>{Whethertocreateanewclassroom===true?"翻转课堂":name}</a>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn className="fl">{Whethertocreateanewclassroom===true?"新建课堂":"编辑课堂"}</WordsBtn>
|
|
|
|
|
<WordsBtn className="fl cdefault">{Whethertocreateanewclassroom===true?"新建课堂":"编辑课堂"}</WordsBtn>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<div style={{width: '100%', height: '70px'}}>
|
|
|
|
|
<p className=" fl color-black mt18 summaryname">{Whethertocreateanewclassroom===true ? "新建课堂" : "编辑课堂"}</p>
|
|
|
|
|
<a onClick={this.goback} className="color-grey-6 fr font-16 ml30 mt18 mr20"></a>
|
|
|
|
|
<div style={{width: '100%', height: '50px'}}>
|
|
|
|
|
<p className=" fl color-black summaryname">{Whethertocreateanewclassroom===true ? "新建课堂" : "编辑课堂"}</p>
|
|
|
|
|
<a onClick={this.goback} className="color-grey-6 fr font-16 ml30 line15 mr20"></a>
|
|
|
|
|
</div>
|
|
|
|
|
<style>
|
|
|
|
|
{`
|
|
|
|
|
.ant-col-12{
|
|
|
|
|
width:800px;
|
|
|
|
|
}
|
|
|
|
|
`}
|
|
|
|
|
.ant-col-12{
|
|
|
|
|
width:800px;
|
|
|
|
|
}
|
|
|
|
|
`}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<Form onSubmit={this.handleSubmit} className={"edu-back-white newcourses"}>
|
|
|
|
|
{/*内容*/}
|
|
|
|
|
<style>
|
|
|
|
|
{`
|
|
|
|
|
.ant-select-dropdown{
|
|
|
|
|
// top: 221px !important;
|
|
|
|
|
// left: 115px !important;
|
|
|
|
|
height: 160px;
|
|
|
|
|
}
|
|
|
|
|
.ant-select-dropdown-menu{
|
|
|
|
|
height: 160px;
|
|
|
|
|
}
|
|
|
|
|
.construction .ant-input{
|
|
|
|
|
margin-left: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.construction {
|
|
|
|
|
margin-left: 11px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.construction .ant-select-selection__placeholder, .ant-select-search__field__placeholder {
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
}
|
|
|
|
|
`}
|
|
|
|
|
.ant-select-dropdown{
|
|
|
|
|
// top: 221px !important;
|
|
|
|
|
// left: 115px !important;
|
|
|
|
|
height: 160px;
|
|
|
|
|
}
|
|
|
|
|
.ant-select-dropdown-menu{
|
|
|
|
|
height: 160px;
|
|
|
|
|
}
|
|
|
|
|
.construction .ant-input{
|
|
|
|
|
margin-left: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.construction {
|
|
|
|
|
margin-left: 11px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.construction .ant-select-selection__placeholder, .ant-select-search__field__placeholder {
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line15{line-height: 15px;}
|
|
|
|
|
`}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
{/*<div className="stud-class-set bor-bottom-greyE padding10200 ">*/}
|
|
|
|
@ -772,30 +775,30 @@ class Goldsubject extends Component {
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.ml19{
|
|
|
|
|
margin-left:19px;
|
|
|
|
|
} }
|
|
|
|
|
`
|
|
|
|
|
.ml19{
|
|
|
|
|
margin-left:19px;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE padding1020 ">
|
|
|
|
|
<style>{
|
|
|
|
|
`
|
|
|
|
|
.yslzxueshis .ant-input{
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
width: 655px !important;
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshisy span .ant-input-group-addon{
|
|
|
|
|
width: 65px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshisy .ant-input-group-addon{
|
|
|
|
|
width: 65px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
.yslzxueshis .ant-input{
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
width: 655px !important;
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshisy span .ant-input-group-addon{
|
|
|
|
|
width: 65px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshisy .ant-input-group-addon{
|
|
|
|
|
width: 65px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
}</style>
|
|
|
|
|
<style>
|
|
|
|
|
{bordebool===false?
|
|
|
|
@ -845,27 +848,27 @@ class Goldsubject extends Component {
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE padding1020 coursenavbox coursenavboxtow yslinputcourput">
|
|
|
|
|
<style>
|
|
|
|
|
{`
|
|
|
|
|
.ant-form-item{
|
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
`}
|
|
|
|
|
.ant-form-item{
|
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
`}
|
|
|
|
|
</style>
|
|
|
|
|
<style>{
|
|
|
|
|
`
|
|
|
|
|
.yslzxueshi .ant-input{
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
width: 236px !important
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshi .ant-input-group {
|
|
|
|
|
width: 280px !important;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshi .ant-input-group-addon{
|
|
|
|
|
width: 44px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
.yslzxueshi .ant-input{
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
width: 236px !important
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshi .ant-input-group {
|
|
|
|
|
width: 280px !important;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.yslzxueshi .ant-input-group-addon{
|
|
|
|
|
width: 44px !important;
|
|
|
|
|
background-color: #fafafa!important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}</style>
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="总学时"
|
|
|
|
@ -911,19 +914,19 @@ class Goldsubject extends Component {
|
|
|
|
|
rules: [{type: 'object',required: true, message: "开始时间不能为空"}],
|
|
|
|
|
})(
|
|
|
|
|
<span className="fl mt5">
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
placeholder="请选择开始时间"
|
|
|
|
|
// showTime={{format: 'HH:mm'}}
|
|
|
|
|
locale={locale}
|
|
|
|
|
format={dateFormat}
|
|
|
|
|
width={"210px"}
|
|
|
|
|
value={datatimetwo === undefined ? "" :datatimetwo === null ? "" : moment(datatimetwo, dateFormat)}
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
onChange={this.onChangeTimepublishstwo}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
placeholder="请选择开始时间"
|
|
|
|
|
// showTime={{format: 'HH:mm'}}
|
|
|
|
|
locale={locale}
|
|
|
|
|
format={dateFormat}
|
|
|
|
|
width={"210px"}
|
|
|
|
|
value={datatimetwo === undefined ? "" :datatimetwo === null ? "" : moment(datatimetwo, dateFormat)}
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
onChange={this.onChangeTimepublishstwo}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
@ -934,19 +937,19 @@ class Goldsubject extends Component {
|
|
|
|
|
required: true, message: "结束时间不能为空"}],
|
|
|
|
|
})(
|
|
|
|
|
<span className="fl mt5">
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
placeholder="请选择结束时间"
|
|
|
|
|
// showTime={{format: 'HH:mm'}}
|
|
|
|
|
locale={locale}
|
|
|
|
|
format={dateFormat}
|
|
|
|
|
width={"210px"}
|
|
|
|
|
value={datatime === undefined ? "" :datatime === null ? "" : moment(datatime, dateFormat)}
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
onChange={this.onChangeTimepublishs}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
placeholder="请选择结束时间"
|
|
|
|
|
// showTime={{format: 'HH:mm'}}
|
|
|
|
|
locale={locale}
|
|
|
|
|
format={dateFormat}
|
|
|
|
|
width={"210px"}
|
|
|
|
|
value={datatime === undefined ? "" :datatime === null ? "" : moment(datatime, dateFormat)}
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
onChange={this.onChangeTimepublishs}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</div>
|
|
|
|
|