feat: 新增钢卷缺陷维护功能模块

1. 新增缺陷维护页面路由与入口
2. 实现钢卷缺陷的增删改查及图片上传功能
3. 添加缺陷级别统计与分页展示
4. 集成钢卷查询与缺陷管理API
This commit is contained in:
2026-06-05 14:23:49 +08:00
parent f31ffa45dd
commit a8ca4353e7
3 changed files with 1119 additions and 0 deletions

View 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
})
}

View File

@@ -119,6 +119,12 @@
"style": {
"navigationBarTitleText": "设备巡检"
}
},
{
"path": "pages/defect/coil-defect",
"style": {
"navigationBarTitleText": "缺陷维护"
}
}
],
"globalStyle": {

File diff suppressed because it is too large Load Diff