jiangping
2025-05-07 c3aaf28f7316cce12eec007a9f85a96cbcddeec2
h5/pages/staff/meetingCalendar.vue
@@ -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 {