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