|
@@ -1,34 +1,41 @@
|
|
|
<!--pages/allFile/allFile.wxml-->
|
|
|
<view class="myfile-content">
|
|
|
- <view class="main-content">
|
|
|
- <view class="file-item ittflex-jcb" wx:for="{{fileList}}" wx:key="index">
|
|
|
- <view class="f-left ittflex-jcs">
|
|
|
- <view class="f-avatar">
|
|
|
- <image class="head-img" src="{{item.headImg}}"></image>
|
|
|
- </view>
|
|
|
- <view class="f-user">
|
|
|
- <view class="fu-top ittflex-jcs">
|
|
|
- <text class="fu-name">{{item.realName}}</text>
|
|
|
- <view class="suer-sex ittflex">
|
|
|
- <image class="img" src="{{item.sex ? '../../imaes/nan@2x.png' : '../../imaes/nv@2x.png'}}"></image>
|
|
|
+ <block wx:if="{{fileList.length == 0}}">
|
|
|
+ <view class="nodate" >
|
|
|
+ <van-empty description="暂无数据" />
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <view class="main-content">
|
|
|
+ <block wx:if="{{fileList.length !== 0}}">
|
|
|
+ <view class="file-item ittflex-jcb" wx:for="{{fileList}}" wx:key="index">
|
|
|
+ <view class="f-left ittflex-jcs">
|
|
|
+ <view class="f-avatar">
|
|
|
+ <image class="head-img" src="{{item.headImg}}"></image>
|
|
|
+ </view>
|
|
|
+ <view class="f-user">
|
|
|
+ <view class="fu-top ittflex-jcs">
|
|
|
+ <text class="fu-name">{{item.realName}}</text>
|
|
|
+ <view class="suer-sex ittflex">
|
|
|
+ <image class="img" src="{{item.sex ? '../../imaes/nan@2x.png' : '../../imaes/nv@2x.png'}}"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="fu-bottom fu-date">{{item.birthDay}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="f-qrcode ittflex" data-id="{{item.documentId}}" bindtap="handleShowQRCode">
|
|
|
+ <image class="qrcode-item" src="../../imaes/erweima@2x.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="fu-bottom fu-date">{{item.birthDay}}</view>
|
|
|
- </view>
|
|
|
- <view class="f-qrcode ittflex" data-id="{{item.documentId}}" bindtap="handleShowQRCode">
|
|
|
- <image class="qrcode-item" src="../../imaes/erweima@2x.png"></image>
|
|
|
+ <view class="f-right ittflex">
|
|
|
+ <!-- <text class="report-text">已有2份报告</text> -->
|
|
|
+ <text class="report-text report-text-fail">还未产生报告</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="f-right ittflex">
|
|
|
- <!-- <text class="report-text">已有2份报告</text> -->
|
|
|
- <text class="report-text report-text-fail">还未产生报告</text>
|
|
|
+ </block>
|
|
|
+ <view class="actions ittflex-jcb">
|
|
|
+ <view class="handle-btn manage-btn ittflex" bindtap="handleFile">管理</view>
|
|
|
+ <view class="handle-btn itt-btn" bindtap="handleAddFile">新建档案</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="actions ittflex-jcb">
|
|
|
- <view class="handle-btn manage-btn ittflex" bindtap="handleFile">管理</view>
|
|
|
- <view class="handle-btn itt-btn" bindtap="handleAddFile">新建档案</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="my-dialog" wx:if="{{qrcodeDialog}}" bindtap="handleCloseQRCode">
|
|
|
<view class="qr-content">
|
|
|
<image class="qr-content" src="{{QRCodeBase64}}"></image>
|