From 3e999e95e7f2c27157b407e281ead6705b99ee72 Mon Sep 17 00:00:00 2001 From: crushing1111 <909171938@qq.com> Date: Fri, 15 Aug 2025 15:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.ts | 2 +- src/views/task/task-gantt/TaskGantt.vue | 4 +- src/views/task/task-publish/TaskPublish.vue | 202 +++++++++++------- .../components/AssigneeSelector.vue | 4 +- .../task/task-publish/components/TaskForm.vue | 8 +- 5 files changed, 128 insertions(+), 92 deletions(-) diff --git a/src/router/route.ts b/src/router/route.ts index df04f61..5241e6b 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -167,7 +167,7 @@ export const systemRoutes: RouteRecordRaw[] = [ component: () => import('@/views/task/task-gantt/TaskGantt.vue'), meta: { title: '人力甘特图', - icon: 'workload', // 进度相关图标 + icon: 'eye', // 进度相关图标 hidden: false, sort: 3.6 } diff --git a/src/views/task/task-gantt/TaskGantt.vue b/src/views/task/task-gantt/TaskGantt.vue index c588313..8af29d2 100644 --- a/src/views/task/task-gantt/TaskGantt.vue +++ b/src/views/task/task-gantt/TaskGantt.vue @@ -194,7 +194,7 @@ const initChart = (personIndex: number) => { const categoryIndex = api.value(3); const startCoord = api.coord([api.value(0), categoryIndex]); const endCoord = api.coord([api.value(1), categoryIndex]); - const barHeight = 20; + const barHeight = 40; return { type: "rect", shape: { @@ -220,7 +220,7 @@ const initChart = (personIndex: number) => { const categoryIndex = api.value(3); const startCoord = api.coord([api.value(0), categoryIndex]); const endCoord = api.coord([api.value(1), categoryIndex]); - const barHeight = 12; + const barHeight = 40; return { type: "rect", shape: { diff --git a/src/views/task/task-publish/TaskPublish.vue b/src/views/task/task-publish/TaskPublish.vue index f6a35fe..223e9d7 100644 --- a/src/views/task/task-publish/TaskPublish.vue +++ b/src/views/task/task-publish/TaskPublish.vue @@ -19,7 +19,7 @@ @click="handleStatClick('low')" :class="{ 'active': searchForm.priority === 'low' }" > -
低优先级
+
不重要不紧急
{{ priorityStats.low }}
-
中优先级
+
重要不紧急
{{ priorityStats.medium }}
-
高优先级
+
紧急不重要
{{ priorityStats.high }}
-
紧急
+
重要紧急
{{ priorityStats.urgent }}
@@ -52,10 +52,6 @@

历史任务

-
@@ -74,10 +70,10 @@
@@ -134,8 +130,9 @@ {{ getPriorityText(task.priority) }} {{ task.statusText }} - - + + + @@ -166,6 +163,34 @@
+ + + @@ -173,14 +198,20 @@ \ No newline at end of file + diff --git a/src/views/task/task-publish/components/AssigneeSelector.vue b/src/views/task/task-publish/components/AssigneeSelector.vue index 808c512..64c2f11 100644 --- a/src/views/task/task-publish/components/AssigneeSelector.vue +++ b/src/views/task/task-publish/components/AssigneeSelector.vue @@ -33,9 +33,7 @@ {{ user.name }} - - - + diff --git a/src/views/task/task-publish/components/TaskForm.vue b/src/views/task/task-publish/components/TaskForm.vue index 0ede8cc..5d5ee46 100644 --- a/src/views/task/task-publish/components/TaskForm.vue +++ b/src/views/task/task-publish/components/TaskForm.vue @@ -60,10 +60,10 @@