รวม code แก้ op 4 ข้อ

This commit is contained in:
Nakorn Rientrakrunchai
2020-05-14 21:17:29 +07:00
parent 0db3cc87b0
commit da69b4fee4
22 changed files with 1152 additions and 35 deletions

View File

@@ -12,7 +12,6 @@
@Environment.GetEnvironmentVariable("JasperReportServer_MainURL")
@Environment.GetEnvironmentVariable("JasperReportServer_reportsite")
@Environment.GetEnvironmentVariable("JasperReportServer_username")
@Environment.GetEnvironmentVariable("JasperReportServer_password")
">
<title>@Environment.GetEnvironmentVariable("SiteInformation_sitename")</title>

View File

@@ -143,6 +143,57 @@
</div>
</div>
<div class="modal fade" id="eva_idp_plan_ownerModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_idp_plan_ownerModelLabel" 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_plan_ownerModelLabel">บันทึกข้อมูล แผนพัฒนาการปฏิบัติงานรายบุคคล</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</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_owner_create_evaluation_detail_id" />
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_idp_plan_owner_develop" for="eva_idp_plan_owner_develop">ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา</label>
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_owner_develop" iLabel="ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา" iRequire="true" iGroup="eva_idp_plan_owner"></textarea>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_idp_plan_owner_development_method" for="eva_idp_plan_owner_development_method">วิธีการพัฒนา</label>
<textarea class="form-control" rows="4" cols="50" id="eva_idp_plan_owner_development_method" iLabel="วิธีการพัฒนา" iRequire="false" iGroup="eva_idp_plan_owner"></textarea>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_idp_plan_owner_start_date" for="eva_idp_plan_owner_start_date">ช่วงเวลาเริ่มต้นพัฒนา</label>
<input class="form-control" type="text" id="eva_idp_plan_owner_start_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาเริ่มต้นพัฒนา" iRequire="false" iGroup="eva_idp_plan_owner" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_idp_plan_owner_end_date" for="eva_idp_plan_owner_end_date">ช่วงเวลาสิ้นสุดพัฒนา</label>
<input class="form-control" type="text" id="eva_idp_plan_owner_end_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาสิ้นสุดพัฒนา" iRequire="false" iGroup="eva_idp_plan_owner" />
</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_idp_plan_owner_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@@ -297,6 +348,38 @@
<p style="display:none;" id="sum_b"></p>
<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_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>
</div>
</div>
</div>
<table id="eva_idp_plan_ownerTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_idp_plan_owner_develop'>ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา</label></th>
<th><label id='h_eva_idp_plan_owner_development_method'>วิธีการพัฒนา</label></th>
<th><label id='h_eva_idp_plan_owner_start_date'>ช่วงเวลาเริ่มต้นพัฒนา</label></th>
<th><label id='h_eva_idp_plan_owner_end_date'>ช่วงเวลาสิ้นสุดพัฒนา</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
<br />
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>ส่งข้อตกลงการประเมิน</div>
@@ -321,6 +404,7 @@
<script src="~/js/eva_evaluation_achievement/eva_evaluation_achievement.js"></script>
<script src="~/js/eva_evaluation_behavior/eva_evaluation_behavior.js"></script>
<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>
$(document).ready(function () {
var id = getUrlParameter("id");
@@ -331,12 +415,16 @@
eva_evaluation_behavior_InitiateDataTable(id);
eva_evaluation_behavior_InitialForm();
eva_create_evaluation_detail_status_SetEditForm(id);
eva_idp_plan_owner_InitiateDataTable(id);
eva_idp_plan_owner_InitialForm();
} else {
eva_create_evaluation_detail_agreement_SetCreateForm();
}
SetupValidationRemark("eva_create_evaluation_detail_agreement");
SetupValidationRemark("eva_evaluation_achievement");
SetupValidationRemark("eva_evaluation_behavior");
SetupValidationRemark("eva_idp_plan_owner");
});
</script>
}

View File

@@ -171,7 +171,7 @@
<th>ลำดับ</th>
<th width="30%"><label>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
<th><label>น้ำหนัก</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>1</label></th>
<th><label>2</label></th>
@@ -179,7 +179,7 @@
<th><label>4</label></th>
<th><label>5</label></th>
<th width="10%"><label>คะแนน</label></th>
<th width="10%"><label>คะแนน (ระบุ 1.00-5.00)</label></th>
<th width="10%"><label>รวมคะแนน</label></th>
</tr>
@@ -229,13 +229,13 @@
<tr>
<th>ลำดับ</th>
<th><label>พฤติกรรมการปฏิบัติงาน</label></th>
<th width="10%"><label>น้ำหนัก</label></th>
<th width="10%"><label>น้ำหนัก (%)</label></th>
<th width="7%"><label>1</label></th>
<th width="7%"><label>2</label></th>
<th width="7%"><label>3</label></th>
<th width="7%"><label>4</label></th>
<th width="7%"><label>5</label></th>
<th width="15%"><label>คะแนน</label></th>
<th width="15%"><label>คะแนน (ระบุ 1.00-5.00)</label></th>
<th width="10%"><label>รวมคะแนน</label></th>
</tr>
</thead>
@@ -282,7 +282,7 @@
<thead>
<tr>
<th><label>คะแนนประเมิน</label></th>
<th><label>น้ำหนัก</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>คะแนน</label></th>
<th><label>รวมคะแนน</label></th>
</tr>
@@ -340,7 +340,7 @@
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_create_evaluation_detail_review01_supervisor1_date" for="eva_create_evaluation_detail_review01_supervisor1_date">วันที่ประเมิน</label>
<input class="form-control" type="text" id="eva_create_evaluation_detail_review01_supervisor1_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review01" />
<input disabled class="form-control" type="text" id="eva_create_evaluation_detail_review01_supervisor1_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ประเมิน" iRequire="false" iGroup="eva_create_evaluation_detail_review01" />
</div>
</div>
<div class='row'>

View File

@@ -23,23 +23,23 @@
<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>
<textarea disabled 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>
<textarea disabled class="form-control" rows="4" cols="50" id="eva_idp_plan_development_method" iLabel="วิธีการพัฒนา" iRequire="false" 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" />
<input disabled class="form-control" type="text" id="eva_idp_plan_start_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาเริ่มต้นพัฒนา" iRequire="false" 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" />
<input disabled class="form-control" type="text" id="eva_idp_plan_end_date" data-provide="datepicker" data-date-language="th-th" iLabel="ช่วงเวลาสิ้นสุดพัฒนา" iRequire="false" iGroup="eva_idp_plan" />
</div>
</div>
@@ -47,7 +47,7 @@
</div>
</div>
</div>
<div class="modal-footer">
<div class="modal-footer" style="display:none;">
<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>
@@ -234,7 +234,7 @@
<th><label>คะแนน</label></th>
<th><label>รวมคะแนน</label></th>
<th><label>คะแนน</label></th>
<th><label>คะแนน <br />(ระบุ 1.00-5.00)</label></th>
<th><label>รวมคะแนน</label></th>
</tr>
@@ -292,7 +292,7 @@
<th width="7%"><label>5</label></th>
<th width="8%"><label>คะแนน</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
<th width="13%"><label>คะแนน</label></th>
<th width="13%"><label>คะแนน <br/>(ระบุ 1.00-5.00)</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
</tr>
</thead>
@@ -384,7 +384,7 @@
<section class="wrapper">
<div class="title"><div class="line"></div>แผนพัฒนาการปฏิบัติงานรายบุคคล</div>
<div class="tools">
<div class="tools" style="display:none;">
<div class="row">
<input class="form-control" type="hidden" id="s_eva_idp_plan_create_evaluation_detail_id" />
@@ -399,7 +399,6 @@
<table id="eva_idp_planTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_idp_plan_develop'>ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา</label></th>
<th><label id='h_eva_idp_plan_development_method'>วิธีการพัฒนา</label></th>
<th><label id='h_eva_idp_plan_start_date'>ช่วงเวลาเริ่มต้นพัฒนา</label></th>
@@ -466,7 +465,7 @@
<div class="form-group col-md-6">
<label id="lab_eva_create_evaluation_detail_review02_supervisor2_date" for="eva_create_evaluation_detail_review02_supervisor2_date">วันที่ประเมิน</label>
<input class="form-control" type="text" id="eva_create_evaluation_detail_review02_supervisor2_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ประเมิน" iRequire="true" iGroup="eva_create_evaluation_detail_review02" />
<input disabled class="form-control" type="text" id="eva_create_evaluation_detail_review02_supervisor2_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ประเมิน" iRequire="false" iGroup="eva_create_evaluation_detail_review02" />
</div>
</div>
<div class='row'>