| | |
| | | <view class="avatar">
|
| | | <image v-if="item.type == 1" class="img" src="@/static/staff/ic_chaosong@2x.png" />
|
| | | <image v-else-if="item.approveType == 1 || item.approveType == 0" class="img"
|
| | | src="@/static/staff/ic_shenpiren@2x.png" /> |
| | | src="@/static/staff/ic_shenpiren@2x.png" />
|
| | | <image v-else-if="item.faceImg" :src="item.faceImg" class="img"></image>
|
| | | <span v-else class="img_name">{{item.memberName && item.memberName.slice(0,1)}}</span>
|
| | | <image v-if="item.status == 2" class="status" src="@/static/staff/liucheng_success@2x.png"
|
| | |
| | | <script>
|
| | | import {
|
| | | getVisitedDetail, // 访客预约详情
|
| | | carUseBookAppr
|
| | | carUseBookAppr,
|
| | | visitsCancel
|
| | | } from '@/api'
|
| | | export default {
|
| | | data() {
|
| | |
| | | cancelShow: false
|
| | | }
|
| | | },
|
| | | onLoad(op) { |
| | | onLoad(op) {
|
| | | uni.setStorageSync('ywinfo',{})
|
| | | this.id = op.id
|
| | | this.getDetail()
|
| | |
| | | // 取消预约
|
| | | cancel() {
|
| | | visitsCancel(this.id).then(res => {
|
| | | this.cancelShow = false
|
| | | this.getDetail()
|
| | | })
|
| | | },
|
| | |
| | | })
|
| | | },
|
| | | handleSub(status) {
|
| | | // this.param.flag = |
| | | // this.param.flag =
|
| | | this.param = {
|
| | | status
|
| | | }
|
| | |
| | | margin: 0 -30rpx;
|
| | | }
|
| | | }
|
| | | </style> |
| | | </style>
|