|
|
@ -1,8 +1,9 @@ |
|
|
|
<!--subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml--> |
|
|
|
<view class="form_add"> |
|
|
|
|
|
|
|
<view class="prosecutors" bind:tap="showPopup"> |
|
|
|
<text class="prosecutors_req">*</text> |
|
|
|
<view> |
|
|
|
<text class="prosecutors_req">*</text> |
|
|
|
<text class="prosecutors_pre">检查人员</text> |
|
|
|
</view> |
|
|
|
<text class="prosecutors_name">{{ selectedNames }}</text> |
|
|
@ -13,16 +14,21 @@ |
|
|
|
<view class="prosecutors" style="border-bottom: none;"> |
|
|
|
<view> |
|
|
|
<text class="prosecutors_req" wx:if="{{checkResultFlag == 0}}">*</text> |
|
|
|
<text class="prosecutors_pre">已整改隐患</text> |
|
|
|
<text class="prosecutors_pre">未整改隐患</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="checkbox1"> |
|
|
|
<van-checkbox-group value="{{checkboxValue}}" bind:change="onChange" wx:if="{{checkboxOptions}}" > |
|
|
|
<van-checkbox custom-class="group" name="{{index}}" wx:for="{{checkboxOptions}}">{{item.hazardDesc}}</van-checkbox> |
|
|
|
<van-checkbox custom-class="group" name="{{index}}" wx:for="{{checkboxOptions}}">{{index + 1}}. {{item.hazardDesc}}</van-checkbox> |
|
|
|
</van-checkbox-group> |
|
|
|
<view class="addHiddenDangeList"> |
|
|
|
<text wx:for="{{addHiddenDangeList}}" wx:for-index="index" class="addHiddenDangeListText" |
|
|
|
wx:for-item="item">{{index + checkboxOptionsnumber |
|
|
|
}}. {{item.hazardDesc}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="input1"> |
|
|
|
<input bindinput="changenewContent" value="{{newContent}}" type="text" placeholder=" 请输入新的隐患信息" /> |
|
|
|
<input bindinput="changenewContent" value="{{newContentWithIndex}}" type="text" placeholder=" 请输入新的隐患信息" /> |
|
|
|
</view> |
|
|
|
<view class="add" bind:tap="addAnother"> |
|
|
|
<image src="../../../../images/add.png" class="add_img"></image> |
|
|
@ -62,7 +68,7 @@ |
|
|
|
<view class="image-box"> |
|
|
|
<view class="{{ uploadImageList.length < 4 ? 'image-list' : uploadImageList.length > 3 && uploadImageList.length < 7 ? 'image-list image-list-2' : uploadImageList.length > 6 && uploadImageList.length < 10 ? 'image-list image-list-3' : 'image-list image-list-4' }}"> |
|
|
|
<view class=" image-list-label"> |
|
|
|
<view class="field-text">上传图片</view> |
|
|
|
<view class="field-text">附件</view> |
|
|
|
</view> |
|
|
|
<view |
|
|
|
class="image-item" |
|
|
@ -109,7 +115,7 @@ |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text class="logs-content-title">隐患明细:</text> |
|
|
|
<text class="logs-content-txt" wx:for="{{item.hiddenDangeList}}">{{item.hazardDesc}}</text> |
|
|
|
<text class="logs-content-txt" name="{{index}}" wx:for="{{item.hiddenDangeList}}">{{index + 1}}. {{item.hazardDesc}}</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text class="logs-content-title">整改要求:</text> |
|
|
@ -127,15 +133,14 @@ |
|
|
|
<text wx:else>--</text> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view > |
|
|
|
<text class="logs-content-title">备注:</text> |
|
|
|
<text class="logs-content-txt">{{item.remark||'--'}}</text> |
|
|
|
</view> |
|
|
|
<!-- <view> |
|
|
|
<view wx:if="{{index}}" > |
|
|
|
<text class="logs-content-title">巡查定位:</text> |
|
|
|
<text class="logs-content-txt">--</text> |
|
|
|
<text class="logs-content-txt">{{item.name}}</text> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|