Add per-project Department management

Departments are now a customizable per-project list (standard + custom),
matching the existing custom task type/status pattern, instead of a fixed
7-value enum. They're usable directly on tasks (new field, independent of
assignee) and continue to drive team member department roles.
This commit is contained in:
2026-07-22 04:03:33 +08:00
parent 11e1369f2f
commit c09710f4e5
20 changed files with 1220 additions and 75 deletions
+2
View File
@@ -11,6 +11,7 @@ export interface Task {
description?: string
task_type: string
status: TaskStatus
department?: string
start_date?: string
deadline?: string
project_id: number
@@ -34,6 +35,7 @@ export interface TaskListItem {
name: string
task_type: string
status: TaskStatus
department?: string
start_date?: string
deadline?: string
project_id: number