feat: 新增设备巡检功能模块
1. 新增设备巡检页面路由与入口 2. 添加OSS对象存储与设备巡检相关API 3. 调整首页tab权限配置项数量 4. 在我的页面新增设备巡检跳转入口
This commit is contained in:
44
apps/hand-factory/api/wms/equipmentChecklist.js
Normal file
44
apps/hand-factory/api/wms/equipmentChecklist.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询设备检验清单列表
|
||||
export function listEquipmentChecklist(query) {
|
||||
return request({
|
||||
url: '/eqp/equipmentChecklist/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设备检验清单详细
|
||||
export function getEquipmentChecklist(checkId) {
|
||||
return request({
|
||||
url: '/eqp/equipmentChecklist/' + checkId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设备检验清单
|
||||
export function addEquipmentChecklist(data) {
|
||||
return request({
|
||||
url: '/eqp/equipmentChecklist',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设备检验清单
|
||||
export function updateEquipmentChecklist(data) {
|
||||
return request({
|
||||
url: '/eqp/equipmentChecklist',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备检验清单
|
||||
export function delEquipmentChecklist(checkId) {
|
||||
return request({
|
||||
url: '/eqp/equipmentChecklist/' + checkId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user