From f18b3da725471693f7b2d2c58036c5487c8594ce Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 12 Jan 2026 15:05:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AE=BE=E8=AE=A1=E5=B8=88=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E4=BC=98=E5=8C=96=E6=98=BE=E7=A4=BA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/CreateTask.vue | 37 ++++++++++++++++++++++++----- frontend/src/views/DesignerHall.vue | 30 +++++++++++------------ 2 files changed, 46 insertions(+), 21 deletions(-) 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 @@
-

设计师列表

+

设计师列表