<!--pageage/safetyManagement/addSafetyInspect/index.wxml-->
<view class="header_title">
  <view class="header_title_row">
    <van-row>
      <van-col span="4">
        <view class="header_img" bindtap="returnToPage"><image src="/images/left.png"></image></view>
      </van-col>
      <van-col span="15">
        <view class="header_name">新增安全隐患草稿</view>
      </van-col>
    </van-row>
  </view>
</view>
<view class="max_content">
    <view class="inspect_info ">
    <view class="module_title_2 module_title_flex">
        <view>{{projectName}}</view>
    </view>
    <view class="inspect_info_list">
        <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">整改人员</view>
        <view class="inspect_info_content">
            <select-group-person rectifierData="{{rectifierData}}" multiple="{{fales}}" bindselected="onAddLordSent" index="1" title="请选择整改人员" choose="{{lordSent}}">
            </select-group-person>
        </view>
    </view>
    <view class="safety_inspect_title module_title_flex" wx:if="{{showHis}}">
        <text class="color_orange">已自动填充上次选择的隐患整改人员。</text>
    </view>
    <view class="inspect_info_list" wx:for="{{inspectInfoData}}" wx:key="index">
        <view class="module_title module_title_flex">
            <view>问题 {{index + 1}}</view>
            <view class="module_see_info_delete" wx:if="{{index != 0}}" bindtap="onNewIssuesDelete" data-index="{{index}}"><van-icon name="delete" /> 删除</view>
        </view>
        <view class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 20rpx 0 20rpx;">检查图片</view>
            <view class="problem_list_info_con">
                <file-uploader  bindimages="onImagesArr" data-index="{{index}}" fileUrlArray="{{item.image_upload}}"></file-uploader>
            </view>
        </view>
    </view>
    <view class="inspect_new_issues_max">
        <view class="inspect_new_issues" bindtap="onNewIssues"><van-icon name="add-o" style="position: relative;top:5rpx"/> 新增问题</view>
    </view>
    <view class="safety_prop module_title_flex" wx:if="{{showHis}}">
        <text class="color_orange">草稿添加的数据在电脑端提交后生效！</text>
    </view>
</view>
<view class="problem_submit_to">
    <view class="problem_submit_to_btn" bindtap="cancelSaveView">取消</view>
    <view class="problem_submit_to_btn problem_submit_to_save"  bindtap="onProblemSubmitSave">提交隐患</view>
</view> 
</view>

<van-overlay show="{{loadShow}}">
    <view class="gif">
        <image src="../../../../images/loding2.gif"></image>
        <view>数据加载中！请稍后...</view>
    </view>
</van-overlay>  
















































