diff --git a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js index 5ae96d046..17481c71e 100644 --- a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js +++ b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js @@ -86,13 +86,13 @@ class Trainingjobsetting extends Component { latepenaltytype: false, unifiedsetting: true, allowreplenishment: undefined, - completionefficiencyscore: true, + completionefficiencyscore: false, whethertopay: false, proportion: undefined, level: undefined, ealuation: false, latededuction: undefined, - latedeductiontwo: "20", + latedeductiontwo: "0", database: false, datasheet: false, databasetwo: undefined, @@ -123,6 +123,7 @@ class Trainingjobsetting extends Component { end_timebool:false, late_timesbool:false, + work_efficiencys:false, } // console.log("获取到的值") // console.log("Trainingjobsetting") @@ -284,7 +285,7 @@ class Trainingjobsetting extends Component { allowreplenishment: result.data.allow_late, latededuction: result.data.late_penalty, level: result.data.answer_open_evaluation === true ? "满分" : "扣分", - completionefficiencyscore: result.data.work_efficiency, + work_efficiencys: result.data.work_efficiency, latedeductiontwo: result.data.eff_score, proportion: result.data.shixun_evaluation === 0 ? "均分比例" : result.data.shixun_evaluation === 1 ? "经验值比例" : result.data.shixun_evaluation === 2 ? "自定义分值" : "", publicwork: result.data.work_public, @@ -660,7 +661,7 @@ class Trainingjobsetting extends Component { flagPageEditsthrees:false, flagPageEditsfor:false, whethertopay:false, - completionefficiencyscore:true, + completionefficiencyscore:false, }) this.refs.targetElementTrainingjobsetting.scrollIntoView() @@ -1703,7 +1704,7 @@ class Trainingjobsetting extends Component { flagPageEditstwo:releasetime, flagPageEditsthrees:deadline, flagPageEditsfor:endtime, - completionefficiencyscore:true, + completionefficiencyscore:false, unifiedsetting:this.state.unifiedsetting, }) if(this.state.proportion === "自定义分值"){ @@ -1852,7 +1853,7 @@ class Trainingjobsetting extends Component { const dataformat = 'YYYY-MM-DD HH:mm'; - let {flagPageEdit,testscripttiptype,publish_timebool,end_timebool,late_timesbool,flagPageEdits,flagPageEditstwo,flagPageEditsbox,whethertopay,handclass,flagPageEditsthrees, flagPageEditsfor,rules,rulest,unifiedsetting,group_settings, course_group,unit_e_tip, borreds,borredss,unit_p_tip, end_time, late_time, score_open, publish_time, starttimetype, modalsType, modalsTopval, loadtype, modalSave, endtimetype, latetimetype, allowlate, latepenaltytype, jobsettingsdata, endOpen, mystyle, mystyles} = this.state; + let {flagPageEdit,testscripttiptype,publish_timebool,end_timebool,late_timesbool,work_efficiencys,flagPageEdits,flagPageEditstwo,flagPageEditsbox,whethertopay,handclass,flagPageEditsthrees, flagPageEditsfor,rules,rulest,unifiedsetting,group_settings, course_group,unit_e_tip, borreds,borredss,unit_p_tip, end_time, late_time, score_open, publish_time, starttimetype, modalsType, modalsTopval, loadtype, modalSave, endtimetype, latetimetype, allowlate, latepenaltytype, jobsettingsdata, endOpen, mystyle, mystyles} = this.state; console.log(publish_timebool); console.log(!flagPageEditstwo); const radioStyle = { @@ -1881,7 +1882,7 @@ class Trainingjobsetting extends Component { // console.log(this.props.isAdmin()) // console.log(this.state.code_review===false) console.log("引入的分值"); - console.log(this.state.completionefficiencyscore); + console.log(this.state.work_efficiencys); return (