45 lines
980 B
JavaScript
45 lines
980 B
JavaScript
/*
|
|
* @Author: Do not edit
|
|
* @Date: 2023-11-08 15:56:52
|
|
* @LastEditTime: 2023-11-23 19:10:07
|
|
* @LastEditors: DY
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
// 删除设备保养记录
|
|
export function deleteEqMaintainLog(id) {
|
|
return request({
|
|
url: '/base/equipment-maintain-log/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 删除设备保养计划配置
|
|
export function deleteEqMaintainPlan(id) {
|
|
return request({
|
|
url: '/base/equipment-maintain-plan/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 导出设备保养监控
|
|
export function exportMaintainMonitorExcel(query) {
|
|
return request({
|
|
url: '/base/equipment-maintain-plan/monitor-export',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|
|
// 导出设备保养记录
|
|
export function exportMaintainLogExcel(query) {
|
|
return request({
|
|
url: '/base/equipment-maintain-log/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|