ปรับ Code การลาลงเวลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-25 13:18:11 +07:00
parent d150dedb81
commit 99419877c4
42 changed files with 123 additions and 148 deletions

View file

@ -116,7 +116,6 @@ export const useChangeRoundDataStore = defineStore(
// ข้อมูลในตาราง
function setProfileId(id: string) {
console.log(profileId);
profileId.value = id;
}
@ -125,6 +124,7 @@ export const useChangeRoundDataStore = defineStore(
function fetchDataForCardId(dataDetail: any) {
if (dataDetail) {
rows.value = [];
showLoader();
http
.post(config.API.leaveSearch(), {
@ -152,8 +152,6 @@ export const useChangeRoundDataStore = defineStore(
currentRound: `${e.startTimeMorning}-${e.leaveTimeAfterNoon}`,
effectiveDate: date2Thai(e.effectiveDate) ?? "-",
}));
console.log(profileId.value);
console.log(apiData.length);
} else {
rows.value = [];
checkCilck.value = true;