feat: 出差打卡-简化提示
This commit is contained in:
@@ -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
|
|
||||||
})
|
})
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 判定是否在范围内
|
// 判定是否在范围内
|
||||||
|
|||||||
Reference in New Issue
Block a user