From 31c5d480157676380dfbae2805e98caa9fd71b21 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@local>
Date: 星期五, 06 十一月 2026 10:32:06 +0800
Subject: [PATCH] fix(bpm): 修正超级管理员匹配方式(simple-list 不返回 username)
---
src/views/bpm/processInstance/create/index.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue
index 5a365b7..8493aa3 100644
--- a/src/views/bpm/processInstance/create/index.vue
+++ b/src/views/bpm/processInstance/create/index.vue
@@ -5,8 +5,8 @@
import { computed, nextTick, onMounted, ref, watch } from 'vue';
import { useRoute } from 'vue-router';
-import { Page } from '..\..\..\..\packages\effects\common-ui\src';
-import { groupBy } from '..\..\..\..\packages\utils\src';
+import { Page } from '@vben/common-ui';
+import { groupBy } from '@vben/utils';
import {
Card,
@@ -301,4 +301,51 @@
.animate-bounce-once {
animation: bounce 0.5s ease;
}
+
+/**
+ * 娴佺▼鍒嗙被杈冨鏃讹紝宸︿晶鍒嗙被椤电浼氳秴鍑哄崱鐗囬珮搴︺��
+ * 杩欓噷闄愬埗宸︿晶瀵艰埅鐨勫彲瑙嗛珮搴﹀苟鍏佽绾靛悜婊氬姩锛屼繚璇佹墍鏈夊垎绫婚兘鑳界湅鍒般��
+ */
+.process-definition-container {
+ :deep(.ant-tabs) {
+ height: 100%;
+ }
+
+ :deep(.ant-tabs-left > .ant-tabs-nav) {
+ max-height: 100%;
+ margin-bottom: 0;
+ }
+
+ // 宸︿晶椤电鍒楄〃锛氶檺鍒堕珮搴� + 绾靛悜婊氬姩
+ :deep(.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap) {
+ max-height: calc(100vh - 340px);
+ overflow-x: hidden;
+ overflow-y: auto;
+ // 婊氬姩鏃朵笉瑕佸垏鏂〉绛剧殑閫変腑鎬佹寚绀烘潯
+ padding-right: 2px;
+
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ background-color: rgb(0 0 0 / 18%);
+ border-radius: 3px;
+ }
+
+ &::-webkit-scrollbar-thumb:hover {
+ background-color: rgb(0 0 0 / 30%);
+ }
+
+ &::-webkit-scrollbar-track {
+ background-color: transparent;
+ }
+ }
+
+ // 鍙充晶鍐呭鍖洪珮搴﹁嚜閫傚簲
+ :deep(.ant-tabs-left > .ant-tabs-content-holder) {
+ max-height: calc(100vh - 340px);
+ overflow-y: auto;
+ }
+}
</style>
--
Gitblit v1.9.3