我的任务列表-状态操作项修改
This commit is contained in:
@@ -417,11 +417,6 @@ onMounted(() => {
|
||||
<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 === 'IMPLEMENTED'" 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>
|
||||
</div>
|
||||
<!-- 审批中 -->
|
||||
<div v-if="c.status === 'APPROVING'" class="flex gap-3">
|
||||
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
|
||||
@@ -435,6 +430,11 @@ onMounted(() => {
|
||||
<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 === 'IMPLEMENTED' || c.status === 'ACCEPTED' || c.status === 'CLOSED' || c.status === 'WITHDRAWN'" 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>
|
||||
</div>
|
||||
<!-- 驳回处理 -->
|
||||
<div v-if="c.status === 'REJECTED'" class="flex gap-3">
|
||||
<NButton class="text-xs" text type="primary" @click="openDetail(c,'detail')">详情</NButton>
|
||||
|
||||
Reference in New Issue
Block a user