|
|
@ -3,43 +3,43 @@ |
|
|
|
<view class="titleFirst">巡检要求</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">结构物名称</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">结构物名称</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.name}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">开始时间</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">2022-12-25</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.startTime}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">结束时间</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">2023-01-15</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.endTime}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检方式</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">周期巡检</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.way}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检频次</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">3天一次</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.frequency}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检人</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">巡检人</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.user.name}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检单位</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">巡检单位</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.user.department.name}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检点位</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">点位A、点位B、点位C</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{points}}</view> |
|
|
|
</view> |
|
|
|
<view class="line"></view> |
|
|
|
<view class="titleFirst">巡检结果录入</view> |
|
|
|
<block wx:for="{{dataList}}" wx:key="*this"> |
|
|
|
<block wx:for="{{dataList.points}}" wx:key="*this"> |
|
|
|
<view style="margin-bottom: 60rpx;"> |
|
|
|
<view class="txt" style="margin-bottom: 20rpx;"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检点位</view> |
|
|
|
<view style="float:left;width:55%;margin-left:40rpx;">点位A</view> |
|
|
|
<view style="float:left;width:55%;margin-left:40rpx;">{{item.name}}</view> |
|
|
|
<view class="startBtn" bindtap="showModal">开始巡检</view> |
|
|
|
</view> |
|
|
|
<view class="txt" style="margin-bottom: 20rpx;"> |
|
|
@ -57,6 +57,7 @@ |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
|
|
|
|
<!-- 开始巡检弹框 --> |
|
|
|
<view class="modal" wx:if="{{showModal}}"> |
|
|
|
<view class="popBox"> |
|
|
|
<view style="padding:20rpx 30rpx;overflow: hidden;"> |
|
|
|