improvement: treatment UX fully overhauled.

This commit is contained in:
2026-07-13 01:03:26 +03:30
parent abf0371a5b
commit f28cd06615
27 changed files with 1370 additions and 212 deletions

View File

@@ -69,6 +69,11 @@ export interface LabCaseSendInfo {
/** @deprecated Use LabCaseSendInfo */
export type TreatmentCaseSendInfo = LabCaseSendInfo;
export interface LabCaseTaskProgress {
completed: number;
total: number;
}
export interface PastTreatmentDetail {
id: string;
clientId: string;
@@ -78,6 +83,7 @@ export interface PastTreatmentDetail {
attachmentMetas?: TreatmentAttachmentMeta[];
labCaseId?: string | null;
destinationOrganizationId?: string | null;
taskProgress?: LabCaseTaskProgress | null;
sends?: LabCaseSendInfo[];
sentAt?: string | null;
}
@@ -131,6 +137,7 @@ export interface TreatmentDetailDraft {
comment: string;
attachmentMetas: TreatmentAttachmentMeta[];
labCaseId?: string | null;
taskProgress?: LabCaseTaskProgress | null;
sendToOrganizationIds: string[];
sends?: LabCaseSendInfo[];
sentAt?: string | null;