From 5eb415437df45c524e5a1946266113c9618c06c4 Mon Sep 17 00:00:00 2001 From: GoldenZqqq <1361001127@qq.com> Date: Tue, 12 Nov 2024 11:22:37 +0800 Subject: [PATCH 1/7] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E9=A1=B5=E9=9D=A2=E5=B7=A6=E4=BE=A7=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E4=B8=8E=E5=8F=B3=E4=BE=A7=E6=B5=81=E7=A8=8B=E5=88=86?= =?UTF-8?q?=E7=BB=84=E9=A1=BA=E5=BA=8F=E4=B8=8D=E7=BB=9F=E4=B8=80=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/processInstance/create/index.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue index 92d68bf1..3a8a8810 100644 --- a/src/views/bpm/processInstance/create/index.vue +++ b/src/views/bpm/processInstance/create/index.vue @@ -41,7 +41,7 @@ :ref="`category-${categoryCode}`" >

- {{ getCategoryName(categoryCode) }} + {{ getCategoryName(categoryCode as any) }}

{ /** 流程定义的分组 */ const processDefinitionGroup: any = computed(() => { if (!processDefinitionList.value?.length) return {} - return groupBy(filteredProcessDefinitionList.value, 'category') + const grouped = groupBy(filteredProcessDefinitionList.value, 'category') + + const orderedGroup = {} + // 按照 categoryList 的顺序重新组织数据 + categoryList.value.forEach((category: any) => { + if (grouped[category.code]) { + orderedGroup[category.code] = grouped[category.code] + } + }) + + return orderedGroup }) /** 左侧分类切换 */ From e451f483c5bfea8f065634a938608eb10e608482 Mon Sep 17 00:00:00 2001 From: GoldenZqqq <1361001127@qq.com> Date: Tue, 12 Nov 2024 11:34:55 +0800 Subject: [PATCH 2/7] =?UTF-8?q?feat:=20=E5=8F=91=E8=B5=B7=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E6=97=B6=E4=B8=8D=E5=B1=95=E7=A4=BAtimeline=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=A4=B4=E5=83=8F=E5=8F=B3=E4=B8=8B=E8=A7=92=E5=B0=8F?= =?UTF-8?q?=E7=8A=B6=E6=80=81icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bpm/processInstance/detail/ProcessInstanceTimeline.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue b/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue index bb5ccc43..3307d1c4 100644 --- a/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue +++ b/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue @@ -99,7 +99,7 @@
Date: Tue, 12 Nov 2024 13:25:50 +0800 Subject: [PATCH 3/7] =?UTF-8?q?fix:=20=E4=BA=BA=E9=80=89=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=A9=BF=E6=A2=AD=E6=A1=86=E7=BB=84=E4=BB=B6=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E4=B8=8D=E8=BF=87=E6=BB=A4=E5=B7=B2=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E6=95=B0=E6=8D=AE=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=B8=83=E5=B1=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserSelectForm/index.vue | 114 ++++++++++++++++-------- 1 file changed, 79 insertions(+), 35 deletions(-) diff --git a/src/components/UserSelectForm/index.vue b/src/components/UserSelectForm/index.vue index 2ba2a7ff..d2537e1e 100644 --- a/src/components/UserSelectForm/index.vue +++ b/src/components/UserSelectForm/index.vue @@ -1,25 +1,27 @@