From 60ddc45b9bb444c4ada72611b454dcac1160aed4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 18 Mar 2024 18:41:11 +0800 Subject: [PATCH] =?UTF-8?q?BPM=EF=BC=9A=E5=A2=9E=E5=8A=A0=20task=20?= =?UTF-8?q?=E7=9A=84=E5=AE=A1=E6=89=B9=E5=BB=BA=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/ProcessInstanceBpmnViewer.vue | 6 ------ .../detail/ProcessInstanceTaskList.vue | 7 +++---- src/views/bpm/processInstance/detail/index.vue | 3 --- src/views/bpm/task/done/index.vue | 11 ++++++----- 4 files changed, 9 insertions(+), 18 deletions(-) diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue b/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue index 0a2057dd..dcf3bcc4 100644 --- a/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue +++ b/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue @@ -33,12 +33,6 @@ const bpmnControlForm = ref({ prefix: 'flowable' }) const activityList = ref([]) // 任务列表 -// const bpmnXML = computed(() => { // TODO 芋艿:不晓得为啊哈不能这么搞 -// if (!props.processInstance || !props.processInstance.processDefinition) { -// return -// } -// return DefinitionApi.getProcessDefinitionBpmnXML(props.processInstance.processDefinition.id) -// }) /** 初始化 */ onMounted(async () => { diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue b/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue index 9876d5d3..e20872db 100644 --- a/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue +++ b/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue @@ -3,7 +3,7 @@ - +
- - 子任务 + 子任务

@@ -92,7 +91,7 @@ const getTimelineItemIcon = (item) => { } /** 获得任务对应的颜色 */ -const getTimelineItemType = (item) => { +const getTimelineItemType = (item: any) => { if (item.status === 1) { return 'primary' } diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue index 800ff2f3..a8c5f2a5 100644 --- a/src/views/bpm/processInstance/detail/index.vue +++ b/src/views/bpm/processInstance/detail/index.vue @@ -302,9 +302,6 @@ const loadRunningTask = (tasks) => { loadRunningTask(task.children) } // 2.1 只有待处理才需要 - // if (task.status !== 1 && task.status !== 6) { - // return - // } if (task.status !== 1 && task.status !== 6) { return } diff --git a/src/views/bpm/task/done/index.vue b/src/views/bpm/task/done/index.vue index d9b32803..7d8f905b 100644 --- a/src/views/bpm/task/done/index.vue +++ b/src/views/bpm/task/done/index.vue @@ -75,16 +75,17 @@ prop="endTime" width="180" /> + + + + - - -