no message
This commit is contained in:
parent
e031968ec5
commit
92cc7ba7d9
6 changed files with 32 additions and 7 deletions
|
|
@ -4,9 +4,11 @@ import { useQuasar } from "quasar";
|
|||
|
||||
import config from "@/app.config";
|
||||
import http from "@/plugins/http";
|
||||
import { useRoute } from "vue-router";
|
||||
import { checkPermission } from "@/utils/permissions";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useDisciplineDirectorDataStore } from "@/modules/11_discipline/store/DirectorStore";
|
||||
import { useDisciplineMainStore } from "@/modules/11_discipline/store/Main";
|
||||
|
||||
import type { DirectorRowsResponse } from "@/modules/11_discipline/interface/response/director";
|
||||
|
||||
|
|
@ -15,6 +17,8 @@ import DialogEdit from "@/modules/11_discipline/components/6_BasicInformation/Di
|
|||
|
||||
const $q = useQuasar();
|
||||
const dataStore = useDisciplineDirectorDataStore();
|
||||
const mainStore = useDisciplineMainStore();
|
||||
const route = useRoute();
|
||||
const mixin = useCounterMixin();
|
||||
const { messageError, showLoader, hideLoader, dialogRemove, success } = mixin;
|
||||
|
||||
|
|
@ -53,7 +57,8 @@ async function getList() {
|
|||
config.API.directorList(
|
||||
currentPage.value,
|
||||
rowsPerPage.value,
|
||||
filterKeyword.value
|
||||
filterKeyword.value,
|
||||
mainStore.pathDirector(route.name as string)
|
||||
)
|
||||
)
|
||||
.then((res) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue