liukangdong
2024-06-03 86005dc980106809704a7df9ecf201c8ef3db9f7
h5/pages/staff/meetingSub.vue
@@ -67,18 +67,18 @@
    >
      <view class="detail_modal">
        <view class="title">会议室预约情况</view>
        <view class="h1">讨论xxxxx选型</view>
        <view class="h1">{{ activeInfo.meetingName }}</view>
        <view class="line">
          <view class="label">会议时间</view>
          <view class="value">00000</view>
          <view class="value">{{ activeInfo.meetingTime }}</view>
        </view>
        <view class="line">
          <view class="label">会议室</view>
          <view class="value">00000</view>
          <view class="value">{{ activeInfo.roomName }}</view>
        </view>
        <view class="line">
          <view class="label">预约人</view>
          <view class="value">00000</view>
          <view class="value">{{ activeInfo.bookingUserName }}</view>
        </view>
        <view class="btn" @click="isShowDetail = false">关闭</view>
      </view>
@@ -101,6 +101,7 @@
      },
         selDatetime: '',
      isShowDetail: false,
      activeInfo: {},
      meetingList: [],
      timeList: [],
@@ -140,9 +141,10 @@
         const obj = {
            startTime: selTimeList[0].startTime,
            endTime: selTimeList[selTimeList.length - 1].endTime,
        bookingTimeList: selTimeList.map(i=>i.id).join(',')
         }
         uni.navigateTo({
            url: `/pages/staff/meetingSubOrder?yudingDate=${activeRoom.yudingDate}&roomName=${activeRoom.roomName}&roomId=${activeRoom.roomId}&startTime=${obj.startTime}&endTime=${obj.endTime}`
            url: `/pages/staff/meetingSubOrder?yudingDate=${activeRoom.yudingDate}&roomName=${activeRoom.roomName}&roomId=${activeRoom.roomId}&startTime=${obj.startTime}&endTime=${obj.endTime}&bookingTimeList=${obj.bookingTimeList}`
         })
      // this.$jump('/pages/staff/vehicle/apply')
    },
@@ -169,11 +171,11 @@
      })
    },
    datetimeClick(item, index) {
      if (item.isUse == '1') return
         if(item.isChoose){
            this.getDetail(item.id)
      if(item.bookingTimeId){
            this.getDetail(item.bookingTimeId)
            return
         }
      if (item.isUse == '1') return
      const { timeList } = this
      const selTimeList = timeList.filter(i => i.checked == '1')
      if (selTimeList.length === 0) {
@@ -229,6 +231,9 @@
      getDetail(id) {
         meetingDetail({
            id
         }).then(res => {
        this.activeInfo = res.data
        this.isShowDetail = true
         })
      },
  }