123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <scroll-view :style="{height: `calc(${approveListHeight}px - 20rpx)`}" class="di-scroll" scroll-y @scrolltolower="handleOnreachBottom" :refresher-triggered="triggered"
- refresher-enabled @refresherrefresh="handlePullDownRefresh">
- <view class="di-scroll-list">
- <!-- 右滑 -->
- <u-swipe-action
- style="margin-bottom: 20rpx;border-radius: 10rpx;overflow: hidden;"
- v-for="(item, index) in list"
- :show="activeIndex === item[primaryKey]"
- :key="index"
- :index='item.id'
- @content-click="(id) => handle2ProcessTask(id, item.procInstId, '', item.procDefId,false)">
- <di-descriptions :title="item.processDefinitionName" label-col="3" value-col="9" :border-bottom="true" >
- <di-descriptions-item label="流程单号" :value="item.processNo" :ellipsis="true"/>
- <di-descriptions-item label="提交人" :value="item.applyUserName" :ellipsis="true"/>
- <di-descriptions-item label="申请时间" :value="item.applyTime" :ellipsis="true"/>
- <di-descriptions-item label="已办节点" :value="item.name" :ellipsis="true"/>
- <di-descriptions-item label="办结时间" :value="item.endTime" :ellipsis="true"/>
- </di-descriptions>
- </u-swipe-action>
- </view>
- <u-loadmore v-if="!triggered" :status="status" :loadText='loadText' margin-top="24" margin-bottom="20" />
- </scroll-view>
- </template>
- <script>
- import approveList from './approveList'
- export default {
- mixins: [approveList],
- data() {
- return {
- baseApi: '/cusFlowTask',
- listApi: 'myDoneList',
- customQueryParam: {
- taskCategory: 'done',
- findByCurrentUserId: true,
- orderBy: 'startTime:DESC'
- }
- }
- }
- }
- </script>
- <style>
- .di-scroll-list {
- background: none;
- }
- </style>
|