260322:1648 Correct Coresspondence / Doing RFA / Correct CI
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
export interface SearchCirculationDto {
|
||||
/** ค้นหาจาก Subject หรือ No. */
|
||||
search?: string;
|
||||
search?: string;
|
||||
|
||||
/** OPEN, COMPLETED, CANCELLED */
|
||||
status?: string;
|
||||
status?: string;
|
||||
|
||||
page?: number;
|
||||
|
||||
limit?: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,4 @@ export interface AddReferenceDto {
|
||||
export interface RemoveReferenceDto {
|
||||
/** ID ของเอกสารที่ต้องการลบการอ้างอิง */
|
||||
targetId: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// File: src/types/dto/correspondence/search-correspondence.dto.ts
|
||||
|
||||
export interface SearchCorrespondenceDto {
|
||||
search?: string; // ค้นหาจาก Title หรือ Number
|
||||
typeId?: number; // กรองตามประเภทเอกสาร
|
||||
projectId?: number; // กรองตามโครงการ
|
||||
statusId?: number; // กรองตามสถานะ (จาก Revision ปัจจุบัน)
|
||||
search?: string; // ค้นหาจาก Title หรือ Number
|
||||
typeId?: number; // กรองตามประเภทเอกสาร
|
||||
projectId?: number; // กรองตามโครงการ
|
||||
statusId?: number; // กรองตามสถานะ (จาก Revision ปัจจุบัน)
|
||||
revisionStatus?: 'CURRENT' | 'ALL' | 'OLD'; // กรองตามสถานะ Revision
|
||||
|
||||
// เพิ่มเติมสำหรับการแบ่งหน้า (Pagination)
|
||||
|
||||
@@ -4,13 +4,13 @@ export type WorkflowAction = 'APPROVE' | 'REJECT' | 'RETURN' | 'ACKNOWLEDGE' | '
|
||||
|
||||
export interface WorkflowActionDto {
|
||||
/** การกระทำ (Approve, Reject, etc.) */
|
||||
action: WorkflowAction;
|
||||
action: WorkflowAction;
|
||||
|
||||
/** ความคิดเห็นเพิ่มเติม */
|
||||
comments?: string;
|
||||
|
||||
/** * ลำดับที่ต้องการส่งกลับ (ใช้กรณี action = RETURN)
|
||||
/** * ลำดับที่ต้องการส่งกลับ (ใช้กรณี action = RETURN)
|
||||
* เช่น ส่งกลับไป step 1
|
||||
*/
|
||||
returnToSequence?: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@ export interface SearchAsBuiltDrawingDto {
|
||||
projectUuid: string;
|
||||
search?: string;
|
||||
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
}
|
||||
|
||||
@@ -36,6 +36,6 @@ export interface SearchContractDrawingDto {
|
||||
mapCatId?: number;
|
||||
search?: string; // ค้นหาจาก Title หรือ Number
|
||||
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@ export interface SearchShopDrawingDto {
|
||||
subCategoryId?: number;
|
||||
search?: string;
|
||||
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
page?: number; // Default: 1
|
||||
limit?: number; // Default: 20
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ export interface CreateDisciplineDto {
|
||||
codeNameEn?: string;
|
||||
|
||||
isActive?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ export interface SaveNumberFormatDto {
|
||||
|
||||
/** รูปแบบ Template เช่น '{ORG}-{TYPE}-{DISCIPLINE}-{SEQ:4}' */
|
||||
formatTemplate: string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ export interface CreateSubTypeDto {
|
||||
|
||||
/** เลขรหัสสำหรับ Running Number (เช่น '11') */
|
||||
subTypeNumber?: string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ export interface SetMaintenanceDto {
|
||||
|
||||
/** เหตุผลที่ปิดปรับปรุง (แสดงให้ User เห็น) */
|
||||
reason?: string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ export interface SearchNotificationDto {
|
||||
|
||||
/** กรอง: อ่านแล้ว (true) / ยังไม่อ่าน (false) */
|
||||
isRead?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ export interface SearchQueryDto {
|
||||
|
||||
/** จำนวนต่อหน้า (Default: 20) */
|
||||
limit?: number;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user