| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <view class="swiper-tab">
- <view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">待审批</view>
- <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">已审批</view>
- <view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">我发起的</view>
- </view>
- <view wx:if='{{(currentTab == 0 && wait.length == 0) || (currentTab == 1 && already.length == 0) || (currentTab == 2 && fill.length == 0)}}' class='nodata_view'>
- <view><image class='nodata_style' src='../../img/common_nodata.png'></image></view>
- </view>
- <swiper current="{{currentTab}}" class="swiper-box" duWration="300" style="height:{{winHeight-31}}px;margin:85rpx 0 0 0;" bindchange="bindChange">
- <swiper-item>
- <scroll-view scroll-y="true" >
- <view wx:for='{{wait}}' bindtap='ApprovaledClick' data-item='{{item}}' data-fromtype='{{1}}'>
- <template is='waitApproval' data='{{...item}}' />
- </view>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view scroll-y="true" >
- <view wx:for='{{already}}' bindtap='ApprovaledClick' data-item='{{item}}' data-fromtype='{{2}}'>
- <template is='Approvaled' data='{{...item}}'/>
- </view>
- </scroll-view>
- </swiper-item>
- <swiper-item >
- <scroll-view scroll-y="true">
- <view wx:for='{{fill}}' bindtap='ApprovaledClick' data-item='{{item}}' data-fromtype='{{3}}'>
- <template is='isendApproval' data='{{...item}}'/>
- </view>
- </scroll-view>
- </swiper-item>
- </swiper>
- <template name='waitApproval'>
- <view class='commonHview itemRow' >
- <view><image src='../../img/common_header_boy.png' class='img1'></image></view>
- <view class='commonVview itemMsg'>
- <view style='font-size:30rpx;margin-top:10rpx;'>{{fillName}}的积分申报</view>
- <view style='color:#999999;font-size:24rpx;margin-top:20rpx;'>等待您的审批</view>
- </view>
- <view class='itemStatue_finish'>{{invoicesDate}}</view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template>
- <template name='Approvaled'>
- <view class='commonHview itemRow' >
- <view><image src='../../img/common_header_boy.png' class='img1'></image></view>
- <view class='commonVview itemMsg'>
- <view style='font-size:30rpx;margin-top:10rpx;'>{{fillName}}的积分申报</view>
- <view style='color:#999999;font-size:24rpx;margin-top:20rpx;' wx:if='{{invoicesStatus == 2}}'>已审批</view>
- <view style='color:#FF0000;font-size:24rpx;margin-top:20rpx;' wx:if='{{invoicesStatus == 3}}'>未通过</view>
- </view>
- <view class='itemStatue_finish'>{{approvalDate}}</view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template>
- <template name='isendApproval'>
- <view class='commonHview itemRow' >
- <view><image src='../../img/common_header_boy.png' class='img1'></image></view>
- <view class='commonVview itemMsg'>
- <view style='font-size:30rpx;margin-top:10rpx;'>{{fillName}}的积分申报</view>
- <view style='color:#999999;font-size:24rpx;margin-top:20rpx;' wx:if='{{invoicesStatus == 1}}'>待审批</view>
- <view style='color:#999999;font-size:24rpx;margin-top:20rpx;' wx:elif='{{invoicesStatus == 2}}'>已审批</view>
- <view style='color:#FF0000;font-size:24rpx;margin-top:20rpx;' wx:else>未通过</view>
- </view>
- <view class='itemStatue_finish'>{{invoicesDate}}</view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template>
|