แก้ไข op 3550, 3567, 3568

This commit is contained in:
Nakorn Rientrakrunchai
2020-10-17 14:01:41 +07:00
parent 43cb1d0b1c
commit 916d24b976
26 changed files with 537 additions and 496 deletions

View File

@@ -16,44 +16,45 @@
</header>
<div class="card-body">
<div style="padding-bottom:20px">
<button type="button" class="btn btn-primary" onclick="javascript:eva_evaluation_behavior_process2_Add()">
<i class="fa fa-plus" style="color:white;"></i> เพิ่มรายการ
</button>
</div>
<table id="eva_evaluation_behavior_process2Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_evaluation_behavior_process2_id'>รหัสอ้างอิง</label></th>
<th><label id='h_eva_evaluation_behavior_process2_create_evaluation_detail_id'>อ้างอิงตาราง eva_create_evaluation_detail</label></th>
<th><label id='h_eva_evaluation_behavior_process2_behavior'>พฤติกรรมการปฏิบัติงาน</label></th>
<th><label id='h_eva_evaluation_behavior_process2_weight'>น้ำหนัก</label></th>
<th><label id='h_eva_evaluation_behavior_process2_score'>คะแนน</label></th>
<th><label id='h_eva_evaluation_behavior_process2_score2'>คะแนน 2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_sumary2'>รวมคะแนน 2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score1'>คะแนนตามค่าระดับเป้าหมาย1</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score2'>คะแนนตามค่าระดับเป้าหมาย2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score3'>คะแนนตามค่าระดับเป้าหมาย3</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score4'>คะแนนตามค่าระดับเป้าหมาย4</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score5'>คะแนนตามค่าระดับเป้าหมาย5</label></th>
<div style="padding-bottom:20px">
<button type="button" class="btn btn-primary" onclick="javascript:eva_evaluation_behavior_process2_Add()">
<i class="fa fa-plus" style="color:white;"></i> เพิ่มรายการ
</button>
</div>
<div style="overflow-x: auto;">
<table id="eva_evaluation_behavior_process2Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_evaluation_behavior_process2_id'>รหัสอ้างอิง</label></th>
<th><label id='h_eva_evaluation_behavior_process2_create_evaluation_detail_id'>อ้างอิงตาราง eva_create_evaluation_detail</label></th>
<th><label id='h_eva_evaluation_behavior_process2_behavior'>พฤติกรรมการปฏิบัติงาน</label></th>
<th><label id='h_eva_evaluation_behavior_process2_weight'>น้ำหนัก</label></th>
<th><label id='h_eva_evaluation_behavior_process2_score'>คะแนน</label></th>
<th><label id='h_eva_evaluation_behavior_process2_score2'>คะแนน 2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_sumary2'>รวมคะแนน 2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score1'>คะแนนตามค่าระดับเป้าหมาย1</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score2'>คะแนนตามค่าระดับเป้าหมาย2</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score3'>คะแนนตามค่าระดับเป้าหมาย3</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score4'>คะแนนตามค่าระดับเป้าหมาย4</label></th>
<th><label id='h_eva_evaluation_behavior_process2_target_score5'>คะแนนตามค่าระดับเป้าหมาย5</label></th>
<th>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_evaluation_behavior_process2Body"></tbody>
</table>
<th>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_evaluation_behavior_process2Body"></tbody>
</table>
</div>
<div style="text-align:right; padding-bottom:20px">
<label id="score_label">Total Score: 0</label>
</div>
<div style="text-align:right; padding-bottom:20px">
<label id="score_label">Total Score: 0</label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-ban"></i> ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_evaluation_behavior_process2_Save(getUrlParameter('id'))">บันทึก</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-ban"></i> ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_evaluation_behavior_process2_Save(getUrlParameter('id'))">บันทึก</button>
</div>
</div>
</div>
</section>
</div>
@@ -61,18 +62,18 @@
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_evaluation_behavior_process2/eva_evaluation_behavior_process2_inline.js?version=@MyHelper.GetDummyText()"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_evaluation_behavior_process2_InitialForm(id);
//}
eva_evaluation_behavior_process2_InitialForm('');
});
<script src="~/js/eva_evaluation_behavior_process2/eva_evaluation_behavior_process2_inline.js?version=@MyHelper.GetDummyText()"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_evaluation_behavior_process2_InitialForm(id);
//}
eva_evaluation_behavior_process2_InitialForm('');
});
$(document).on("change", ".input_score", function () {
eva_evaluation_behavior_process2_Summary();
});
</script>
$(document).on("change", ".input_score", function () {
eva_evaluation_behavior_process2_Summary();
});
</script>
}