|
|
@ -1,5 +1,5 @@ |
|
|
|
<!-- package/startInspection/startInspection.wxml --> |
|
|
|
<view class="box"> |
|
|
|
<view class="page"> |
|
|
|
<view class="plan-list" wx:if="{{planList}}"> |
|
|
|
<t-cell class="block" title="选择巡检计划" arrow hover note="{{planListText}}" bind:click="onPlanListPicker" /> |
|
|
|
<t-picker visible="{{planListVisible}}" value="{{planListValue}}" data-key="planList" title="选择巡检计划" cancelBtn="取消" confirmBtn="确认" bindchange="onPickerChange" bindcancel="onPickerCancel"> |
|
|
@ -7,60 +7,27 @@ |
|
|
|
</t-picker> |
|
|
|
</view> |
|
|
|
<view class="titleFirst">巡检要求</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">结构物名称</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.project.name}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">开始时间</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;">{{dataList.endTime}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检方式</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;">{{dataList.frequency}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检人</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.showUsers}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检单位</view> |
|
|
|
<view style="float:left;width:70%;margin-left:40rpx;">{{dataList.showDepts}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检点位</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.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;">{{item.name}}</view> |
|
|
|
<van-cell-group> |
|
|
|
<van-cell size="large" title="结构物名称:" value="{{dataList.project.name}}" /> |
|
|
|
<van-cell size="large" title="开始时间:" value="{{dataList.startTime}}" /> |
|
|
|
<van-cell size="large" title="结束时间:" value="{{dataList.endTime}}" /> |
|
|
|
<van-cell size="large" title="巡检方式:" value="{{dataList.way}}" /> |
|
|
|
<van-cell size="large" title="巡检频次:" value="{{dataList.frequency}}" /> |
|
|
|
<van-cell size="large" title="巡检人:" value="{{dataList.showUsers}}" /> |
|
|
|
<van-cell size="large" title="巡检单位:" value="{{dataList.showDepts}}" /> |
|
|
|
<van-cell size="large" title="巡检点位:" value="{{points}}" /> |
|
|
|
</van-cell-group> |
|
|
|
<view class="titleTwo">巡检结果录入</view> |
|
|
|
<block wx:for="{{dataList.points}}" wx:key="*this" class="entering"> |
|
|
|
<van-cell-group> |
|
|
|
<van-cell title="巡检点位:" value="{{item.name}}" /> |
|
|
|
<van-cell title="上次巡检日期:" value="{{item.lastInspectionTime}}" /> |
|
|
|
<van-cell title="巡检人:" value="{{dataList.showUsers}}" /> |
|
|
|
<van-cell title="本次巡检日期:" value="{{item.inspectionTime}}" /> |
|
|
|
</van-cell-group> |
|
|
|
<view class="flex-end btn-box"> |
|
|
|
<view class="startBtn" data-itemData="{{item}}" bindtap="showModal">开始巡检</view> |
|
|
|
</view> |
|
|
|
<view class="txt" style="margin-bottom: 20rpx;"> |
|
|
|
<view style="float: left;font-weight: bold;">上次巡检日期</view> |
|
|
|
<view style="float:left;width:55%;margin-left:40rpx;">{{item.lastInspectionTime}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt" style="margin-bottom: 20rpx;"> |
|
|
|
<view style="float: left;font-weight: bold;">巡检人</view> |
|
|
|
<view style="float:left;width:55%;margin-left:40rpx;">{{dataList.showUsers}}</view> |
|
|
|
</view> |
|
|
|
<view class="txt" style="margin-bottom: 20rpx;"> |
|
|
|
<view style="float: left;font-weight: bold;">本次巡检日期</view> |
|
|
|
<view style="float:left;width:55%;margin-left:40rpx;">{{item.inspectionTime}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<!-- 开始巡检弹框 --> |
|
|
|
<view class="modal" wx:if="{{showModal}}"> |
|
|
|