From 63f68bf25b920d5711032a6e675769855ed3582b Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 19 十二月 2024 10:18:16 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/meetingDetail.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/h5/pages/staff/meetingDetail.vue b/h5/pages/staff/meetingDetail.vue
index 95017b4..e3565d7 100644
--- a/h5/pages/staff/meetingDetail.vue
+++ b/h5/pages/staff/meetingDetail.vue
@@ -75,13 +75,13 @@
       </view>
     </view>
     <view class="empty empty2"></view>
-    <view class="main_footer" v-if="detail.meetingStatus == '1'">
+    <view class="main_footer" v-if="detail.meetingStatus == '1' && (detail.isAdmin == 1 || detail.showHandle)">
       <view class="btn" @click="openCancel">鎾ゅ洖</view>
       <view class="btn edit" @click="handleEdit">淇敼</view>
       <view class="btn agree" @click="handleStart">寮�濮嬩細璁�</view>
     </view>
     <view class="main_footer" v-if="detail.meetingStatus == '2' && detail.isAdmin == 1">
-      <view class="btn agree" @click="openClose">缁撴潫</view>
+      <view class="btn" @click="openClose">缁撴潫浼氳</view>
     </view>
     <!-- 鎾ゅ洖 -->
     <u-popup
@@ -147,6 +147,7 @@
     }
   },
   onLoad(option) {
+		uni.setStorageSync('ywinfo',{})
     this.id = option.id
     this.getDetail()
   },
@@ -155,6 +156,10 @@
       const { id } = this
       meetingDetail({ id }).then(res => {
         this.detail = res.data
+				const userInfo = uni.getStorageSync('userInfo') || {}
+				// const index = this.detail.userResponseList.findIndex(i => i.id == userInfo.id)
+
+				this.$set(this.detail, 'showHandle', this.detail.bookingUserId == userInfo.id)
       })
     },
     openCancel() {

--
Gitblit v1.9.3