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
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue