fix request api search person add body system

This commit is contained in:
Warunee Tamkoo 2025-07-30 15:13:06 +07:00
parent 9cd792e90c
commit a6f7b4e587
9 changed files with 25 additions and 4 deletions

View file

@ -3,6 +3,7 @@ import { ref, reactive, watch, onMounted, computed, type PropType } from "vue";
import { useQuasar } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
import { useRoute } from "vue-router";
/**
* importTypr
@ -48,6 +49,7 @@ const props = defineProps({
});
const emit = defineEmits(["formDataReturn"]);
const route = useRoute();
const isReadonly = computed(() => (actionType.value === "VIEW" ? true : false)); //
const modalPersonal = ref<boolean>(false);
const personId = ref<string>("");
@ -173,6 +175,7 @@ function searchInput() {
const body = {
fieldName: type.value,
keyword: search.value ? search.value.trim() : "",
system: (route.meta?.Key as string) || undefined,
};
http
.post(