ll
liukangdong
2025-01-15 f5028477ff21f0146206bfcac6e78cb92e81d90c
h5/pages/staff/meetingManager.vue
@@ -74,6 +74,14 @@
              <view class="value">{{ item.remark || item.meetingRemark }}</view>
            </view>
          </view>
          <view v-if="myMeetingList.length === 0" style="text-align: center">
            <image
              src="@/static/empty.png"
              style="width: 320rpx; margin: 120rpx auto 0"
              mode="widthFix"
            />
            <view class="placeholder9 fs24">暂无数据</view>
          </view>
        </view>
      </view>
    </template>
@@ -144,39 +152,40 @@
    this.initData()
    this.getRoomList()
  },
   onShow() {
      this.myPage = 1
  onShow() {
    this.myPage = 1
    this.myMeetingList = []
    this.getDayMeeting()
   },
  },
  onReachBottom() {
    this.myPage = this.myPage + 1
      this.getDayMeeting()
    this.getDayMeeting()
  },
  methods: {
    initData() {
      // 当月数据
      monthMeetingPage({
        yearMonth: this.currentDate.slice(0, 7)
        yearMonth: this.currentDate.slice(0, 7),
            queryType: 3
      }).then(res => {
        this.monthMark = res.data.filter(i => i.meetingNum > 0).map(j => {
          return {
            time: j.monthDate,
            pointText: j.meetingNum,
            pointTextColor: 'red'
            pointTextColor: '#fff'
          }
        })
      })
    },
      getRoomList() {
    getRoomList() {
      roomsListPost({}).then(res => {
        this.meetingList = [[{ id: '', name: '全部会议室' }, ...res.data]]
            console.log('meetingList', this.meetingList);
      })
    },
    seletedStatus(e) {
         this.myMeetingList = []
      this.myMeetingList = []
      this.activeRoom = { ...e.value[0] }
      this.recordPage = 1
      this.isShowStatus = false
      this.getDayMeeting()
    },
@@ -226,14 +235,14 @@
      // 当天我参与的会议
      myMeetingPage({
        model: {
          queryType: '1',
          queryType: '3',
          roomsId: activeRoom.id,
          queryDate: currentDate
        },
        page: myPage,
        capacity: 10
      }).then(res => {
        this.myMeetingList = [ ...this.myMeetingList, ...res.data.records ]
        this.myMeetingList = [...this.myMeetingList, ...res.data.records]
      })
    },
  }
@@ -283,7 +292,7 @@
      }
    }
    .active {
      font-weight: 500;
      font-weight: 600;
      font-size: 30rpx;
      color: #222222;
      .line {
@@ -346,9 +355,14 @@
            font-weight: 600;
            font-size: 32rpx;
            color: #222222;
            flex: 1;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .status {
            height: 38rpx;
            margin-left: 20rpx;
            line-height: 38rpx;
            padding: 0 16rpx;
            border-radius: 4rpx;