feat: Web端401队列拦截器 + 消息/任务/个人中心重写 + TabBar红点 + Admin页面完善

This commit is contained in:
2026-08-07 11:44:12 +08:00
parent b71c5a2d07
commit 721cfe1504
25 changed files with 1730 additions and 435 deletions

View File

@ -13,6 +13,7 @@ export interface ProductResponse {
material_type: string | null;
parent_product_id: string | null;
current_location_id: string | null;
overall_status: string | null;
status: string;
created_at: string;
}

View File

@ -21,12 +21,16 @@ export type TaskStatus = (typeof TASK_STATUS)[keyof typeof TASK_STATUS];
export interface TaskSummary {
id: string;
product_id: string;
product_sn: string;
product_material: string;
parent_task_id: string | null;
task_name: string;
assignee_id: string | null;
status: TaskStatus | string;
notify_parent_on_complete: boolean;
is_rework: boolean;
task_type: string | null;
remark: string | null;
reject_reason: string | null;
received_at: string | null;
completed_at: string | null;
@ -35,6 +39,16 @@ export interface TaskSummary {
export interface TaskResponse extends TaskSummary {
child_tasks: TaskResponse[];
records: TaskRecordResponse[];
}
export interface TaskRecordResponse {
id: string;
task_id: string;
action: string;
operator_id: string | null;
note: string | null;
created_at: string;
}
// ---- 操作响应 ----