| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <template>
- <view class="history">
- <u-time-line>
- <u-time-line-item nodeTop="2" v-for="(item,index) in list" :key="index">
- <template v-slot:node>
- <view class="u-node bg-white">
- <u-icon name="clock-fill" color="#e0e3ea" :size="28"></u-icon>
- </view>
- </template>
- <template v-slot:content>
- <view>
- <view class="">{{item.createTime}}</view>
- <view style="width: 636rpx;">
- <view class="content">
- <view class="nav-title">
- <view class="">
- <text>【{{item.assigneeName?item.assigneeName:'联兑通平台'}}】在 [{{item.createTime}}] 开始处理 [{{item.historyActivityName}}] 环节</text>
- </view>
- <view class="" v-if="item.historyActivityDurationTime">
- 任务历时:
- [{{item.historyActivityDurationTime}}]
- </view>
- <view class="" v-if="item.comment">
- 批复意见:
- [{{item.comment}}]
- </view>
- <view class="" v-if="item.endTime">
- 结束时间:
- [{{item.endTime}}]
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- </u-time-line-item>
- </u-time-line>
- </view>
- </template>
- <script>
- export default {
- props:{
- shopId: String
- },
- data() {
- return {
- audit:{},
- list: []
- };
- },
- created() {
- this.historyFlowList()
- },
- methods: {
- async historyFlowList() {
- let processInstanceId=(await this.$api.audit.detail({entityId:this.vuex_shopId})).data.processInstanceId
- this.$api.flow.historyFlowList({processInstanceId}).then(res => {
- this.list = res.data
- })
- }
- }
- };
- </script>
- <style>
- page {
- background-color: #FFFFFF;
- }
- .history {
- box-sizing: border-box;
- padding: 40rpx 20rpx 20rpx 50rpx;
- }
- .nav-title {
- font-weight: 300;
- font-size: 28upx;
- padding-top: 20rpx;
- line-height: 50rpx;
- }
- .content {
- box-shadow: 0 8rpx 10rpx rgba(234, 234, 234, 0.5), 8rpx 0rpx 10rpx rgba(234, 234, 234, .5), -8rpx 0rpx 10rpx rgba(234, 234, 234, .5);
- background-color: #FFFFFF;
- padding: 20rpx;
- border-radius: 10rpx;
- margin: 20rpx 0;
- }
- </style>
|