|
|
|
@ -1055,7 +1055,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":publish_time_type===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
|
|
|
|
|
|
<ConditionToolTip condition={moment(this.state.init_publish_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
<ConditionToolTip condition={moment(this.state.init_publish_time) < this.fetchMoment} title={this.props.isAdmin()?"时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
<DatePicker
|
|
|
|
@ -1087,7 +1087,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
<span>截止时间:</span>
|
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":end_time_type===true?"截止时间已过,则不能修改":""}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
|
<ConditionToolTip condition={moment(this.state.init_end_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
<ConditionToolTip condition={moment(this.state.init_end_time) < this.fetchMoment} title={this.props.isAdmin()?"时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
@ -1210,8 +1210,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
{/* 开启时间 */}
|
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
|
<span>开启时间:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
<ConditionToolTip condition={moment(init_evaluation_start) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
|
<ConditionToolTip condition={moment(init_evaluation_start) < this.fetchMoment} title={this.props.isAdmin()?"时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
@ -1244,7 +1244,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
|
|
|
|
|
|
<ConditionToolTip condition={moment(init_evaluation_end) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
<ConditionToolTip condition={moment(init_evaluation_end) < this.fetchMoment} title={this.props.isAdmin()?"时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
@ -1283,7 +1283,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
{/* 匿评数量 */}
|
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
|
<span>匿评数量:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<Input type="number" className="mr10" style={{width:"100px" }} value={evaluation_num} onInput={this.evaluation_num_change}
|
|
|
|
|
disabled={anonymous_comment && !noAuth? false : true} min={0} max={100}
|
|
|
|
@ -1296,7 +1296,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
|
<span>缺评扣分:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<Input type="number" className="mr10" style={{width:"100px" }} value={absence_penalty} onInput={this.absence_penalty_change}
|
|
|
|
|
disabled={ anonymous_comment && !noAuth ? false : true} min={0} max={100}
|
|
|
|
@ -1343,7 +1343,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
<span>结束时间:</span>
|
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
|
<ConditionToolTip condition={moment(init_appeal_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
|
<ConditionToolTip condition={moment(init_appeal_time) < this.fetchMoment} title={this.props.isAdmin()?"时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
@ -1371,7 +1371,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
{/* 违规匿评扣分: */}
|
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
|
<span>违规匿评扣分:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<Input type="number" className="mr10" style={{width:"100px" }} value={appeal_penalty} onInput={this.appeal_penalty_change}
|
|
|
|
|
disabled={ anonymous_appeal && !noAuth ? false : true} min={0} max={100}
|
|
|
|
@ -1393,7 +1393,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"mb30 ml60"}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
|
<RadioGroup onChange={this.ta_mode_change} value={ta_mode}>
|
|
|
|
|
<Radio style={radioStyle} value={1} disabled={noAuth}>
|
|
|
|
|
普通模式<span className={"font-14 color-grey-9 ml10"}>(选中,则取各助教最终评分的平均分)</span>
|
|
|
|
|