<!--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">{{title}}</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">{{minTitle}}图片</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_blue">{{minTitle}}标题</text></van-col>
					  <van-col span="18" class="color_blue">{{infoData.trainTitle}}</van-col>
				  </van-row>
			  </view>
			  <view class="inspect_overview_list">
				  <van-row>
					  <van-col span="6"><text class="color_orange">{{minTitle}}时间</text></van-col>
					  <van-col span="18" class="color_orange">{{infoData.beginDate}}</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">{{infoData.trainParticipants}} 人</van-col>
				  </van-row>
			  </view>
			  <view class="inspect_overview_list">
				  <van-row>
					  <van-col span="6"><text class="color_purple">{{minTitle}}内容</text></van-col>
					  <van-col span="18">{{infoData.trainContent}}</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">
						<view wx:for="{{infoData.workTrainDeptList}}" wx:key="idx">
							<text wx:if="{{item.isMain=='Y'}}" data-index="{{idx}}" class="color_green">{{item.deptName}}</text>
						</view>
					  </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">
						<view wx:for="{{infoData.workTrainDeptList}}" wx:key="index">
							<text wx:if="{{item.isMain=='N'}}" data-index="{{index}}">{{item.deptName}}</text>
						</view>
					  </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">
						<view class="in-img-div" wx:if="{{minFileImages.length>0}}" wx:for="{{minFileImages}}" wx:key="index">
							<image bindtap='showFileImg' data-index="{{index}}" src='{{item}}'></image>
						</view>	
						<view wx:if="{{fileNames.length>0}}"  wx:for="{{fileNames}}" wx:key="index" bindtap="downFile" data-index="{{index}}">
							<text class="color_blue files">{{item}}</text>
						</view>
					  </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>

