รวม code แก้ไข OP 3138, 3141, 2736, 2654

This commit is contained in:
Nakorn Rientrakrunchai
2020-08-11 16:13:02 +07:00
parent ecf60f7b5b
commit c980d4cc38
282 changed files with 21778 additions and 190 deletions

View File

@@ -26,8 +26,8 @@
<!--right slidebar-->
<link href="~/BackendScript/css/slidebars.css" rel="stylesheet">
<!--Date Picker-->
<link href="~/BackendScript/assets/bootstrap-datepicker/css/datepicker.css" rel="stylesheet">
<!--Date Picker 2-->
<link href="~/lib/jquery.calendars/css/jquery.calendars.picker.css" rel="stylesheet">
<!--Select2-->
<link href='~/select2/css/select2.min.css' rel='stylesheet' type='text/css'>
@@ -171,11 +171,15 @@
<!--common script for all pages-->
<script src="~/BackendScript/js/common-scripts.js"></script>
<!--Date Picker-->
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker.js"></script>
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker-thai.js"></script>
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker.th.js"></script>
<!--Date Picker 2-->
<script src="~/BackendScript/assets/bootstrap-daterangepicker/moment.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.plugin.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.plus.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.picker.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.thai.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.thai-th.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.picker-th.js"></script>
<!--Select2-->
<script src='~/select2/js/select2.min.js' type='text/javascript'></script>
@@ -216,7 +220,7 @@
});
$('.money').maskMoney();
$(document).on('change', 'input.money', function() {
var value = parseFloat(parseFloat($(this).val()).toFixed(2));
$(this).maskMoney();
@@ -227,7 +231,7 @@
$(document).on('focus', 'input.money:not([readonly], :disabled)', function() {
$(this).maskMoney('destroy');
var val = $(this).maskMoney('unmasked')[0];
val = val === 0 ? '' : val;
val = val === 0 ? '' : val;
$(this).val(val);
});
$(document).on('blur', 'input.money', function() {
@@ -246,7 +250,7 @@
startPos,
endPos,
value;
if ((key >= 48 && key <= 57) || e.key == '.') {
} else {
preventDefault(e);

View File

@@ -23,8 +23,8 @@
<!--right slidebar-->
<link href="~/BackendScript/css/slidebars.css" rel="stylesheet">
<!--Date Picker-->
<link href="~/BackendScript/assets/bootstrap-datepicker/css/datepicker.css" rel="stylesheet">
<!--Date Picker 2-->
<link href="~/lib/jquery.calendars/css/jquery.calendars.picker.css" rel="stylesheet">
<!--Select2-->
<link href='~/select2/css/select2.min.css' rel='stylesheet' type='text/css'>
@@ -151,7 +151,7 @@
<script src="~/BackendScript/js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="~/BackendScript/js/jquery.sparkline.js" type="text/javascript"></script>
<script src="~/BackendScript/js/respond.min.js"></script>
<script src="~/BackendScript/js/jQuery-Mask-Plugin-master/dist/jquery.mask.min.js"></script>
<script src="~/BackendScript/js/jquery-maskmoney-master/dist/jquery.maskMoney.min.js"></script>
<script src="~/BackendScript/js/jsrsasign-all-min.js"></script>
@@ -166,11 +166,15 @@
<!--common script for all pages-->
<script src="~/BackendScript/js/common-scripts.js"></script>
<!--Date Picker-->
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker.js"></script>
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker-thai.js"></script>
<script src="~/BackendScript/js/bootstrap-datepicker-th/bootstrap-datepicker.th.js"></script>
<!--Date Picker 2-->
<script src="~/BackendScript/assets/bootstrap-daterangepicker/moment.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.plugin.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.plus.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.picker.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.thai.min.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.thai-th.js"></script>
<script src="~/lib/jquery.calendars/js/jquery.calendars.picker-th.js"></script>
<!--Select2-->
@@ -202,7 +206,7 @@
});
$('.money').maskMoney();
$(document).on('change', 'input.money', function() {
var value = parseFloat(parseFloat($(this).val()).toFixed(2));
$(this).maskMoney();
@@ -213,7 +217,7 @@
$(document).on('focus', 'input.money:not([readonly], :disabled)', function() {
$(this).maskMoney('destroy');
var val = $(this).maskMoney('unmasked')[0];
val = val === 0 ? '' : val;
val = val === 0 ? '' : val;
$(this).val(val);
});
$(document).on('blur', 'input.money', function() {
@@ -232,7 +236,7 @@
startPos,
endPos,
value;
if ((key >= 48 && key <= 57) || e.key == '.') {
} else {
preventDefault(e);

View File

@@ -166,10 +166,14 @@
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_create_evaluation_detail_employee_id'>ผู้รับการประเมิน</label></th>
<th><label>รหัสพนักงาน</label></th>
<th><label>ผู้รับการประเมิน</label></th>
<th><label>ประเภทตำแหน่ง</label></th>
<th><label>ตำแหน่ง</label></th>
<th><label>ระดับตำแหน่ง</label></th>
<th><label id='h_eva_create_evaluation_detail_chief'>ผู้ประเมิน </label></th>
<th><label>หมายเหตุ</label></th>
<th><label>ผู้ประเมิน</label></th>
<th><label>หน่วยงาน</label></th>
</tr>
</thead>
<tbody></tbody>

View File

@@ -154,14 +154,9 @@
<th width="30%"><label>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>1</label></th>
<th><label>2</label></th>
<th><label>3</label></th>
<th><label>4</label></th>
<th><label>5</label></th>
<th width="10%"><label>คะแนน (ระบุ 1.00-5.00)</label></th>
<th width="10%"><label>รวมคะแนน</label></th>
<th width="10%"><label>รวมคะแนน<br />(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
@@ -169,17 +164,12 @@
<tr>
<th>รวม</th>
<th width="25%"><label id='h_eva_evaluation_achievement_process_achievement'></label></th>
<th><label id='h_eva_evaluation_achievement_process_achievement'></label></th>
<th><label id='h_eva_evaluation_achievement_process_weight'></label></th>
<th><label id='h_eva_evaluation_achievement_process_target_score1'></label></th>
<th><label id='h_eva_evaluation_achievement_process_target_score2'></label></th>
<th><label id='h_eva_evaluation_achievement_process_target_score3'></label></th>
<th><label id='h_eva_evaluation_achievement_process_target_score4'></label></th>
<th><label id='h_eva_evaluation_achievement_process_target_score5'></label></th>
<th width="15%"><label id='h_eva_evaluation_achievement_process_score'></label></th>
<th width="10%">
<th><label id='h_eva_evaluation_achievement_process_score'></label></th>
<th>
<p id="eva_create_evaluation_detail_summary1_total_summary_chief" />
</th>
@@ -210,28 +200,20 @@
<tr>
<th>ลำดับ</th>
<th><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>คะแนน (ระบุ 1.00-5.00)</label></th>
<th width="10%"><label>รวมคะแนน</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>คะแนน (ระบุ 1.00-5.00)</label></th>
<th><label>รวมคะแนน<br />(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th><label id='h_eva_evaluation_behavior_process_behavior'>รวม</label></th>
<th width="10%"><label id='h_eva_evaluation_behavior_process_weight'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process_target_score1'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process_target_score2'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process_target_score3'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process_target_score4'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process_target_score5'></label></th>
<th width="15%"><label id='h_eva_evaluation_behavior_process_score'></label></th>
<th width="10%">
<th><label id='h_eva_evaluation_behavior_process_weight'></label></th>
<th><label id='h_eva_evaluation_behavior_process_score'></label></th>
<th>
<p id="eva_create_evaluation_detail_summary1_total_summary_competency_chief" />
</th>
</tr>
@@ -265,7 +247,7 @@
<th><label>คะแนนประเมิน</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>คะแนน</label></th>
<th><label>รวมคะแนน</label></th>
<th><label>รวมคะแนน<br />(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
<tbody class="thin-border-bottom">

View File

@@ -203,18 +203,12 @@
<th>ลำดับ</th>
<th><label>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
<th><label>น้ำหนัก</label></th>
<th><label>1</label></th>
<th><label>2</label></th>
<th><label>3</label></th>
<th><label>4</label></th>
<th><label>5</label></th>
<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>
<th><label>รวมคะแนน<br />(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
@@ -223,18 +217,12 @@
<th>รวม</th>
<th><label id='h_eva_evaluation_achievement_process2_achievement'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_weight'></label></th>
<th><label id='h_eva_evaluation_achievement_process2_weight'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_target_score1'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_target_score2'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_target_score3'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_target_score4'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_target_score5'></label></th>
<th width="7%"><label id='h_eva_evaluation_achievement_process2_score'></label></th>
<th width="7%"><label id='x1'></label></th>
<th width="10%"><label id='h_eva_evaluation_achievement_process2_score2'></label></th>
<th width="7%"><p id="eva_create_evaluation_detail_summary2_total_summary_supervisor" /></th>
<th><label id='h_eva_evaluation_achievement_process2_score'></label></th>
<th><label id='x1'></label></th>
<th><label id='h_eva_evaluation_achievement_process2_score2'></label></th>
<th><p id="eva_create_evaluation_detail_summary2_total_summary_supervisor" /></th>
</tr>
</tfoot>
@@ -263,32 +251,23 @@
<tr>
<th>ลำดับ</th>
<th><label>พฤติกรรมการปฏิบัติงาน</label></th>
<th width="8%"><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="8%"><label>คะแนน</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
<th width="13%"><label>คะแนน <br/>(ระบุ 1.00-5.00)</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>คะแนน</label></th>
<th><label>รวมคะแนน</label></th>
<th><label>คะแนน <br/>(ระบุ 1.00-5.00)</label></th>
<th><label>รวมคะแนน<br/>(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th><label id='h_eva_evaluation_behavior_process2_behavior'>รวม</label></th>
<th width="8%"><label id='h_eva_evaluation_behavior_process2_weight'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process2_target_score1'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process2_target_score2'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process2_target_score3'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process2_target_score4'></label></th>
<th width="7%"><label id='h_eva_evaluation_behavior_process2_target_score5'></label></th>
<th width="8%"><label id='h_eva_evaluation_behavior_process2_score'></label></th>
<th width="8%"><p id="x2" /></th>
<th width="13%"><label id='h_eva_evaluation_behavior_process2_score2'></label></th>
<th width="8%"><p id="eva_create_evaluation_detail_summary2_total_summary_competency_supervisor" /></th>
<th><label id='h_eva_evaluation_behavior_process2_weight'></label></th>
<th><label id='h_eva_evaluation_behavior_process2_score'></label></th>
<th><p id="x2" /></th>
<th><label id='h_eva_evaluation_behavior_process2_score2'></label></th>
<th><p id="eva_create_evaluation_detail_summary2_total_summary_competency_supervisor" /></th>
</tr>
</tfoot>
<tbody class="thin-border-bottom" id="eva_evaluation_behavior_process2Body"></tbody>
@@ -317,9 +296,9 @@
<thead>
<tr>
<th><label>คะแนนประเมิน</label></th>
<th><label>น้ำหนัก</label></th>
<th><label>น้ำหนัก (%)</label></th>
<th><label>คะแนน</label></th>
<th><label>รวมคะแนน</label></th>
<th><label>รวมคะแนน<br />(น้ำหนัก x คะแนน / 100)</label></th>
</tr>
</thead>
<tbody class="thin-border-bottom">