appealFormDetail.wxml 3.58 KB
<!--packageWorkspace/pages/appealFormManage/appealFormDetail/appealFormDetail.wxml-->
<view class="detail-page">
  <!-- Header Card -->
  <view class="card header-card">
    <view class="row-between">
      <view class="name">{{info.staffName}} <text class="time">{{info.createdDateTxt}}提交申请</text></view>
    </view>
    <view class="row mt-20">
      <text class="label" style="color: #666666;">申诉类型:</text>
      <text class="value">{{appealTypeStr}}</text>
    </view>
  </view>

  <!-- Content Card -->
  <view class="card content-card">
    <view class="card-title">申诉内容</view>

    <block wx:if="{{info.appealType == 1}}">
      <view class="row mt-20">
        <text class="label">本月实际出勤天数</text>
        <text class="value ml-20">{{(info.actualAttendanceDays === null || info.actualAttendanceDays === undefined) ? '-' : (info.actualAttendanceDays + '天')}}</text>
      </view>
      <view class="row mt-20">
        <text class="label">申诉修改实际出勤天数</text>
        <text class="value ml-20">{{(info.applyActualAttendanceDays === null || info.applyActualAttendanceDays === undefined) ? '-' : (info.applyActualAttendanceDays + '天')}}</text>
      </view>
    </block>

    <!-- Pad Info -->
    <block wx:if="{{info.appealType == 2}}">
      <view class="row mt-20">
        <text class="label">平板录音完成总数</text>
        <text class="value ml-20">{{(info.padRecordNum === null || info.padRecordNum === undefined) ? '-' : (info.padRecordNum + '条')}}</text>
      </view>
      <view class="row mt-20">
        <text class="label">申诉修改录音完成总数</text>
        <text class="value ml-20">{{(info.applyPadRecordNum === null || info.applyPadRecordNum === undefined) ? '-' : (info.applyPadRecordNum + '条')}}</text>
      </view>
    </block>

    <view class="section-label mt-30 label">上传截图说明</view>
    <view class="image-grid mt-20">
      <block wx:for="{{info.attachmentList}}" wx:key="index">
        <image 
          class="img" 
          src="{{item.fileUrl}}" 
          mode="aspectFill" 
          bindtap="previewImage" 
          data-url="{{item.fileUrl}}"
          data-urls="{{info.attachmentList}}"
        ></image>
      </block>
      <view wx-if="{{!info.attachmentList.length}}">-</view>
    </view>

    <view class="row mt-30 align-start">
      <text class="label nowrap">备注说明</text>
      <text class="value ml-20 flex-1 desc-text">{{info.remark || '-'}}</text>
    </view>
  </view>

  <!-- Reply Card -->
  <!-- 处理状态(1:未处理,2:已处理) -->
  <view class="card reply-card" wx-if="{{info.dealStatus == 2}}">
    <view class="card-title">总部回复</view>
    <!-- Attendance Reply -->
    <block wx:if="{{info.appealType == 1}}">
      <view class="row mt-30">
        <text class="label">确认实际出勤天数</text>
        <text class="value ml-20">{{(info.confirmActualAttendanceDays === null || info.confirmActualAttendanceDays === undefined) ? '-' : (info.confirmActualAttendanceDays + '天')}}</text>
      </view>
    </block>

    <!-- Pad Reply -->
    <block wx:if="{{info.appealType == 2}}">
      <view class="row mt-30">
        <text class="label">确认平板录音数</text>
        <text class="value ml-20">{{(info.confirmPadRecordNum === null || info.confirmPadRecordNum === undefined) ? '-' : (info.confirmPadRecordNum + '条')}}</text>
      </view>
    </block>

    <view class="row mt-30 align-start">
      <text class="label nowrap">备注说明</text>
      <text class="value ml-20 flex-1 desc-text">{{info.replyContent || '-'}}</text>
    </view>
  </view>
</view>