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,