[update] 是否显示加签按钮用待办列表的countersignFlag字段判断

This commit is contained in:
lideqin
2024-07-30 10:35:24 +08:00
parent 5cc3bda70f
commit d1c00d6809
4 changed files with 7 additions and 6 deletions
@@ -99,6 +99,8 @@
</div>
<!-- 操作按钮 -->
<div v-if="!isLook" class="detail-page-bottom-operate-box">
<!-- 加签 -->
<a-button v-if="$route.query.countersignFlag + '' === '1'" type="primary" ghost :loading="loading" @click="handleAddSign" icon="plus">{{ $t('countersign') }}</a-button>
<!-- 发起节点 -->
<template v-if="currentNode === 1">
<!-- 保存 -->
@@ -107,8 +109,6 @@
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
</template>
<template v-else>
<!-- 加签 -->
<a-button type="primary" ghost :loading="loading" @click="handleAddSign" icon="plus">{{ $t('countersign') }}</a-button>
<!-- 转办 -->
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->