You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
3.2 KiB
61 lines
3.2 KiB
<!-- subpages/goOut/mygoOut/mygoOut.wxml -->
|
|
<view class="scroll-view" wx:if="{{goOutList.length > 0}}">
|
|
<view style="margin:0 auto;width: calc(100% - 40rpx);">
|
|
<view wx:for="{{goOutList}}" wx:key="id" class=" card m-top-16">
|
|
<view class="item-title flex items-center">
|
|
<image src="../../../images/icon/success.png" wx:if="{{item.status == 1}}" class="icon-40 mr-10" />
|
|
<image src="../../../images/icon/error.png" wx:if="{{item.status == 2}}" class="icon-40 mr-10" />
|
|
<image src="../../../images/icon/warning.png" wx:if="{{item.status == 3}}" class="icon-40 mr-10" />
|
|
{{item.status == 1 ? '通过' :item.status == 2 ? '未通过' :item.status == 3 ? '驳回':'待审核'}}
|
|
</view>
|
|
<van-divider dashed />
|
|
<view class="item-content">
|
|
<view class="flex m-top-16">
|
|
<view class="item-content-left">
|
|
<text>外出时间:</text>
|
|
</view>
|
|
<view class="item-content-right">
|
|
<text>{{item.startTime}}-{{item.endTime}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="flex m-top-16">
|
|
<view class="item-content-left">
|
|
<text>外出原因:</text>
|
|
</view>
|
|
<view class="item-content-right">
|
|
<text>{{options[item.reason]}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="m-top-16 flex" >
|
|
<view class="item-content-left">
|
|
<text>证明材料:</text>
|
|
</view>
|
|
<view class="item-content-right flex-wrap">
|
|
<image src="{{img.url}}" wx:for="{{item.imgs}}" wx:for-item="img" style="width: 140rpx;height: 140rpx;" wx:key="index" />
|
|
</view>
|
|
</view>
|
|
<view class="flex m-top-16">
|
|
<view class="item-content-left">
|
|
<text>申请时间:</text>
|
|
</view>
|
|
<view class="item-content-right">
|
|
<text>{{item.createTime}}</text>
|
|
</view>
|
|
</view>
|
|
<van-divider dashed wx:if="{{item.status == 3 || item.status == 2}}" />
|
|
<view class="flex m-top-16" wx:if="{{item.status == 3 || item.status == 2}}">
|
|
<view class="item-content-left">
|
|
<text>{{item.status == 3 ? '驳回原因' : '不通过原因'}}:</text>
|
|
</view>
|
|
<view class="item-content-right" style="{{item.status == 3 ? 'color: #f1a113;' : 'color: #ff4d4f;'}}">
|
|
<text>证明材料不充分</text>
|
|
</view>
|
|
<view class="item-content-btn" bindtap="reSubmit" data-item="{{item}}" wx:if="{{item.status == 3 }}">
|
|
重新提交
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<no-data isShow="{{goOutList.length === 0 || !goOutList}}"></no-data>
|