|
|
@ -8,29 +8,37 @@ |
|
|
|
</view> |
|
|
|
<view style="padding:20rpx 30rpx;overflow: hidden;"> |
|
|
|
<view style="float: left;">当前点位:</view> |
|
|
|
<view style="float:left;width:480rpx;text-align: justify;">{{itemData.name}}</view> |
|
|
|
<view style="float:right;">{{itemData.name}}</view> |
|
|
|
</view> |
|
|
|
<view class="divider" /> |
|
|
|
<view style="padding:20rpx 30rpx;overflow: hidden;"> |
|
|
|
<view style="float: left;">当前位置:</view> |
|
|
|
<view style="float:left;width:480rpx;text-align: justify;" wx:if="{{address}}"> |
|
|
|
<view style="float:right;" wx:if="{{address}}"> |
|
|
|
{{address}} |
|
|
|
</view> |
|
|
|
<view style="float:left;width:480rpx;text-align: justify;" bindtap="selfLocation" wx:if="{{!address}}"> |
|
|
|
点击获取当前位置 |
|
|
|
<view style="float:right;"> |
|
|
|
<image wx:if="{{!address}}" class="icon" src="../../images/landmark.svg" /> |
|
|
|
<view style="display: inline-block;" bindtap="selfLocation" wx:if="{{!address}}"> |
|
|
|
点击获取 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="divider" /> |
|
|
|
<view wx:for="{{checkItems}}" wx:key="id"> |
|
|
|
<view class="item-name">{{item.name}}:</view> |
|
|
|
<radio-group style="padding:10px 15px;display:flex;justify-content: space-evenly;" data-item="{{item.name}}" bindchange="handleChangeTwo"> |
|
|
|
<radio style="color:#1979ff;" color="#1979ff" value="normal">正常</radio> |
|
|
|
<radio style="color:#CC0000;" color="#CC0000" value="abnormal">异常</radio> |
|
|
|
</radio-group> |
|
|
|
<textarea style="width: 84%;margin:0 auto;border:2rpx solid #ccc;padding:20rpx;height: 120rpx;border-radius: 10rpx;" placeholder="请输入巡查详情" maxlength="-1" wx:if="{{inspectContent[item.name].isNormal === false}}" data-item="{{item.name}}" bindinput="bindInput"></textarea> |
|
|
|
<radio-group style="padding:10px 15px;display:flex;justify-content: space-evenly;" data-item="{{item.name}}" bindchange="handleChangeThree" wx:if="{{inspectContent[item.name].isNormal === false}}"> |
|
|
|
<radio style="color:#FF9900;" color="#FF9900" value="轻微">轻微</radio> |
|
|
|
<radio style="color:#FF3300;" color="#FF3300" value="中度">中度</radio> |
|
|
|
<radio style="color:#990000;" color="#990000" value="严重">严重</radio> |
|
|
|
</radio-group> |
|
|
|
<view class="flex-between"> |
|
|
|
<view class="item-name">{{item.name}}:</view> |
|
|
|
<van-radio-group style="padding:10px 15px;" data-item="{{item.name}}" bindchange="handleChangeTwo"> |
|
|
|
<van-radio style="margin-right: 20px;" class="radio-text" color="#1979ff" name="normal">正常</van-radio> |
|
|
|
<van-radio class="radio-text" checked-color="#CC0000" name="abnormal">异常</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
</view> |
|
|
|
<view class="divider" /> |
|
|
|
<van-radio-group class="flex-end" style="padding:10px 15px;" data-item="{{item.name}}" bindchange="handleChangeThree" wx:if="{{inspectContent[item.name].isNormal === false}}"> |
|
|
|
<van-radio style="margin-right: 20px;" class="radio-text" checked-color="#FF9900" name="轻微">轻微</van-radio> |
|
|
|
<van-radio style="margin-right: 20px;" class="radio-text" checked-color="#FF3300" name="中度">中度</van-radio> |
|
|
|
<van-radio class="radio-text" checked-color="#990000" name="严重">严重</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
<textarea class="textarea" placeholder="请输入巡查详情" maxlength="-1" wx:if="{{inspectContent[item.name].isNormal === false}}" data-item="{{item.name}}" bindinput="bindInput"></textarea> |
|
|
|
<view class="weui-uploader" style="padding: 20rpx 30rpx;overflow-y:scroll;" wx:if="{{inspectContent[item.name].isNormal === false}}"> |
|
|
|
<view class="img-v weui-uploader__bd" style="overflow:hidden;"> |
|
|
|
<view class='pic' wx:for="{{inspectContent[item.name].imgs}}" wx:for-item="img" wx:key="*this"> |
|
|
@ -44,6 +52,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="divider" /> |
|
|
|
</view> |
|
|
|
<view class="btnBox"> |
|
|
|
<view class="cancel" bindtap="bindCancel">取消</view> |
|
|
|