<!--pageage/safetyManagement/problemRectification/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_overview_max">
        <view class="inspect_overview">
            <view class="module_title module_title_padding">
                <view>{{infoData.problemArea}}</view>
            </view>
            <view class="inspect_overview_list_max">
              
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">隐患图片</text></van-col>
                        <view class="problem_list_info_con in-img-max">
						  <view class="in-img-div" wx:for="{{minImageList}}" wx:key="index">
							<image bindtap='showImg' data-index="{{index}}" src='{{item}}'></image>
						</view>
					  </view>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
				  <van-row>
					  <van-col span="6"><text class="color_purple">问题类型</text></van-col>
					  <van-col span="18">
						<text class="timeline_for_state_1"  wx:if="{{infoData.problemType=='1'}}">常规检查</text>
                   		<text class="timeline_for_state_2"  wx:if="{{infoData.problemType=='2'}}">专项检查</text>
					  </van-col>
				  </van-row>
			  </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">隐患类型</text></van-col>
                        <van-col span="18">{{infoData.dangerTypeName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">隐患描述</text></van-col>
                        <van-col span="18">{{infoData.workParts}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">整改要求</text></van-col>
                        <van-col span="18">{{infoData.changeInfo}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">检查单位</text></van-col>
                        <van-col span="18">{{infoData.deptName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">检查人</text></van-col>
                        <van-col span="18">{{infoData.createUserName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">检查时间</text></van-col>
                        <van-col span="18">{{infoData.createTime}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">整改人</text></van-col>
                        <van-col span="18" class="color_blue">{{infoData.lordSent}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">抄送人</text></van-col>
                        <van-col span="18">{{infoData.copySend}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">复检人</text></van-col>
                        <van-col span="18">{{infoData.recheckSend}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">截至时间</text></van-col>
                        <van-col span="18">{{infoData.nickedTime}}</van-col>
                    </van-row>
                </view>
            </view>
        </view>
    </view>

    <view class="inspect_overview" wx:if="{{infoData.checkState==1 || infoData.checkState==4}}">
            <view class="module_title module_title_padding">
                <view>问题整改</view>
            </view>
            <view class="inspect_overview_list_max">
              <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">整改说明</text></van-col>
                        <van-col span="18">{{auditInfo.opinion}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="6"><text class="color_purple">整改后图片</text></van-col>
                        <view class="problem_list_info_con in-img-max">
						  <view class="in-img-div" wx:for="{{auditMinImageList}}" wx:key="index">
							<image bindtap='showAuditinfoImg' data-index="{{index}}" src='{{item}}'></image>
						</view>
					  </view>
                    </van-row>
                </view>
                <view class="inspect_overview_list" wx:if="{{infoData.checkState==4}}">
                    <van-row>
                        <van-col span="6"><text class="color_purple">完成时间</text></van-col>
                        <van-col span="18" class="color_green">{{infoData.nickedTime}}</van-col>
                    </van-row>
                </view>
          </view>
    </view>
    <view class="inspect_overview" wx:if="true">
            <view class="module_title module_title_padding">
                <view>整改复检意见</view>
            </view>
            <view class="inspect_overview_list_max">
              <view class="inspect_info_list" >
                  <view class="inspect_info_content">
                  <textarea  class="add_textarea" placeholder="请填写整改复检意见"
                  placeholder-style="color:#6777aa;" bindinput="onInputOpinion" maxlength="200"/>
                </view>
              </view>
    </view>
	</view>
    <view class="problem_submit_to">
      <view class="problem_submit_to_btn"  bindtap="onRejectSave">整改驳回</view>
      <view class="problem_submit_to_btn problem_submit_to_save"  bindtap="onPassSave">整改通过</view>
  </view> 
</view>

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