jhprjv2/ruoyi-ui-app/miniprogram/pageage/project_files/index.wxml

65 lines
3.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="returnToPage">
<image src="/images/left.png"></image>
</view>
</van-col>
<van-col span="15">
<view class="header_name">文件传达查看</view>
</van-col>
</van-row>
</view>
</view>
<scroll-view class="max_content_scroll" type="list" scroll-y bindscrolltolower="onScrollToLower">
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
<view class="modify_video_nav" style="margin-top: 5rpx;">
<view class="{{activeState=='1'?'active':''}}" bindtap="trainingTypeJump" data-index="1"><text>上级部门({{sjbmCount}}</text></view>
<view class="{{activeState=='2'?'active':''}}" bindtap="trainingTypeJump" data-index="2"><text>集团公司({{jtgsCount}}</text></view>
<view class="{{activeState=='3'?'active':''}}" bindtap="trainingTypeJump" data-index="3"><text>子公司({{zgsCount}}</text></view>
</view>
<view class="inspect_max_scroll">
<!--专项检查样式zxjc-->
<view class="inspect_for_scroll" v-if="{{ listData.length>0 }}" wx:for="{{listData}}" wx:key="index" data-set="{{item}}" bindtap="openFile">
<view class="inspect_for_bgd">
<view class="inspect_list_title">
<view class="inspect_list_title_label inspect_list_title_width">
<view class="inspect_list_title_number">{{index < 9 ?'0'+(index+1):(index+1)}}</view>
<view class="module_title module_title_flex inspect_list_title_text" wx:if="{{item.fileBelong=='1'}}">上级部门</view>
<view class="module_title module_title_flex inspect_list_title_text" wx:if="{{item.fileBelong=='2'}}">集团公司</view>
<view class="module_title module_title_flex inspect_list_title_text" wx:if="{{item.fileBelong=='3'}}">{{item.deptName}}</view>
</view>
</view>
<view class="inspect_list_info">
<view class="inspect_list_info_details">
<view class="inspect_list_info_img">
<van-image wx:if="{{item.fileType=='PDF'}}" width="120rpx" height="120rpx" fit="cover" src="https://xiangguan.sxyanzhu.com/statics/static/icon/pdf.png" />
<van-image wx:if="{{item.fileType=='XLS' || item.fileType=='XLSX'}}" width="120rpx" height="120rpx" fit="cover" src="https://xiangguan.sxyanzhu.com/statics/static/img/base/XLSX.png" />
<van-image wx:if="{{item.fileType=='DOC' || item.fileType=='DOCX'}}" width="120rpx" height="120rpx" fit="cover" src="https://xiangguan.sxyanzhu.com/statics/static/img/base/doc.png" />
</view>
<view class="inspect_list_info_data">
<view class="inspect_list_info_data_prop color_blue">{{item.fileName}}</view>
<view class="inspect_list_info_data_prop">
<van-row>
<van-col span="18">
{{item.createTime}}
</van-col>
<van-col span="6" class="module_see_info_ear">
<van-icon name="eye-o" class="ss"></van-icon> {{item.readNum}}
</van-col>
</van-row>
</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{listData.length==0}}">
<view style="padding-top: 70px;text-align: -webkit-center;">
<image src="https://xiangguan.sxyanzhu.com/statics/static/nodata.png" style="width: 130px;height: 105px;"></image>
<view style="color: #a5abbb;">暂无数据</view>
</view>
</view>
</view>
</scroll-view>