no message
This commit is contained in:
parent
c811b7fa0f
commit
7e04ba28f1
2 changed files with 4 additions and 4 deletions
|
|
@ -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 : "";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue