แก้ไข OP 3353,3651

This commit is contained in:
Nakorn Rientrakrunchai
2020-11-01 22:03:41 +07:00
parent 916d24b976
commit 2b9500a0d1
8 changed files with 35 additions and 19 deletions

View File

@@ -4,23 +4,26 @@ var eva_create_evaluation_detail_agreement_API = "/api/eva_create_evaluation_det
//================= Form Data Customizaiton =========================================
function eva_create_evaluation_detail_agreement_FeedDataToForm(data) {
$("#eva_create_evaluation_detail_agreement_id").val(data.id);
$("#eva_create_evaluation_detail_agreement_evaluation_round").text(data.evaluation_round);
$("#eva_create_evaluation_detail_agreement_employee_code").text(data.employee_code);
$("#eva_create_evaluation_detail_agreement_employee_fullname").text(data.employee_fullname);
$("#eva_create_evaluation_detail_agreement_employee_position").text(data.employee_position);
$("#eva_create_evaluation_detail_agreement_employee_position_type").text(data.employee_position_type);
$("#eva_create_evaluation_detail_agreement_employee_position_level").text(data.employee_position_level);
$("#eva_create_evaluation_detail_agreement_employee_org").text(data.employee_org);
$("#eva_create_evaluation_detail_agreement_chief_fullname").text(data.chief_fullname);
$("#eva_create_evaluation_detail_agreement_chief_position").text(data.chief_position);
$("#eva_create_evaluation_detail_agreement_create_evaluation_id").val(data.create_evaluation_id);
$("#eva_create_evaluation_detail_agreement_id").val(data.id);
$("#eva_create_evaluation_detail_agreement_evaluation_round").text(data.evaluation_round);
$("#eva_create_evaluation_detail_agreement_employee_code").text(data.employee_code);
$("#eva_create_evaluation_detail_agreement_employee_fullname").text(data.employee_fullname);
$("#eva_create_evaluation_detail_agreement_employee_position").text(data.employee_position);
$("#eva_create_evaluation_detail_agreement_employee_position_type").text(data.employee_position_type);
$("#eva_create_evaluation_detail_agreement_employee_position_level").text(data.employee_position_level);
$("#eva_create_evaluation_detail_agreement_employee_org").text(data.employee_org);
$("#eva_create_evaluation_detail_agreement_chief_fullname").text(data.chief_fullname);
$("#eva_create_evaluation_detail_agreement_chief_position").text(data.chief_position);
$("#eva_create_evaluation_detail_agreement_create_evaluation_id").val(data.create_evaluation_id);
$("#remark_hrm_work_record").text(data.remark_hrm_work_record);
$("#eva_create_evaluation_detail_agreement_score1").text(data.score1);
$("#eva_create_evaluation_detail_agreement_score2").text(data.score2);
$("#remark_hrm_work_record").text(data.remark_hrm_work_record);
status_self = data.status_self;
CheckPermission();
console.log(data);
}
function eva_create_evaluation_detail_agreement_GetFromForm() {