From 744ac08a910054f370d18084ade865661356c4f9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Jan 2026 16:01:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=BA=BF=E4=BB=BB=E5=8A=A1=E5=AD=90=E4=BB=BB=E5=8A=A1=E5=A4=84?= =?UTF-8?q?=E7=90=86=E4=BA=BA=E5=B1=95=E5=BC=80=E6=98=BE=E7=A4=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在任务卡片中添加展开/折叠功能,显示每个子任务的详细处理人信息 - 支持显示子任务编号、处理人姓名和状态 - 更新TaskCard组件和TaskHall页面,添加相应的样式和交互逻辑 --- frontend/src/components/TaskCard.vue | 136 ++++++++++++++++++++++++++- frontend/src/views/TaskHall.vue | 116 ++++++++++++++++++++++- 2 files changed, 245 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/TaskCard.vue b/frontend/src/components/TaskCard.vue index 88d7dd9..4741b28 100644 --- a/frontend/src/components/TaskCard.vue +++ b/frontend/src/components/TaskCard.vue @@ -52,7 +52,25 @@
{{ receiverLabel }} - {{ task.receiverName || '--' }} + + {{ task.receiverName || '--' }} + + + + +
+ +
+
+ {{ subTask.itemNo || `子任务${index + 1}` }}: + {{ subTask.receiverName || '待接单' }} + + {{ getSubTaskStatusText(subTask.status) }} + +
@@ -133,12 +151,19 @@