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

@ -92,6 +92,10 @@ const props = defineProps({
type: String,
default: "multiple",
},
system: {
type: String || undefined,
default: "",
},
});
/**ส่งค่ากลับหน้าหลัก */
@ -135,6 +139,7 @@ async function getSearch() {
const body = {
fieldName: type.value,
keyword: search.value ? search.value.trim() : "",
system: props.system ?? undefined,
};
await http
.post(