ส่ง code แก้ไข OP Change Request 18 ข้อ

This commit is contained in:
Nakorn Rientrakrunchai
2020-05-24 00:33:22 +07:00
parent 017a29c136
commit eea05beb69
81 changed files with 1047 additions and 312 deletions

View File

@@ -67,7 +67,7 @@
<div class="step active ">
<!---->
<div class="content">
<div class="title">กำหนดผู้รับการประเมินและผู้ประเมินเลื่อนเงินเดือน</div>
<div class="title">สร้างแบบประเมิน</div>
<!---->
</div>
</div><div class="step">
@@ -83,7 +83,7 @@
</div>
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>กำหนดผู้รับการประเมินและผู้ประเมินเลื่อนเงินเดือน</div>
<div class="title col-md-12"><div class="line"></div>สร้างแบบประเมิน</div>
<section class="card no-border">

View File

@@ -29,7 +29,7 @@
<div class="step">
<!---->
<div class="content">
<div class="title">กำหนดผู้รับการประเมินและผู้ประเมินเลื่อนเงินเดือน</div>
<div class="title">สร้างแบบประเมิน</div>
<!---->
</div>
</div><div class="step active ">
@@ -106,17 +106,27 @@
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อผู้รับการประเมิน</div>
<div class="tools">
<div class="row">
<div class="col-md-6">
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_SelectAll();">เลือก ทั้งหมด</button>
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_DeselectAll();">ไม่เลือก ทั้งหมด</button>
</div>
</div>
</div>
<table id="eva_create_evaluation_detailTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th><label id='h_eva_create_evaluation_detail_employee_id'>ผู้รับการประเมิน</label></th>
<th><label id='h_eva_create_evaluation_detail_chief'>ผู้ประเมิน </label></th>
<th><label>สถานะการส่งแบบประเมิน<br />(ผู้รับการประเมิน)</label></th>
<th><label>สถานะทำแบบประเมิน<br />(ผู้ประเมิน)</label></th>
<th><label>สถานะทำแบบประเมิน<br />(ผู้ประเมินสูงสุด)</label></th>
<th><label>สถานะตรวจสอบ<br />(ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง)</label></th>
<th><label>สถานะตรวจสอบ<br />(ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด))</label></th>
<th>เลือก</th>
<th><label>รหัสพนักงาน</label></th>
<th><label>ผู้รับการประเมิน</label></th>
<th><label>ประเภทตำแหน่ง</label></th>
<th><label>ตำแหน่ง</label></th>
<th><label>ระดับตำแหน่ง</label></th>
<th><label>หมายเหตุ</label></th>
<th><label>ผู้ประเมิน</label></th>
<th><label>หน่วยงาน</label></th>
</tr>
</thead>
<tbody></tbody>
@@ -130,6 +140,9 @@
<div class="row">
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:go_back();">กลับ</button>
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_GetSelect('id');">พิมพ์แบบประเมิน</button>
</div>
</div>

View File

@@ -28,7 +28,7 @@
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_evaluation_behavior_weight" for="eva_evaluation_behavior_weight">น้ำหนัก</label>
<input disabled class="form-control" type="number" id="eva_evaluation_behavior_weight" iLabel="น้ำหนัก" iRequire="true" iGroup="eva_evaluation_behavior" />
<input onchange="OnWeightChanged(this);" class="form-control" type="number" id="eva_evaluation_behavior_weight" iLabel="น้ำหนัก" iRequire="true" iGroup="eva_evaluation_behavior" />
</div>
</div>
<div class='row' style="display:none;">
@@ -90,7 +90,7 @@
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_evaluation_achievement_weight" for="eva_evaluation_achievement_weight">น้ำหนัก</label>
<input class="form-control" type="number" id="eva_evaluation_achievement_weight" iLabel="น้ำหนัก" iRequire="true" iGroup="eva_evaluation_achievement" />
<input onchange="OnWeightChanged(this);" class="form-control" type="number" id="eva_evaluation_achievement_weight" iLabel="น้ำหนัก" iRequire="true" iGroup="eva_evaluation_achievement" />
</div>
<div class="form-group col-md-4">
@@ -105,7 +105,7 @@
<input type="hidden" id="eva_evaluation_achievement_thefile_hidURL" iLabel="แนบไฟล์" iRequire="false" iGroup="eva_evaluation_achievement" />
</div>
</div>
<div class='row'>
<div style="display:none;" class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_evaluation_achievement_target_score1" for="eva_evaluation_achievement_target_score1">คะแนนตามค่าระดับเป้าหมาย1</label>
<input class="form-control" type="text" id="eva_evaluation_achievement_target_score1" iLabel="คะแนนตามค่าระดับเป้าหมาย1" iRequire="false" iGroup="eva_evaluation_achievement" />
@@ -121,7 +121,7 @@
<input class="form-control" type="text" id="eva_evaluation_achievement_target_score3" iLabel="คะแนนตามค่าระดับเป้าหมาย3" iRequire="false" iGroup="eva_evaluation_achievement" />
</div>
</div>
<div class='row'>
<div style="display:none;" class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_evaluation_achievement_target_score4" for="eva_evaluation_achievement_target_score4">คะแนนตามค่าระดับเป้าหมาย4</label>
<input class="form-control" type="text" id="eva_evaluation_achievement_target_score4" iLabel="คะแนนตามค่าระดับเป้าหมาย4" iRequire="false" iGroup="eva_evaluation_achievement" />
@@ -221,55 +221,37 @@
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_agreement_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_agreement_create_evaluation_id" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_evaluation_round" for="eva_create_evaluation_detail_agreement_evaluation_round">รอบการประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_evaluation_round" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_code" for="eva_create_evaluation_detail_agreement_employee_code">รหัสพนักงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_code" />
</div>
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_agreement_chief_fullname" />
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_agreement_chief_position" />
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_fullname" for="eva_create_evaluation_detail_agreement_employee_fullname">ชื่อ-สกุล</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_fullname" />
</div>
<table width="100%">
<tr>
<td style="font-weight:800;">รอบการประเมิน</td>
<td><span id="eva_create_evaluation_detail_agreement_evaluation_round" /></td>
<td style="font-weight:800;">รหัสพนักงาน</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_code" /></td>
</tr>
<tr>
<td style="font-weight:800;">ชื่อ-ชื่อสกุล</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_fullname" /></td>
<td style="font-weight:800;">ประเภทตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_position_type" /></td>
</tr>
<tr>
<td style="font-weight:800;">ตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_position" /></td>
<td style="font-weight:800;">ระดับตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_position_level" /></td>
</tr>
<tr>
<td style="font-weight:800;">หน่วยงาน</td>
<td><span id="eva_create_evaluation_detail_agreement_employee_org" /></td>
<td style="font-weight:800;">หมายเหตุ</td>
<td><span id="remark_hrm_work_record" /></td>
</tr>
</table>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_position_type" for="eva_create_evaluation_detail_agreement_employee_position_type">ประเภทตำแหน่ง</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_position_type" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_position" for="eva_create_evaluation_detail_agreement_employee_position">ตำแหน่ง</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_position" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_position_level" for="eva_create_evaluation_detail_agreement_employee_position_level">ระดับตำแหน่ง</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_position_level" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_employee_org" for="eva_create_evaluation_detail_agreement_employee_org">หน่วยงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_employee_org" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_chief_fullname" for="eva_create_evaluation_detail_agreement_chief_fullname">ชื่อผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_chief_fullname" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_agreement_chief_position" for="eva_create_evaluation_detail_agreement_chief_position">ตำแหน่งผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_agreement_chief_position" />
</div>
</div>
</div>
</div>
</div>
@@ -293,7 +275,7 @@
<input class="form-control" type="hidden" id="s_eva_evaluation_achievement_create_evaluation_detail_id" />
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_evaluation_achievement_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
<button class="btn btn-info status_self" onclick="javascript:eva_evaluation_achievement_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
</div>
</div>
@@ -305,11 +287,11 @@
<th>เครื่องมือ</th>
<th><label id='h_eva_evaluation_achievement_achievement'>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
<th><label id='h_eva_evaluation_achievement_weight'>น้ำหนัก</label></th>
<th><label id='h_eva_evaluation_achievement_target_score1'>1</label></th>
<th><label id='h_eva_evaluation_achievement_target_score2'>2</label></th>
<th><label id='h_eva_evaluation_achievement_target_score3'>3</label></th>
<th><label id='h_eva_evaluation_achievement_target_score4'>4</label></th>
<th><label id='h_eva_evaluation_achievement_target_score5'>5</label></th>
<th style="display:none;"><label id='h_eva_evaluation_achievement_target_score1'>1</label></th>
<th style="display:none;"><label id='h_eva_evaluation_achievement_target_score2'>2</label></th>
<th style="display:none;"><label id='h_eva_evaluation_achievement_target_score3'>3</label></th>
<th style="display:none;"><label id='h_eva_evaluation_achievement_target_score4'>4</label></th>
<th style="display:none;"><label id='h_eva_evaluation_achievement_target_score5'>5</label></th>
<th><label id='h_eva_evaluation_achievement_thefile'>เอกสารแนบ</label></th>
</tr>
</thead>
@@ -319,11 +301,11 @@
<th>&nbsp;</th>
<th>&nbsp;</th>
<th><p id="sum_a"></p></th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th style="display:none;">&nbsp;</th>
<th style="display:none;">&nbsp;</th>
<th style="display:none;">&nbsp;</th>
<th style="display:none;">&nbsp;</th>
<th style="display:none;">&nbsp;</th>
<th>&nbsp;</th>
</tr>
</tfoot>
@@ -340,6 +322,7 @@
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_evaluation_behavior_behavior'>พฤติกรรมการปฏิบัติงาน</label></th>
<th><label id='h_eva_evaluation_achievement_weight'>น้ำหนัก</label></th>
</tr>
</thead>
<tbody></tbody>
@@ -357,7 +340,7 @@
<input class="form-control" type="hidden" id="s_eva_idp_plan_owner_create_evaluation_detail_id" />
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_idp_plan_owner_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
<button class="btn btn-info status_self" onclick="javascript:eva_idp_plan_owner_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
</div>
</div>
@@ -381,7 +364,7 @@
<br />
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>ส่งข้อตกลงการประเมิน</div>
<div class="title col-md-12"><div class="line"></div>ส่งข้อตกลงการประเมิน <span id="status" style="color:red;"></span></div>
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_status_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_status_create_evaluation_id" />
@@ -391,8 +374,8 @@
<div class="row">
<div class="form-group col-md-12">
<button type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next0')">ส่งข้อตกลงการประเมิน</button>
<button type="button" class="btn btn-submit" onclick="javascript:alert('บันทึกเรียบร้อย')">บันทึก</button>
<button type="button" class="btn btn-submit status_self" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next0')">ส่งข้อตกลงการประเมิน</button>
<button type="button" class="btn btn-submit status_self" onclick="javascript:alert('บันทึกเรียบร้อย')">บันทึก</button>
<button type="button" class="btn btn-outline" onclick="javascript:window_close()" style="background-color: #fff;">ยกเลิก</button>
</div>
</div>
@@ -406,6 +389,9 @@
<script src="~/js/eva_create_evaluation_detail_status/eva_create_evaluation_detail_status_d.js"></script>
<script src="~/js/eva_idp_plan_owner/eva_idp_plan_owner.js"></script>
<script>
var status_self = "";
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
@@ -425,7 +411,34 @@
SetupValidationRemark("eva_evaluation_achievement");
SetupValidationRemark("eva_evaluation_behavior");
SetupValidationRemark("eva_idp_plan_owner");
setTimeout(CheckPermission, 1000);
});
function CheckPermission(){
if(status_self === "Y"){
$(".status_self").hide();
$("#status").text("คุณส่งแบบประเมินไปแล้ว");
}
}
function OnWeightChanged(c){
if($(c).val() < 0){
$(c).val(0)
}
if($(c).val() > 100){
$(c).val(100)
}
}
function CheckWeightBeforeSubmitStatus(){
if(parseInt($("#sum_a").text()) !== 100){
return false;
}else{
return true;
}
}
</script>
}

View File

@@ -31,56 +31,37 @@
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_employee_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_create_evaluation_id" />
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_process_chief_fullname" />
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_process_chief_position" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_evaluation_round" for="eva_create_evaluation_detail_process_evaluation_round">รอบการประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_evaluation_round" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_code" for="eva_create_evaluation_detail_process_employee_code">รหัสพนักงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_employee_code" />
</div>
<table width="100%">
<tr>
<td style="font-weight:800;">รอบการประเมิน</td>
<td><span id="eva_create_evaluation_detail_process_evaluation_round" /></td>
<td style="font-weight:800;">รหัสพนักงาน</td>
<td><span id="eva_create_evaluation_detail_process_employee_code" /></td>
</tr>
<tr>
<td style="font-weight:800;">ชื่อ-ชื่อสกุล</td>
<td><span id="eva_create_evaluation_detail_process_employee_fullname" /></td>
<td style="font-weight:800;">ประเภทตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position_type" /></td>
</tr>
<tr>
<td style="font-weight:800;">ตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position" /></td>
<td style="font-weight:800;">ระดับตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position_level" /></td>
</tr>
<tr>
<td style="font-weight:800;">หน่วยงาน</td>
<td><span id="eva_create_evaluation_detail_process_employee_org" /></td>
<td style="font-weight:800;">หมายเหตุ</td>
<td><span id="remark_hrm_work_record" /></td>
</tr>
</table>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_fullname" for="eva_create_evaluation_detail_process_employee_fullname">ชื่อ-สกุล</label>
<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_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" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_org" for="eva_create_evaluation_detail_process_employee_org">หน่วยงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_employee_org" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_chief_fullname" for="eva_create_evaluation_detail_process_chief_fullname">ชื่อผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_chief_fullname" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_chief_position" for="eva_create_evaluation_detail_process_chief_position">ตำแหน่งผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_chief_position" />
</div>
</div>
</div>
</div>
</div>
@@ -460,6 +441,10 @@
eva_create_evaluation_detail_review01_PutUpdate();
}
function CheckWeightBeforeSubmitStatus(){
return true;
}
</script>
}

View File

@@ -81,57 +81,36 @@
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_employee_id" />
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_process_create_evaluation_id" />
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_process_chief_fullname" />
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_process_chief_position" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_evaluation_round" for="eva_create_evaluation_detail_process_evaluation_round">รอบการประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_evaluation_round" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_code" for="eva_create_evaluation_detail_process_employee_code">รหัสพนักงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_employee_code" />
</div>
<table width="100%">
<tr>
<td style="font-weight:800;">รอบการประเมิน</td>
<td><span id="eva_create_evaluation_detail_process_evaluation_round" /></td>
<td style="font-weight:800;">รหัสพนักงาน</td>
<td><span id="eva_create_evaluation_detail_process_employee_code" /></td>
</tr>
<tr>
<td style="font-weight:800;">ชื่อ-ชื่อสกุล</td>
<td><span id="eva_create_evaluation_detail_process_employee_fullname" /></td>
<td style="font-weight:800;">ประเภทตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position_type" /></td>
</tr>
<tr>
<td style="font-weight:800;">ตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position" /></td>
<td style="font-weight:800;">ระดับตำแหน่ง</td>
<td><span id="eva_create_evaluation_detail_process_employee_position_level" /></td>
</tr>
<tr>
<td style="font-weight:800;">หน่วยงาน</td>
<td><span id="eva_create_evaluation_detail_process_employee_org" /></td>
<td style="font-weight:800;">หมายเหตุ</td>
<td><span id="remark_hrm_work_record" /></td>
</tr>
</table>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_fullname" for="eva_create_evaluation_detail_process_employee_fullname">ชื่อ-สกุล</label>
<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_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" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_employee_org" for="eva_create_evaluation_detail_process_employee_org">หน่วยงาน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_employee_org" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_chief_fullname" for="eva_create_evaluation_detail_process_chief_fullname">ชื่อผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_chief_fullname" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_process_chief_position" for="eva_create_evaluation_detail_process_chief_position">ตำแหน่งผู้ประเมิน</label>
<p class="form-control" id="eva_create_evaluation_detail_process_chief_position" />
</div>
</div>
</div>
</div>
</div>
@@ -748,6 +727,10 @@
eva_evaluation_behavior_process2_Save(getUrlParameter('id'));
eva_create_evaluation_detail_summary2_PutUpdate();
}
function CheckWeightBeforeSubmitStatus(){
return true;
}
</script>
}

View File

@@ -79,9 +79,11 @@
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label>เลขที่ตำแหน่ง</label></th>
<th><label>ชื่อตำแหน่ง</label></th>
<th><label>รหัสพนักงาน</label></th>
<th><label>ชื่อ-สกุล</label></th>
<th><label>ตำแหน่ง</label></th>
<th><label>ระดับตำแหน่ง</label></th>
<th><label>หน่วยงาน</label></th>
</tr>
</thead>
<tbody></tbody>

View File

@@ -27,17 +27,17 @@
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_rep_family_employee_id' for='s_rep_family_employee_id'>ชื่อ - สกุล</label>
<select class="form-control" id="s_rep_family_employee_id" iLabel="ชื่อ - สกุล" iRequire="true" iGroup="s_rep_family" title='ชื่อ - สกุล' placeholder='ชื่อ - สกุล'></select>
<select class="form-control" id="s_rep_family_employee_id" iLabel="ชื่อ - สกุล" iRequire="false" iGroup="s_rep_family" title='ชื่อ - สกุล' placeholder='ชื่อ - สกุล'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_rep_family_position_id' for='s_rep_family_position_id'>ตำแหน่ง</label>
<select class="form-control" id="s_rep_family_position_id" iLabel="ตำแหน่ง" iRequire="true" iGroup="s_rep_family" title='ตำแหน่ง' placeholder='ตำแหน่ง'></select>
<select class="form-control" id="s_rep_family_position_id" iLabel="ตำแหน่ง" iRequire="false" iGroup="s_rep_family" title='ตำแหน่ง' placeholder='ตำแหน่ง'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_rep_family_org_id' for='s_rep_family_org_id'>หน่วยงาน</label>
<select class="form-control" id="s_rep_family_org_id" iLabel="หน่วยงาน" iRequire="true" iGroup="s_rep_family" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
<select class="form-control" id="s_rep_family_org_id" iLabel="หน่วยงาน" iRequire="false" iGroup="s_rep_family" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="form-group col-md-3">

View File

@@ -0,0 +1,72 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "rep_leave_total_02";
}
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="javascript:window_open_from_root('@Configuration["SiteInformation:mainsite"]');">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="javascript:window_open_from_root('@Configuration["SiteInformation:modulesite"]');">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">รายงานสรุปการลา ขาดงาน มาสาย ของพนักงานเนติบัณฑิตยสภา</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>รายงานสรุปการลา ขาดงาน มาสาย ของพนักงานเนติบัณฑิตยสภา</div>
<div class="tools">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_rep_leave_total_02_employee_id' for='s_rep_leave_total_02_employee_id'>ชื่อ - สกุล</label>
<select class="form-control" id="s_rep_leave_total_02_employee_id" iLabel="ชื่อ - สกุล" iRequire="false" iGroup="s_rep_leave_total_02" title='ชื่อ - สกุล' placeholder='ชื่อ - สกุล'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_rep_leave_total_02_org_id' for='s_rep_leave_total_02_org_id'>หน่วยงาน</label>
<select class="form-control" id="s_rep_leave_total_02_org_id" iLabel="หน่วยงาน" iRequire="false" iGroup="s_rep_leave_total_02" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_rep_leave_total_02_start_date' for='s_rep_leave_total_02_start_date'>วันเริ่ม</label>
<input class="form-control" type="text" id="s_rep_leave_total_02_start_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันเริ่ม" iRequire="true" iGroup="s_rep_leave_total_02" title='วันเริ่ม' placeholder='วันเริ่ม' />
</div>
<div class="form-group col-md-3">
<label id='lab_s_rep_leave_total_02_end_date' for='s_rep_leave_total_02_end_date'>วันสิ้นสุด</label>
<input class="form-control" type="text" id="s_rep_leave_total_02_end_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันสิ้นสุด" iRequire="true" iGroup="s_rep_leave_total_02" title='วันสิ้นสุด' placeholder='วันสิ้นสุด' />
</div>
</div>
</div>
<div class="col-md-12">
<button class="btn btn-info" onclick="javascript:rep_leave_total_02_DoSearch('pdf');">แสดงรายงาน</button>
<button class="btn btn-info" onclick="javascript:rep_leave_total_02_DoSearch('xlsx');">ดาวน์โหลดเป็น Excel</button>
</div>
</div>
</div>
</section>
<br />
<iframe id="report_result" style="display:none; height:500px; width:100%;"></iframe>
@section FooterPlaceHolder{
<script src="~/js/rep_leave_total_02/rep_leave_total_02_report.js"></script>
<script>
$(document).ready(function () {
rep_leave_total_02_InitialForm();
SetupValidationRemark("s_rep_leave_total_02");
$("#s_rep_leave_total_02_employee_id").select2();
$("#s_rep_leave_total_02_org_id").select2();
});
</script>
}