1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!--pages/index/index.wxml-->
- <!-- <wxs module="filter" src="../../utils/FormateDate.wxs"></wxs> -->
- <view>
- <view class="head-fra" id="head-fra">
- <!-- <view class="head-fra_l ">
- <view class="headimage">
- <open-data mode='cover' type="userAvatarUrl"></open-data>
- </view>
- </view> -->
- <view class="head-fra_c">
- <!-- <view class="{{companyShortName.length<=9?'company-nameB':'company-nameA' }}">123</view> -->
- <button wx:if="{{goLeaveState}}" class="mini-btn" type="primary" bindtap="goLeavepost" size="default">发起请假</button>
- </view>
- <view class="head-fra_r">
- <!-- <view class="loginOutText" size="mini" bindtap="ComLoginOutBtn" hover-class="btn-hover">返回</view> -->
- <button class="mini-btn" type="" style="margin-top: 15rpx;" bindtap="ComLoginOutBtn" size="default">返回</button>
- </view>
- </view>
- <!-- 线索列表 -->
- <scroll-view scroll-y="true" class="weui-cells searchbar-result searchBarCss" class="scrollWiewHeight"
- style="height: 100vh;" lower-threshold="50" enable-back-to-top="true" scroll-with-animation="true"
- bindscrolltolower="scroll" scroll-top="10">
- <view class="clue-box" wx:for="{{leaveList}}" wx:key="index">
- <!-- id="{{item.clueId}}" -->
- <view class="clue-panel_t" id="{{item}}" bindtap="clueDetailBtn">
- <view class="clue-panel_t_t">
- <view>
- <text class="text-title">请假类型:{{item.leaveTypeName}} </text>
- </view>
- <view class="recommend" wx:if="{{item.state==1}}">审核通过</view>
- <view class="noRecommend" wx:if="{{item.state==0}}">未审核</view>
- <view class="noRecommend" style="color:red;" wx:if="{{item.state==2}}">未通过</view>
- <view class="noRecommend" wx:if="{{item.state==3}}">已取消</view>
- </view>
- <view style="">
- <text class="text-title">请假开始时间: </text>
- <text class="clue-addr">{{item.leaveStartTime}}</text>
- </view>
- <view style="">
- <text class="text-title">请假截止时间: </text>
- <text class="clue-addr">{{item.leaveEndTime}}</text>
- </view>
-
- <view class="clue-addr">
- <text class="text-title">请假原因: </text>{{item.leaveReason}}
- </view>
- <view class="clue-addr">
- <text class="text-title">相关凭证: </text>
- <image class="voucher_image" bindtap="imgYu" wx:for="{{item.imgarr}}" wx:key="items" wx:for-item="items" src="{{items}}"
- data-list="{{item.imgarr}}" data-src="{{items}}"></image>
- </view>
- <view class="clue-panel_b">
- <view class="checkApply" wx:if="{{item.state==0}}" data-id="{{item.id}}" bindtap="cancelLeave">取消请假</view>
- <view wx:if="{{item.state==2}}" style="color:red;">未通过原因:{{item.examineComment}}</view>
- </view>
- </view>
-
- </view>
- </scroll-view>
- </view>
|