diff --git a/apps/hand-factory/api/wms/coilAbnormal.js b/apps/hand-factory/api/wms/coilAbnormal.js new file mode 100644 index 0000000..914e5fa --- /dev/null +++ b/apps/hand-factory/api/wms/coilAbnormal.js @@ -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 + }) +} diff --git a/apps/hand-factory/pages.json b/apps/hand-factory/pages.json index 43a1fa3..e156832 100644 --- a/apps/hand-factory/pages.json +++ b/apps/hand-factory/pages.json @@ -119,6 +119,12 @@ "style": { "navigationBarTitleText": "设备巡检" } + }, + { + "path": "pages/defect/coil-defect", + "style": { + "navigationBarTitleText": "缺陷维护" + } } ], "globalStyle": { diff --git a/apps/hand-factory/pages/defect/coil-defect.vue b/apps/hand-factory/pages/defect/coil-defect.vue new file mode 100644 index 0000000..6f1db4f --- /dev/null +++ b/apps/hand-factory/pages/defect/coil-defect.vue @@ -0,0 +1,1060 @@ +