แก้ไข OP2596
This commit is contained in:
@@ -365,11 +365,11 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button id="btna01" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_review01_PutUpdate()">บันทึก</button>
|
||||
<button id="btna01" type="button" class="btn btn-submit" onclick="javascript:saveAll()">บันทึก</button>
|
||||
|
||||
<button id="btna02" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next1')">ส่งแบบประเมิน</button>
|
||||
<button id="btna02" type="button" class="btn btn-submit" onclick="javascript:saveStatus('next1')">ส่งแบบประเมิน</button>
|
||||
|
||||
<button id="btna03" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('back1')">ตีกลับแบบประเมิน</button>
|
||||
<button id="btna03" type="button" class="btn btn-submit" onclick="javascript:saveStatus('back1')">ตีกลับแบบประเมิน</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -436,7 +436,6 @@
|
||||
}
|
||||
|
||||
function searchVacation_FeedDataToForm(data) {
|
||||
|
||||
$("#sum_day_sick_leave").text(data.sum_day_sick_leave);
|
||||
$("#count_sick_leave").text(data.count_sick_leave);
|
||||
$("#sum_day_personal_leave").text(data.sum_day_personal_leave);
|
||||
@@ -447,7 +446,18 @@
|
||||
$("#count_absence_tad_processing_time_results").text(data.count_absence_tad_processing_time_results);
|
||||
$("#sum_day_sick_personal_leave").text(data.sum_day_sick_personal_leave);
|
||||
$("#count_sick_personal_leave").text(data.count_sick_personal_leave);
|
||||
}
|
||||
|
||||
function saveStatus(s){
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
}
|
||||
|
||||
function saveAll(){
|
||||
eva_evaluation_achievement_process_Save(getUrlParameter('id'));
|
||||
eva_evaluation_behavior_process_Save(getUrlParameter('id'));
|
||||
eva_create_evaluation_detail_summary1_PutUpdate();
|
||||
eva_create_evaluation_detail_review01_PutUpdate();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
<tr>
|
||||
<th>ลำดับ</th>
|
||||
|
||||
<th width="30%"><label>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
|
||||
<th><label>ผลสัมฤทธิ์ตัวชี้วัดผลงาน</label></th>
|
||||
<th><label>น้ำหนัก</label></th>
|
||||
|
||||
<th><label>1</label></th>
|
||||
@@ -232,10 +232,10 @@
|
||||
<th><label>4</label></th>
|
||||
<th><label>5</label></th>
|
||||
|
||||
<th width="10%"><label>คะแนน</label></th>
|
||||
<th width="10%"><label>รวมคะแนน</label></th>
|
||||
<th width="10%"><label>คะแนน</label></th>
|
||||
<th width="10%"><label>รวมคะแนน</label></th>
|
||||
<th><label>คะแนน</label></th>
|
||||
<th><label>รวมคะแนน</label></th>
|
||||
<th><label>คะแนน</label></th>
|
||||
<th><label>รวมคะแนน</label></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -243,19 +243,19 @@
|
||||
<tr>
|
||||
<th>รวม</th>
|
||||
|
||||
<th width="25%"><label id='h_eva_evaluation_achievement_process2_achievement'></label></th>
|
||||
<th><label id='h_eva_evaluation_achievement_process2_weight'></label></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_target_score1'></label></th>
|
||||
<th><label id='h_eva_evaluation_achievement_process2_target_score2'></label></th>
|
||||
<th><label id='h_eva_evaluation_achievement_process2_target_score3'></label></th>
|
||||
<th><label id='h_eva_evaluation_achievement_process2_target_score4'></label></th>
|
||||
<th><label id='h_eva_evaluation_achievement_process2_target_score5'></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="10%"><label id='h_eva_evaluation_achievement_process2_score'></label></th>
|
||||
<th width="10%"><label id='x1'></label></th>
|
||||
<th width="15%"><label id='h_eva_evaluation_achievement_process2_score2'></label></th>
|
||||
<th width="10%"><p id="eva_create_evaluation_detail_summary2_total_summary_supervisor" /></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>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
@@ -492,11 +492,11 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button id="btnb01" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_review02_PutUpdate()">บันทึก</button>
|
||||
<button id="btnb01" type="button" class="btn btn-submit" onclick="javascript:saveReview02()">บันทึก</button>
|
||||
|
||||
<button id="btnb02" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next2')">ส่งแบบประเมิน</button>
|
||||
<button id="btnb02" type="button" class="btn btn-submit" onclick="javascript:saveStatus('next2')">ส่งแบบประเมิน</button>
|
||||
|
||||
<button id="btnb03" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('back2')">ตีกลับแบบประเมิน</button>
|
||||
<button id="btnb03" type="button" class="btn btn-submit" onclick="javascript:saveStatus('back2')">ตีกลับแบบประเมิน</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -542,11 +542,11 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button id="btnc01" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_review03_PutUpdate()">บันทึก</button>
|
||||
<button id="btnc01" type="button" class="btn btn-submit" onclick="javascript:saveReview03()">บันทึก</button>
|
||||
|
||||
<button id="btnc02" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next3')">ส่งแบบประเมิน</button>
|
||||
<button id="btnc02" type="button" class="btn btn-submit" onclick="javascript:saveStatus('next3')">ส่งแบบประเมิน</button>
|
||||
|
||||
<button id="btnc03" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('back3')">ตีกลับแบบประเมิน</button>
|
||||
<button id="btnc03" type="button" class="btn btn-submit" onclick="javascript:saveStatus('back3')">ตีกลับแบบประเมิน</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -590,11 +590,11 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button id="btnd01" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_review04_PutUpdate()">บันทึก</button>
|
||||
<button id="btnd01" type="button" class="btn btn-submit" onclick="javascript:saveReview04()">บันทึก</button>
|
||||
|
||||
<button id="btnd02" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next4')">ส่งแบบประเมิน</button>
|
||||
<button id="btnd02" type="button" class="btn btn-submit" onclick="javascript:saveStatus('next4')">ส่งแบบประเมิน</button>
|
||||
|
||||
<button id="btnd03" type="button" class="btn btn-submit" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('back4')">ตีกลับแบบประเมิน</button>
|
||||
<button id="btnd03" type="button" class="btn btn-submit" onclick="javascript:saveStatus('back4')">ตีกลับแบบประเมิน</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -723,6 +723,31 @@
|
||||
$("#count_sick_personal_leave").text(data.count_sick_personal_leave);
|
||||
|
||||
}
|
||||
|
||||
function saveReview02(){
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_review02_PutUpdate();
|
||||
}
|
||||
|
||||
function saveReview03(){
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_review03_PutUpdate();
|
||||
}
|
||||
|
||||
function saveReview04(){
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_review04_PutUpdate();
|
||||
}
|
||||
|
||||
function saveStatus(s){
|
||||
saveAll();
|
||||
}
|
||||
|
||||
function saveAll(){
|
||||
eva_evaluation_achievement_process2_Save(getUrlParameter('id'));
|
||||
eva_evaluation_behavior_process2_Save(getUrlParameter('id'));
|
||||
eva_create_evaluation_detail_summary2_PutUpdate();
|
||||
}
|
||||
</script>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user