[update] 是否显示加签按钮用待办列表的countersignFlag字段判断
This commit is contained in:
@@ -128,6 +128,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div v-if="!isLook" class="detail-page-bottom-operate-box">
|
<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">
|
<template v-if="currentNode === 1">
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
@@ -136,8 +138,6 @@
|
|||||||
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
|
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<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>
|
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
|
|||||||
+2
-2
@@ -99,6 +99,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div v-if="!isLook" class="detail-page-bottom-operate-box">
|
<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">
|
<template v-if="currentNode === 1">
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
@@ -107,8 +109,6 @@
|
|||||||
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
|
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<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>
|
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
|
|||||||
@@ -251,6 +251,7 @@ export default {
|
|||||||
query.processInstanceId = record.processInstanceId // 流程实例id,必须传人员信息右侧表格查询需要用
|
query.processInstanceId = record.processInstanceId // 流程实例id,必须传人员信息右侧表格查询需要用
|
||||||
query.nodeId = record.nodeId // 节点的id
|
query.nodeId = record.nodeId // 节点的id
|
||||||
query.prcType = record.prcType // 流程类型,加签需要传
|
query.prcType = record.prcType // 流程类型,加签需要传
|
||||||
|
query.countersignFlag = record.countersignFlag // 是否加签节点
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: path,
|
path: path,
|
||||||
query: query
|
query: query
|
||||||
|
|||||||
+2
-2
@@ -130,6 +130,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div v-if="!isLook" class="detail-page-bottom-operate-box">
|
<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">
|
<template v-if="currentNode === 1">
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
@@ -177,8 +179,6 @@
|
|||||||
<a-button type="danger" ghost :loading="loading" @click="handleReject" icon="close">{{ $t('reject') }}</a-button>
|
<a-button type="danger" ghost :loading="loading" @click="handleReject" icon="close">{{ $t('reject') }}</a-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<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>
|
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user