<!--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.projectName}}</view>
		  </view>
		  <view class="inspect_overview_list_max">
			  <view class="inspect_overview_list" wx:if="{{infoData.credentialType != 'PDF'}}">
				  <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" wx:if="{{infoData.credentialType == 'PDF'}}">
				  <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">
							<image src='https://cf.makalu.cc/profile/wechat/icon/pdf.png'></image>
							<text class="files" style="color:#89a3ed;margin-left:50rpx;"  bindtap='downFile' data-index="{{0}}" >下载附件</text>
						</view>
					  </view>
				  </van-row>
			  </view>
			  <view class="inspect_overview_list">
				  <van-row>
					  <van-col span="6"><text class="color_blue">人员姓名</text></van-col>
					  <van-col span="18" class="color_blue">{{infoData.name}}</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">
					  	  <text wx:if="{{infoData.sex=='1'}}">男</text>
						  <text wx:if="{{infoData.sex=='2'}}">女</text>
						  <text wx:if="{{infoData.sex=='3'}}">未知</text>
					  </van-col>
				  </van-row>
			  </view>
			  <view class="inspect_overview_list">
				  <van-row>
					  <van-col span="6"><text class="color_orange">人员类型</text></van-col>
					  <van-col span="18" class="color_orange">{{infoData.specialTypeName}}</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 class="safety_issue_number" span="18" style="padding:0;">{{infoData.credentialNumber}}</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.phoneNumber}}</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.credentialExpirationTime}}</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.createBy}}</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>
	  </view>
  </view>
  <view class="problem_submit_to" wx:if="{{showDel}}">
      <view class="problem_submit_to_btn problem_submit_to_delete"  bindtap="onDelete">删除</view>
  </view> 
</view>

