no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-15 09:50:03 +07:00
parent c811b7fa0f
commit 7e04ba28f1
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ const mixin = useCounterMixin();
const $q = useQuasar();
const { showLoader, hideLoader, messageError } = mixin;
const probationStore = useProbationDataStore();
// const { fecthdataAssign } = probationStore;
const { fecthdataAssign } = probationStore;
const assignId = ref<string>(route.params.form.toString());
const personalId = ref<string>(route.params.personalId.toString());
const fullname = ref<string>("");
@ -49,7 +49,7 @@ const fecthAssign = async (id: string) => {
await http
.get(config.API.createformCommader(id))
.then(async (res: any) => {
// await fecthdataAssign(res.data.data);
await fecthdataAssign(res.data.data);
evaluate.value = probationStore.evaluate;
tabs.value = evaluate.value;
fullname.value = res.data.data.experimentee ? res.data.data.experimentee.name : "";

View file

@ -7,7 +7,7 @@ import { useRoute, useRouter } from "vue-router";
import { useCounterMixin } from "@/stores/mixin";
import { useProbationDataStore } from "@/modules/05_placement/storeProbation";
const probationStore = useProbationDataStore();
// const { fecthdataAssign } = probationStore;
const { fecthdataAssign } = probationStore;
const Header = defineAsyncComponent(
() =>
@ -45,7 +45,7 @@ const fecthAssign = async (id: string) => {
await http
.get(config.API.createformChairman(id))
.then(async (res: any) => {
// await fecthdataAssign(res.data.data);
await fecthdataAssign(res.data.data);
evaluate.value = probationStore.evaluate;
fullname.value = res.data.data.experimentee ? res.data.data.experimentee.name : "";
tabs.value = evaluate.value;