|
|
@ -3,75 +3,59 @@ |
|
|
|
<view class='list'> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>结构物名称:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.project.name}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.project.name}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>巡检人:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.user.name}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.user.name}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>巡检单位:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.user.department.name}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.user.department.name}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>巡检频次:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.frequency}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.frequency}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>上次巡检日期:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.lastInspectionTime}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.lastInspectionTime}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>本次巡检日期:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.inspectionTime}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.inspectionTime}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>巡检结果:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.alarm ? '异常' : '正常'}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.alarm ? '异常' : '正常'}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>当前点位:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.itemData.name}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.itemData.name}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>当前位置:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.address}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{dataList.points.address}}</view> |
|
|
|
</view> |
|
|
|
<t-collapse value="{{activeValues}}" bind:change="handleChange"> |
|
|
|
<view wx:for="{{dataList.points.inspectContent}}" wx:key="key" wx:for-index="key" wx:for-item="value"> |
|
|
|
<t-collapse-panel header="{{key + ': ' + (value.isNormal ? '正常' : '异常')}}" value="{{key}}" expandIcon disabled="{{value.isNormal}}"> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>巡检详情:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.msgInp || '--'}} |
|
|
|
</view> |
|
|
|
<view class='title'>描述:</view> |
|
|
|
<view class='value'>{{value.msgInp || '--'}}</view> |
|
|
|
</view> |
|
|
|
<view class='content'> |
|
|
|
<view class='title'>异常等级:</view> |
|
|
|
<view class='value'> |
|
|
|
{{dataList.points.changeThree || '--'}} |
|
|
|
</view> |
|
|
|
<view class='value'>{{value.level || '--'}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class='title'>巡检图片:</view> |
|
|
|
<view class="img-v weui-uploader__bd" style="overflow:hidden;"> |
|
|
|
<view class='pic' wx:for="{{dataList.imgs}}" wx:for-item="item" wx:key="*this"> |
|
|
|
<image class='weui-uploader__img showImg' src="{{item}}" data-index="{{index}}" mode="aspectFill" bindtap="previewImg"></image> |
|
|
|
<view class='pic' wx:for="{{value.imgs}}" wx:for-item="item" wx:key="*this"> |
|
|
|
<image class='weui-uploader__img showImg' src="{{imgUrl + item}}" data-img="{{imgUrl + item}}" data-key="{{key}}" mode="aspectFill" bindtap="previewImg"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</t-collapse-panel> |
|
|
|
</view> |
|
|
|
</t-collapse> |
|
|
|
</view> |
|
|
|
</view> |