feat: 出差打卡-简化提示

This commit is contained in:
wangzhuo
2025-09-19 13:48:25 +08:00
parent ee41790cc9
commit 082d60e2da

View File

@@ -131,10 +131,7 @@ const handleCancel = () => {
businessTripClockIn(form).then(res=>{ businessTripClockIn(form).then(res=>{
feedback(res,()=>console.log('出差打卡成功')); feedback(res,()=>console.log('出差打卡成功'));
}).catch(e=>{ }).catch(e=>{
uni.showToast({ console.log(e);
icon: 'none',
title: e
})
}) })
} }
// 打卡 // 打卡
@@ -142,13 +139,8 @@ let handleConfirm = () => {
addStartMapForClockIn(form).then(res=>{ addStartMapForClockIn(form).then(res=>{
feedback(res, ()=>console.log('打卡成功')); feedback(res, ()=>console.log('打卡成功'));
}).catch(e=>{ }).catch(e=>{
uni.showToast({ console.log(e)
icon: 'none',
title: e
})
}) })
} }
// 判定是否在范围内 // 判定是否在范围内