251210:1709 Frontend: reeactor organization and run build
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-10 17:09:11 +07:00
parent aa96cd90e3
commit c8a0f281ef
140 changed files with 3780 additions and 1473 deletions

View File

@@ -1,6 +1,6 @@
export interface RFAItem {
id?: number;
item_no: string;
itemNo: string;
description: string;
quantity: number;
unit: string;
@@ -8,25 +8,30 @@ export interface RFAItem {
}
export interface RFA {
rfa_id: number;
rfa_number: string;
rfaId: number;
rfaNumber: string;
subject: string;
description?: string;
contract_id: number;
discipline_id: number;
contractId: number;
disciplineId: number;
status: "DRAFT" | "PENDING" | "IN_REVIEW" | "APPROVED" | "REJECTED" | "CLOSED";
created_at: string;
updated_at: string;
createdAt: string;
updatedAt: string;
items: RFAItem[];
// Mock fields for display
contract_name?: string;
discipline_name?: string;
contractName?: string;
disciplineName?: string;
}
export interface CreateRFADto {
subject: string;
projectId?: number;
rfaTypeId: number;
title: string;
description?: string;
contract_id: number;
discipline_id: number;
contractId: number;
disciplineId: number;
toOrganizationId: number;
dueDate?: string;
shopDrawingRevisionIds?: number[];
items: RFAItem[];
}