From 090ea2c7d46a7082e978e6c0134d3fbeafaa34a0 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 16 四月 2025 16:44:20 +0800
Subject: [PATCH] 提交

---
 h5/pages/staff/task/visitorApprove.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/h5/pages/staff/task/visitorApprove.vue b/h5/pages/staff/task/visitorApprove.vue
index af5b291..4e5ca1e 100644
--- a/h5/pages/staff/task/visitorApprove.vue
+++ b/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>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3