|
@@ -330,9 +330,11 @@
|
|
|
|
|
|
// });
|
|
|
plus.nativeUI.toast(res.msg);
|
|
|
+ setTimeout(() =>{
|
|
|
uni.redirectTo({
|
|
|
url: '/pages/getout/getout'
|
|
|
- });
|
|
|
+ });
|
|
|
+ },1000)
|
|
|
//#ifdef APP-PLUS
|
|
|
device.print(res.data.print);
|
|
|
speak(res.data.speak);
|
|
@@ -349,13 +351,16 @@
|
|
|
}else{
|
|
|
this.$u.api.entrance(param)//车位空闲调
|
|
|
.then(res=>{
|
|
|
- this.$refs.uToast.show({
|
|
|
- title: res.msg,
|
|
|
- type: 'success'
|
|
|
- });
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // title: res.msg,
|
|
|
+ // type: 'success'
|
|
|
+ // });
|
|
|
+ plus.nativeUI.toast(res.msg);
|
|
|
+ setTimeout(() =>{
|
|
|
uni.redirectTo({
|
|
|
url: '/pages/getout/getout'
|
|
|
- });
|
|
|
+ });
|
|
|
+ },1000)
|
|
|
//#ifdef APP-PLUS
|
|
|
device.print(res.data.print);
|
|
|
speak(res.data.speak);
|