1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs">
- <t-tab-panel label="待接单" value="0" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
- <t-tab-panel label="待开始" value="4" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
- <t-tab-panel label="暂停" value="1" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
- <t-tab-panel label="进行中" value="2" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
- <t-tab-panel label="已完成" value="3" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
- </t-tabs>
- <t-pull-down-refresh
- style="padding-bottom:60px"
- value="{{baseRefresh.value}}"
- loadingProps="{{loadingProps}}"
- loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}"
- bind:refresh="onPullDownRefresh"
- bind:scrolltolower="onReachBottom"
- >
- <view style="padding:10px">
- <view>
- <card wx:for="{{list}}" url="{{'/Eservice/workOrderDetail/index?id=' + item.sa_workorderid}}" wx:key="index">
- <view style="width: 40px;" slot="left">
- <view class="type">{{item.type}}</view>
- </view>
- <view style="flex:1" slot="content">
- <view>
- {{item.province}}{{item.city}}{{item.county}}{{item.address}}
- </view>
- <view class="colorInfo small">
- 指派日期:{{item.createdate}}
- </view>
- <view wx:if="{{item.status === '待接单'}}" class="colorInfo small">
- {{item.status}}
- </view>
- <view wx:if="{{item.status !== '待接单'}}" class="colorInfo small">
- 当前工序:{{item.now}}
- </view>
- </view>
- <view class="flex-align-center" slot="right">
- <view class="colorInfo small">
- {{item.status}}
- </view>
- </view>
- </card>
- </view>
- </view>
- </t-pull-down-refresh>
|