현재위치
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
yoon 2025-03-13 12:28:44 +09:00
parent 062742c602
commit f100706a83

View File

@ -128,20 +128,16 @@ const setWorkTime = async () => {
// //
const address = await getLocation(); const address = await getLocation();
console.log(address);
return;
$api.post('commuters/insert', { $api.post('commuters/insert', {
memberSeq: props.userId, memberSeq: props.userId,
projctSeq: props.checkedInProject.PROJCTSEQ, projctSeq: props.checkedInProject.PROJCTSEQ,
commutLvt: null, commutLvt: null,
commutArr: null, commutArr: address,
}).then(res => { }).then(res => {
if (res.status === 200) { if (res.status === 200) {
toastStore.onToast('출근 완료.', 's'); toastStore.onToast('출근 완료.', 's');
todayCommuterInfo(); todayCommuterInfo();
//
emit('workTimeUpdated', true); emit('workTimeUpdated', true);
} }
}); });