mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 10:49:36 +08:00
描述:参加会议显示参与人员
This commit is contained in:
parent
2d8999e3d0
commit
b480b3bfce
@ -152,3 +152,11 @@ export function meetingRoomPayOrderRq(data) {
|
|||||||
data
|
data
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 查询参与会议预约人员列表
|
||||||
|
export function inviteRecordPersonListRq(id) {
|
||||||
|
return request({
|
||||||
|
url: '/api/roomContent/inviteRecord?reservationId=' + id,
|
||||||
|
method: "get",
|
||||||
|
});
|
||||||
|
}
|
@ -12,7 +12,8 @@ import {
|
|||||||
selectReservationByIdRq,
|
selectReservationByIdRq,
|
||||||
selectCoordinateRq,
|
selectCoordinateRq,
|
||||||
roomContentIsVisitorRq,
|
roomContentIsVisitorRq,
|
||||||
roomContentAddVisitorRq
|
roomContentAddVisitorRq,
|
||||||
|
inviteRecordPersonListRq
|
||||||
} from "../../../api/meeting/meetingRoom.js"
|
} from "../../../api/meeting/meetingRoom.js"
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -44,6 +45,7 @@ Page({
|
|||||||
},
|
},
|
||||||
id: null,
|
id: null,
|
||||||
detail: null,
|
detail: null,
|
||||||
|
joinPersonList: [],
|
||||||
address: {},
|
address: {},
|
||||||
openid: null,
|
openid: null,
|
||||||
authorizationShow: true,
|
authorizationShow: true,
|
||||||
@ -99,8 +101,20 @@ Page({
|
|||||||
detail
|
detail
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
// 查询参与会议预约人员列表
|
||||||
|
_this.getInviteRecordPersonList()
|
||||||
|
},
|
||||||
|
// 查询参与会议预约人员列表
|
||||||
|
getInviteRecordPersonList() {
|
||||||
|
let _this = this;
|
||||||
|
let id = _this.data.id;
|
||||||
|
inviteRecordPersonListRq(id).then(res => {
|
||||||
|
console.log('inviteRecordPersonListRq', res);
|
||||||
|
_this.setData({
|
||||||
|
joinPersonList: res.data
|
||||||
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 打开地图
|
// 打开地图
|
||||||
openMap(e) {
|
openMap(e) {
|
||||||
console.log('openMap', e);
|
console.log('openMap', e);
|
||||||
@ -202,6 +216,8 @@ Page({
|
|||||||
participateShow: false,
|
participateShow: false,
|
||||||
openDoorShow: true
|
openDoorShow: true
|
||||||
})
|
})
|
||||||
|
// 查询参与会议预约人员列表
|
||||||
|
_this.getInviteRecordPersonList()
|
||||||
} else { //参与失败
|
} else { //参与失败
|
||||||
Notify({
|
Notify({
|
||||||
type: 'danger',
|
type: 'danger',
|
||||||
|
@ -34,6 +34,21 @@
|
|||||||
<view class="title">会面时间</view>
|
<view class="title">会面时间</view>
|
||||||
<view class="content">{{detail.timeSlot}}</view>
|
<view class="content">{{detail.timeSlot}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<!-- 参与人员 -->
|
||||||
|
<view class="otherView">
|
||||||
|
<view class="title">参与人员</view>
|
||||||
|
<view class="content">
|
||||||
|
<view class="joinView">
|
||||||
|
<view class="joinPersonView" wx:for="{{joinPersonList}}" wx:key="*this">
|
||||||
|
<image class="img" src="{{item.avatar ? IMG_NAME + item.avatar : IMG_NAME + '/profile/static/user/headImg.png'}}" mode="aspectFill"></image>
|
||||||
|
<view class="name">{{item.userName}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<!-- 授权登录 -->
|
<!-- 授权登录 -->
|
||||||
<view class="submitBtn" wx:if="{{authorizationShow}}">授权登录
|
<view class="submitBtn" wx:if="{{authorizationShow}}">授权登录
|
||||||
<button class="loginBtn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
|
<button class="loginBtn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
|
||||||
|
@ -71,6 +71,41 @@
|
|||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.joinView {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.joinView .joinPersonView {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.joinView .joinPersonView .img {
|
||||||
|
width: 80rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
border-radius: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.joinView .joinPersonView .name {
|
||||||
|
width: 100rpx;
|
||||||
|
margin-top: 10rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #5e5e5e;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.submitBtn {
|
.submitBtn {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -6,6 +6,13 @@
|
|||||||
"condition": {
|
"condition": {
|
||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"list": [
|
"list": [
|
||||||
|
{
|
||||||
|
"name": "pages/meeting/invite/invite",
|
||||||
|
"pathName": "pages/meeting/invite/invite",
|
||||||
|
"query": "id=82",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pages/meeting/invite/invite",
|
"name": "pages/meeting/invite/invite",
|
||||||
"pathName": "pages/meeting/invite/invite",
|
"pathName": "pages/meeting/invite/invite",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user