|
|
|
@ -1722,20 +1722,20 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
flagPageEditstwo:releasetime,
|
|
|
|
|
flagPageEditsthrees:deadline,
|
|
|
|
|
flagPageEditsfor:endtime,
|
|
|
|
|
completionefficiencyscore:true,
|
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
|
work_efficiencys:this.state.work_efficiencys,
|
|
|
|
|
unifiedsetting:this.state.unifiedsetting,
|
|
|
|
|
latedeductiontwo:20,
|
|
|
|
|
latedeductiontwo:0,
|
|
|
|
|
});
|
|
|
|
|
//均分比例
|
|
|
|
|
try {
|
|
|
|
|
if(this.state.proportion==="均分比例"){
|
|
|
|
|
this.Equalproportion(20);
|
|
|
|
|
|
|
|
|
|
}else if(this.state.proportion==="经验值比例"){
|
|
|
|
|
this.Empiricalvalueratio(20);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// if(this.state.proportion==="均分比例"){
|
|
|
|
|
// this.Equalproportion(20);
|
|
|
|
|
//
|
|
|
|
|
// }else if(this.state.proportion==="经验值比例"){
|
|
|
|
|
// this.Empiricalvalueratio(20);
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -1838,21 +1838,21 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
flagPageEditstwo:releasetime,
|
|
|
|
|
flagPageEditsthrees:deadline,
|
|
|
|
|
flagPageEditsfor:endtime,
|
|
|
|
|
completionefficiencyscore:true,
|
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
|
work_efficiencys:datas.data.work_efficiency,
|
|
|
|
|
unifiedsetting:datas.data.unified_setting,
|
|
|
|
|
latedeductiontwo:20,
|
|
|
|
|
latedeductiontwo:0,
|
|
|
|
|
});
|
|
|
|
|
//均分比例
|
|
|
|
|
// result.data.shixun_evaluation === 0 ? "均分比例" : result.data.shixun_evaluation === 1 ? "经验值比例" : result.data.shixun_evaluation === 2 ?
|
|
|
|
|
try {
|
|
|
|
|
if(datas.data.shixun_evaluation === 0){
|
|
|
|
|
this.Equalproportion(20);
|
|
|
|
|
|
|
|
|
|
}else if(datas.data.shixun_evaluation === 1){
|
|
|
|
|
this.Empiricalvalueratio(20);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// if(datas.data.shixun_evaluation === 0){
|
|
|
|
|
// this.Equalproportion(20);
|
|
|
|
|
//
|
|
|
|
|
// }else if(datas.data.shixun_evaluation === 1){
|
|
|
|
|
// this.Empiricalvalueratio(20);
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
}catch (e) {
|
|
|
|
|
console.log(1);
|
|
|
|
|
console.log(e);
|
|
|
|
|