UI รายการผังบัญชีเงินเดือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-02-15 18:01:15 +07:00
parent 7a8668271b
commit d1eab09ee4
7 changed files with 851 additions and 6 deletions

View file

@ -3,4 +3,28 @@ interface DataOption {
name: string;
}
export type { DataOption };
interface NewPagination {
descending: boolean;
page: number;
rowsPerPage: number;
sortBy: string;
}
interface ItemsMenu {
label: string;
icon: string;
color: string;
type: string;
}
interface ObjectSalaryRef {
salaryType: object | null;
posTyp: object | null;
posLevel: object | null;
date: object | null;
startDate: object | null;
endDate: object | null;
[key: string]: any;
}
export type { DataOption, NewPagination, ItemsMenu, ObjectSalaryRef };

View file

@ -0,0 +1,7 @@
interface FormQuerySalary {
page: number; //*หน้า
pageSize: number; //*จำนวนแถวต่อหน้า
keyword: string; //keyword ค้นหา
}
export type { FormQuerySalary };

View file

@ -2,5 +2,16 @@ interface DataOption {
id: string;
name: string;
}
interface Salary {
id: string;
salaryType: string;
posType: string;
posLevel: string;
isActive: boolean;
date: Date; //ให้ไว้ ณ วันที่
startDate: Date;
endDate: Date;
detail: string;
}
export type { DataOption };
export type { Salary };