| | |
| | | <view class="status" v-if="item.meetingStatus == '5'"
|
| | | >已撤销</view
|
| | | >
|
| | | </view>
|
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">会议日期:</view> |
| | | <view class="value">{{ item.meetingDate }}</view> |
| | | </view>
|
| | | <view class="line">
|
| | | <view class="label">会议时间:</view>
|
| | | <view class="value">{{ item.meetingTime }}</view>
|
| | |
| | | <view class="label">预约人:</view>
|
| | | <view class="value">{{ item.bookingUser }}</view>
|
| | | </view>
|
| | | <view class="line">
|
| | | <!-- <view class="line">
|
| | | <view class="label">备注:</view>
|
| | | <view class="value">{{ item.remark || item.meetingRemark }}</view>
|
| | | </view>
|
| | | </view> -->
|
| | | </view>
|
| | | <view v-if="recordList.length === 0" style="text-align: center">
|
| | | <image
|
| | |
| | | data() {
|
| | | return {
|
| | | activeTab: '0',
|
| | | recordList: [],
|
| | | recordList: [], |
| | | total: 0,
|
| | | recordPage: 1,
|
| | | myPage: 1,
|
| | | myMeetingList: [],
|
| | |
| | | onLoad() {
|
| | | this.currentDate = dayja().format('YYYY-MM-DD')
|
| | | this.initData()
|
| | | this.getRoomList()
|
| | | this.getRoomList() |
| | | this.tabClick('0')
|
| | | },
|
| | | onShow() {
|
| | | // this.tabClick('0') |
| | | this.getRecordList()
|
| | | |
| | | },
|
| | | onReachBottom() {
|
| | | const { activeTab } = this
|
| | | if (activeTab == '0') {
|
| | | const { activeTab, total, myMeetingList, recordList } = this |
| | | console.log(total); |
| | | console.log(recordList);
|
| | | if (activeTab == '0') { |
| | | // if(total <= myMeetingList.length) return this.showToast('暂无更多数据')
|
| | | this.myPage = this.myPage + 1
|
| | | this.getDayMeeting()
|
| | | } else {
|
| | | } else { |
| | | // if(total <= recordList.length) return this.showToast('暂无更多数据')
|
| | | this.recordPage = this.recordPage + 1
|
| | | this.getRecordList()
|
| | | }
|
| | |
| | | queryType: 2
|
| | | }
|
| | | }).then(res => {
|
| | | this.recordList = [...this.recordList, ...res.data.records]
|
| | | this.recordList = [...this.recordList, ...res.data.records] |
| | | this.total = res.data.total
|
| | | })
|
| | | },
|
| | | getDayMeeting() {
|
| | |
| | | page: myPage,
|
| | | capacity: 10
|
| | | }).then(res => {
|
| | | this.myMeetingList = [...this.myMeetingList, ...res.data.records]
|
| | | this.myMeetingList = [...this.myMeetingList, ...res.data.records] |
| | | this.total = res.data.total
|
| | | })
|
| | | },
|
| | | }
|