From 0594eca6784b9fa7c81947b14a1c9e38a4098ddc Mon Sep 17 00:00:00 2001 From: ye1023 <12588209+ye1023@user.noreply.gitee.com> Date: Mon, 25 May 2026 09:39:42 +0800 Subject: [PATCH] =?UTF-8?q?yxk-20260525-=E9=80=9A=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=8E=86=E5=8F=B2=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content/TaskApprovalHistoryContent.vue | 113 ++++++++++++++++++ .../myHandleTask/modal/TaskHandleModal.vue | 20 +++- 2 files changed, 131 insertions(+), 2 deletions(-) create mode 100644 src/views/super/bpm/process/personalOffice/myHandleTask/content/TaskApprovalHistoryContent.vue diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/content/TaskApprovalHistoryContent.vue b/src/views/super/bpm/process/personalOffice/myHandleTask/content/TaskApprovalHistoryContent.vue new file mode 100644 index 0000000..fc63668 --- /dev/null +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/content/TaskApprovalHistoryContent.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/modal/TaskHandleModal.vue b/src/views/super/bpm/process/personalOffice/myHandleTask/modal/TaskHandleModal.vue index 88a1b79..189c3f1 100644 --- a/src/views/super/bpm/process/personalOffice/myHandleTask/modal/TaskHandleModal.vue +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/modal/TaskHandleModal.vue @@ -24,6 +24,10 @@ /> + + + + @@ -42,11 +46,12 @@ * 处理页面 */ import { BasicModal, useModalInner } from '/@/components/Modal'; - import { ref , nextTick , computed } from 'vue'; + import { ref , nextTick , computed, watch } from 'vue'; import { UserOutlined, PartitionOutlined, FileTextOutlined } from '@ant-design/icons-vue'; import TaskHandleInnerContent from '../content/TaskHandleInnerContent.vue'; import TaskTraceContent from '../content/TaskTraceContent.vue'; import BpmDynamicForm from '/@/views/super/bpm/process/components/BpmDynamicForm.vue'; + import TaskApprovalHistoryContent from '../content/TaskApprovalHistoryContent.vue'; export default { name: 'TaskHandleModal', @@ -58,11 +63,12 @@ TaskHandleInnerContent, TaskTraceContent, BpmDynamicForm, + TaskApprovalHistoryContent, }, emits: ['success', 'register'], setup(_p, { emit }) { const title = ref('流程办理'); - const taskFormData = ref({}); + const taskFormData = ref({}); const taskFormUrl = ref(''); //是否需要签收 const claimStatus = ref(false); @@ -81,6 +87,7 @@ const activeKey = ref('1'); const isEmbeddedHandleForm = computed(() => taskFormUrl.value?.includes('BgPartymatterBPMForm')); + const approvalHistoryRef = ref(); // desformView 父级滚动条,只有传了此参数才会突破内部弹窗 const modalRef = ref(); @@ -98,9 +105,18 @@ claimStatus.value = false; } + watch(activeKey, (key) => { + if (key === '2') { + nextTick(() => { + approvalHistoryRef.value?.reload(); + }); + } + }); + return { title, registerModal, + approvalHistoryRef, activeKey, taskFormData, taskFormUrl,