|
|
|
@ -1016,14 +1016,14 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
this.setState({
|
|
|
|
|
completionefficiencyscore: e.target.checked,
|
|
|
|
|
work_efficiencys:e.target.checked,
|
|
|
|
|
latedeductiontwo: 0,
|
|
|
|
|
latedeductiontwo: 20,
|
|
|
|
|
})
|
|
|
|
|
//均分比例
|
|
|
|
|
if(this.state.proportion==="均分比例"){
|
|
|
|
|
this.Equalproportion(0);
|
|
|
|
|
this.Equalproportion(20);
|
|
|
|
|
|
|
|
|
|
}else if(this.state.proportion==="经验值比例"){
|
|
|
|
|
this.Empiricalvalueratio(0);
|
|
|
|
|
this.Empiricalvalueratio(20);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1691,6 +1691,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
modalSave: this.cancelBox
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
var releasetime =true;
|
|
|
|
|
var deadline = true;
|
|
|
|
|
var endtime =true;
|
|
|
|
@ -1840,7 +1841,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
flagPageEditstwo:releasetime,
|
|
|
|
|
flagPageEditsthrees:deadline,
|
|
|
|
|
flagPageEditsfor:endtime,
|
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
|
completionefficiencyscore:true,
|
|
|
|
|
work_efficiencys:datas.data.work_efficiency,
|
|
|
|
|
unifiedsetting:datas.data.unified_setting,
|
|
|
|
|
latedeductiontwo:datas.data.eff_score,
|
|
|
|
@ -2080,7 +2081,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
// console.log(this.props.isAdmin())
|
|
|
|
|
// console.log(this.state.code_review===false)
|
|
|
|
|
// console.log("引入的分值");
|
|
|
|
|
console.log(this.state.work_efficiencys);
|
|
|
|
|
// console.log(this.state.work_efficiencys);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|