แก้โหลด หน้า

This commit is contained in:
setthawutttty 2024-11-04 13:48:11 +07:00
parent 57f145784e
commit 419ccf61fa
10 changed files with 43 additions and 20 deletions

View file

@ -13,15 +13,17 @@ export const useProbationDataStore = defineStore("probationStore", () => {
const evaluate = ref<any>([]);
const tabs = ref<any>([]);
const mainTab = ref<string>("");
const checkLoad = ref<boolean>(false)
const assignOutput = ref<any>([]);
const director = ref<any>([]);
const person = ref<any>([]);
const fecthdataAssign = async (data: any) => {
checkLoad.value = data.evaluate.length == 0 ? true:false
assign.value = await data.assign;
evaluate.value = await data.evaluate;
tabs.value = await data.evaluate;
};
const fecthAssignoutput = (data: any) => {
assignOutput.value = data.assign_output;
@ -111,6 +113,7 @@ export const useProbationDataStore = defineStore("probationStore", () => {
behavior_no1,
behavior_no2,
behavior_no3,
dataPermissions
dataPermissions,
checkLoad
};
});