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