我的任务列表修改

This commit is contained in:
2026-10-08 11:17:23 +08:00
parent 2e9b20d559
commit 3d1f91e814
5 changed files with 44 additions and 5 deletions
+4 -4
View File
@@ -393,24 +393,24 @@ onMounted(() => {
</div>
<!-- 右区 -->
<!-- 去审批 -->
<div v-if="c.todo" class="flex gap-1.5">
<div v-if="c.todo" class="flex gap-3">
<NButton class="text-xs" text type="primary" @click="goApproval(c)">去审批</NButton>
</div>
<!-- 审批中 -->
<div v-if="c.status === 'APPROVING'" class="flex gap-1.5">
<div v-if="c.status === 'APPROVING'" class="flex gap-3">
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
<NButton class="text-xs" text type="warning" @click="openProgress(c)">进度</NButton>
<NButton class="text-xs" text type="error" @click="openWithdraw(c)">撤回</NButton>
</div>
<!-- 审批通过 -->
<div v-if="c.status === 'APPROVED'" class="flex gap-1.5">
<div v-if="c.status === 'APPROVED'" class="flex gap-3">
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
<NButton class="text-xs" text type="warning" @click="openProgress(c)">进度</NButton>
<NButton class="text-xs" text type="primary" @click="openDisposal(c)">处置申请</NButton>
<NButton class="text-xs" text type="error" @click="openDocClose(c)">资料关闭</NButton>
</div>
<!-- 驳回处理 -->
<div v-if="c.status === 'REJECTED'" class="flex gap-1.5">
<div v-if="c.status === 'REJECTED'" class="flex gap-3">
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
<NButton class="text-xs" text type="warning" @click="openProgress(c)">进度</NButton>
<NButton class="text-xs" text type="primary" @click="openDetail(c,'edit')">修改重报</NButton>