<!--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">
				  <van-row>
					  <van-col span="6"><text class="color_purple">保险类型</text></van-col>
					  <van-col span="18">
					  	  {{infoData.insuranceTypeName}}
					  </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:if="{{infoData.insuranceFile!=null}}">
							<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">
							<text class="timeline_for_state_1"  wx:if="{{infoData.insuranceState=='Y'}}" style="color: aqua;padding: 6rpx 75rpx;">已办理</text>
                             <text class="timeline_for_state_2"  wx:if="{{infoData.insuranceState=='N'}}" style="color: #fbfdfd;padding: 6rpx 75rpx;">未办理</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.deptName}}
					  </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.companyName}}</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.insuranceNumber}}</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>

