feat: 出差打卡-简化提示
This commit is contained in:
@@ -131,10 +131,7 @@ const handleCancel = () => {
|
||||
businessTripClockIn(form).then(res=>{
|
||||
feedback(res,()=>console.log('出差打卡成功'));
|
||||
}).catch(e=>{
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: e
|
||||
})
|
||||
console.log(e);
|
||||
})
|
||||
}
|
||||
// 打卡
|
||||
@@ -142,13 +139,8 @@ let handleConfirm = () => {
|
||||
addStartMapForClockIn(form).then(res=>{
|
||||
feedback(res, ()=>console.log('打卡成功'));
|
||||
}).catch(e=>{
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: e
|
||||
console.log(e)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
// 判定是否在范围内
|
||||
|
||||
Reference in New Issue
Block a user