mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-22 05:29:37 +08:00
69 lines
4.5 KiB
Plaintext
69 lines
4.5 KiB
Plaintext
<view class="containerView public">
|
|
<van-dropdown-menu>
|
|
<van-dropdown-item id="item" title="{{ search.title.text }}">
|
|
<van-cell>
|
|
<van-field clearable value="{{ search.title.value }}" placeholder="请输入会议名称模糊查询" bind:change="changeSearchTitle" />
|
|
</van-cell>
|
|
<view style="padding: 15px 16px;">
|
|
<van-button type="info" size="small" block round bind:click="searchTitle">
|
|
查询
|
|
</van-button>
|
|
</view>
|
|
</van-dropdown-item>
|
|
<van-dropdown-item value="{{ search.status.value }}" options="{{ search.status.option }}" bind:change="changeSearchStatus" />
|
|
</van-dropdown-menu>
|
|
<view class="itemView" wx:for="{{reservationDataList}}" wx:for-item="item" wx:key="*this">
|
|
<view class="headView">
|
|
<view class="number">{{item.title}}</view>
|
|
<view class="status" style="color: {{item.statusColor}};">{{item.statusName}}</view>
|
|
</view>
|
|
<view class="contentView" bind:tap="jumpMeetingDetail" data-id="{{item.id}}">
|
|
<image class="img" src="{{IMG_NAME + item.indoorPicUrlFirst}}" mode="aspectFill"></image>
|
|
<view class="msgView">
|
|
<view class="title">{{item.floor}} | {{item.roomNum}} | {{item.capacityNum}}人 | {{item.typeName}}</view>
|
|
<view class="name">预约人: {{item.bookingUserName}}</view>
|
|
<view class="time">{{item.timeSlot}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="priceView">
|
|
<view class="cancelContent" wx:if="{{item.status == 1 && item.operate[0].content}}">取消原因:{{item.operate[0].content}}</view>
|
|
<view class="cancelContent" wx:if="{{item.status == 3 && item.operate[0].content}}">驳回原因:{{item.operate[0].content}}</view>
|
|
</view>
|
|
<view class="btnView">
|
|
<!-- <view class="btn" wx:if="{{item.showInvite}}">去邀请
|
|
<button class="shareBtn" open-type="share" data-id="{{item.id}}">转发</button>
|
|
</view> -->
|
|
<!-- <view class="btn" wx:if="{{item.showCancel}}" bind:tap="cancelConfirm" data-id="{{item.id}}">取消预约</view> -->
|
|
<van-button style="margin-right: 10rpx;" size="small" plain type="info" wx:if="{{item.showEdit}}" bind:tap="editConfirm" data-id="{{item.id}}">修改信息</van-button>
|
|
<van-button style="margin-right: 10rpx;" size="small" plain type="warning" wx:if="{{item.showStaff}}" bind:tap="goStaff" data-id="{{item.id}}">会务负责人</van-button>
|
|
<van-button style="margin-right: 10rpx;" size="small" plain type="primary" wx:if="{{item.showApprove}}" bind:tap="pass" data-id="{{item.id}}">通过</van-button>
|
|
<van-button style="margin-right: 10rpx;" size="small" plain type="danger" wx:if="{{item.showApprove}}" bind:tap="rejectConfirm" data-id="{{item.id}}">驳回</van-button>
|
|
|
|
<!-- <view class="btn" wx:if="{{item.showDetail}}" bind:tap="jumpMeetingDetail" data-id="{{item.id}}">查看详情</view> -->
|
|
</view>
|
|
</view>
|
|
<view class="loadAllLine" wx:if="{{reservationIsDataAll}}">
|
|
<van-divider class="van-divider" customStyle="font-size: 26rpx;" contentPosition="center">数据已全部加载</van-divider>
|
|
</view>
|
|
|
|
</view>
|
|
<!-- 提示框 -->
|
|
<van-dialog id="van-dialog" />
|
|
<van-dialog use-slot title="驳回申请" show="{{ showRejectReason }}" show-cancel-button bind:close="onCloseRejct" bind:confirm="rejectOrder" beforeClose="{{ beforeReject }}" zIndex="109">
|
|
<van-cell-group style="margin: 20px;">
|
|
<van-field bind:change="onChangeRejectReason" value="{{ rejectReason }}" clearable label="" type="textarea" placeholder="请输入驳回原因" autosize />
|
|
</van-cell-group>
|
|
</van-dialog>
|
|
<van-dialog use-slot title="取消预约" show="{{ showCancelReason }}" show-cancel-button bind:close="onCloseCancel" bind:confirm="cancelOrder" beforeClose="{{ beforeClose }}" zIndex="109">
|
|
<van-cell-group style="margin: 20px;">
|
|
<van-field bind:change="onChangeCancelReason" value="{{ cancelReason }}" clearable label="" type="textarea" placeholder="请输入取消预约原因" autosize />
|
|
</van-cell-group>
|
|
</van-dialog>
|
|
<!-- 提示框 -->
|
|
<van-notify id="van-notify" />
|
|
<!-- 修改信息 -->
|
|
<van-action-sheet show="{{ showEdit }}" actions="{{ editAction }}" cancel-text="取消" bind:cancel="hideEdit" bind:select="editMode" bind:close="hideEdit" />
|
|
|
|
<van-popup show="{{ timeShow }}" bind:close="hideTimePicker" position="bottom" round="true">
|
|
<van-datetime-picker title="请重新选择会议日期" type="date" value="{{ currentDate }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" formatter="{{ formatter }}" bind:confirm="goRes" bind:cancel="hideTimePicker" />
|
|
</van-popup> |