fix request api search person add body system
This commit is contained in:
parent
9cd792e90c
commit
a6f7b4e587
9 changed files with 25 additions and 4 deletions
|
|
@ -7,6 +7,7 @@ import config from "@/app.config";
|
|||
import http from "@/plugins/http";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useRoute } from "vue-router";
|
||||
|
||||
import type {
|
||||
DataOption,
|
||||
|
|
@ -20,6 +21,7 @@ import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue";
|
|||
|
||||
const $q = useQuasar();
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const mixin = useCounterMixin();
|
||||
const {
|
||||
showLoader,
|
||||
|
|
@ -237,6 +239,7 @@ async function searchInput(check: boolean) {
|
|||
const body = {
|
||||
fieldName: type.value,
|
||||
keyword: search.value.trim(),
|
||||
system: (route.meta?.Key as string) || undefined,
|
||||
};
|
||||
await http
|
||||
.post(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue