19 lines
350 B
JavaScript
19 lines
350 B
JavaScript
|
import request from "@/utils/request";
|
||
|
|
||
|
//查询设备维修列表
|
||
|
export function serviceList(query) {
|
||
|
return request({
|
||
|
url: "/maintenance/record/list",
|
||
|
method: "get",
|
||
|
params: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
//查询设备维修详情
|
||
|
export function serviceDetails(id) {
|
||
|
return request({
|
||
|
url: "/maintenance/record/" + id,
|
||
|
method: "get"
|
||
|
});
|
||
|
}
|