รวม code แก้บัก

This commit is contained in:
Nakorn Rientrakrunchai
2020-04-23 12:26:27 +07:00
parent a2a54c459d
commit f353f73d17
8 changed files with 40 additions and 22 deletions

View File

@@ -283,30 +283,32 @@
<tr>
<th>ลำดับ</th>
<th><label>พฤติกรรมการปฏิบัติงาน</label></th>
<th width="10%"><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="10%"><label>คะแนน</label></th>
<th width="15%"><label>คะแนน</label></th>
<th width="10%"><label>รวมคะแนน</label></th>
<th width="8%"><label>คะแนน</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
<th width="13%"><label>คะแนน</label></th>
<th width="8%"><label>รวมคะแนน</label></th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th><label id='h_eva_evaluation_behavior_process2_behavior'>รวม</label></th>
<th width="10%"><label id='h_eva_evaluation_behavior_process2_weight'></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="10%"><label id='h_eva_evaluation_behavior_process2_score'></label></th>
<th width="15%"><label id='h_eva_evaluation_behavior_process2_score2'></label></th>
<th width="10%"><p id="eva_create_evaluation_detail_summary2_total_summary_competency_supervisor" /></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>
</tr>
</tfoot>
<tbody class="thin-border-bottom" id="eva_evaluation_behavior_process2Body"></tbody>
@@ -468,7 +470,7 @@
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_create_evaluation_detail_review02_supervisor2_remark" for="eva_create_evaluation_detail_review02_supervisor2_remark">ความเห็นผู้ประเมินสูงสุด</label>
<label id="lab_eva_create_evaluation_detail_review02_supervisor2_remark" for="eva_create_evaluation_detail_review02_supervisor2_remark">ความเห็นผู้ประเมินสูงสุด </label> <span id="review02x" style="color:red;display:none;">*</span>
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review02_supervisor2_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="false" iGroup="eva_create_evaluation_detail_review02"></textarea>
</div>
</div>
@@ -526,7 +528,7 @@
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_create_evaluation_detail_review03_supervisor1A_remark" for="eva_create_evaluation_detail_review03_supervisor1A_remark">ความเห็นผู้ประเมิน</label>
<label id="lab_eva_create_evaluation_detail_review03_supervisor1A_remark" for="eva_create_evaluation_detail_review03_supervisor1A_remark">ความเห็นผู้ประเมิน</label> <span id="review03x" style="color:red;display:none;">*</span>
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review03_supervisor1A_remark" iLabel="ความเห็นผู้ประเมิน" iRequire="false" iGroup="eva_create_evaluation_detail_review03"></textarea>
</div>
</div>
@@ -574,7 +576,7 @@
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_create_evaluation_detail_review04_supervisor2A_remark" for="eva_create_evaluation_detail_review04_supervisor2A_remark">ความเห็นผู้ประเมินสูงสุด</label>
<label id="lab_eva_create_evaluation_detail_review04_supervisor2A_remark" for="eva_create_evaluation_detail_review04_supervisor2A_remark">ความเห็นผู้ประเมินสูงสุด</label> <span id="review04x" style="color:red;display:none;">*</span>
<textarea class="form-control" rows="4" cols="50" id="eva_create_evaluation_detail_review04_supervisor2A_remark" iLabel="ความเห็นผู้ประเมินสูงสุด" iRequire="false" iGroup="eva_create_evaluation_detail_review04"></textarea>
</div>
</div>
@@ -641,32 +643,35 @@
});
function Oneva_create_evaluation_detail_review02_supervisor2_resultChanged(a){
console.log($(a).val());
if($(a).val() == "Y"){
$("#eva_create_evaluation_detail_review02_supervisor2_remark").attr("iRequire","false");
$("#eva_create_evaluation_detail_review02_supervisor2_remark").css('border-color', '');
$("#review02x").hide();
}else{
$("#eva_create_evaluation_detail_review02_supervisor2_remark").attr("iRequire","true");
$("#review02x").show();
}
}
function Oneva_create_evaluation_detail_review03_supervisor1A_resultChanged(a){
console.log($(a).val());
if($(a).val() == "Y"){
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").attr("iRequire","false");
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").css('border-color', '');
$("#review03x").hide();
}else{
$("#eva_create_evaluation_detail_review03_supervisor1A_remark").attr("iRequire","true");
$("#review03x").show();
}
}
function Oneva_create_evaluation_detail_review04_supervisor2A_resultChanged(a){
console.log($(a).val());
if($(a).val() == "Y"){
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").attr("iRequire","false");
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").css('border-color', '');
$("#review04x").hide();
}else{
$("#eva_create_evaluation_detail_review04_supervisor2A_remark").attr("iRequire","true");
$("#review04x").show();
}
}