clickup #71vkwd ทำเรื่องทศนิยม ตำแหน่งที่หายไปเพราะ request network

This commit is contained in:
Pairat Sangprasert
2021-03-28 19:09:54 +07:00
parent b3dba45550
commit 4a9a19ba11
6 changed files with 86 additions and 88 deletions

View File

@@ -21,22 +21,22 @@ function eva_evaluation_behavior_process2_FeedDataToForm(data, i, blankItem, rol
$("#eva_evaluation_behavior_process2_weight_" + i).val(data.weight);
if(role_code === "2"){
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score);
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary);
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score2);
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary2);
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary.toFixed(3));
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score2.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary2.toFixed(3));
}
else if(role_code === "3"){
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score2);
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary2);
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score3);
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary3);
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score2.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary2.toFixed(3));
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score3.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary3.toFixed(3));
}
else if(role_code === "4"){
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score3);
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary3);
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score4);
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary4);
$("#eva_evaluation_behavior_process2_score_" + i).text(data.score3.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary_" + i).text(data.sumary3.toFixed(3));
$("#eva_evaluation_behavior_process2_score2_" + i).val(data.score4.toFixed(3));
$("#eva_evaluation_behavior_process2_sumary2_" + i).text(data.sumary4.toFixed(3));
}
//$("#eva_evaluation_behavior_process2_target_score1_" + i).val(data.target_score1);