| | |
| | | <template> |
| | | <view class="appointment"> |
| | | <view class="appointment-description" |
| | | v-if="isRCSQ"> |
| | | *您当前的预约时间段<text>{{yuYueSection}}</text> |
| | | </view> |
| | | <combined-title |
| | | :title="yuYueData.length != 0 ? yuYueData[0].filedName + '——' + yuYueData[0].sendDate : '暂无预约列表'"></combined-title> |
| | | <view class="appointment-table"> |
| | |
| | | deptId: '', |
| | | filedId: '', |
| | | remark: '' |
| | | } |
| | | }, |
| | | yuYueSection: '' |
| | | }; |
| | | }, |
| | | onLoad(params) { |
| | | if (params.type == '入场申请') { |
| | | this.isRCSQ = true; |
| | | this.rcsqData.originalYyId = params.yyId; |
| | | this.yuYueSection = params.yuYueSection |
| | | } |
| | | this.yuYuePostParams.takeCoalId = params.takeCoalId; |
| | | this.yuYueListParams.filedId = params.filedId; |
| | |
| | | this.yuYueList(); |
| | | this.$u.toast('预约成功'); |
| | | let timer = setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | }, 500); |
| | | uni.switchTab({ |
| | | url: '/pages/tabbar-page/index-tabbar/index-tabbar' |
| | | }) |
| | | }, 1500); |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '预约失败'); |
| | | } |
| | |
| | | if (res.code == 0) { |
| | | this.$u.toast('入场申请成功'); |
| | | let timer = setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | }, 500); |
| | | uni.switchTab({ |
| | | url: '/pages/tabbar-page/index-tabbar/index-tabbar' |
| | | }) |
| | | }, 1500); |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '入场申请失败,请稍后重试'); |
| | | } |
| | |
| | | width: 94%; |
| | | margin: 0 auto; |
| | | |
| | | // 预约界面描述 |
| | | .appointment-description { |
| | | margin: vww(8) 0; |
| | | color: #fd1446; |
| | | |
| | | text { |
| | | font-weight: bold; |
| | | display: inline-block; |
| | | margin-left: vww(5); |
| | | color: #252525; |
| | | } |
| | | } |
| | | |
| | | h1 { |
| | | font-size: vww(20); |
| | | text-align: center; |