|
|
@@ -19,16 +19,19 @@
|
|
|
},
|
|
|
]"
|
|
|
:load="(page: number, pageSize: number, _tag: number, searchText: string, drop: number[]) => loadSelfAssessmentAdminList(page, pageSize, searchText, drop)"
|
|
|
- :show-detail="(item) => router.push({ name: 'CollectEvaluationForm', query: { id: item.checkId ?? item.id, userId: item.userId } })"
|
|
|
+ :show-detail="handleReviewSelfAssessment"
|
|
|
>
|
|
|
<template #itemRight="{ item }">
|
|
|
<a-popover v-if="item.rejectType && item.rejectType > 0" title="退回原因" trigger="hover">
|
|
|
<template #content>
|
|
|
<div style="max-width: 300px">{{ item.rejectReason || '无' }}</div>
|
|
|
</template>
|
|
|
- <span class="mr-3 text-sm" style="color: #f5222d; cursor: pointer;">
|
|
|
+ <span v-if="item.progress <= 0" class="mr-3 text-sm" style="color: #f5222d; cursor: pointer;">
|
|
|
<ExclamationCircleOutlined /> 已退回
|
|
|
</span>
|
|
|
+ <span v-if="item.progress > 0" class="mr-3 text-sm">
|
|
|
+ 之前退回
|
|
|
+ </span>
|
|
|
</a-popover>
|
|
|
<span class="mr-3 text-sm text-gray-600">{{ selfAssessmentProgressLabel(item.progress) }}</span>
|
|
|
<a-button type="link" @click.stop="router.push({ name: 'CollectEvaluationForm', query: { id: item.checkId ?? item.id, userId: item.userId } })">编辑</a-button>
|
|
|
@@ -36,7 +39,9 @@
|
|
|
type="primary"
|
|
|
v-if="item.checkId && item.progress != null && item.progress >= 1 && item.progress < 5"
|
|
|
@click.stop="handleReviewSelfAssessment(item)"
|
|
|
- >审核</a-button>
|
|
|
+ >
|
|
|
+ 审核
|
|
|
+ </a-button>
|
|
|
</template>
|
|
|
</CommonListBlock>
|
|
|
</a-tab-pane>
|