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.

28 lines
1.3 KiB

<!-- package/inspectionReport/inspectionReport.wxml -->
2 years ago
<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>
2 years ago
</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}}">
2 years ago
<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>
2 years ago
<view class="text">
<view class="name">{{item.fileName}}</view>
<view class="time">{{item.inspectTm}}</view>
</view>
</view>
2 years ago
<image class="arrow" src="/images/right.svg"></image>
</view>
</view>
<view wx:else>
<van-empty description="暂无数据" />
</view>
</view>