Browse Source

细节优化

master
liujiangyong 2 years ago
parent
commit
ffaa3d5abe
  1. 2
      weapp/package/troubleshooting/index.js
  2. 18
      weapp/package/troubleshooting/shootingForm/index.wxml

2
weapp/package/troubleshooting/index.js

@ -199,7 +199,7 @@ Page({
})
})
this.getData({
type: 'backlog'
type: this.data.currentTab === 0 ? 'backlog' : 'haveDone'
});
setTimeout(() => {
this.setData({

18
weapp/package/troubleshooting/shootingForm/index.wxml

@ -5,10 +5,10 @@
<image class="icon" src="../../../images/title_icon.svg"></image>
<span class="title">巡检信息</span>
</view>
<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 />
<van-field size="large" value="{{data.PatrolRecord.points.project.name}}" label="结构物名称" readonly />
<van-field size="large" value="{{data.PatrolRecord.points.user.name}}" label="巡检人" readonly />
<van-field size="large" value="{{data.PatrolRecord.points.user.department.name}}" label="巡检单位" readonly />
<van-field size="large" 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>
@ -105,7 +105,7 @@
<view class="mission-card-title mission-center-card-title">
<span>维修计划审批</span>
</view>
<van-field value="{{ planApproval }}" label="审批意见" type="textarea" placeholder="请输入" extra-event-params="{{true}}" autosize border="{{ isApprove }}" readonly="{{!isApprove}}" bind:input="onInputChange" data-type='planApproval' />
<van-field value="{{ planApproval }}" label="审批意见" type="textarea" placeholder="请输入" extra-event-params="{{true}}" autosize readonly="{{!isApprove}}" bind:input="onInputChange" data-type='planApproval' />
<block wx:if="{{data.state > 2}}">
<van-field value="{{planApprovalPerson}}" label="审批人" readonly="{{true}}" />
<van-field value="{{planApprovalTime}}" label="审批日期" readonly="{{true}}" />
@ -115,8 +115,8 @@
<view class="mission-card-title mission-center-card-title">
<span>维修处理</span>
</view>
<van-field value="{{ repair }}" extra-event-params="{{true}}" label="维修情况描述" type="textarea" placeholder="请输入" autosize border="{{ isRepair }}" bind:input="onInputChange" data-type='repair' readonly="{{!isRepair}}" />
<van-cell border="{{false}}">
<van-field value="{{ repair }}" extra-event-params="{{true}}" label="维修情况描述" type="textarea" placeholder="请输入" autosize bind:input="onInputChange" data-type='repair' readonly="{{!isRepair}}" />
<van-cell>
<view style="display:flex">
<view class="fs-cell-title" style="">完工图片</view>
<view class="fs-cell-content" style="">
@ -140,8 +140,8 @@
<span>质检验收</span>
</view>
<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}}">
<van-field value="{{ cost }}" extra-event-params="{{true}}" label="成本(元)" type="digit" placeholder="请输入" bind:input="onInputChange" data-type='cost' readonly="{{!isCheck}}" />
<van-cell>
<view style="display:flex">
<view class="fs-cell-title" style="">现场图片</view>
<view class="fs-cell-content" style="">

Loading…
Cancel
Save