ปรับปรุง flow การบันทึกและแสดงคะแนนของทุก actor
This commit is contained in:
@@ -592,9 +592,7 @@
|
||||
var id = getUrlParameter("id");
|
||||
if (id) {
|
||||
eva_create_evaluation_detail_process_SetEditForm(id);
|
||||
eva_evaluation_achievement_process2_InitialForm(id);
|
||||
eva_evaluation_behavior_process2_InitialForm(id);
|
||||
eva_create_evaluation_detail_summary2_SetEditForm(id);
|
||||
|
||||
eva_create_evaluation_detail_review01_SetEditForm(id);
|
||||
eva_create_evaluation_detail_review02_SetEditForm(id);
|
||||
eva_create_evaluation_detail_review03_SetEditForm(id);
|
||||
@@ -655,7 +653,7 @@
|
||||
searchVacationObject.start_date = formatDateForGetParameter(getDate($("#date_from").val()));
|
||||
searchVacationObject.end_date = formatDateForGetParameter(getDate($("#date_to").val()));
|
||||
searchVacationObject.employee_id = $("#eva_create_evaluation_detail_process_employee_id").val();
|
||||
console.log(searchVacationObject);
|
||||
//console.log(searchVacationObject);
|
||||
return searchVacationObject;
|
||||
}
|
||||
|
||||
@@ -705,13 +703,17 @@
|
||||
}
|
||||
|
||||
function saveReview03(){
|
||||
//saveAll();
|
||||
eva_create_evaluation_detail_review03_PutUpdate(true);
|
||||
saveAll();
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_review03_PutUpdate(true);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
function saveReview04(){
|
||||
//saveAll();
|
||||
eva_create_evaluation_detail_review04_PutUpdate(true);
|
||||
saveAll();
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_review04_PutUpdate(true);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
function saveStatus(s){
|
||||
@@ -721,7 +723,8 @@
|
||||
return;
|
||||
}
|
||||
saveAll();
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_review02_PutUpdate(false);
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
}, 1000);
|
||||
}
|
||||
@@ -730,16 +733,22 @@
|
||||
{
|
||||
return;
|
||||
}
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_review03_PutUpdate(false);
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
}, 1000);
|
||||
}
|
||||
else if(s === "next4"){
|
||||
if (!ValidateForm('eva_create_evaluation_detail_review04', eva_create_evaluation_detail_review04_customValidation))
|
||||
{
|
||||
return;
|
||||
}
|
||||
saveAll();
|
||||
eva_create_evaluation_detail_review04_PutUpdate(false);
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
setTimeout(function() {
|
||||
eva_create_evaluation_detail_status_PutUpdate(s);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user