แยกเมนู แบบข้อตกลงการปฏิบัติงานเพื่อประกอบการพิจารณาประเมินผลสัมฤทธิ์ของงาน งด.2/2 ออกมา
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
@using Microsoft.Extensions.Configuration
|
||||
@inject IConfiguration Configuration
|
||||
@{
|
||||
ViewData["Title"] = "eva_create_evaluation_detail_firstdoc";
|
||||
}
|
||||
|
||||
<div class="row page-title">
|
||||
<div class="col-md-5">
|
||||
<div class="page-title">
|
||||
@Environment.GetEnvironmentVariable("SiteInformation_modulename")
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<ol class="breadcrumb" style="">
|
||||
<li class="breadcrumb-item "><a href="@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")">หน้าแรก</a></li>
|
||||
<li class="breadcrumb-item "><a href="@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")@MyHelper.GetConfig(Configuration, "SiteInformation:appsite")">@Environment.GetEnvironmentVariable("SiteInformation_modulename")</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
แบบข้อตกลงการปฏิบัติงานเพื่อประกอบการพิจารณาประเมินผลสัมฤทธิ์ของงาน งด.2/2
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title">
|
||||
<div class="line"></div> แบบข้อตกลงการปฏิบัติงานเพื่อประกอบการพิจารณาประเมินผลสัมฤทธิ์ของงาน งด.2/2
|
||||
</div>
|
||||
<div class="tools">
|
||||
<div class="row">
|
||||
<input class="form-control" type="hidden" id="s_eva_create_evaluation_detail_firstdoc_create_evaluation_id" />
|
||||
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label id='lab_s_eva_create_evaluation_detail_firstdoc_org_id' for='s_eva_create_evaluation_detail_firstdoc_org_id'>หน่วยงาน</label>
|
||||
<select class="form-control" id="s_eva_create_evaluation_detail_firstdoc_org_id" iLabel="หน่วยงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label id='lab_s_eva_create_evaluation_detail_firstdoc_search_employee_code' for='s_eva_create_evaluation_detail_firstdoc_search_employee_code'>รหัสพนักงาน</label>
|
||||
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_firstdoc_search_employee_code" iLabel="รหัสพนักงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='รหัสพนักงาน' placeholder='รหัสพนักงาน' />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label id='lab_s_eva_create_evaluation_detail_firstdoc_search_employee_fullname' for='s_eva_create_evaluation_detail_firstdoc_search_employee_fullname'>ชื่อ-สกุล</label>
|
||||
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_firstdoc_search_employee_fullname" iLabel="ชื่อ-สกุล" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='ชื่อ-สกุล' placeholder='ชื่อ-สกุล' />
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<br />
|
||||
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_firstdoc_DoSearch();"><i class="fa fa-search" style="font-size: 14px;"></i> ค้นหา</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div style="overflow-x: auto;">
|
||||
<table id="eva_create_evaluation_detail_firstdocTable" class="display table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>เครื่องมือ</th>
|
||||
<th><label>รอบการประเมิน</label></th>
|
||||
<th><label id='h_eva_create_evaluation_detail_firstdoc_employee_code'>รหัสพนักงาน</label></th>
|
||||
<th><label id='h_eva_create_evaluation_detail_firstdoc_employee_fullname'>ชื่อ-สกุล</label></th>
|
||||
<th><label id='h_eva_create_evaluation_detail_firstdoc_employee_position'>ตำแหน่ง</label></th>
|
||||
<th><label id='h_eva_create_evaluation_detail_firstdoc_employee_position_level'>ระดับตำแหน่ง</label></th>
|
||||
<th><label id='h_eva_create_evaluation_detail_firstdoc_employee_org'>หน่วยงาน</label></th>
|
||||
|
||||
<th><label>สถานะทำแบบประเมิน<br />(ผู้รับการประเมิน)</label></th>
|
||||
<th><label>สถานะทำแบบประเมิน<br />(ผู้ประเมิน)</label></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@section FooterPlaceHolder{
|
||||
<script src="~/js/eva_create_evaluation_detail_firstdoc/eva_create_evaluation_detail_firstdoc.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
eva_create_evaluation_detail_firstdoc_InitiateDataTable();
|
||||
eva_create_evaluation_detail_firstdoc_InitialForm();
|
||||
SetupValidationRemark("eva_create_evaluation_detail_firstdoc");
|
||||
});
|
||||
</script>
|
||||
}
|
||||
|
||||
@@ -0,0 +1,270 @@
|
||||
@using Microsoft.Extensions.Configuration
|
||||
@inject IConfiguration Configuration
|
||||
@{
|
||||
ViewData["Title"] = "eva_create_evaluation_detail_firstdoc";
|
||||
Layout = "_LayoutDirect";
|
||||
}
|
||||
|
||||
|
||||
<div class="modal fade" id="report_xModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="report_xModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="report_xModelLabel">พิมพ์แบบข้อตกลงการประเมิน</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">
|
||||
<iframe id="report_result" style="display:none; height:500px; width:100%;"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ปิด</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal fade" id="eva_evaluation_operating_agreementModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_evaluation_operating_agreementModelLabel" 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_evaluation_operating_agreementModelLabel">บันทึกข้อมูล ข้อตกลงการปฏิบัติงาน</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_evaluation_operating_agreement_id" />
|
||||
<input class="form-control" type="hidden" id="eva_evaluation_operating_agreement_create_evaluation_detail_id" />
|
||||
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_evaluation_operating_agreement_mission_no" for="eva_evaluation_operating_agreement_mission_no">ภารกิจที่</label>
|
||||
<input class="form-control" type="number" id="eva_evaluation_operating_agreement_mission_no" iLabel="ภารกิจที่" iRequire="true" iGroup="eva_evaluation_operating_agreement" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_evaluation_operating_agreement_mission_detail" for="eva_evaluation_operating_agreement_mission_detail">รายละเอียดภารกิจ</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_mission_detail" iLabel="รายละเอียดภารกิจ" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_evaluation_operating_agreement_target" for="eva_evaluation_operating_agreement_target">เป้าหมาย</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_target" iLabel="เป้าหมาย" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-12">
|
||||
<label id="lab_eva_evaluation_operating_agreement_indicators" for="eva_evaluation_operating_agreement_indicators">ตัวชี้วัด</label>
|
||||
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_indicators" iLabel="ตัวชี้วัด" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
|
||||
</div>
|
||||
</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_evaluation_operating_agreement_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row page-title">
|
||||
<div class="col-md-5">
|
||||
<div class="page-title">
|
||||
@Environment.GetEnvironmentVariable("SiteInformation_modulename")
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<ol class="breadcrumb" style="">
|
||||
<li class="breadcrumb-item "><a href="@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")">หน้าแรก</a></li>
|
||||
<li class="breadcrumb-item "><a href="@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")@MyHelper.GetConfig(Configuration, "SiteInformation:appsite")">@Environment.GetEnvironmentVariable("SiteInformation_modulename")</a></li>
|
||||
<li class="breadcrumb-item active">การประเมินผลการปฏิบัติงานของพนักงานเนติบัณฑิตยสภา</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<section class="wrapper">
|
||||
<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-12">
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_firstdoc_id" />
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_firstdoc_create_evaluation_id" />
|
||||
|
||||
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_firstdoc_chief_fullname" />
|
||||
<p style="display:none;" class="form-control" id="eva_create_evaluation_detail_firstdoc_chief_position" />
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="font-weight:800;">รอบการประเมิน</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_evaluation_round" /></td>
|
||||
<td style="font-weight:800;">รหัสพนักงาน</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_code" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight:800;">ชื่อ-ชื่อสกุล</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_fullname" /></td>
|
||||
<td style="font-weight:800;">ประเภทตำแหน่ง</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_position_type" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight:800;">ตำแหน่ง</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_position" /></td>
|
||||
<td style="font-weight:800;">ระดับตำแหน่ง</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_position_level" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight:800;">หน่วยงาน</td>
|
||||
<td><span id="eva_create_evaluation_detail_firstdoc_employee_org" /></td>
|
||||
<td style="font-weight:800;">หมายเหตุ</td>
|
||||
<td><span id="remark_hrm_work_record" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button type="button" class="btn btn-danger" onclick="javascript:window_close()"><i class="fa fa-repeat"></i> กลับ</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<br />
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title"><div class="line"></div>ข้อตกลงการปฏิบัติงาน</div>
|
||||
<div class="tools">
|
||||
<div class="row">
|
||||
|
||||
<input class="form-control" type="hidden" id="s_eva_evaluation_operating_agreement_create_evaluation_detail_id" />
|
||||
|
||||
<div class="col-md-6">
|
||||
<button class="btn btn-info" onclick="javascript:eva_evaluation_operating_agreement_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
|
||||
<button class="btn btn-info" onclick="javascript:rep_eva_p01_DoSearch('pdf');">พิมพ์แบบข้อตกลง</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="eva_evaluation_operating_agreementTable" class="display table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<th>เลือก</th>-->
|
||||
<th width="5%">เครื่องมือ</th>
|
||||
<th width="5%"><label id='h_eva_evaluation_operating_agreement_mission_no'>ภารกิจที่</label></th>
|
||||
<th width="30%"><label id='h_eva_evaluation_operating_agreement_mission_detail'>รายละเอียดภารกิจ</label></th>
|
||||
<th width="30%"><label id='h_eva_evaluation_operating_agreement_target'>เป้าหมาย</label></th>
|
||||
<th width="30%"><label id='h_eva_evaluation_operating_agreement_indicators'>ตัวชี้วัด</label></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<br />
|
||||
|
||||
<section class="wrapper">
|
||||
<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" />
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_status_status_self" />
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_status_status_chief" />
|
||||
<input class="form-control" type="hidden" id="eva_create_evaluation_detail_status_status_supervisor" />
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
|
||||
<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-danger" onclick="javascript:window_close()"><i class="fa fa-repeat"></i> กลับ</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
@section FooterPlaceHolder{
|
||||
<script src="~/js/eva_create_evaluation_detail_firstdoc/eva_create_evaluation_detail_firstdoc_d.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_create_evaluation_detail_status/eva_create_evaluation_detail_status_d.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/rep_eva_x/rep_eva_p01_report.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_evaluation_operating_agreement/eva_evaluation_operating_agreement.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script>
|
||||
|
||||
var status_self = "";
|
||||
|
||||
$(document).ready(function () {
|
||||
var id = getUrlParameter("id");
|
||||
if (id) {
|
||||
eva_create_evaluation_detail_firstdoc_SetEditForm(id);
|
||||
eva_create_evaluation_detail_status_SetEditForm(id);
|
||||
|
||||
eva_evaluation_operating_agreement_InitiateDataTable();
|
||||
eva_evaluation_operating_agreement_InitialForm();
|
||||
|
||||
|
||||
} else {
|
||||
eva_create_evaluation_detail_firstdoc_SetCreateForm();
|
||||
}
|
||||
SetupValidationRemark("eva_create_evaluation_detail_firstdoc");
|
||||
SetupValidationRemark("eva_evaluation_operating_agreement");
|
||||
|
||||
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>
|
||||
}
|
||||
Reference in New Issue
Block a user