From c17b60dbe0f84ba5c224ae045f314882956a72de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com>
Date: Fri, 5 Jun 2026 14:50:47 +0800
Subject: [PATCH] =?UTF-8?q?feat(mine+defect):=20=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E9=92=A2=E5=8D=B7=E5=BC=82=E5=B8=B8=E7=AE=A1=E7=90=86=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=8F=8A=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
1. 个人中心页面新增钢卷异常入口
2. 实现钢卷异常列表页:支持按状态筛选、缺陷代码/程度统计
3. 新增异常新增/编辑弹窗,完善表单校验和字段展示
4. 优化列表项UI展示,新增主缺陷标识和元信息展示
---
.../hand-factory/pages/defect/coil-defect.vue | 398 ++++++++++++++----
apps/hand-factory/pages/mine/index.vue | 10 +
2 files changed, 320 insertions(+), 88 deletions(-)
diff --git a/apps/hand-factory/pages/defect/coil-defect.vue b/apps/hand-factory/pages/defect/coil-defect.vue
index 6f1db4f..41edce3 100644
--- a/apps/hand-factory/pages/defect/coil-defect.vue
+++ b/apps/hand-factory/pages/defect/coil-defect.vue
@@ -32,6 +32,20 @@
逻辑库区
+
+ 钢卷状态
+
+
+ {{ s.label }}
+
+
+
@@ -97,30 +111,34 @@
-
-
-
- {{ stat.count }}
- {{ stat.label }}
-
-
-
该钢卷暂无异常记录
- {{ item.abnormalLevel || 'C' }}级
+
+ {{ item.defectCode || '-' }}
+ {{ item.degree || '-' }}
+ 主缺陷
+
编辑
删除
- {{ item.abnormalDesc || '暂无描述' }}
+ {{ item.remark || '暂无描述' }}
+
+ 板面: {{ item.plateSurface }}
+ 断面: {{ item.position }}
+
+ 区间: {{ item.startPosition || '?' }}~{{ item.endPosition || '?' }}
+ (长 {{ item.length }})
+
+
-
-
+
+
{{ item.createTime || '' }}
@@ -151,32 +169,56 @@
-
+
- 异常描述 *
-
+ 缺陷描述 *
+
-
+
- 异常级别 *
-
-
- {{ level.label }}
-
+ 上下板面
+
+
+
+
+
+ 断面位置
+
+ 异常位置为内圈算起
+
+
+
+
+ 异常区间 *
+
+
+ ~
+
-
+
- 现场照片
+ 缺陷代码 *
+
+
+
+
+
+ 程度 *
+
+
+
+
+
+ 主缺陷
+
+
+
+
+
+ 缺陷图片
@@ -190,12 +232,6 @@
-
-
-
- 备注
-
-
+
+
+
+