feat: Web端401队列拦截器 + 消息/任务/个人中心重写 + TabBar红点 + Admin页面完善
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
// ---- 操作响应 ----
|
||||
|
||||
Reference in New Issue
Block a user