รายการโครงการ => ผูก API รายการโครงการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-03 11:14:26 +07:00
parent bb5847a652
commit 8266808827
6 changed files with 156 additions and 84 deletions

View file

@ -8,4 +8,18 @@ interface DataOptionCheckBox {
value: string;
}
export type { DataOption, DataOptionCheckBox };
interface ItemsMenu {
label: string;
value: string;
icon: string;
color: string;
}
interface NewPagination {
descending: boolean;
page: number;
rowsPerPage: number;
sortBy: string;
}
export type { DataOption, DataOptionCheckBox, ItemsMenu, NewPagination };

View file

@ -1,5 +1,7 @@
interface FormQueryProject {
interface FormQueryListProject {
year: number;
page: number;
pageSize: number;
keyword: string;
}
@ -45,47 +47,47 @@ interface FormFollowOther {
address: string;
province: string;
budget: string;
accept: number|null;
receive: number|null;
approved: number|null;
budgetPay: number|null;
issues:string
chance:string
effects:string
riskLevel:string
riskManagement:string
benefits:string
topicsIssues:string
trainingStudy:string
accept: number | null;
receive: number | null;
approved: number | null;
budgetPay: number | null;
issues: string;
chance: string;
effects: string;
riskLevel: string;
riskManagement: string;
benefits: string;
topicsIssues: string;
trainingStudy: string;
}
interface FormAddHistory{
citizenId:string
name:string
position:string
type:string
level:string
positionSide:string
oc:string
interface FormAddHistory {
citizenId: string;
name: string;
position: string;
type: string;
level: string;
positionSide: string;
oc: string;
[key: string]: any;
}
interface FormAddHistoryProject{
project:string
year:string
trainingStart:string
trainingEnd:string
totalTraining:string
location:string
topic:string
studyStart:string
studyEnd:string
organizingTraining:string
interface FormAddHistoryProject {
project: string;
year: string;
trainingStart: string;
trainingEnd: string;
totalTraining: string;
location: string;
topic: string;
studyStart: string;
studyEnd: string;
organizingTraining: string;
[key: string]: any;
}
export type {
FormQueryProject,
FormQueryListProject,
FormBasicinfo,
FormGroupTarget,
FormGroupRelate,

View file

@ -14,4 +14,10 @@ interface ResLevel {
posLevelAuthority: string;
}
export type { ResGroup, ResLevel };
interface ResListProject {
id: string;
projectName: string;
year: number;
}
export type { ResGroup, ResLevel, ResListProject };