<!--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_blue">送检类型</text></van-col>
					  <van-col span="18" class="color_blue">{{infoData.checkTypeName}}</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.materialName}}</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.sampleNum}}</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.usePosition}}</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.qualifiedFlag=='Y'}}" class="color_green">已提供</text>
					  <text wx:else>未提供</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.witnessUserName}}</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.checkTime}}</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.laboratoryName}}</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="inspect_overview" wx:if="{{infoData.detectionResult==nulll}}">
		  <view class="safety_inspect_title module_title_flex module_title_padding">
			  <view>登记取样复试检测报告</view>
		  </view>
		  <view class="inspect_info">
			<view class="inspect_info_list" wx:if="{{false}}">
				<view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">检测结果</view>
				<view class="inspect_info_content">
					<voucher-select columns="{{list}}" placeholder="请选择检测结果" bindchange="onSelect" ></voucher-select>
				</view>
    		</view>
			<view class="inspect_info_list">
				<view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">检测报告
				<text style="font-size: small;">[可上传PDF和图片格式]</text>
				</view>
				<view class="inspect_info_content">
					<file-uploader-all bindfiles="fileUpload" limit="{{1}}"></file-uploader-all>
				</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 class="problem_submit_to_btn"  bindtap="onUpdate">修改</view>
    <view class="problem_submit_to_btn problem_submit_to_save"  bindtap="onSubmitSave">提交结果</view>
  </view> 
</view>
<van-overlay show="{{loadShow}}">
    <view class="gif">
        <image src="/images/loding2.gif"></image>
        <view>数据加载中！请稍后...</view>
    </view>
</van-overlay>  
  
