Preserve approval review events

This commit is contained in:
biss committed 2026-11-20 21:34:41 +08:00
1 parent 4abd00d361
commit 6cab2ddf64
11 files changed
+13014 -8

No files matched your search

+1
View File
@@ -1293,6 +1293,7 @@ onMounted(async () => {
<div v-if="isApprover" class="appr-list">
<article v-for="item in reviewed" :key="`${item.type}-${item.id}-${item.time}`" class="appr-card">
<el-tag size="small">{{ item.type === 'StudentLeave' ? attachmentText('学生请假', 'Student leave') : approvalCountLabel(item.type) }}</el-tag>
<el-tag v-if="item.approved != null" size="small" :type="item.approved ? 'success' : 'danger'">{{ item.approved ? attachmentText('通过', 'Approved') : attachmentText('退回', 'Returned') }}</el-tag>
<div class="appr-body">
<b>{{ item.title }}</b>
<p v-if="item.comment">{{ item.comment }}</p>