แก้โหลด หน้า
This commit is contained in:
parent
57f145784e
commit
419ccf61fa
10 changed files with 43 additions and 20 deletions
|
|
@ -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
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue