|
|
|
@ -2147,7 +2147,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE edu-back-white">
|
|
|
|
|
<div className=" pl20">
|
|
|
|
|
<p className=" clearfix " style={{height:"41px"}}>
|
|
|
|
|
<span className="font-16 fl "style={{"color":"#05101A"}}>发布设置 <span className="ml15 color-grey-9" style={{"font-size":"14px","text-align":"left"}}></span></span>
|
|
|
|
|
<span className="font-16 fl "style={{color:"#05101A"}}>发布设置 <span className="ml15 color-grey-9" style={{fontSize:"14px",textAlign:"left"}}></span></span>
|
|
|
|
|
{
|
|
|
|
|
!flagPageEdit && this.props.isAdmin() === true ?
|
|
|
|
|
<a className="fr white-btn edu-blueline-btn mr10 mr20 lineh-24" onClick={this.editSetting}>
|
|
|
|
@ -2161,10 +2161,10 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
{
|
|
|
|
|
group_settings&&group_settings.length>0?
|
|
|
|
|
<div className=" clearfix edu-back-white poll_list mt10 mb20">
|
|
|
|
|
<Checkbox className="ml15 font-16" style={{"color":"#666666"}} onChange={this.onChange}
|
|
|
|
|
<Checkbox className="ml15 font-16" style={{color:"#666666"}} onChange={this.onChange}
|
|
|
|
|
checked={this.state.unifiedsetting}
|
|
|
|
|
defaultChecked={this.state.boolUnite} disabled={!flagPageEdit}>统一设置<span
|
|
|
|
|
className={"font-14 ml15 color-grey-c"} style={{"text-align":"left"}}>(选中则所有分班使用相同的发布设置,否则各个分班单独设置)</span></Checkbox>
|
|
|
|
|
className={"font-14 ml15 color-grey-c"} style={{textAlign:"left"}}>(选中则所有分班使用相同的发布设置,否则各个分班单独设置)</span></Checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
:<div></div>
|
|
|
|
|
}
|
|
|
|
@ -2180,7 +2180,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
unifiedsetting === undefined ? "" : unifiedsetting=== true ?
|
|
|
|
|
<div>
|
|
|
|
|
<div className="clearfix mb5 ml15">
|
|
|
|
|
<span className="font-16 fl mt3" style={{"color":"#999999"}}>发布时间:</span>
|
|
|
|
|
<span className="font-16 fl mt3" style={{color:"#999999"}}>发布时间:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin() ? "" : !flagPageEditstwo === true && publish_timebool === true?"发布时间已过,则不能修改": ""}>
|
|
|
|
|
<div className="fl yskspickers">
|
|
|
|
|
<DatePicker
|
|
|
|
@ -2204,7 +2204,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
<span className="ml20 fl mt5 color-grey-c" style={{"text-align":"left","font-size":"14px"}}>(学生收到作业的时间)</span>
|
|
|
|
|
<span className="ml20 fl mt5 color-grey-c" style={{textAlign:"left",fontSize:"14px"}}>(学生收到作业的时间)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<p className="color-red lineh-25 clearfix" style={{height:"25px"}}>
|
|
|
|
|
{
|
|
|
|
@ -2213,7 +2213,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
<div className="clearfix ml15 mb5">
|
|
|
|
|
<span className=" fl mt3 font-16" style={{"color":"#999999"}}>截止时间:</span>
|
|
|
|
|
<span className=" fl mt3 font-16" style={{color:"#999999"}}>截止时间:</span>
|
|
|
|
|
<Tooltip placement="bottom" title={this.props.isSuperAdmin() ? "" : !flagPageEditsthrees === true&&end_timebool===true?"截止时间已过,则不能修改": ""}>
|
|
|
|
|
<div className="fl yskspickers">
|
|
|
|
|
<DatePicker
|
|
|
|
@ -2239,7 +2239,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
<span className=" ml20 fl mt5 color-grey-c" style={{"text-align":"left","font-size":"14px"}}>(学生“按时”提交作品的时间截点)</span>
|
|
|
|
|
<span className=" ml20 fl mt5 color-grey-c" style={{textAlign:"left",fontSize:"14px"}}>(学生“按时”提交作品的时间截点)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<p className="color-red lineh-25 clearfix" style={{height:"25px"}}>
|
|
|
|
|
{
|
|
|
|
@ -2267,16 +2267,16 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
{/*补交设置*/}
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE edu-back-white">
|
|
|
|
|
<div className=" clearfix edu-back-white poll_list mt10">
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 mt10 "} style={{"color":"#05101A"}}>补交设置</div>
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 mt10 "} style={{color:"#05101A"}}>补交设置</div>
|
|
|
|
|
</div>
|
|
|
|
|
{/*value={this.state.allowreplenishment}*/}
|
|
|
|
|
<div className="ml40 mt10"
|
|
|
|
|
>
|
|
|
|
|
<Checkbox style={radioStyle} value={"允许补交"} checked={this.state.allowreplenishment} onChange={this.onChanges} disabled={!flagPageEdit}>开启补交 <span
|
|
|
|
|
className={"font-14 ml10 color-grey-c"} style={{"text-align":"left","font-size":"14px"}} >(选中,则允许学生延时提交作品)</span></Checkbox>
|
|
|
|
|
className={"font-14 ml10 color-grey-c"} style={{textAlign:"left",fontSize:"14px"}} >(选中,则允许学生延时提交作品)</span></Checkbox>
|
|
|
|
|
|
|
|
|
|
<div className={"h21 mb30 mt20"}>
|
|
|
|
|
<span style={{"width": "100px","color":"#999999"}}>迟交扣分:</span>
|
|
|
|
|
<span style={{"width": "100px",color:"#999999"}}>迟交扣分:</span>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`.ant-input-number{
|
|
|
|
@ -2290,10 +2290,10 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
</style>
|
|
|
|
|
<InputNumber disabled={!whethertopay} min={0} max={1000} className="mr10 h40 color-grey-9"
|
|
|
|
|
onChange={this.changeTopicName}
|
|
|
|
|
style={{"color":"#999999","height": "40px"}}
|
|
|
|
|
style={{color:"#999999","height": "40px"}}
|
|
|
|
|
value={this.state.latededuction}/>
|
|
|
|
|
<span className="ml10 color-grey-9" >分</span>
|
|
|
|
|
<span className="ml15 color-grey-c" style={{"text-align":"left","font-size":"14px"}}>(延时提交作品时,学生成绩将被扣减的分值)</span>
|
|
|
|
|
<span className="ml15 color-grey-c" style={{textAlign:"left",fontSize:"14px"}}>(延时提交作品时,学生成绩将被扣减的分值)</span>
|
|
|
|
|
{/*{latepenaltytype===true?<div className={"color-red ml40"}></div>:""}*/}
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
@ -2311,7 +2311,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
<div className={"h20 mb20 yskspickerss"}>
|
|
|
|
|
<span style={{"width": "100px","color":"#999999"}}>结束时间:</span>
|
|
|
|
|
<span style={{"width": "100px",color:"#999999"}}>结束时间:</span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
id={"late_timeid"}
|
|
|
|
@ -2330,7 +2330,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
className={handclass}
|
|
|
|
|
/>
|
|
|
|
|
<span className="ml15 color-grey-c" style={{"text-align":"left","font-size":"14px"}}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
|
<span className="ml15 color-grey-c" style={{textAlign:"left",fontSize:"14px"}}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
|
{/*{latetimetype===true?<div className={"color-red "}>结束时间不能小于截止时间</div>:""}*/}
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
@ -2354,18 +2354,18 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
{/*评分设置*/}
|
|
|
|
|
<div className="stud-class-set edu-back-white">
|
|
|
|
|
<div className=" clearfix edu-back-white poll_list mt20">
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 "} style={{"color":"#05101A"}}>评分设置</div>
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 "} style={{color:"#05101A"}}>评分设置</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="yslflexhomes">
|
|
|
|
|
<div style={{width:"700px"}}>
|
|
|
|
|
<div className="ml20 mt10 mt20">
|
|
|
|
|
<span className="c_grey font-13" style={{"color":"#333333"}}> 关卡任务的选择和分值设置 </span><span className="ml15 font-14 color-grey-c" style={{"text-align":"left"}}>(成绩 = 效率分+ 关卡任务总分)</span>
|
|
|
|
|
<span className="c_grey font-13" style={{color:"#333333"}}> 关卡任务的选择和分值设置 </span><span className="ml15 font-14 color-grey-c" style={{textAlign:"left"}}>(成绩 = 效率分+ 关卡任务总分)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className=" clearfix edu-back-white poll_list mt10" style={{marginLeft:" 40px"}}>
|
|
|
|
|
<Checkbox disabled={!flagPageEdit} className=" font-13 mt10"
|
|
|
|
|
onChange={this.onChangeeffectiveness}
|
|
|
|
|
checked={this.state.work_efficiencys} style={{"color":"#666666"}}>效率分<span
|
|
|
|
|
className={"font-14 color-grey-c font-14 ml15"} style={{"text-align":"left"}}>(选中,则学生最终成绩包含效率分)</span>
|
|
|
|
|
checked={this.state.work_efficiencys} style={{color:"#666666"}}>效率分<span
|
|
|
|
|
className={"font-14 color-grey-c font-14 ml15"} style={{textAlign:"left"}}>(选中,则学生最终成绩包含效率分)</span>
|
|
|
|
|
</Checkbox>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
@ -2373,13 +2373,13 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div className=" mt20" style={{marginLeft:"75px"}}>
|
|
|
|
|
<span className="c_grey mr10" style={{"color":"#999999"}}>分值</span>
|
|
|
|
|
<span className="c_grey mr10" style={{color:"#999999"}}>分值</span>
|
|
|
|
|
<InputNumber min={0} disabled={!this.state.completionefficiencyscore} max={100} className="ml10 h40 mr10 color-grey-9"
|
|
|
|
|
style={{width: "100px","color":"#999999"}}
|
|
|
|
|
style={{width: "100px",color:"#999999"}}
|
|
|
|
|
onChange={this.changeTopicNametwo}
|
|
|
|
|
value={this.state.latedeductiontwo}/>
|
|
|
|
|
<span className="ml10" style={{"color":"#999999"}}>分</span>
|
|
|
|
|
<span className={"font-14 color-grey-9 "} style={{"color":"#999999"}}></span>
|
|
|
|
|
<span className="ml10" style={{color:"#999999"}}>分</span>
|
|
|
|
|
<span className={"font-14 color-grey-9 "} style={{color:"#999999"}}></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
@ -2397,25 +2397,25 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
<div className="yslflexhome">
|
|
|
|
|
<div >
|
|
|
|
|
<div className="ml20 mt40 mt20" >
|
|
|
|
|
<span className="c_grey font-13" style={{"color":"#333333"}}> 关卡任务分值设置规则 </span> <span> <RadioGroup className="ml50" onChange={this.onChangeslevelproportion} value={this.state.proportion}>
|
|
|
|
|
<span className="c_grey font-13" style={{color:"#333333"}}> 关卡任务分值设置规则 </span> <span> <RadioGroup className="ml50" onChange={this.onChangeslevelproportion} value={this.state.proportion}>
|
|
|
|
|
<Radio style={{ display: 'block',
|
|
|
|
|
height: '30px',
|
|
|
|
|
lineHeight: '30px',
|
|
|
|
|
color:"#666666",
|
|
|
|
|
}} disabled={!flagPageEdit} className="c_grey mt20 "
|
|
|
|
|
value={"均分比例"} style={{"color":"#666666"}}>均分比例</Radio>
|
|
|
|
|
value={"均分比例"} style={{color:"#666666"}}>均分比例</Radio>
|
|
|
|
|
<Radio style={{ display: 'block',
|
|
|
|
|
height: '30px',
|
|
|
|
|
lineHeight: '30px',
|
|
|
|
|
color:"#666666",
|
|
|
|
|
}} disabled={!flagPageEdit} className="c_grey ml30"
|
|
|
|
|
value={"经验值比例"} style={{"color":"#666666"}}>难易度</Radio>
|
|
|
|
|
value={"经验值比例"} style={{color:"#666666"}}>难易度</Radio>
|
|
|
|
|
<Radio style={{ display: 'block',
|
|
|
|
|
height: '30px',
|
|
|
|
|
lineHeight: '30px',
|
|
|
|
|
color:"#666666",
|
|
|
|
|
}} disabled={!flagPageEdit} className="c_grey mt20 ml30"
|
|
|
|
|
value={"自定义分值"} style={{"color":"#666666"}}>自定义分值
|
|
|
|
|
value={"自定义分值"} style={{color:"#666666"}}>自定义分值
|
|
|
|
|
{testscripttiptype===true?
|
|
|
|
|
<div className="invite-tipysls clearfix " id="test_script_tip" style={{left: '158px',width: '322px',zIndex: '10'}}>
|
|
|
|
|
<span className="right-black-trangles"></span>
|
|
|
|
@ -2442,24 +2442,24 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
<a onClick={()=>this.testscripttip(0)}><img style={{marginBottom:"3px",marginLeft:"20px"}} src={getImageUrl("images/educoder/problem.png") }/></a>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<p className="ml20 mt15 c_grey font-13 " style={{"color":"#666666"}}> 关卡名称<span
|
|
|
|
|
className="color-grey-c font-12 ml10">(需要学生完成的任务请选中,暂不支持跳关选择)</span></p>
|
|
|
|
|
<p className="ml20 mt15 c_grey font-13 " style={{color:"#666666"}}> 关卡名称<span
|
|
|
|
|
className="color-grey-c font-14 ml10">(需要学生完成的任务请选中,暂不支持跳关选择)</span></p>
|
|
|
|
|
<div className="ml40 mt15" >
|
|
|
|
|
{this.state.challenge_settings === undefined ? "" : this.state.challenge_settings.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<li>
|
|
|
|
|
<Checkbox className="ml110 mt20 "
|
|
|
|
|
disabled={!flagPageEditsbox}
|
|
|
|
|
style={{"width": "480px","color":"#05101A"}}
|
|
|
|
|
style={{"width": "480px",color:"#05101A"}}
|
|
|
|
|
checked={object.checked}
|
|
|
|
|
onChange={(value) => this.onChangedatasheet(value, index)}
|
|
|
|
|
>{object.challenge_name}</Checkbox>
|
|
|
|
|
<InputNumber disabled={!flagPageEdits} className=" c_grey" min={0} max={100}
|
|
|
|
|
style={{"width": "100px", "margin-left": "30px","color":"#666666"}}
|
|
|
|
|
style={{"width": "100px", "margin-left": "30px",color:"#666666"}}
|
|
|
|
|
onChange={(value) => this.hangeTopicNametwodatasheet(value, index)}
|
|
|
|
|
value={object.challenge_score}
|
|
|
|
|
/>
|
|
|
|
|
<span className="ml10" style={{"color":"#999999"}}>分</span>
|
|
|
|
|
<span className="ml10" style={{color:"#999999"}}>分</span>
|
|
|
|
|
</li>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
@ -2468,12 +2468,12 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<p className="ml20 mt40 c_grey font-13 " style={{"color":"#333333"}}> 查看参考答案才通过评测的关卡扣分规则<span
|
|
|
|
|
<p className="ml20 mt40 c_grey font-13 " style={{color:"#333333"}}> 查看参考答案才通过评测的关卡扣分规则<span
|
|
|
|
|
className=" font-14 color-grey-c ml15" style={{textAlign:"left",marginLeft:"40px"}}>(学生通过评测后再查看参考答案,不对成绩产生影响)</span></p>
|
|
|
|
|
|
|
|
|
|
<RadioGroup className="ml40 mt20" onChange={this.onChangeslevel} value={this.state.level}>
|
|
|
|
|
<Radio style={radioStyle} disabled={!flagPageEdit} className="c_grey" value={"扣分"}>按查看答案级别扣分<span
|
|
|
|
|
className="color-grey-c font-14 ml15" style={{"text-align":"left"}}>(根据学员选择查看的实训答案级别(解题思路、完整答案),扣减相应的分值)</span></Radio>
|
|
|
|
|
className="color-grey-c font-14 ml15" style={{textAlign:"left"}}>(根据学员选择查看的实训答案级别(解题思路、完整答案),扣减相应的分值)</span></Radio>
|
|
|
|
|
<Radio style={radioStyle} disabled={!flagPageEdit} className="c_grey mt15"
|
|
|
|
|
value={"满分"}>不扣分 </Radio>
|
|
|
|
|
</RadioGroup>
|
|
|
|
@ -2481,12 +2481,12 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
{/*公开设置*/}
|
|
|
|
|
<div className="stud-class-set bor-top-greyE edu-back-white mt35 pb5 ">
|
|
|
|
|
<div className=" clearfix edu-back-white poll_list mt20">
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 "} style={{"color":"#05101A"}}>公开设置</div>
|
|
|
|
|
<div className={"font-16 color-dark fl pl20 "} style={{color:"#05101A"}}>公开设置</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className={"mb20 mt15"}>
|
|
|
|
|
<Checkbox disabled={!flagPageEdit} className="ml40" onChange={this.onChangepublicwork}
|
|
|
|
|
checked={this.state.publicwork} style={{"color":"#666666"}}>公开成绩</Checkbox>
|
|
|
|
|
<span className="font-14 color-grey-c font-14 " style={{"text-align":"left"}}>(选中,则在作业截止/补交结束时间之后,已提交作品的学生可以查看其它学生的成绩,否则只能查看自己的成绩)</span>
|
|
|
|
|
checked={this.state.publicwork} style={{color:"#666666"}}>公开成绩</Checkbox>
|
|
|
|
|
<span className="font-14 color-grey-c font-14 " style={{textAlign:"left"}}>(选中,则在作业截止/补交结束时间之后,已提交作品的学生可以查看其它学生的成绩,否则只能查看自己的成绩)</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|