EquityClaims.wxml
6.43 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<scroll-view scroll-y class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" refresher-triggered="{{activeTrigger}}" style="{{'height: calc(100% - 112rpx);'}}">
<view class="ctnr">
<view>
<view class="search-box">
<view class="left-box">
<glsx-image bindtap="toSearch" class="search-icon" webp src="store-assistant/search_list_icon.png"></glsx-image>
<input value="{{pageParam.searchContent}}" bindconfirm="toSearch" bindinput="inputSeachText" data-type="term" class="int_widget" placeholder="报案人姓名、合同号、核销码" placeholder-class="input-placeholder" />
</view>
<view bind:tap="toShowFilter" class="right-box">
<text>筛选</text>
<glsx-image webp class="icon" src="store-assistant/version/3_7_0/{{isSelected?'sort-icon-active':'sort-icon'}}.png"></glsx-image>
</view>
</view>
<view class="status-tab-wrap">
<view class="flex-center tab-item {{pageParam.polymericStatus===item.status ? 'active-tab' : ''}}" wx:key="index" bindtap="changeTab" data-row="{{item}}" data-idx="{{index}}" wx:for="{{tabList}}">{{item.name}}·{{item.count}}</view>
</view>
</view>
<scroll-view scroll-y>
<view class="order-wrap" wx:if="{{orderList.length}}">
<view class="order-item" wx:for="{{orderList}}" wx:key="index">
<view class="header flex-center">
<view class="name">{{item.reporterName}}</view>
<view class="status {{item.status==35 || item.status==25 ? 'error' : item.status == 34 ? 'pass' : item.status == 3 ? 'success' : item.status == 40 ? 'gray' : ''}}">{{statusMap[item.status]}}</view>
</view>
<view class="info">
<view class="info-item">
<text class="label">核销码</text>
<text>{{item.writeOffCode || '-'}}</text>
</view>
<view class="info-item">
<text class="label">合同号</text>
<text>{{item.contractNo}}</text>
</view>
<view class="info-item">
<text class="label">申请项目</text>
<text>{{item.serviceName || '--'}}</text>
</view>
<view class="info-item">
<text class="label">申请金额</text>
<text>{{item.applyAmount ? '¥' + item.applyAmount : '--'}}</text>
</view>
<view class="info-item" wx:if="{{item.showApvItem}}">
<text class="label">批准金额</text>
<text>{{item.approvalAmount ? '¥' + item.approvalAmount : '--'}}</text>
</view>
<view class="info-item" wx:if="{{item.showPayItem}}">
<text class="label">支付时间</text>
<text>{{item.paySuccessDate}}</text>
</view>
<view class="info-item" wx:if="{{item.showResonItem}}">
<text class="label">不通过原因</text>
<text>{{item.statusDesc}}</text>
</view>
</view>
<view class="footer flex-center">
<view class="time">{{item.commitTime}}</view>
<view class="btn" data-row="{{item}}" bindtap="toClaimsPage">{{item.btnName}}</view>
</view>
</view>
<view class="empty" wx:if="{{total && total<=orderList.length}}">
到底了~
</view>
</view>
<view wx:else class="not-data-wrap">
<glsx-image class="empty-img" webp src="store-assistant/version/3_14_0/no_data_bg.png"></glsx-image>
<view class="empty-text">
暂无订单
</view>
</view>
</scroll-view>
</view>
</scroll-view>
<view bind:tap="toClaimsPage" class="slide_btn">
<glsx-image class="btn_icon" webp src="store-assistant/version/2024_4_43/add.png"></glsx-image>
</view>
<van-popup show="{{filterVisible}}" bind:click-overlay="cancel" custom-class="popclass" position="bottom" custom-style="height: 53%">
<view class="popup-container">
<view class="header">
<view catch:tap="resetFilter" class="text">重置</view>
<view class="text title">筛选</view>
<view class="text comfirm" catch:tap="comfirmOptions">确定</view>
</view>
<view class="pannel">
<view class="widget_title marT40">创建时间</view>
<view class="widget_wrap">
<block wx:for="{{timeList}}" wx:key="index">
<view bind:tap="selectTimeOptions" data-type="{{item.type}}" data-index="{{index}}" class="btnItem flex_cc {{item.type==filterObj.type?'active-statusItem':''}}">
{{item.name}}
</view>
</block>
</view>
<view class="date_wrap {{filterObj.createdStartDate || filterObj.createdEndDate ? 'active-date_wrap' : ''}}">
<picker mode="date" value="{{filterObj.createdStartDate}}" data-type="createdStartDate" bindchange="filtterFn">
<view class="date_time {{filterObj.createdStartDate?'date_time_value':''}}">
{{filterObj.createdStartDate ||'起始时间'}}
</view>
</picker>
<view class="drive"></view>
<picker mode="date" value="{{filterObj.createdEndDate}}" data-type="createdEndDate" bindchange="filtterFn">
<view class="date_time {{filterObj.createdEndDate?'date_time_value':''}}">
{{filterObj.createdEndDate || '终止时间'}}
</view>
</picker>
</view>
<view class="widget_title marT40">服务状态</view>
<view class="widget_wrap">
<block wx:for="{{statusList}}" wx:key="index">
<view bind:tap="selectStatus" data-row="{{item}}" data-index="{{index}}" class="btnItem statusItem flex_cc {{item.val==filterObj.status ? 'active-statusItem':''}}">
{{item.name}}
</view>
</block>
</view>
</view>
</view>
</van-popup>