<!--pageage/safetyManagement/problemRectification/index.wxml-->
<view>
  <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">{{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==3}}">
		  <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>
					  <van-col span="18" class="color_orange">{{auditInfo.createTime}}</van-col>
				  </van-row>
			  </view>
			</view>
		</view>
		<view class="inspect_overview">
		  <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_title">整改说明</view>
				<view class="inspect_info_content">
				<textarea  class="add_textarea" placeholder="请填写整改说明"
				placeholder-style="color:#6777aa;" bindinput="onInputOpinion" maxlength="200"/>
        	  </view>
    		</view>
			<view class="inspect_info_list">
				<view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">整改后图片</view>
				<view class="problem_list_info_con">
					<file-uploader  bindimages="onImagesArr"></file-uploader>
				</view>
			</view>
			</view>
		</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="onSubmitSave">保存</view>
</view> 

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