| | |
| | | uni.hideLoading(); |
| | | if (res.code == 0) { |
| | | this.yuYueData = res.data; |
| | | } else { |
| | | this.$u.toast('加载失败'); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | }, 1000); |
| | | }, 500); |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '预约失败'); |
| | | } |
| | |
| | | this.rcsqData.filedId = value.filedId; |
| | | this.$reqPost('saveRCSQ', this.rcsqData, 'json').then(res => { |
| | | if (res.code == 0) { |
| | | this.$u.toast('新建入场申请成功。'); |
| | | this.$u.toast('入场申请成功'); |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '入场申请失败,请稍后重试'); |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | } |
| | | }); |
| | | } |