| | |
| | | <view class="status_wrap"> |
| | | <view class="name">{{info.driverName}}的入园预约</view> |
| | | <view class="desc">{{info.carCodeFront}}</view> |
| | | <view class="status">{{ statusMap[info.status] }}</view> |
| | | <view class="status" v-if="info.status != 2 && info.status != 3">{{ statusMap[info.status] }}</view> |
| | | <image v-if="info.status == 2" class="icon" src="@/static/ic_passed@2x.png" mode=""></image> |
| | | <image v-if="info.status == 3" class="icon" src="@/static/ic_refused@2x.png" mode=""></image> |
| | | </view> |
| | | <!-- --> |
| | | <view class="emyty"></view> |
| | |
| | | <view class="appr_modal"> |
| | | <view class="title">{{ this.flag == '0' ? '拒绝' : '同意' }}</view> |
| | | <textarea |
| | | v-model="checkInfo" |
| | | :placeholder="this.flag == '0' ? '拒绝说明,必填' : '同意说明,非必填'" |
| | | placeholder-class="placeholder9" |
| | | /> |
| | |
| | | statusMap: { |
| | | 0: '待审批', |
| | | 1: '审批中', |
| | | 2: '审批通过', |
| | | 3: '审批不通过', |
| | | 2: '已通过', |
| | | 3: '已拒绝', |
| | | 4: '已取消', |
| | | }, |
| | | } |
| | |
| | | }, |
| | | handleAppy() { |
| | | const {flag,checkInfo, type,info } = this |
| | | if(flag == 0 && !checkInfo) return this.showToast('拒绝说明必填') |
| | | if(flag == 0 && checkInfo == '') return this.showToast('拒绝说明必填') |
| | | carUseBookAppr({ |
| | | checkInfo,objId: info.id,objType: 6,status: flag == 0 ? 3 : 2 |
| | | }).then(res => { |
| | |
| | | background-color: #e9edff; |
| | | color: $uni-color-primary; |
| | | } |
| | | .icon{ |
| | | width: 120rpx; |
| | | height: 120rpx; |
| | | border-radius: 50%; |
| | | position: absolute; |
| | | right: 0rpx; |
| | | top: 20rpx; |
| | | |
| | | } |
| | | } |
| | | |
| | | .main_footer { |