王飞
2025-01-23 99365608dec6eade7d645a91fb0f2205a332d1f1
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
 
<view class="box">
 
    <van-search value="{{ value }}" label="作业票号" shape="round" placeholder="请输入搜索关键词" use-action-slot bind:change="onChange" bind:search="onSearch">
 
        <view slot="action" bind:tap="onClick">搜索</view>
    </van-search>
 
 
    <scroll-view class="scroll" style="height: 100%;" scroll-y="true" bindrefresherrefresh="bindDownLoad" bindscrolltolower="onScrollToLower" refresher-triggered="{{isLoading}}" refresher-enabled="{{true}}" refresher-threshold="{{80}}" refresher-background="#999999">
        <block wx:if="{{showEmpty}}">
        <van-empty description="暂无信息" />
    </block>
        <view wx:for="{{ zyp }}" wx:key="index" wx:for-index="idx">
            <view class="zyp" style="width: 95%;margin-left: 2.5%; border-radius: 10px;">
                <view style="padding:10px;">
                <view style="display: flex;">
                    <div>作业票类型:{{item.type}}</div>
                    <div wx:if="{{item.handle==0}}" class="modal-btn modal-clear" bindtap="bindViewTap" data-index="{{idx}}">
                        处理
                    </div>
                    <div wx:else style="position: absolute; right: 20px; color: rgb(0, 0, 0);" data-index="{{idx}}">
                        完结
                    </div>
                </view>
                  
                   
                    <view>
                        <div>作业票号:{{item.number}}</div>
                    </view>
                    <view>
                        <div>工作区域:{{item.local == null ? '无' : item.local}}</div>
                    </view>
                    <view>
                        <div>申请信息:{{item.name}} | {{item.time}}</div>
                    </view>
                    <view>
                        <div style="color: dodgerblue;text-decoration: underline;" bindtap="itemPdfOn" data-num="{{item.number}}" data-type="{{item.type}}" data-handle="{{item.handle}}" data-name="{{item.name}}" data-phone="{{item.phone}}" data-local="{{item.local}}">查看详情</div>
                    </view>
                </view>
            </view>
        </view>
 
    </scroll-view>
    <view class="row" style="display: flex; margin-top: 10px;">
        <!-- {{info}} -->
        <van-icon info="{{info}}" style="position: absolute;left: 65px;" />
        <span style="position:absolute;left: 10px;" class="{{ buttonColor==0 ? 'bg-primeval' : 'bg-disable' }}" bindtap="daishen">
 
            待审批
 
        </span>
        <!-- <van-icon info="{{info1}}" style="position: absolute;right: 65px;" /> -->
        <span style="position:absolute;right: 10px;" class="{{ buttonColor==1 ? 'bg-primeval' : 'bg-disable' }}" bindtap="yishen">
            已审批
        </span>
    </view>
 
</view>