EquityClaims.wxml 6.43 KB
<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>