| | |
| | | <template>
|
| | | <view class="main_app" :class="{ popupShow: isShowSelMem }">
|
| | | <view class="main_app" :style="{ height: windowHeight + 'px' }" :class="{ popupShow: isShowSelMem }">
|
| | | <view class="search_inp df_ac">
|
| | | <image class="mr12 search" src="@/static/ic_search@2x.png" mode="widthFix"></image>
|
| | | <input v-model="param.queryParam" @confirm="initData()" type="text" placeholder="搜索"
|
| | |
| | | </view>
|
| | | <image @click="openSeleter" class="open_icon" src="@/static/staff/renyuan_ic_open.png" mode=""></image>
|
| | | </view>
|
| | | <view class="btn" @click="onSubmit">确认({{ selList.length }}/{{ param.limitNum }})</view>
|
| | | <view class="btn" @click="onSubmit">确认({{ selList.length }})</view>
|
| | | </view>
|
| | | <!-- -->
|
| | | <u-popup catchtouchmove :show="isShowSelMem" :round="12" mode="bottom" @close="closeModal">
|
| | |
| | | param: {
|
| | | limitNum: ''
|
| | | },
|
| | | windowHeight: '',
|
| | | pagination: {
|
| | | page: 1,
|
| | | capacity: 40
|
| | |
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | | const result = uni.getWindowInfo()
|
| | | this.windowHeight = result.windowHeight
|
| | | this.param = {
|
| | | limitNum: option.limitNum,
|
| | | // limitNum: option.limitNum,
|
| | | queryParam: '',
|
| | | startTime: dayjs(Number(option.startTime)).format('YYYY-MM-DD HH:mm:ss'),
|
| | | endTime: dayjs(Number(option.endTime)).format('YYYY-MM-DD HH:mm:ss'),
|
| | |
| | | this.$forceUpdate()
|
| | | },
|
| | | }
|
| | | };
|
| | | }
|
| | | </script>
|
| | |
|
| | | <style lang="scss">
|
| | | .main_app {
|
| | | position: relative;
|
| | | }
|
| | |
|
| | | .modal {
|
| | | padding: 40rpx 30rpx;
|
| | | max-height: 1000rpx;
|
| | |
| | | height: calc( 100vh - 130rpx ); |
| | | overflow: auto; |
| | | margin-top: 10rpx;
|
| | |
|
| | | .line {
|
| | | display: flex;
|
| | | align-items: center;
|