From 821d0ca98a8732f18c2122913f68fce7927cc926 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 04 三月 2025 11:27:43 +0800 Subject: [PATCH] 流程日志展示挂起、取消挂起日志 --- src/views/flowable/task/myProcess/send/index.vue | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index 07e4096..f0a549d 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -17,7 +17,7 @@ <!-- 褰撳墠鑺傜偣鍙崗鍚屻�佽浆鍔炵瓑鎿嶄綔 --> <div class="op-list"> <el-button size="small" type="primary" :disabled="formDataObj.taskStatus === '鎸傝捣' || submitLoading" v-loading="submitLoading" @click="submitForm">纭骞舵彁浜�</el-button> - <el-button size="small" type="primary" disabled @click="submitForm">鍗忓悓鍔炵悊(鍔熻兘寮�鍙戜腑)</el-button> +<!-- <el-button size="small" type="primary" disabled @click="submitForm">鍗忓悓鍔炵悊(鍔熻兘寮�鍙戜腑)</el-button>--> <el-button size="small" type="primary" :disabled="formDataObj.taskStatus === '鎸傝捣'" @click="openDelegation(formDataList[0].beforeNodeName)">杞姙</el-button> <el-button v-if="formDataObj.canJump" :disabled="formDataObj.taskStatus === '鎸傝捣'" size="small" type="primary" @click="jumpTask()">璺宠繃</el-button> <el-button v-if="formDataObj.canWait" :disabled="formDataObj.taskStatus === '鎸傝捣'" size="small" type="primary" >瀹圭己</el-button> @@ -30,6 +30,18 @@ <!-- 鍓嶇疆鑺傜偣鍙┏鍥� --> <div class="reject-but"> <el-button type="danger" size="small" @click="openRejectTask(formDataObj.beforeNodeName)">椹� 鍥�</el-button> + <el-popover + style="margin-left: 10px" v-if="formDataObj.events.length > 0" + placement="right-start" + title="浠诲姟鏃ュ織" + width="600" + trigger="hover" + > + <div v-if="formDataObj.events.length > 0"> + <log-view :log-list="formDataObj.events"/> + </div> + <el-button slot="reference">浠诲姟鏃ュ織</el-button> + </el-popover> </div> <div class="before">鍓嶇疆闃舵锛�<span>{{formDataObj.beforeNodeName}}</span></div> </div> @@ -176,6 +188,7 @@ import {completeSubmitFormTask} from "@/api/flowable/process"; import { flowTaskForm } from "@/api/flowable/todo"; import {getNextFlowNodeByStart} from "@/api/flowable/todo"; +import LogView from "@/views/projectProcess/components/LogView"; import {rejectTask} from "@/api/flowable/process"; import {cancelTaskHangup, taskDelegation, taskHangup, taskJump} from "@/api/projectProcess/projectProcess"; @@ -187,6 +200,7 @@ MyDept, SingleUser, MultUser, + LogView }, props: {}, data() { -- Gitblit v1.8.0