ยืม-คืนเครื่องราชฯ ==> API
This commit is contained in:
parent
081f87620b
commit
0573db4d0f
2 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ export default {
|
||||||
noteround: () => `${insignia}/request/note`,
|
noteround: () => `${insignia}/request/note`,
|
||||||
requestDocNote: (id: string) => `${insignia}/request/note/doc/${id}`,
|
requestDocNote: (id: string) => `${insignia}/request/note/doc/${id}`,
|
||||||
noteSearch: () => `${insignia}/request/note/search`,
|
noteSearch: () => `${insignia}/request/note/search`,
|
||||||
|
noteSearchList: () => `${insignia}/request/note-list/search`,
|
||||||
noteAdd: (insigniaId: string) => `${insignia}/request/note/${insigniaId}`,
|
noteAdd: (insigniaId: string) => `${insignia}/request/note/${insigniaId}`,
|
||||||
noteByid: (id: string) => `${insignia}/request/note/${id}`,
|
noteByid: (id: string) => `${insignia}/request/note/${id}`,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ async function fecthlistInsignia() {
|
||||||
insigniaId: "",
|
insigniaId: "",
|
||||||
};
|
};
|
||||||
await http
|
await http
|
||||||
.post(config.API.noteSearch(), data)
|
.post(config.API.noteSearchList(), data)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
listPerson.value = res.data.result;
|
listPerson.value = res.data.result;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue