From d30d3d2d352abfcd9e16cece8a34f2a517f8abc0 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 05 三月 2025 16:05:19 +0800 Subject: [PATCH] 动态表单必填提示修改 --- src/views/flowable/task/myProcess/detail/index.vue | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/views/flowable/task/myProcess/detail/index.vue b/src/views/flowable/task/myProcess/detail/index.vue index ca06721..765ff17 100644 --- a/src/views/flowable/task/myProcess/detail/index.vue +++ b/src/views/flowable/task/myProcess/detail/index.vue @@ -30,6 +30,19 @@ > </el-alert> </div> + <div style="position: absolute;top: 10px; right: 20px" v-if="formDataObj.events.length > 0"> + <el-popover + placement="right-start" + title="浠诲姟鏃ュ織" + width="800" + 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 v-if="formDataList.length <= 1"> <div class="before_none">鍓嶇疆闃舵锛�<span>涓嶅瓨鍦ㄥ墠缃樁娈�</span></div> <el-alert @@ -109,12 +122,13 @@ import {getProcessVariables, flowXmlAndNode} from "@/api/flowable/definition"; import {flowTaskForm, flowTaskFormDetail} from "@/api/flowable/todo"; import BpmnViewer from '@/components/Process/viewer'; +import LogView from "@/views/projectProcess/components/LogView"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; export default { name: "Record", components: { - BpmnViewer + BpmnViewer, LogView }, props: {}, data() { -- Gitblit v1.8.0