ปรับปรุง คนที่ได้สิทธิพิเศษ ให้ดูรายชื่อได้ทั้งเนติ

This commit is contained in:
nakorn
2021-10-16 21:51:16 +07:00
parent ac0e022966
commit df7d36b06b
28 changed files with 2660 additions and 30 deletions

View File

@@ -325,7 +325,24 @@
$("#s2_text").hide();
$(".reject_section").hide();
if (role_code === "1") { // ผู้ประเมิน
if (role_code === "99") { // ผู้ตรวจสอบ
$(".approve_item").prop("disabled", true);
$(".status_chief").hide();
$("#eva_create_evaluation_detail_review0A_chief_a_reject_reason").prop("disabled", true);
if (status_chief_a === "Y") {
$("#status").text("ข้อตกลงการประเมิน ได้รับการอนุมัติไปแล้ว");
}
else if (status_chief_a === "N") {
$("#status").text("คุณตีกลับข้อตกลงการประเมิน กรูณารอผู้ประเมินแก้ไขและส่งกลับ");
}
$("#s1_text").text("ส่วนที่ 1 ข้อตกลงการปฏิบัติงาน");
$("#s2_text").show();
}
else if (role_code === "1") { // ผู้ประเมิน
$(".approve_section").show();
$(".reject_section").show();
@@ -346,8 +363,7 @@
}
$("#s1_text").text("ส่วนที่ 1 ข้อตกลงการปฏิบัติงาน");
$("#s2_text").show();
$("#s2_text").show();
} else if (role_code === "") { // ผู้รับการประเมิน
$(".status_self").show();