MrShi
2025-04-16 090ea2c7d46a7082e978e6c0134d3fbeafaa34a0
h5/pages/staff/task/visitorApprove.vue
@@ -68,7 +68,7 @@
               <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"
@@ -140,7 +140,8 @@
<script>
   import {
      getVisitedDetail, // 访客预约详情
      carUseBookAppr
      carUseBookAppr,
      visitsCancel
   } from '@/api'
   export default {
      data() {
@@ -186,7 +187,7 @@
            cancelShow: false
         }
      },
      onLoad(op) {
      onLoad(op) {
         uni.setStorageSync('ywinfo',{})
         this.id = op.id
         this.getDetail()
@@ -195,6 +196,7 @@
         // 取消预约
         cancel() {
            visitsCancel(this.id).then(res => {
               this.cancelShow = false
               this.getDetail()
            })
         },
@@ -255,7 +257,7 @@
            })
         },
         handleSub(status) {
            // this.param.flag =
            // this.param.flag =
            this.param = {
               status
            }
@@ -578,4 +580,4 @@
         margin: 0 -30rpx;
      }
   }
</style>
</style>