diff --git a/frontend/src/views/CreateTask.vue b/frontend/src/views/CreateTask.vue index 586a7a4..9f0e43e 100644 --- a/frontend/src/views/CreateTask.vue +++ b/frontend/src/views/CreateTask.vue @@ -128,20 +128,25 @@
- {{ designer.realName }} (进行中: {{ designer.inProgressCount || 0 }}) +
+ {{ designer.realName }} + 进行中: {{ designer.inProgressCount || 0 }} +
@@ -1235,9 +1240,11 @@ const calculateScore = () => { } } -// 筛选选项 -const filterOption = (input: string, option: any) => { - return option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0 +// 筛选设计师选项 +const filterDesignerOption = (input: string, option: any) => { + // 搜索设计师姓名 + const designerName = option.label || '' + return designerName.toLowerCase().includes(input.toLowerCase()) } // 取消 @@ -2591,4 +2598,22 @@ onUnmounted(() => { color: #31f08b !important; } } + +// 设计师选择器选项样式 +.designer-option { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + + .designer-name { + color: #e5e5e5; + font-weight: 500; + } + + .designer-workload { + color: #8a8a8a; + font-size: 12px; + } +} diff --git a/frontend/src/views/DesignerHall.vue b/frontend/src/views/DesignerHall.vue index 5e0f76b..1f98ccf 100644 --- a/frontend/src/views/DesignerHall.vue +++ b/frontend/src/views/DesignerHall.vue @@ -58,22 +58,22 @@
- +
- + - - {{ month.label }} - - + {{ month.label }} + +
@@ -112,7 +112,7 @@
-

设计师列表

+

设计师列表