ปรับ method ออกคำสั่งพักราชการ
This commit is contained in:
parent
07759a6961
commit
b5aabf9f33
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ function onSubmit(data: dataType[], type: string) {
|
|||
const dataMapId = data.map((item: dataType) => item.id);
|
||||
showLoader();
|
||||
http
|
||||
.post(`${config.API.suspendReport()}/${type}`, {
|
||||
.put(`${config.API.suspendReport()}/${type}`, {
|
||||
id: dataMapId,
|
||||
})
|
||||
.then((res) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue