|
|
@ -1149,7 +1149,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
<div className={" mb10 ml30"}>
|
|
|
|
<div className={" mb10 ml30"}>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
<ConditionToolTip condition={moment(init_late_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
{/* <ConditionToolTip condition={moment(init_late_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
|
|
|
</ConditionToolTip> */}
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<DatePicker
|
|
|
|
<DatePicker
|
|
|
|
showToday={false}
|
|
|
|
showToday={false}
|
|
|
@ -1163,7 +1164,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
value={!late_time ? undefined :moment(late_time, dateFormat)}
|
|
|
|
value={!late_time ? undefined :moment(late_time, dateFormat)}
|
|
|
|
onChange={this.onChangeTimelatetime}
|
|
|
|
onChange={this.onChangeTimelatetime}
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
disabled={!allow_late || noAuth || moment(init_late_time) < moment()}
|
|
|
|
// || moment(init_late_time) < moment()
|
|
|
|
|
|
|
|
disabled={!allow_late || noAuth }
|
|
|
|
// disabledDate={ (late_time) =>
|
|
|
|
// disabledDate={ (late_time) =>
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// const end_time = this.state.end_time
|
|
|
|
// const end_time = this.state.end_time
|
|
|
@ -1172,7 +1174,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</ConditionToolTip>
|
|
|
|
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
{<div className={"latetimetype color-red "}>{latetimetype}</div>}
|
|
|
|
{<div className={"latetimetype color-red "}>{latetimetype}</div>}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|