<view>
  <view class="header margin-bottom">
    <view class="header-main">
      <view class="flex-box ">
        <view class="laber">任务内容</view>
        <view class="flex-1">{{dataDetail.name}}</view>
      </view>
      <view class="flex-box flex-v-ce" a:if="{{dataDetail.remark}}">
        <view class="laber">任务描述</view>
        <view class="flex-1">{{dataDetail.remark}}</view>
      </view>
      <view class="flex-box flex-v-ce">
        <view class="laber">任务类型</view>
        <view class="flex-1">{{dataDetail.pt_name}}</view>
      </view>
      <view class="flex-box flex-v-ce">
        <view class="laber">逾期扣分</view>
        <view class="flex-1">{{dataDetail.point_config.timeout_deduction_point}}分/天</view>
      </view>
      <view class="flex-box flex-v-ce">
        <view class="laber">执行周期</view>
        <view class="flex-1">{{dataDetail.task_cycle_mark}}</view>
      </view>
      <view class="flex-box flex-v-ce" a:if="{{dataDetail.department_info.length>0}}">
        <view class="laber">可见范围</view>
        <view class="flex-1">
          <text a:for="{{dataDetail.department_info}}">{{item.name}},</text>
        </view>
      </view>
      <view class="flex-box" a:if="{{dataDetail.file_list.length>0}}">
        <view class="laber">任务附件</view>
        <view class="flex-1 flex-box flex-v-ce imgs">
          <image mode="scaleToFill" data-index="{{index}}" a:for="{{dataDetail.file_list}}" data-item="{{dataDetail.file_list}}" src="{{item}}" catchTap="showImg"/>
        </view>
      </view>
    </view>
    <view class="main">
      <view class="margin-top main-item">
        <view class="margin-bottom">审批者</view>
        <view class="flex-box">
          <view class="flex-box-v flex-center-center img-item">
            <img-box name="{{dataDetail.owner_name}}" imgUrl="{{dataDetail.img_url}}" height="90rpx" width="90rpx" fSize="28rpx"></img-box>
            <text>{{dataDetail.owner_name}}</text>
          </view>
        </view>
      </view>
      <view class="margin-top main-item" >
        <view class="margin-bottom">执行者</view>
        <view class="flex-box flex-d-wrap ">
          <view class="flex-box-v flex-center-center img-item" a:for="{{dataDetail.target_info}}">
            <img-box name="{{item.name}}" height="90rpx" width="90rpx" fSize="28rpx"></img-box>
            <text>{{item.name}}</text>
          </view>
        </view>
      </view>
    </view>
    <view class="btn-area">
      <button type="warn" loading="{{disabled}}" class="defBtn2" disabled="{{disabled}}" catchTap="formSubmit">删除重复任务</button>
    </view>
  </view>