feat: 新增钢卷缺陷维护功能模块
1. 新增缺陷维护页面路由与入口 2. 实现钢卷缺陷的增删改查及图片上传功能 3. 添加缺陷级别统计与分页展示 4. 集成钢卷查询与缺陷管理API
This commit is contained in:
53
apps/hand-factory/api/wms/coilAbnormal.js
Normal file
53
apps/hand-factory/api/wms/coilAbnormal.js
Normal file
@@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询钢卷异常信息列表
|
||||
export function listCoilAbnormal(query) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询钢卷异常信息详细
|
||||
export function getCoilAbnormal(abnormalId) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal/' + abnormalId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增钢卷异常信息
|
||||
export function addCoilAbnormal(data) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改钢卷异常信息
|
||||
export function updateCoilAbnormal(data) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除钢卷异常信息
|
||||
export function delCoilAbnormal(abnormalId) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal/' + abnormalId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 异常判级
|
||||
export function judgeAbnormalLevel(params) {
|
||||
return request({
|
||||
url: '/wms/coilAbnormal/judge',
|
||||
method: 'put',
|
||||
params
|
||||
})
|
||||
}
|
||||
@@ -119,6 +119,12 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "设备巡检"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/defect/coil-defect",
|
||||
"style": {
|
||||
"navigationBarTitleText": "缺陷维护"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
||||
1060
apps/hand-factory/pages/defect/coil-defect.vue
Normal file
1060
apps/hand-factory/pages/defect/coil-defect.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user