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.
|
|
|
<!-- package/inspectionReport/inspectionReport.wxml -->
|
|
|
|
<view class="page">
|
|
|
|
<van-dropdown-menu>
|
|
|
|
<van-dropdown-item title="{{ '时间' }}" bind:close="onClose">
|
|
|
|
<view style="max-height:60%; display:flex" class="time-option">
|
|
|
|
<van-datetime-picker show-toolbar="{{false}}" type="date" value="{{ startTime }}" bind:input="onStartTimeChange" min-date="{{1640966400000}}"/>
|
|
|
|
<view style="display:flex; align-items:center">至</view>
|
|
|
|
<van-datetime-picker show-toolbar="{{false}}" type="date" value="{{ endTime }}" bind:input="onEndTimeChange" min-date="{{1640966400000}}"/>
|
|
|
|
</view>
|
|
|
|
</van-dropdown-item>
|
|
|
|
<van-dropdown-item title="{{ '结构物' }}" bind:close="onClose" bind:change="onStruChange" value="{{ curStruId }}" options="{{ structures }}" />
|
|
|
|
</van-dropdown-menu>
|
|
|
|
<view wx:if="{{report.length}}">
|
|
|
|
<view class="file-box" wx:for="{{report}}" wx:key="id" data-url="{{item.excelPath}}" bindtap="download">
|
|
|
|
<view class="file">
|
|
|
|
<image class="logo" src="/images/word.svg"></image>
|
|
|
|
<view class="text">
|
|
|
|
<view class="name">{{item.fileName}}</view>
|
|
|
|
<view class="time">{{item.inspectTm}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<image class="arrow" src="/images/right.svg"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:else>
|
|
|
|
<van-empty description="暂无数据" />
|
|
|
|
</view>
|
|
|
|
</view>
|