Compare commits
No commits in common. "efca59a50fa451bfac18afda6ef06fb6469208d9" and "0d897fb583e6d661f88ff775aa028dbc735716df" have entirely different histories.
efca59a50f
...
0d897fb583
3 changed files with 10 additions and 11 deletions
|
|
@ -47,7 +47,6 @@ const {
|
|||
success,
|
||||
dialogConfirm,
|
||||
dialogRemove,
|
||||
convertDateToAPI,
|
||||
} = mixin;
|
||||
|
||||
/** ตัวแปร */
|
||||
|
|
@ -478,8 +477,9 @@ function onSubmitConditions() {
|
|||
function onSubmitAttached() {
|
||||
dialogConfirm($q, async () => {
|
||||
const formData = new FormData();
|
||||
const send: string = convertDateToAPI(date.value) ?? "";
|
||||
const activeDate: string = convertDateToAPI(dateLeave.value) ?? "";
|
||||
const send = date.value !== null ? new Date(date.value).toUTCString() : "";
|
||||
const activeDate =
|
||||
dateLeave.value !== null ? new Date(dateLeave.value).toUTCString() : "";
|
||||
formData.append("Location", location.value);
|
||||
formData.append("SendDate", send);
|
||||
formData.append("ActiveDate", activeDate);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ const {
|
|||
hideLoader,
|
||||
success,
|
||||
dialogConfirm,
|
||||
convertDateToAPI,
|
||||
} = useCounterMixin();
|
||||
|
||||
const checkRoutePermisson = ref<boolean>(route.name == "resignDetailreject");
|
||||
|
|
@ -314,8 +313,9 @@ async function clickCancel() {
|
|||
function onSubmitAttached() {
|
||||
dialogConfirm($q, () => {
|
||||
const formData = new FormData();
|
||||
const send: string = convertDateToAPI(date.value) ?? "";
|
||||
const activeDate: string = convertDateToAPI(dateLeave.value) ?? "";
|
||||
const send = date.value !== null ? new Date(date.value).toUTCString() : "";
|
||||
const activeDate =
|
||||
dateLeave.value !== null ? new Date(dateLeave.value).toUTCString() : "";
|
||||
formData.append("Location", location.value);
|
||||
formData.append("SendDate", send);
|
||||
formData.append("ActiveDate", activeDate);
|
||||
|
|
@ -439,7 +439,7 @@ onMounted(async () => {
|
|||
class="q-mr-sm"
|
||||
@click="router.push('/retirement/resign')"
|
||||
/>
|
||||
รายละเอียดการยกเลิกลาออก
|
||||
รายละเอียดการยกเลิกลาออก
|
||||
{{
|
||||
dataDetail.prefix + dataDetail.firstName + " " + dataDetail.lastName
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ const {
|
|||
hideLoader,
|
||||
success,
|
||||
dialogConfirm,
|
||||
convertDateToAPI,
|
||||
} = mixin;
|
||||
|
||||
/** ตัวแปร */
|
||||
|
|
@ -302,9 +301,9 @@ async function clickCancel() {
|
|||
function onSubmitAttached() {
|
||||
dialogConfirm($q, () => {
|
||||
const formData = new FormData();
|
||||
const send: string = convertDateToAPI(date.value) ?? "";
|
||||
const activeDate: string = convertDateToAPI(dateLeave.value) ?? "";
|
||||
|
||||
const send = date.value !== null ? new Date(date.value).toUTCString() : "";
|
||||
const activeDate =
|
||||
dateLeave.value !== null ? new Date(dateLeave.value).toUTCString() : "";
|
||||
formData.append("Location", location.value);
|
||||
formData.append("SendDate", send);
|
||||
formData.append("ActiveDate", activeDate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue