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