Ver Fonte

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

zhangcl há 2 dias atrás
pai
commit
9203589800
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/pms/iotmainworkorder/DeviceAlarmBomList.vue

+ 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