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.
53 lines
941 B
JavaScript
53 lines
941 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询设备班组维护列表
|
|
export function listEquTeam(query) {
|
|
return request({
|
|
url: '/device/equTeam/list',
|
|
method: 'get',
|
|
params: query
|
|
});
|
|
}
|
|
|
|
// 查询设备班组维护详细
|
|
export function getEquTeam(id) {
|
|
return request({
|
|
url: '/device/equTeam/' + id,
|
|
method: 'get'
|
|
});
|
|
}
|
|
|
|
// 新增设备班组维护
|
|
export function addEquTeam(data) {
|
|
return request({
|
|
url: '/device/equTeam',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
}
|
|
|
|
// 修改设备班组维护
|
|
export function updateEquTeam(data) {
|
|
return request({
|
|
url: '/device/equTeam',
|
|
method: 'put',
|
|
data: data
|
|
});
|
|
}
|
|
|
|
// 删除设备班组维护
|
|
export function delEquTeam(id) {
|
|
return request({
|
|
url: '/device/equTeam/' + id,
|
|
method: 'delete'
|
|
});
|
|
}
|
|
|
|
// 查询设备班组分类
|
|
export function getMaintenanceTeamList() {
|
|
return request({
|
|
url: '/device/equTeam/getMaintenanceTeamList',
|
|
method: 'get'
|
|
});
|
|
}
|