jiangping
2025-06-16 8fc9e2cb7c40ff840ca40e0491124bc1d166a15e
h5/pages/staff/meetingCalendar.vue
@@ -89,7 +89,7 @@
              <view class="value">{{ item.bookingUser }}</view>
            </view>
            <view class="line">
              <view class="label">备注:</view>
              <view class="label">会议需求:</view>
              <view class="value">{{ item.remark || item.meetingRemark }}</view>
            </view>
          </view>
@@ -229,18 +229,15 @@
  },
  onLoad() {
    this.currentDate = dayja().format('YYYY-MM-DD')
    this.initData()
    this.getRoomList()
      this.tabClick('0')
      this.getRoomList()
  },
  onShow() {
    // this.tabClick('0')
      this.initData()
      this.tabClick(this.activeTab)
  },
  onReachBottom() {
    const { activeTab, total, myMeetingList, recordList } = this
      console.log(total);
      console.log(recordList);
    const { activeTab, total, myMeetingList, recordList } = this
    if (activeTab == '0') {
         if(total <= myMeetingList.length) return this.showToast('暂无更多数据')
      this.myPage = this.myPage + 1
@@ -255,7 +252,8 @@
    initData() {
      // 当月数据
      monthMeetingPage({
        yearMonth: this.currentDate.slice(0, 7)
        yearMonth: this.currentDate.slice(0, 7),
            queryType: 1
      }).then(res => {
        this.monthMark = res.data.filter(i => i.meetingNum > 0).map(j => {
          return {