Merge branch 'develop' into nice_dev
This commit is contained in:
commit
e85d90afbd
2 changed files with 27 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ interface DirectorRows {
|
||||||
position: string;
|
position: string;
|
||||||
email: string;
|
email: string;
|
||||||
phone: string;
|
phone: string;
|
||||||
|
totalInvestigate: number
|
||||||
|
totalDisciplinary: number
|
||||||
}
|
}
|
||||||
interface DirectorRowsResponse {
|
interface DirectorRowsResponse {
|
||||||
id:string
|
id:string
|
||||||
|
|
@ -13,6 +15,8 @@ interface DirectorRowsResponse {
|
||||||
position:string
|
position:string
|
||||||
email:string
|
email:string
|
||||||
phone:string
|
phone:string
|
||||||
|
totalInvestigate: number
|
||||||
|
totalDisciplinary: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export type {
|
export type {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ export const useDisciplineDirectorDataStore = defineStore(
|
||||||
"position",
|
"position",
|
||||||
"email",
|
"email",
|
||||||
"phone",
|
"phone",
|
||||||
|
"totalInvestigate",
|
||||||
|
"totalDisciplinary",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// หัวตาราง
|
// หัวตาราง
|
||||||
|
|
@ -63,6 +65,24 @@ export const useDisciplineDirectorDataStore = defineStore(
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "totalInvestigate",
|
||||||
|
align: "left",
|
||||||
|
label: "จำนวนการสืบสวน",
|
||||||
|
sortable: true,
|
||||||
|
field: "totalInvestigate",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "totalDisciplinary",
|
||||||
|
align: "left",
|
||||||
|
label: "จำนวนการสอบสวน",
|
||||||
|
sortable: true,
|
||||||
|
field: "totalDisciplinary",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// ข้อมูลในตาราง
|
// ข้อมูลในตาราง
|
||||||
|
|
@ -73,7 +93,9 @@ export const useDisciplineDirectorDataStore = defineStore(
|
||||||
fullName:`${item.prefix}${item.firstName} ${item.lastName}`,
|
fullName:`${item.prefix}${item.firstName} ${item.lastName}`,
|
||||||
position:item.position,
|
position:item.position,
|
||||||
email:item.email,
|
email:item.email,
|
||||||
phone:item.phone
|
phone:item.phone,
|
||||||
|
totalInvestigate: item.totalInvestigate,
|
||||||
|
totalDisciplinary: item.totalDisciplinary,
|
||||||
}))
|
}))
|
||||||
rows.value = dataList
|
rows.value = dataList
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue