employeeInspection.wxml
3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--packageEquity/pages/employeeInspection.wxml-->
<view class="quality-container">
<view class="search-wrap">
<view class="search-head">
<block wx:if="{{!isopen}}">
<view class="search-merchantName" data-type="2" bindtap="showStoreSelectPopup"><text class="name">{{merchantName}}</text>
<image class="solidArrow" src="/tabIndex/images/arrSolid.png" />
</view>
</block>
<view class="search-input" style="width:{{isopen?'100%':''}}" bindtap="showOpen">
<image src="/images/search.png" class="search-icon" />
<input type="text" placeholder="员工姓名/手机号" class="input" confirm-type="search" value="{{keyword}}" placeholder-class="input-placeholder" catchinput="input" catchconfirm="inputConfifm" />
<block wx:if="{{keyword}}">
<view catchtap="handleReset" class="clearBtn">
<image src="/images/clear.png" class="search-clear" />
</view>
</block>
</view>
<view class="cancel-text" bindtap="showOpen" data-open="true" wx:if="{{isopen}}">取消</view>
<!-- <view class="search-icon-wrap" wx:if="{{!isopen}}" bindtap="showOpen">
<image src="/images/search-black.png" class="search-icon" />
</view> -->
</view>
<date-box bindchange="changeDate"></date-box>
</view>
<view class="search-info-head">
<view class="tabs" bind:tap="changeBussinessType">
<view class="tab {{bussinessType==1?'active':''}}" data-type="1">会员权益</view>
<view class="tab {{bussinessType==2?'active':''}}" data-type="2">轻改</view>
</view>
<view class="search-info">当前{{total}}条员工信息</view>
</view>
<scroll-view scroll-y enable-back-to-top style="height: calc(100vh - var(--fontSize248));" bindrefresherrefresh="search" refresher-enabled="{{ true }}" enhanced="{{true}}" show-scrollbar="{{false}}" scroll-top="{{scrollTop}}" bindscrolltolower="scrollonReachBottom" refresher-triggered="{{ triggered }}">
<view class="content-box">
<block wx:if="{{flag}}">
<block wx:if="{{inspectList.length}}">
<block wx:for="{{inspectList}}" wx:key="index">
<content-item item="{{item}}" time="{{searchdate}}" bussiness-type="{{bussinessType}}"></content-item>
</block>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="/packageEquity/images/noData.png" />
<view class="list-not">暂无数据</view>
</view>
</block>
</view>
</scroll-view>
</view>
<item-select-store show="{{isStorePop}}" time="{{searchdate}}" bussiness-type="{{bussinessType}}" selectedData="{{merchantDTOList}}"></item-select-store>>
<store-select-popup show="{{showStoreSelectPopup}}" bindconfirm="storeConfirm" bindcancel="hideStorePopup" selectedData="{{selectedYqMerchantList}}" list="{{storeRangeList || []}}" bindupdata="updata"></store-select-popup>