From 485f35157b9c18213b7984f01f396a88d9cb2ca5 Mon Sep 17 00:00:00 2001 From: liangbin <15536829364@163.com> Date: Mon, 19 Jan 2026 10:58:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(WorkOrderEdit):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=A5=A8=E7=BB=84=E4=BB=B6=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加WorkNote组件用于工作票信息填写,包含风险类型选择、安全措施配置等功能 调整GatePassInfo组件样式,优化文件上传列表的显示 --- .../WorkOrderEdit/compoents/GatePassInfo.vue | 3 + .../WorkOrderEdit/compoents/WorkNote.vue | 411 ++++++++++++++++++ src/pages/WorkOrderEdit/index.vue | 5 +- 3 files changed, 418 insertions(+), 1 deletion(-) create mode 100644 src/pages/WorkOrderEdit/compoents/WorkNote.vue diff --git a/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue b/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue index 9e8d6c3..aa4bad1 100644 --- a/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue +++ b/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue @@ -269,6 +269,7 @@ const HandleDeleteCar = (carId) => { .UpFileListBox { margin-top: 20rpx; height: auto; + .UpFileItem { border: 1rpx solid #e4e7ed; padding: 20rpx; @@ -276,11 +277,13 @@ const HandleDeleteCar = (carId) => { display: flex; flex-direction: column; gap: 20rpx; + .UpFileName { font-size: 30rpx; font-weight: bold; color: #333; } + .UpFileSize { font-size: 24rpx; color: #666; diff --git a/src/pages/WorkOrderEdit/compoents/WorkNote.vue b/src/pages/WorkOrderEdit/compoents/WorkNote.vue new file mode 100644 index 0000000..54a7906 --- /dev/null +++ b/src/pages/WorkOrderEdit/compoents/WorkNote.vue @@ -0,0 +1,411 @@ + +· + + + \ No newline at end of file diff --git a/src/pages/WorkOrderEdit/index.vue b/src/pages/WorkOrderEdit/index.vue index 211059c..1842d26 100644 --- a/src/pages/WorkOrderEdit/index.vue +++ b/src/pages/WorkOrderEdit/index.vue @@ -16,7 +16,8 @@ - + + @@ -28,6 +29,8 @@ import { ref } from 'vue' import BasicsInfo from './compoents/BasicsInfo.vue' import GatePassInfo from './compoents/GatePassInfo.vue' +import WorkNote from './compoents/WorkNote.vue' + const currentStep = ref(1)// 当前步骤 const basicsInfoRef = ref(null); // 基础信息组件引用 const gatePassInfoRef = ref(null); // 出入证申请组件引用