add progress

This commit is contained in:
2026-06-03 17:11:38 +07:00
parent d018e85927
commit 315b657ee3
7 changed files with 172 additions and 86 deletions

View File

@@ -323,6 +323,25 @@ export async function getBarcodes(params) {
}
}
export async function getInventarisBelumSerah(params) {
try {
var resp = await axios.post(URL + '/getInventarisBelumSerah', params);
if (resp.status != 200) {
return {
status: "ERR",
message: resp.statusText
};
}
let data = resp.data;
return data;
} catch (error) {
return {
status: "ERR",
message: error.message
};
}
}
export async function template(params) {
try {
var resp = await axios.post(URL + '/', params);
@@ -340,4 +359,4 @@ export async function template(params) {
message: error.message
};
}
}
}