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({
|
||||
title: "ยืนยันการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ",
|
||||
message: "ต้องการนำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุใช่หรือไม่?",
|
||||
|
|
@ -363,7 +363,9 @@ async function onSubmitCandidates() {
|
|||
.onOk(async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.periodDisableToPlacement(importId.value))
|
||||
.post(config.API.periodDisableToPlacement(importId.value), {
|
||||
accountStartDate: date,
|
||||
})
|
||||
.then(() => {
|
||||
success($q, "นำผู้ผ่านคัดเลือกคนพิการเข้าสู่ระบบบรรจุ");
|
||||
modalCandidates.value = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue