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 @@