fix: Change get to post
This commit is contained in:
parent
41e08b7200
commit
de2571e02f
1 changed files with 4 additions and 2 deletions
|
|
@ -350,7 +350,7 @@ async function fetchData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** บรรจุผู้ผ่านการคัดเลือกผู้พิการ */
|
/** บรรจุผู้ผ่านการคัดเลือกผู้พิการ */
|
||||||
async function onSubmitCandidates() {
|
async function onSubmitCandidates(date: Date) {
|
||||||
$q.dialog({
|
$q.dialog({
|
||||||
title: "ยืนยันการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ",
|
title: "ยืนยันการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ",
|
||||||
message: "ต้องการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุใช่หรือไม่?",
|
message: "ต้องการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุใช่หรือไม่?",
|
||||||
|
|
@ -363,7 +363,9 @@ async function onSubmitCandidates() {
|
||||||
.onOk(async () => {
|
.onOk(async () => {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.periodDisableToPlacement(importId.value))
|
.post(config.API.periodDisableToPlacement(importId.value), {
|
||||||
|
accountStartDate: date,
|
||||||
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
success($q, "นำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ");
|
success($q, "นำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ");
|
||||||
modalCandidates.value = false;
|
modalCandidates.value = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue