水费缴费部分代码同步
This commit is contained in:
@@ -181,6 +181,7 @@
|
||||
residentId: uni.getStorageSync('userId')
|
||||
}).then(res => {
|
||||
uni.hideLoading()
|
||||
console.log(res);
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
@@ -195,10 +196,17 @@
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: err.msg || '网络异常',
|
||||
icon: 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
const loadParkingSpaceDetail = async () => {
|
||||
// 防重复请求
|
||||
@@ -225,14 +233,14 @@
|
||||
formData.value.parkingStatus = data.parkingStatus,
|
||||
uni.setStorageSync('parkingStatus', data.parkingStatus)
|
||||
|
||||
|
||||
formData.value.bindCar = data.carNum
|
||||
uni.setStorageSync('bindCarName', data.carNum)
|
||||
|
||||
|
||||
formData.value.bindCarId = data.carId
|
||||
uni.setStorageSync('bindCarId', data.carId)
|
||||
|
||||
|
||||
formData.value.bindCar = data.carNum
|
||||
uni.setStorageSync('bindCarName', data.carNum)
|
||||
|
||||
|
||||
formData.value.bindCarId = data.carId
|
||||
uni.setStorageSync('bindCarId', data.carId)
|
||||
|
||||
|
||||
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user