|
|
@ -1013,18 +1013,17 @@ class Trainingjobsetting extends Component {
|
|
|
|
//完成效率评分占比
|
|
|
|
//完成效率评分占比
|
|
|
|
onChangeeffectiveness = (e) => {
|
|
|
|
onChangeeffectiveness = (e) => {
|
|
|
|
if( e.target.checked === true){
|
|
|
|
if( e.target.checked === true){
|
|
|
|
this.state.latedeductiontwo=20;
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
completionefficiencyscore: e.target.checked,
|
|
|
|
completionefficiencyscore: e.target.checked,
|
|
|
|
work_efficiencys:e.target.checked,
|
|
|
|
work_efficiencys:e.target.checked,
|
|
|
|
latedeductiontwo: 20,
|
|
|
|
latedeductiontwo: 0,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
//均分比例
|
|
|
|
//均分比例
|
|
|
|
if(this.state.proportion==="均分比例"){
|
|
|
|
if(this.state.proportion==="均分比例"){
|
|
|
|
this.Equalproportion(20);
|
|
|
|
this.Equalproportion(0);
|
|
|
|
|
|
|
|
|
|
|
|
}else if(this.state.proportion==="经验值比例"){
|
|
|
|
}else if(this.state.proportion==="经验值比例"){
|
|
|
|
this.Empiricalvalueratio(20);
|
|
|
|
this.Empiricalvalueratio(0);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1722,20 +1721,20 @@ class Trainingjobsetting extends Component {
|
|
|
|
flagPageEditstwo:releasetime,
|
|
|
|
flagPageEditstwo:releasetime,
|
|
|
|
flagPageEditsthrees:deadline,
|
|
|
|
flagPageEditsthrees:deadline,
|
|
|
|
flagPageEditsfor:endtime,
|
|
|
|
flagPageEditsfor:endtime,
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
completionefficiencyscore:true,
|
|
|
|
work_efficiencys:this.state.work_efficiencys,
|
|
|
|
work_efficiencys:this.state.work_efficiencys,
|
|
|
|
unifiedsetting:this.state.unifiedsetting,
|
|
|
|
unifiedsetting:this.state.unifiedsetting,
|
|
|
|
latedeductiontwo:0,
|
|
|
|
latedeductiontwo:this.state.latedeductiontwo,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
//均分比例
|
|
|
|
//均分比例
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
// if(this.state.proportion==="均分比例"){
|
|
|
|
if(this.state.proportion==="均分比例"){
|
|
|
|
// this.Equalproportion(20);
|
|
|
|
this.Equalproportion(this.state.latedeductiontwo);
|
|
|
|
//
|
|
|
|
|
|
|
|
// }else if(this.state.proportion==="经验值比例"){
|
|
|
|
}else if(this.state.proportion==="经验值比例"){
|
|
|
|
// this.Empiricalvalueratio(20);
|
|
|
|
this.Empiricalvalueratio(this.state.latedeductiontwo);
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}catch (e) {
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1841,18 +1840,18 @@ class Trainingjobsetting extends Component {
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
completionefficiencyscore:false,
|
|
|
|
work_efficiencys:datas.data.work_efficiency,
|
|
|
|
work_efficiencys:datas.data.work_efficiency,
|
|
|
|
unifiedsetting:datas.data.unified_setting,
|
|
|
|
unifiedsetting:datas.data.unified_setting,
|
|
|
|
latedeductiontwo:0,
|
|
|
|
latedeductiontwo:datas.data.eff_score,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
//均分比例
|
|
|
|
//均分比例
|
|
|
|
// result.data.shixun_evaluation === 0 ? "均分比例" : result.data.shixun_evaluation === 1 ? "经验值比例" : result.data.shixun_evaluation === 2 ?
|
|
|
|
// result.data.shixun_evaluation === 0 ? "均分比例" : result.data.shixun_evaluation === 1 ? "经验值比例" : result.data.shixun_evaluation === 2 ?
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
// if(datas.data.shixun_evaluation === 0){
|
|
|
|
if(datas.data.shixun_evaluation === 0){
|
|
|
|
// this.Equalproportion(20);
|
|
|
|
this.Equalproportion(datas.data.eff_score);
|
|
|
|
//
|
|
|
|
|
|
|
|
// }else if(datas.data.shixun_evaluation === 1){
|
|
|
|
}else if(datas.data.shixun_evaluation === 1){
|
|
|
|
// this.Empiricalvalueratio(20);
|
|
|
|
this.Empiricalvalueratio(datas.data.eff_score);
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}catch (e) {
|
|
|
|
}catch (e) {
|
|
|
|
console.log(1);
|
|
|
|
console.log(1);
|
|
|
|
console.log(e);
|
|
|
|
console.log(e);
|
|
|
|