16 lines
297 B
JavaScript
16 lines
297 B
JavaScript
import request from "@/utils/request";
|
|
|
|
export function listMaintenance(query) {
|
|
return request({
|
|
url: "/upkeep/record/list",
|
|
method: "get",
|
|
params: query,
|
|
});
|
|
}
|
|
|
|
export function getMaintenanceById(id) {
|
|
return request({
|
|
url: "/upkeep/report/" + id,
|
|
method: "get"
|
|
});
|
|
} |