Initial import

This commit is contained in:
sas.fajri
2026-05-25 20:01:37 +07:00
commit 710d7c1b97
10371 changed files with 2381698 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
// API :
// search bank
// paramater : query , page , rowPerPage
const URL =
"/one-api/mockup/process/resultprint/";
export async function search(token, date, nolab, search, page) {
try {
var resp = await axios.post(URL + 'rp_patient/search', {
token: token,
date: date,
nolab: nolab,
search: search,
page: page
});
if (resp.status != 200) {
return {
status: "ERR",
message: resp.statusText
};
}
let data = resp.data;
return data;
} catch(e) {
return {
status: "ERR",
message: e.message
};
}
}