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.
HwMes/hw-ui/src/api/dms/dmsBillsMaintInstance.js

45 lines
950 B
JavaScript

import request from '@/utils/request'
// 查询保养工单列表
export function listDmsBillsMaintInstance(query) {
return request({
url: '/dms/dmsBillsMaintInstance/list',
method: 'get',
params: query
})
}
// 查询保养工单详细
export function getDmsBillsMaintInstance(maintInstanceId) {
return request({
url: '/dms/dmsBillsMaintInstance/' + maintInstanceId,
method: 'get'
})
}
// 新增保养工单
export function addDmsBillsMaintInstance(data) {
return request({
url: '/dms/dmsBillsMaintInstance',
method: 'post',
data: data
})
}
// 修改保养工单
export function updateDmsBillsMaintInstance(data) {
return request({
url: '/dms/dmsBillsMaintInstance',
method: 'put',
data: data
})
}
// 删除保养工单
export function delDmsBillsMaintInstance(maintInstanceId) {
return request({
url: '/dms/dmsBillsMaintInstance/' + maintInstanceId,
method: 'delete'
})
}