From 9efe368f7984d4a94602eb6a97ba6c8cb796debd Mon Sep 17 00:00:00 2001
From: liangbin <15536829364@163.com>
Date: Mon, 19 Jan 2026 13:54:47 +0800
Subject: [PATCH] =?UTF-8?q?feat(WorkOrderEdit):=20=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E9=A3=8E=E9=99=A9=E6=8E=A7=E5=88=B6=E5=8D=A1=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E5=B9=B6=E8=B0=83=E6=95=B4=E8=A1=A8=E5=8D=95=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增RiskControl.vue组件用于风险控制卡填写
- 修改BasicsInfo.vue中人员选择器的columns参数格式
- 移除WorkNote.vue和GatePassInfo.vue中表单背景色
- 更新index.vue添加风险控制步骤和组件引用
---
.../WorkOrderEdit/compoents/BasicsInfo.vue | 2 +-
.../WorkOrderEdit/compoents/GatePassInfo.vue | 2 +-
.../WorkOrderEdit/compoents/RiskControl.vue | 316 ++++++++++++++++++
.../WorkOrderEdit/compoents/WorkNote.vue | 2 +-
src/pages/WorkOrderEdit/index.vue | 10 +-
5 files changed, 328 insertions(+), 4 deletions(-)
create mode 100644 src/pages/WorkOrderEdit/compoents/RiskControl.vue
diff --git a/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue b/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue
index 43240ea..d8320a3 100644
--- a/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue
+++ b/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue
@@ -64,7 +64,7 @@
-
diff --git a/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue b/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue
index aa4bad1..b8aae4e 100644
--- a/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue
+++ b/src/pages/WorkOrderEdit/compoents/GatePassInfo.vue
@@ -355,7 +355,7 @@ const HandleDeleteCar = (carId) => {
}
.FormBox {
- background-color: #f5f5f5;
+ // background-color: #f5f5f5;
height: 100%;
.FormItem {
diff --git a/src/pages/WorkOrderEdit/compoents/RiskControl.vue b/src/pages/WorkOrderEdit/compoents/RiskControl.vue
new file mode 100644
index 0000000..22961dc
--- /dev/null
+++ b/src/pages/WorkOrderEdit/compoents/RiskControl.vue
@@ -0,0 +1,316 @@
+
+
+
+
+ 基础信息
+
+
+ 所属单位
+ 选择
+
+
+
+ 请选择所属单位
+ {{ formData.unitName }}
+
+
+
+
+
+ 票证编号
+
+
+
+
+
+ 工作内容
+
+
+
+
+
+
+ 工作负责人
+ 选择
+
+
+
+ 请选择工作负责人
+ {{ formData.workResponsible }}
+
+
+
+
+
+ 检查内容
+
+
+ {{ index + 1 }}: {{ item.name }}
+
+
+
+ 附件上传
+
+
+
+
+
+
+ 点击上传
+ 上传现场照片或检测报告,支持JPG,PNG,PDF格式上传,单个文件大小不超过10MB
+
+
+
+
+
+
+ {{ item.name }}
+ {{ item.size }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/WorkOrderEdit/compoents/WorkNote.vue b/src/pages/WorkOrderEdit/compoents/WorkNote.vue
index 54a7906..0b5a525 100644
--- a/src/pages/WorkOrderEdit/compoents/WorkNote.vue
+++ b/src/pages/WorkOrderEdit/compoents/WorkNote.vue
@@ -352,7 +352,7 @@ const addCustomSafeMeasure = () => {
}
.FormBox {
- background-color: #f5f5f5;
+ // background-color: #f5f5f5;
height: 100%;
.FormItem {
diff --git a/src/pages/WorkOrderEdit/index.vue b/src/pages/WorkOrderEdit/index.vue
index 1842d26..815c6a1 100644
--- a/src/pages/WorkOrderEdit/index.vue
+++ b/src/pages/WorkOrderEdit/index.vue
@@ -18,6 +18,7 @@
+