懒羊羊
2024-03-22 9988c29bf4682179f8591afc89cc4bdd02313a8e
提交 | 用户 | 时间
4ca735 1 import request from '@/utils/request'
H 2
3 // 查询设备点检保养计划列表
4 export function listInspectionPlanInfo(query) {
5   return request({
6     url: '/em/inspectionPlanInfo/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询设备点检保养计划详细
13 export function getInspectionPlanInfo(id) {
14   return request({
15     url: '/em/inspectionPlanInfo/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增设备点检保养计划
21 export function addInspectionPlanInfo(data) {
22   return request({
23     url: '/em/inspectionPlanInfo',
24     method: 'post',
25     data: data
26   })
27 }
28
29 // 修改设备点检保养计划
30 export function updateInspectionPlanInfo(data) {
31   return request({
32     url: '/em/inspectionPlanInfo',
33     method: 'put',
34     data: data
35   })
36 }
37
38 // 删除设备点检保养计划
39 export function delInspectionPlanInfo(id) {
40   return request({
41     url: '/em/inspectionPlanInfo/' + id,
42     method: 'delete'
43   })
44 }