<!--pageage/safetyManagement/addSafetyInspect/index.wxml-->
<view class="inspect_info">
    <view class="inspect_info_list">
        <view class="inspect_info_title">检查类型</view>
        <view class="inspect_info_type">
            <view class="{{stateNav==2?'active':''}}"   bindtap="onStateSelect" data-set="2">常规周检</view>
            <view class="{{stateNav==1?'active':''}}"   bindtap="onStateSelect" data-set="1">常规月检</view>
            <view class="{{stateNav==3?'active':''}}"   bindtap="onStateSelect" data-set="3">专项检查</view>
        </view>
    </view>
    <view class="inspect_info_list" >
        <view class="inspect_info_title">检查部位</view>
        <view class="inspect_info_content">
            <input placeholder="请填写检查部位" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindinput="onInputValue"/>
        </view>
    </view>
    <view class="inspect_info_list">
        <view class="inspect_info_title">检查时间</view>
        <view class="inspect_info_content">
            <voucher-date counts="5" placeholder="请选择检查时间" bindchange="onStartTime"></voucher-date>
        </view>
    </view>
    <view class="inspect_info_list">
        <view class="inspect_info_title">限期整改时间</view>
        <view class="inspect_info_content">
            <voucher-date counts="5" maxDate="{{maxDate}}" placeholder="请选择限期整改时间" bindchange="onEndTime"></voucher-date>
        </view>
    </view>
</view>

<view>
    <view class="inspect_info" 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: 30rpx 0 20rpx;">存在问题</view>
            <view class="problem_list_info_con">
                <input placeholder="请填写" placeholder-style="color:#6777aa;" class="inspect_input_fill_in"
                 value="{{item.existing_problems}}" bindinput="onPositionInput" data-index="{{index}}"/>
            </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 class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 30rpx 0 20rpx;">整改责任人</view>
            <view class="problem_list_info_con">
                <select-person rectifierData="{{rectifierData}}" multiple="{{fales}}" bindselected="onAddResponsible" data-index="{{index}}" choose="{{item.person_responsible}}"></select-person>
                <!-- <view class="nspect_info_rectifier">
                    <van-row>
                        <van-col span="4" style="text-align: center;">
                            <van-image width="100rpx" height="100rpx" fit="cover" src="https://img.yzcdn.cn/vant/cat.jpeg" />
                            <view style="padding: 5rpx 0 15rpx;">党鹏</view>
                        </van-col>
                        <van-col span="4" style="text-align: center;">
                            <view class="inspect_info_add_to" bindtap="onAddResponsible" data-index="{{index}}"><van-icon name="plus" /></view>
                        </van-col>
                    </van-row>
                </view> -->
            </view>
        </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="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> 


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


























































