From d1d2bcb6c87932bf8edd42ea4874676c1e63ef4c Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 27 Apr 2026 17:06:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BD=AE=E8=83=8E=E8=AF=A6=E6=83=85):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=B4=E4=BF=9D=E5=B7=A5=E5=8D=95=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在轮胎详情页添加维保工单及相关明细展示功能 - 新增维保工单样式及布局 - 移除BaseTyre中无用的pressure字段 --- .../templates/tyre/tyre/typreDetill2.html | 102 +++++++++++++++++- .../com/ruoyi/system/domain/BaseTyre.java | 2 - 2 files changed, 99 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html b/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html index e5e58b72..a57ffdf3 100644 --- a/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html +++ b/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html @@ -178,6 +178,11 @@ background: #ed5565; } + .life-item.is-maintenance .life-dot { + border-color: #fde6c8; + background: #f8ac59; + } + .life-title-row { display: flex; justify-content: space-between; @@ -210,6 +215,33 @@ color: #8a6d3b; } + .tire-detail-list { + grid-column: 1 / -1; + margin-top: 8px; + padding: 8px 10px; + background: #fbfbfb; + border: 1px solid #edf1f2; + border-radius: 4px; + } + + .tire-detail-title { + margin-bottom: 6px; + color: #2f4050; + font-weight: 600; + } + + .tire-detail-row { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 6px 10px; + padding: 7px 0; + border-top: 1px dashed #e7eaec; + } + + .tire-detail-row:first-of-type { + border-top: 0; + } + .empty-life { padding: 48px 16px; color: #999; @@ -227,7 +259,8 @@ } .info-grid, - .life-meta { + .life-meta, + .tire-detail-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } @@ -245,7 +278,9 @@
+ recordTyreInstallList=${resultMap['recordTyreInstallList']}, + bizMaintenanceOrder=${resultMap['bizMaintenanceOrder']}, + bizOrderTireDetailList=${resultMap['bizMaintenanceOrder'] == null ? null : resultMap['bizMaintenanceOrder'].bizOrderTireDetailList}">
@@ -339,6 +374,8 @@
出入库记录:0 装卸车记录:0 + 维保工单:0 + 维保轮胎明细:0
@@ -385,7 +422,66 @@
-
+
+
维保工单
+
    +
  • + +
    +
    + + 二级保养 + 抢碎修 + 拆报废车 + 月检 + 小修 + 维保工单 + + :- +
    +
    -
    +
    +
    +
    工单号:-
    +
    + 状态: + + 未开始 + 执行中 + 已完成 + - + +
    +
    车牌号码:-
    +
    维修站点:-
    +
    当前车辆里程:-
    +
    上次维保里程:-
    +
    创建时间:-
    +
    完成时间:-
    +
    创建人:-
    +
    完成操作人:-
    +
    补充说明:-
    +
    备注:-
    + +
    +
    轮胎执行明细
    +
    +
    动作:-
    +
    轮位:-
    +
    轮胎编号:-
    +
    花纹深度:-
    +
    胎压:-
    +
    轮胎状态:-
    +
    明细创建时间:-
    +
    明细备注:-
    +
    +
    +
    +
  • +
+
+ +
暂无生命周期记录
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseTyre.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseTyre.java index 91fc9391..01f983da 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseTyre.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseTyre.java @@ -79,8 +79,6 @@ public class BaseTyre extends BaseEntity @Excel(name = "所在轮位") private String wheelPostion; - private String pressure; - /** * 库存状态(字典 inventory_status)。