bug
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Do not edit
 | 
			
		||||
 * @Date: 2023-11-08 15:56:52
 | 
			
		||||
 * @LastEditTime: 2023-11-13 08:52:12
 | 
			
		||||
 * @LastEditTime: 2023-11-20 16:38:18
 | 
			
		||||
 * @LastEditors: DY
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 */
 | 
			
		||||
@@ -65,4 +65,12 @@ export function getcheckList(query) {
 | 
			
		||||
    method: 'get',
 | 
			
		||||
    params: query
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 删除巡检内容
 | 
			
		||||
export function deleteCheck(id) {
 | 
			
		||||
  return request({
 | 
			
		||||
    url: '/base/equipment-check/delete?id=' + id,
 | 
			
		||||
    method: 'delete'
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Do not edit
 | 
			
		||||
 * @Date: 2023-11-08 15:56:52
 | 
			
		||||
 * @LastEditTime: 2023-11-16 20:22:12
 | 
			
		||||
 * @LastEditTime: 2023-11-21 10:50:55
 | 
			
		||||
 * @LastEditors: DY
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 */
 | 
			
		||||
@@ -14,3 +14,21 @@ export function deleteEqMaintainLog(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'
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								src/api/equipment/base/spare-parts/list.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/api/equipment/base/spare-parts/list.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Do not edit
 | 
			
		||||
 * @Date: 2023-11-22 13:59:17
 | 
			
		||||
 * @LastEditTime: 2023-11-22 13:59:45
 | 
			
		||||
 * @LastEditors: DY
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 */
 | 
			
		||||
import request from '@/utils/request'
 | 
			
		||||
 | 
			
		||||
// 删除设备备品备件
 | 
			
		||||
export function deleteSparePart(id) {
 | 
			
		||||
  return request({
 | 
			
		||||
    url: '/base/equipment-spare-part/delete?id=' + id,
 | 
			
		||||
    method: 'delete'
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user