รวม code แก้ OP รอบใหม่
This commit is contained in:
@@ -48,17 +48,17 @@
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_fullname" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position" for="eva_create_evaluation_detail_process_employee_position">ตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position_type" for="eva_create_evaluation_detail_process_employee_position_type">ประเภทตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position_type" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position" for="eva_create_evaluation_detail_process_employee_position">ตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position" />
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position_level" for="eva_create_evaluation_detail_process_employee_position_level">ระดับตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position_level" />
|
||||
@@ -99,7 +99,23 @@
|
||||
<div class="title col-md-12"><div class="line"></div>ข้อมูลการลา</div>
|
||||
<section class="card no-border">
|
||||
<div class="card-body" style="">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
ข้อมูลการลา ณ วันที่
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
ถึง
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<button type="button" class="btn btn-outline" onclick="javascript:alert('กำลังจัดทำ')" style="background-color: #fff;">ค้นหา</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<table class="display table table-bordered table-striped">
|
||||
|
||||
@@ -5,55 +5,55 @@
|
||||
Layout = "_LayoutDirect";
|
||||
}
|
||||
|
||||
<div class="modal fade" id="eva_idp_planModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_idp_planModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="eva_idp_planModelLabel">บันทึกข้อมูล แผนพัฒนาการปฏิบัติงานรายบุคคล</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="modal fade" id="eva_idp_planModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_idp_planModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="eva_idp_planModelLabel">บันทึกข้อมูล แผนพัฒนาการปฏิบัติงานรายบุคคล</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<input class="form-control" type="hidden" id="eva_idp_plan_create_evaluation_detail_id" />
|
||||
<input class="form-control" type="hidden" id="eva_idp_plan_create_evaluation_detail_id" />
|
||||
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_develop" for="eva_idp_plan_develop">ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_develop" iLabel="ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา" iRequire="true" iGroup="eva_idp_plan"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_development_method" for="eva_idp_plan_development_method">วิธีการพัฒนา</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_development_method" iLabel="วิธีการพัฒนา" iRequire="true" iGroup="eva_idp_plan"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_start_date" for="eva_idp_plan_start_date">ช่วงเวลาเริ่มต้นพัฒนา</label>
|
||||
<input class="form-control" type="text" id="eva_idp_plan_start_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาเริ่มต้นพัฒนา" iRequire="true" iGroup="eva_idp_plan" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_end_date" for="eva_idp_plan_end_date">ช่วงเวลาสิ้นสุดพัฒนา</label>
|
||||
<input class="form-control" type="text" id="eva_idp_plan_end_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาสิ้นสุดพัฒนา" iRequire="true" iGroup="eva_idp_plan" />
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_develop" for="eva_idp_plan_develop">ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_develop" iLabel="ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา" iRequire="true" iGroup="eva_idp_plan"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_development_method" for="eva_idp_plan_development_method">วิธีการพัฒนา</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_development_method" iLabel="วิธีการพัฒนา" iRequire="true" iGroup="eva_idp_plan"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_start_date" for="eva_idp_plan_start_date">ช่วงเวลาเริ่มต้นพัฒนา</label>
|
||||
<input class="form-control" type="text" id="eva_idp_plan_start_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาเริ่มต้นพัฒนา" iRequire="true" iGroup="eva_idp_plan" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_idp_plan_end_date" for="eva_idp_plan_end_date">ช่วงเวลาสิ้นสุดพัฒนา</label>
|
||||
<input class="form-control" type="text" id="eva_idp_plan_end_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาสิ้นสุดพัฒนา" iRequire="true" iGroup="eva_idp_plan" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
|
||||
<button type="button" class="btn btn-primary" onclick="javascript:eva_idp_plan_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
|
||||
<button type="button" class="btn btn-primary" onclick="javascript:eva_idp_plan_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row page-title">
|
||||
<div class="col-md-5">
|
||||
@@ -99,15 +99,16 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position" for="eva_create_evaluation_detail_process_employee_position">ตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position" />
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position_type" for="eva_create_evaluation_detail_process_employee_position_type">ประเภทตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position_type" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position_type" for="eva_create_evaluation_detail_process_employee_position_type">ประเภทตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position_type" />
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position" for="eva_create_evaluation_detail_process_employee_position">ตำแหน่ง</label>
|
||||
<p class="form-control" id="eva_create_evaluation_detail_process_employee_position" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_create_evaluation_detail_process_employee_position_level" for="eva_create_evaluation_detail_process_employee_position_level">ระดับตำแหน่ง</label>
|
||||
@@ -149,9 +150,27 @@
|
||||
<div class="title col-md-12"><div class="line"></div>ข้อมูลการลา</div>
|
||||
<section class="card no-border">
|
||||
<div class="card-body" style="">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
ข้อมูลการลา ณ วันที่
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
ถึง
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<button type="button" class="btn btn-outline" onclick="javascript:alert('กำลังจัดทำ')" style="background-color: #fff;">ค้นหา</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="display table table-bordered table-striped">
|
||||
<tr>
|
||||
<td colspan="2">ลาป่วย</td>
|
||||
@@ -213,6 +232,7 @@
|
||||
<th><label>5</label></th>
|
||||
|
||||
<th width="10%"><label>คะแนน</label></th>
|
||||
<th width="10%"><label>รวมคะแนน</label></th>
|
||||
<th width="10%"><label>คะแนน</label></th>
|
||||
<th width="10%"><label>รวมคะแนน</label></th>
|
||||
|
||||
@@ -232,6 +252,7 @@
|
||||
<th><label id='h_eva_evaluation_achievement_process2_target_score5'></label></th>
|
||||
|
||||
<th width="10%"><label id='h_eva_evaluation_achievement_process2_score'></label></th>
|
||||
<th width="10%"><label id='x1'></label></th>
|
||||
<th width="15%"><label id='h_eva_evaluation_achievement_process2_score2'></label></th>
|
||||
<th width="10%"><p id="eva_create_evaluation_detail_summary2_total_summary_supervisor" /></th>
|
||||
|
||||
@@ -387,7 +408,7 @@
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<br/>
|
||||
<br />
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title col-md-12"><div class="line"></div>ความเห็นผู้ประเมิน <span style="color:red;" id="thestatus"></span></div>
|
||||
@@ -437,7 +458,7 @@
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_create_evaluation_detail_review02_supervisor2_result" for="eva_create_evaluation_detail_review02_supervisor2_result">ผลการประเมิน</label>
|
||||
<select class="form-control" id="eva_create_evaluation_detail_review02_supervisor2_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review02"></select>
|
||||
<select onchange="Oneva_create_evaluation_detail_review02_supervisor2_resultChanged(this)" class="form-control" id="eva_create_evaluation_detail_review02_supervisor2_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review02"></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
@@ -448,7 +469,7 @@
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_create_evaluation_detail_review02_supervisor2_remark" for="eva_create_evaluation_detail_review02_supervisor2_remark">ความเห็นผู้ประเมินสูงสุด</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review02_supervisor2_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="true" iGroup="eva_create_evaluation_detail_review02"></textarea>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review02_supervisor2_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="false" iGroup="eva_create_evaluation_detail_review02"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -492,11 +513,10 @@
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_review03_create_evaluation_id" />
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_review03_id" />
|
||||
|
||||
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_create_evaluation_detail_review03_supervisor1A_result" for="eva_create_evaluation_detail_review03_supervisor1A_result">ผลการประเมิน</label>
|
||||
<select class="form-control" id="eva_create_evaluation_detail_review03_supervisor1A_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review03"></select>
|
||||
<select onchange="Oneva_create_evaluation_detail_review03_supervisor1A_resultChanged(this)" class="form-control" id="eva_create_evaluation_detail_review03_supervisor1A_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review03"></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
@@ -507,7 +527,7 @@
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_create_evaluation_detail_review03_supervisor1A_remark" for="eva_create_evaluation_detail_review03_supervisor1A_remark">ความเห็นผู้ประเมิน</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review03_supervisor1A_remark" iLabel="ความเห็นผู้ประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review03"></textarea>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review03_supervisor1A_remark" iLabel="ความเห็นผู้ประเมิน" iRequire="false" iGroup="eva_create_evaluation_detail_review03"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -544,7 +564,7 @@
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_create_evaluation_detail_review04_supervisor2A_result" for="eva_create_evaluation_detail_review04_supervisor2A_result">ผลการประเมิน</label>
|
||||
<select class="form-control" id="eva_create_evaluation_detail_review04_supervisor2A_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review04"></select>
|
||||
<select onchange="Oneva_create_evaluation_detail_review04_supervisor2A_resultChanged(this)" class="form-control" id="eva_create_evaluation_detail_review04_supervisor2A_result" iLabel="ผลการประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review04"></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
@@ -555,7 +575,7 @@
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_create_evaluation_detail_review04_supervisor2A_remark" for="eva_create_evaluation_detail_review04_supervisor2A_remark">ความเห็นผู้ประเมินสูงสุด</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review04_supervisor2A_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="true" iGroup="eva_create_evaluation_detail_review04"></textarea>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review04_supervisor2A_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="false" iGroup="eva_create_evaluation_detail_review04"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -605,7 +625,7 @@
|
||||
eva_create_evaluation_detail_status_SetEditForm(id);
|
||||
|
||||
eva_idp_plan_InitiateDataTable(id);
|
||||
eva_idp_plan_InitialForm();
|
||||
eva_idp_plan_InitialForm();
|
||||
|
||||
setTimeout(Oneva_evaluation_achievement_process2_scoreChange, 1000);
|
||||
setTimeout(Oneva_evaluation_behavior_process2_scoreChange, 1000);
|
||||
@@ -619,6 +639,37 @@
|
||||
SetupValidationRemark("eva_create_evaluation_detail_review04");
|
||||
SetupValidationRemark("eva_idp_plan");
|
||||
});
|
||||
|
||||
function Oneva_create_evaluation_detail_review02_supervisor2_resultChanged(a){
|
||||
console.log($(a).val());
|
||||
if($(a).val() == "Y"){
|
||||
$("#eva_create_evaluation_detail_review02_supervisor2_remark").attr("iRequire","false");
|
||||
$("#eva_create_evaluation_detail_review02_supervisor2_remark").css('border-color', '');
|
||||
}else{
|
||||
$("#eva_create_evaluation_detail_review02_supervisor2_remark").attr("iRequire","true");
|
||||
}
|
||||
}
|
||||
|
||||
function Oneva_create_evaluation_detail_review03_supervisor1A_resultChanged(a){
|
||||
console.log($(a).val());
|
||||
if($(a).val() == "Y"){
|
||||
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").attr("iRequire","false");
|
||||
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").css('border-color', '');
|
||||
}else{
|
||||
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").attr("iRequire","true");
|
||||
}
|
||||
}
|
||||
|
||||
function Oneva_create_evaluation_detail_review04_supervisor2A_resultChanged(a){
|
||||
console.log($(a).val());
|
||||
if($(a).val() == "Y"){
|
||||
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").attr("iRequire","false");
|
||||
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").css('border-color', '');
|
||||
}else{
|
||||
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").attr("iRequire","true");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user