Эх сурвалжийг харах

pms 保养查询 详情 传参 设备id

zhangcl 2 өдөр өмнө
parent
commit
9203589800

+ 1 - 1
src/views/pms/iotmainworkorder/DeviceAlarmBomList.vue

@@ -300,7 +300,7 @@ const open = async (id?: number, flag?: string, deviceInfo?: any) => {
   await nextTick() // 确保DOM更新完成
   if (deviceInfo) {
     externalDeviceInfo.value = deviceInfo
-    queryParams.deviceId = deviceInfo.id // 如果需要的话
+    queryParams.deviceId = deviceInfo.deviceId // 如果需要的话
   }
   if('workOrder' === flag) {
     // 加载保养工单 BOM