''
liukangdong
2024-07-04 5a85dcab83e969d6b21c599b512a15117e9b8651
h5/pages/staff/meetingCalendar.vue
@@ -93,7 +93,14 @@
              <view class="value">{{ item.remark || item.meetingRemark }}</view>
            </view>
          </view>
          <image v-if="myMeetingList.length === 0" src="@/static/empty.png" style="width: 320rpx;margin: 60rpx auto;" mode="widthFix" />
          <view v-if="myMeetingList.length === 0" style="text-align: center">
            <image
              src="@/static/empty.png"
              style="width: 320rpx; margin: 60rpx auto 0"
              mode="widthFix"
            />
            <view class="placeholder9 fs24">暂无数据</view>
          </view>
        </view>
      </view>
    </template>
@@ -142,7 +149,14 @@
              <view class="value">{{ item.remark || item.meetingRemark }}</view>
            </view>
          </view>
          <image v-if="recordList.length === 0" src="@/static/empty.png" style="width: 320rpx;margin: 120rpx auto;" mode="widthFix" />
          <view v-if="recordList.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>
@@ -213,9 +227,9 @@
    this.initData()
    this.getRoomList()
  },
   onShow() {
      this.tabClick('0')
   },
  onShow() {
    this.tabClick('0')
  },
  onReachBottom() {
    const { activeTab } = this
    if (activeTab == '0') {
@@ -241,16 +255,17 @@
        })
      })
    },
      getRoomList() {
    getRoomList() {
      roomsListPost({}).then(res => {
        this.meetingList = [[{ id: '', name: '全部会议室' }, ...res.data]]
            console.log('meetingList', this.meetingList);
        console.log('meetingList', this.meetingList)
      })
    },
    tabClick(val) {
      this.activeTab = val
      if (val === '1') {
        this.recordPage = 1
        this.recordList = []
        this.getRecordList()
      } else {
        this.myMeetingList = []
@@ -263,7 +278,7 @@
      }
    },
    seletedStatus(e) {
         this.myMeetingList = []
      this.myMeetingList = []
      this.activeRoom = { ...e.value[0] }
      this.isShowStatus = false
      this.myPage = 1
@@ -335,7 +350,7 @@
        page: myPage,
        capacity: 10
      }).then(res => {
        this.myMeetingList = [ ...this.myMeetingList, ...res.data.records ]
        this.myMeetingList = [...this.myMeetingList, ...res.data.records]
      })
    },
  }
@@ -385,7 +400,7 @@
      }
    }
    .active {
      font-weight: 500;
      font-weight: 600;
      font-size: 30rpx;
      color: #222222;
      .line {
@@ -448,6 +463,10 @@
            font-weight: 600;
            font-size: 32rpx;
            color: #222222;
            flex: 1;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .status {
            height: 38rpx;
@@ -457,6 +476,10 @@
            border: 1rpx solid #999999;
            font-size: 22rpx;
            color: #999999;
            margin-left: 20rpx;
            display: flex;
            justify-content: center;
            align-items: center;
          }
          .padding {
            color: $uni-color-primary;