ll
liukangdong
2024-12-19 63f68bf25b920d5711032a6e675769855ed3582b
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() {