downloadFile จัดการคำขอ
This commit is contained in:
parent
118156a1f0
commit
2fe87c00c6
2 changed files with 21 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
{ id: '44', title: 'บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ' }
|
||||
])
|
||||
const mainTab = ref<string | undefined>("pending");
|
||||
const dataInsigniaType = ref<any>([])
|
||||
// เรียกราชชื่อการเสนอขอ
|
||||
const fetchData = async (data: any) => {
|
||||
if (data !== null) {
|
||||
|
|
@ -124,6 +125,10 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
rows.value = listinsignia.value;
|
||||
}
|
||||
};
|
||||
// ประเภทเครื่องราช
|
||||
function fetchInsigniaType(data: any) {
|
||||
dataInsigniaType.value = data
|
||||
}
|
||||
|
||||
// ประเภทลูกจ้าง
|
||||
const profileType = (val: string) => {
|
||||
|
|
@ -167,11 +172,13 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
employeeClass,
|
||||
employeeClassOps,
|
||||
fetchDataInsignia,
|
||||
fetchInsigniaType,
|
||||
isLock,
|
||||
requestId,
|
||||
roleUser,
|
||||
requestStatus,
|
||||
optionReport,
|
||||
convertStatus
|
||||
convertStatus,
|
||||
dataInsigniaType,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue