ทดลองแก้ไข กรณีกดแล้ว ไม่ส่งข้อมูล

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-08-30 11:38:47 +07:00
parent e64f675036
commit 91b4e67522
2 changed files with 14 additions and 7 deletions

View File

@@ -549,10 +549,11 @@
if (!ValidateForm('eva_create_evaluation_detail_review01', eva_create_evaluation_detail_review01_customValidation)) {
return;
}
startLoad();
saveAll();
setTimeout(function () {
eva_create_evaluation_detail_status_PutUpdate(s);
}, 1000);
}, 2000);
}
function saveAll() {

View File

@@ -731,21 +731,24 @@
saveAll();
setTimeout(function () {
eva_create_evaluation_detail_review02_PutUpdate(true);
}, 1000);
endLoad();
}, 2000);
}
function saveReview03() {
saveAll();
setTimeout(function () {
eva_create_evaluation_detail_review03_PutUpdate(true);
}, 1000);
endLoad();
}, 2000);
}
function saveReview04() {
saveAll();
setTimeout(function () {
eva_create_evaluation_detail_review04_PutUpdate(true);
}, 1000);
endLoad();
}, 2000);
}
function saveStatus(s) {
@@ -753,31 +756,34 @@
if (!ValidateForm('eva_create_evaluation_detail_review02', eva_create_evaluation_detail_review02_customValidation)) {
return;
}
startLoad();
saveAll();
eva_create_evaluation_detail_review02_PutUpdate(false);
setTimeout(function () {
eva_create_evaluation_detail_status_PutUpdate(s);
}, 1000);
}, 2000);
}
else if (s === "next3") {
if (!ValidateForm('eva_create_evaluation_detail_review03', eva_create_evaluation_detail_review03_customValidation)) {
return;
}
startLoad();
saveAll();
eva_create_evaluation_detail_review03_PutUpdate(false);
setTimeout(function () {
eva_create_evaluation_detail_status_PutUpdate(s);
}, 1000);
}, 2000);
}
else if (s === "next4") {
if (!ValidateForm('eva_create_evaluation_detail_review04', eva_create_evaluation_detail_review04_customValidation)) {
return;
}
startLoad();
saveAll();
eva_create_evaluation_detail_review04_PutUpdate(false);
setTimeout(function () {
eva_create_evaluation_detail_status_PutUpdate(s);
}, 1000);
}, 2000);
}
}