From 2fda34643bc22e25f6c569415da5f955c81536bf Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 03 六月 2025 09:37:08 +0800
Subject: [PATCH] 设备详情通过ID过滤/设备详情增加上传附件

---
 pages/baoZhou/baoZhou.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/baoZhou/baoZhou.vue b/pages/baoZhou/baoZhou.vue
index 1f28e4a..aa7e16b 100644
--- a/pages/baoZhou/baoZhou.vue
+++ b/pages/baoZhou/baoZhou.vue
@@ -139,7 +139,8 @@
 				announcement1: [],
 				msg1Count: 0,
 				msg2Count: 0,
-				msg1Title: ""
+				msg1Title: "",
+				equipmentId:''
 			}
 		},
 		computed: {
@@ -160,7 +161,11 @@
 				this.mescroll.resetUpScroll()
 			}
 		},
-
+		onLoad: function(options) {
+			this.equipmentId = options.equipmentId ?
+				decodeURIComponent(options.equipmentId) :
+				'';
+		},
 		created() {},
 		methods: {
 			changehandlingInspectionFlag(e) {
@@ -225,7 +230,8 @@
 						pageSize: page.size,
 						order: 'desc',
 						column: 'createTime',
-						maintenanceStatus: 'WAIT_MAINTENANCE'
+						maintenanceStatus: 'WAIT_MAINTENANCE',
+						equipmentId: this.equipmentId || ''
 					},
 
 				}).then(res => {

--
Gitblit v1.9.3