fix(quality): 左侧列表加高 + 复选/单选主题样式 + 缺陷图片改附件上传预览 + 钢卷信息按L2精简
- 钢卷列表高度撑满;选中态/悬浮改主题红 - 复选框/单选框 accent-color 主题红、统一尺寸 - 缺陷图片改为附件上传(客户端压缩为base64)+ 缩略图 + 点击大图预览,去掉URL输入 - qc_defect.image_url 改 TEXT 以存图片 - 钢卷信息只保留 L2 实际有的字段(卷号/订单号/钢种/规格/厚宽/内径/毛净重/状态/备注) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,7 @@ class QcDefect(Base):
|
||||
side_drive = Column(Boolean, default=False, comment="驱动侧")
|
||||
is_main = Column(Boolean, default=False, comment="主缺陷")
|
||||
inherit_source = Column(String(30), nullable=True, comment="继承来源卷号")
|
||||
image_url = Column(String(255), nullable=True, comment="缺陷图片URL")
|
||||
image_url = Column(Text, nullable=True, comment="缺陷图片(URL或base64)")
|
||||
|
||||
# 兼容旧字段
|
||||
production_line = Column(String(50), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user