123456789101112131415161718192021222324252627282930313233343536 |
- <!--pages/agent/serviceBillList/index.wxml-->
- <t-tabs defaultValue="新建" bind:change="onTabsChange" t-class="custom-tabs">
- <t-tab-panel label="{{language['新建']||'新建'}}" value="新建" />
- <t-tab-panel label="{{language['待指派']||'待指派'}}" value="待指派" />
- <t-tab-panel label="{{language['待处理']||'待处理'}}" value="待处理" />
- <t-tab-panel label="{{language['进行中']||'进行中'}}" value="进行中" />
- <t-tab-panel label="{{language['已完成']||'已完成'}}" value="已完成" />
- </t-tabs>
- <t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{loadingTexts}}" bind:refresh="onPullDownRefresh" bind:scrolltolower="onReachBottom">
- <view style="padding:10px">
- <t-card url="{{'/Eservice/agent/serviceBillDetail/index?id=' + item.sa_serviceorderid}}" wx:for="{{list}}" wx:key="sa_serviceorderid">
- <view style="flex:1" slot="content">
- <view class="flex-align-center flex-between card__header">
- <view>
- <t-tag class="mr-5" wx:if="{{item.servicetype}}" variant="light" shape="round" theme="primary" size="small">{{language[item.servicetype]||item.servicetype}}</t-tag>
- <t-tag class="mr-5" wx:if="{{item.class1}}" variant="light" shape="round" theme="primary" size="small">{{language[item.class1]||item.class1}}</t-tag>
- <t-tag class="mr-5" wx:if="{{item.class2}}" variant="light" shape="round" theme="primary" size="small">{{language[item.class2]||item.class2}}</t-tag>
- </view>
- <text style="color:{{sColors[item.status]}};">{{language[item.status]||item.status}}</text>
- </view>
- <view class="card__body">
- <view>{{language['服务地址']||'服务地址'}}:{{item.province}}{{item.city}}{{item.county}}{{item.address}}</view>
- <view style="margin-top:3px">
- <!-- <view class="colorInfo small">关联订单:{{item.sonum}}</view> -->
- <view class="colorInfo small">{{language['申请单号']||'申请单号'}}:{{item.billno}}</view>
- <view class="colorInfo small">
- <text class="mr-5">{{language['现场联系人']||'现场联系人'}}:{{item.scenecontact}}</text><text class="mr-5">{{item.scenecontactrole}}</text><text class="mr-5">{{item.scenecontactphonenumber}}</text>
- </view>
- </view>
- </view>
- </view>
- </t-card>
- <Yl_Empty wx:if="{{!list.length}}" />
- <t-fab icon="add" style="position:fixed;right:16px;bottom:72px" bind:click="handleClick" aria-label="{{language['增加']||'增加'}}"></t-fab>
- </view>
- </t-pull-down-refresh>
|