appealFormDetail.wxml
3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!--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>