You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udiwms-vue-frame/src/api/dev/deviceUpkeepPlanApi.js

41 lines
751 B
JavaScript

import axios from "@/utils/request";
export function deviceUpkeepPlanPage(query) {
return axios(
{
url: "/udi/device/plan/page",
method: "POST",
data: query
}
)
}
export function deviceUpkeepPlanSave(query) {
return axios(
{
url: "/udi/device/plan/save",
method: "POST",
data: query
}
)
}
export function devicePlanInfo(planId) {
return axios(
{
url: `/udi/device/plan/info/${planId}`,
method: "GET"
}
)
}
export function deviceUpkeepPlanDel(planId) {
return axios(
{
url: `/udi/device/plan/del/${planId}`,
method: "DELETE"
}
)
}