longyvfengyun
2024-07-29 18bce2485f5c24250b5101bb8f3224b57e41cb54
src/views/dataTest/movingRingSystem/HomeList.vue
@@ -305,27 +305,27 @@
            }
            // 添加电源系统和电池系统
            if (powerInfo.length) {
              let info = powerInfo[0];
              res.data.map((item) => {
                let tmp = {};
                tmp.id = item.battGroupId + "&" + info.params.powerDeviceId;
                tmp.label =
                  info.label +
                  "-" +
                  item.stationName4 +
                  "-" +
                  item.battGroupName;
                tmp.type = "TotalInfo";
                tmp.leaf = true;
                tmp.powerDeviceId = info.params.powerDeviceId;
                tmp.battGroupId = item.battGroupId;
                // 仅电源设备添加组合界面
                if (regEquipType(tmp.powerDeviceId, "power")) {
                  result.push(tmp);
                }
              });
            }
            // if (powerInfo.length) {
            //   let info = powerInfo[0];
            //   res.data.map((item) => {
            //     let tmp = {};
            //     tmp.id = item.battGroupId + "&" + info.params.powerDeviceId;
            //     tmp.label =
            //       info.label +
            //       "-" +
            //       item.stationName4 +
            //       "-" +
            //       item.battGroupName;
            //     tmp.type = "TotalInfo";
            //     tmp.leaf = true;
            //     tmp.powerDeviceId = info.params.powerDeviceId;
            //     tmp.battGroupId = item.battGroupId;
            //     // 仅电源设备添加组合界面
            //     if (regEquipType(tmp.powerDeviceId, "power")) {
            //       result.push(tmp);
            //     }
            //   });
            // }
          }
          // 9527电源信息
          powerInfo.map((item) => {