downloadFile excel จัดการคำขอ
This commit is contained in:
parent
7611d51974
commit
8049acfb59
4 changed files with 44 additions and 16 deletions
|
|
@ -7,6 +7,7 @@ const { date2Thai } = mixin;
|
|||
|
||||
export const useInsigniaDataStore = defineStore("insignia", () => {
|
||||
const isLock = ref<boolean>(false)
|
||||
const requestId = ref<string>("")
|
||||
let optionsTypeOc = ref<any>([]);
|
||||
let typeOc = ref<string>("");
|
||||
const agency = ref<string>("");
|
||||
|
|
@ -26,8 +27,6 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
};
|
||||
|
||||
const fetchData = async (data: any) => {
|
||||
console.log(data);
|
||||
|
||||
if (data !== null) {
|
||||
let datalist = await data.map((e: any) => ({
|
||||
id: e.id,
|
||||
|
|
@ -129,6 +128,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
selectEmployeeClass,
|
||||
employeeClass,
|
||||
employeeClassOps,
|
||||
isLock
|
||||
isLock,
|
||||
requestId
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue