รายการคำสั่ง ==> API
This commit is contained in:
parent
71be6d095f
commit
15b33b147a
14 changed files with 568 additions and 145 deletions
|
|
@ -7,4 +7,9 @@ interface DataOption {
|
|||
name: string;
|
||||
}
|
||||
|
||||
export type { Pagination, DataOption };
|
||||
interface ItemTabs {
|
||||
label: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type { Pagination, DataOption, ItemTabs };
|
||||
|
|
|
|||
|
|
@ -1 +1,24 @@
|
|||
export type {};
|
||||
interface FormQuery {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
year: number;
|
||||
keyword: string;
|
||||
}
|
||||
|
||||
interface FormCommand {
|
||||
commandYear: number;
|
||||
commandNo: string;
|
||||
commandTypeId?: string;
|
||||
}
|
||||
|
||||
interface FormDataDetail {
|
||||
commandNo: string;
|
||||
commandYear: number | null;
|
||||
// commandName: string;
|
||||
detailHeader: string;
|
||||
detailBody: string;
|
||||
detailFooter: string;
|
||||
issue: string | null;
|
||||
}
|
||||
|
||||
export type { FormQuery, FormCommand, FormDataDetail };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,25 @@
|
|||
interface ResListCommand {
|
||||
data: {
|
||||
result: {
|
||||
data: DataListCommand[];
|
||||
total: number;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
interface DataListCommand {
|
||||
assignFullName: string;
|
||||
commandAffectDate: null | Date | string;
|
||||
commandExcecuteDate: null | Date | string;
|
||||
commandNo: string;
|
||||
commandYear: number;
|
||||
createdFullName: string;
|
||||
id: string;
|
||||
status: string;
|
||||
issue?: string;
|
||||
}
|
||||
|
||||
interface DataCommandType {
|
||||
category: string;
|
||||
commandCode: string;
|
||||
createdAt: string | Date;
|
||||
|
|
@ -11,4 +32,4 @@ interface DataListCommand {
|
|||
name: string;
|
||||
}
|
||||
|
||||
export type { DataListCommand };
|
||||
export type { ResListCommand, DataListCommand, DataCommandType };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue