|
|
@ -1,26 +1,28 @@ |
|
|
|
<page-meta page-style="{{ planStartTimePopupShow||planEndTimePopupShow ? 'overflow: hidden;' : '' }}" /> |
|
|
|
<view style="background:#F7F7FA; min-height:calc(100vh - 48rpx); padding:24rpx 0"> |
|
|
|
<van-cell-group inset class="mission-card"> |
|
|
|
<view style="background:#F7F7FA; min-height:calc(100vh - 48rpx); width: 100vw"> |
|
|
|
<van-cell-group class="mission-card"> |
|
|
|
<view class="mission-card-title"> |
|
|
|
<span>巡检信息</span> |
|
|
|
<image class="icon" src="../../../images/title_icon.svg"></image> |
|
|
|
<span class="title">巡检信息</span> |
|
|
|
</view> |
|
|
|
<van-field value="{{data.PatrolRecord.points.project.name}}" label="结构物名称" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.user.name}}" label="巡检人" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.user.department.name}}" label="巡检单位" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{data.PatrolRecord.inspectionTime}}" label="巡检时间" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.project.name}}" label="结构物名称" readonly /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.user.name}}" label="巡检人" readonly /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.user.department.name}}" label="巡检单位" readonly /> |
|
|
|
<van-field value="{{data.PatrolRecord.inspectionTime}}" label="巡检时间" readonly /> |
|
|
|
<view class="mission-card-title mission-center-card-title"> |
|
|
|
<image class="icon" src="../../../images/title_icon.svg"></image> |
|
|
|
<span>问题详情</span> |
|
|
|
</view> |
|
|
|
<van-field value="{{data.PatrolRecord.points.itemData.name}}" label="点位" readonly accordion border="{{ false }}" /> |
|
|
|
<van-field value="{{data.PatrolRecord.points.itemData.name}}" label="点位" readonly accordion /> |
|
|
|
<van-collapse wx:if="{{data.PatrolRecord.points.inspectContent}}" value="{{ pointItemCollapseActiveNames }}" bind:change="onPointItemCollapseActiveChange" border="{{false}}"> |
|
|
|
<block wx:for="{{data.PatrolRecord.points.inspectContent}}" wx:key="index"> |
|
|
|
<van-collapse-item wx:if="{{!item.isNormal}}" name="{{item.itemName}}" border="{{false}}"> |
|
|
|
<view slot="title"> |
|
|
|
<van-field value="{{item.itemName}}" label="检查项" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{item.itemName}}" label="检查项" readonly /> |
|
|
|
</view> |
|
|
|
<view slot=""> |
|
|
|
<van-field value="{{item.level}}" label="异常等级" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{item.msgInp||''}}" label="问题描述" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{item.level}}" label="异常等级" readonly /> |
|
|
|
<van-field value="{{item.msgInp||''}}" label="问题描述" readonly /> |
|
|
|
<van-cell border="{{false}}"> |
|
|
|
<view style="display:flex"> |
|
|
|
<view class="fs-cell-title" style="">现场照片</view> |
|
|
@ -36,6 +38,7 @@ |
|
|
|
</block> |
|
|
|
</van-collapse> |
|
|
|
<view class="mission-card-title mission-center-card-title"> |
|
|
|
<image class="icon" src="../../../images/title_icon.svg"></image> |
|
|
|
<span>维修计划信息</span> |
|
|
|
</view> |
|
|
|
<van-cell> |
|
|
@ -49,7 +52,7 @@ |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-field value="{{maintenancePersonDepartmentShow}}" label="维修单位" placeholder="" readonly="{{true}}" border="{{ false }}" /> |
|
|
|
<van-field value="{{maintenancePersonDepartmentShow}}" label="维修单位" placeholder="" readonly="{{true}}" /> |
|
|
|
<van-cell> |
|
|
|
<view style="display:flex"> |
|
|
|
<view class="fs-cell-title" style="">质检人</view> |
|
|
@ -104,8 +107,8 @@ |
|
|
|
</view> |
|
|
|
<van-field value="{{ planApproval }}" label="审批意见" type="textarea" placeholder="请输入" extra-event-params="{{true}}" autosize border="{{ isApprove }}" readonly="{{!isApprove}}" bind:input="onInputChange" data-type='planApproval' /> |
|
|
|
<block wx:if="{{data.state > 2}}"> |
|
|
|
<van-field value="{{planApprovalPerson}}" label="审批人" readonly="{{true}}" border="{{ false }}" /> |
|
|
|
<van-field value="{{planApprovalTime}}" label="审批日期" readonly="{{true}}" border="{{ false }}" /> |
|
|
|
<van-field value="{{planApprovalPerson}}" label="审批人" readonly="{{true}}" /> |
|
|
|
<van-field value="{{planApprovalTime}}" label="审批日期" readonly="{{true}}" /> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
<block wx:if="{{ (data.state > 3 && tabIndex == 0) ||(data.state > 4 && tabIndex == 1) }}"> |
|
|
@ -136,7 +139,7 @@ |
|
|
|
<view class="mission-card-title mission-center-card-title"> |
|
|
|
<span>质检验收</span> |
|
|
|
</view> |
|
|
|
<van-field value="{{data.checkPerson.name}}" label="验收人" readonly border="{{ false }}" /> |
|
|
|
<van-field value="{{data.checkPerson.name}}" label="验收人" readonly /> |
|
|
|
<van-field value="{{ cost }}" extra-event-params="{{true}}" label="成本(元)" type="digit" placeholder="请输入" border="{{ isCheck }}" bind:input="onInputChange" data-type='cost' readonly="{{!isCheck}}" /> |
|
|
|
<van-cell border="{{false}}"> |
|
|
|
<view style="display:flex"> |
|
|
@ -159,23 +162,23 @@ |
|
|
|
<van-field value="{{ checkDesc }}" extra-event-params="{{true}}" label="验收意见" type="textarea" placeholder="请输入" autosize border="{{ isCheck }}" bind:input="onInputChange" data-type='checkDesc' readonly="{{!isCheck}}" /> |
|
|
|
</block> |
|
|
|
</van-cell-group> |
|
|
|
<view style="margin:24px 16px"> |
|
|
|
<van-button wx:if="{{isPlanState|| isRepair}}" type="info" block style="" bindtap="confirm"> |
|
|
|
<view style="padding:43px 16px"> |
|
|
|
<van-button wx:if="{{isPlanState|| isRepair}}" round type="info" block style="" bindtap="confirm"> |
|
|
|
提交 |
|
|
|
</van-button> |
|
|
|
<view wx:if="{{isApprove}}" style="display:flex; justify-content:space-between"> |
|
|
|
<van-button type="info" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="agree"> |
|
|
|
<van-button round type="info" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="agree"> |
|
|
|
同意 |
|
|
|
</van-button> |
|
|
|
<van-button type="warning" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="refuse"> |
|
|
|
<van-button round type="warning" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="refuse"> |
|
|
|
驳回 |
|
|
|
</van-button> |
|
|
|
</view> |
|
|
|
<view wx:if="{{isCheck}}" style="display:flex; justify-content:space-between"> |
|
|
|
<van-button type="info" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="agree"> |
|
|
|
<van-button round type="info" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="agree"> |
|
|
|
验收通过 |
|
|
|
</van-button> |
|
|
|
<van-button type="warning" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="refuse"> |
|
|
|
<van-button round type="warning" custom-style="width:calc((100vw - 32px - 24px) / 2)" bindtap="confirm" data-approve="refuse"> |
|
|
|
验收不通过 |
|
|
|
</van-button> |
|
|
|
</view> |
|
|
|