Merge pull request #1488 from Frappet/fix/formatDate
fix:convertDateToAPI
This commit is contained in:
commit
8f53521403
8 changed files with 42 additions and 13 deletions
|
|
@ -20,7 +20,7 @@ const $q = useQuasar();
|
|||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const mixin = useCounterMixin();
|
||||
const { messageError, success, showLoader, hideLoader, onSearchDataTable } =
|
||||
const { messageError, success, showLoader, hideLoader, onSearchDataTable,convertDateToAPI } =
|
||||
mixin;
|
||||
|
||||
const initialPagination = ref<Pagination>({
|
||||
|
|
@ -370,7 +370,7 @@ function onSubmitCandidates(date: Date) {
|
|||
showLoader();
|
||||
await http
|
||||
.post(config.API.periodRecruitToPlacement(importId.value), {
|
||||
accountStartDate: date,
|
||||
accountStartDate: convertDateToAPI(date),
|
||||
})
|
||||
.then(() => {
|
||||
success($q, "นำผู้ผ่านสอบแข่งขันเข้าสู่ระบบบรรจุ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue