From 711e5b5675ce030292b664be7a00ad5c6575b071 Mon Sep 17 00:00:00 2001 From: xusd Date: Fri, 27 Sep 2024 15:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/alarm/AlarmDataController.java | 12 ++ .../admin/alarm/vo/AlarmDataTimeLineVO.java | 43 +++++ .../controller/equip/EquipInfoController.java | 7 + .../equip/vo/EquipInfoDetailsVO.java | 56 ++++++ .../equip/vo/EquipTechnologyParamVO.java | 22 +++ .../MaintenanceOrderController.java | 6 + .../dal/mysql/alarm/AlarmDataMapper.java | 24 +++ .../service/alarm/AlarmDataService.java | 20 ++ .../service/alarm/AlarmDataServiceImpl.java | 10 + .../service/equip/EquipInfoService.java | 15 +- .../service/equip/EquipInfoServiceImpl.java | 64 ++++++- .../maintenance/MaintenanceOrderService.java | 10 + .../MaintenanceOrderServiceImpl.java | 5 + .../mapper/alarm/AlarmDataMapper.xml | 16 ++ imt-ui/src/api/system/alarm/alarmdata.js | 16 ++ imt-ui/src/api/system/equip/equipInfo.js | 8 + .../src/api/system/maintenance/maintenance.js | 8 + .../views/system/equip/equipInfo/index.vue | 6 + .../views/system/equip/equipdetails/index.vue | 174 ++++++++++-------- 19 files changed, 438 insertions(+), 84 deletions(-) create mode 100644 imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/vo/AlarmDataTimeLineVO.java create mode 100644 imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoDetailsVO.java create mode 100644 imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipTechnologyParamVO.java diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/AlarmDataController.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/AlarmDataController.java index 49c6fd9..c6e9f5c 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/AlarmDataController.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/AlarmDataController.java @@ -104,4 +104,16 @@ public class AlarmDataController { BeanUtils.toBean(list, AlarmDataRespVO.class)); } + @GetMapping("/getAlarmCountByEquipId/{equipId}") + @Operation(summary = "根据设备id获取报警次数") + public CommonResult getAlarmCountByEquipId(@PathVariable("equipId") String equipId){ + return success(alarmDataService.getAlarmCountByEquipId(equipId)); + } + + @Operation(summary = "根据设备id获取故障次数") + @GetMapping("/getAlarmDataTimeLineByEquipId/{equipId}") + public CommonResult> getAlarmDataTimeLineByEquipId(@PathVariable("equipId") String equipId) { + return success(alarmDataService.getAlarmDataTimeLineByEquipId(equipId)); + } + } diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/vo/AlarmDataTimeLineVO.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/vo/AlarmDataTimeLineVO.java new file mode 100644 index 0000000..fca489c --- /dev/null +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/admin/alarm/vo/AlarmDataTimeLineVO.java @@ -0,0 +1,43 @@ +package com.inspur.module.system.controller.admin.alarm.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.util.Date; + +import static com.inspur.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; +import static com.inspur.framework.common.util.date.DateUtils.TIME_ZONE_DEFAULT; + +/** + * 报警数据时间轴 + * + * @Author xusd + * @Date 2024/9/27 10:31 + **/ +@Data +public class AlarmDataTimeLineVO { + + /** + * 报警id + */ + private String alarmDataId; + /** + * 报警内容 + */ + private String content; + /** + * 报警规则信息名称 + */ + private String alarmName; + /** + * 报警时间 + */ + @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT) + private Date alarmTime; + + /** + * 状态 + */ + private Integer status; + +} diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/EquipInfoController.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/EquipInfoController.java index 6f1ae4f..ab1f5bd 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/EquipInfoController.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/EquipInfoController.java @@ -144,4 +144,11 @@ public class EquipInfoController { return equipInfoService.cascader(); } + @GetMapping("/details/{id}") + @PreAuthorize("@ss.hasPermission('imt:equip-info:query')") + @Operation(summary = "设备详情") + public CommonResult getEquipInfoDetailsById(@PathVariable("id") String id) { + return success(equipInfoService.getEquipInfoDetailsById(id)); + } + } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoDetailsVO.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoDetailsVO.java new file mode 100644 index 0000000..be702b5 --- /dev/null +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoDetailsVO.java @@ -0,0 +1,56 @@ +package com.inspur.module.system.controller.equip.vo; + +import lombok.Data; + +import java.util.List; + +/** + * 设备详情 + * + * @Author xusd + * @Date 2024/9/26 15:18 + **/ +@Data +public class EquipInfoDetailsVO { + + /** + * 设备id + */ + private String equipId; + + /** + * 设备编号 + */ + private String equipNo; + + /** + * 客户信息id + */ + private String customerId; + + /** + * 客户信息 + */ + private String customerName; + + /** + * 机床型号id + */ + private String modelId; + + /** + * 机床型号 + */ + private String modelName; + + /** + * 机床状态 + */ + private Integer status; + + /** + * 技术参数 + */ + private List paramList; + +} diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipTechnologyParamVO.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipTechnologyParamVO.java new file mode 100644 index 0000000..c209c01 --- /dev/null +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipTechnologyParamVO.java @@ -0,0 +1,22 @@ +package com.inspur.module.system.controller.equip.vo; + +import lombok.Data; + +/** + * 技术参数 + * + * @Author xusd + * @Date 2024/9/27 14:44 + **/ +@Data +public class EquipTechnologyParamVO { + /** + * 参数名 + */ + private String name; + /** + * 参数值 + */ + private String value; + +} diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceOrderController.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceOrderController.java index 540d1c0..fce1542 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceOrderController.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceOrderController.java @@ -115,4 +115,10 @@ public class MaintenanceOrderController { return maintenanceOrderService.submitApprove(id); } + @Operation(summary = "根据设备id获取故障次数") + @GetMapping("/getMaintenanceCountByEquipId/{equipId}") + public CommonResult getMaintenanceCountByEquipId(@PathVariable("equipId") String equipId){ + return success(maintenanceOrderService.getMaintenanceCountByEquipId(equipId)); + } + } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/alarm/AlarmDataMapper.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/alarm/AlarmDataMapper.java index d06a4ab..ce62481 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/alarm/AlarmDataMapper.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/alarm/AlarmDataMapper.java @@ -82,4 +82,28 @@ public interface AlarmDataMapper extends BaseMapperX { @TenantIgnore List selectListTop3(); + + /** + * 根据设备id获取报警次数 + * + * @Author xusd + * @Date 10:15 2024/9/27 + * @param equipId 设备id + * @return java.lang.Long + */ + @TenantIgnore + default Long getAlarmCountByEquipId(String equipId) { + return selectCount(AlarmDataDO::getEquipId, equipId); + } + + /** + * 根据设备id获取故障次数 + * + * @Author xusd + * @Date 10:37 2024/9/27 + * @param equipId 设备id + * @return java.util.List + */ + @TenantIgnore + List getAlarmDataTimeLineByEquipId(@Param("equipId") String equipId); } diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataService.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataService.java index 01da971..49b8b91 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataService.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataService.java @@ -71,4 +71,24 @@ public interface AlarmDataService { * @return 参数报警记录 */ AlarmDataDTO getAlarmDataByRulesId(String ruleId); + + /** + * 根据设备id获取报警次数 + * + * @Author xusd + * @Date 10:13 2024/9/27 + * @param equipId 设备id + * @return java.lang.Long + */ + Long getAlarmCountByEquipId(String equipId); + + /** + * 根据设备id获取故障次数 + * + * @Author xusd + * @Date 10:36 2024/9/27 + * @param equipId 设备id + * @return java.util.List + */ + List getAlarmDataTimeLineByEquipId(String equipId); } diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataServiceImpl.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataServiceImpl.java index 7bfd2c8..6222715 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataServiceImpl.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/alarm/AlarmDataServiceImpl.java @@ -123,4 +123,14 @@ public class AlarmDataServiceImpl implements AlarmDataService { public AlarmDataDTO getAlarmDataByRulesId(String ruleId){ return alarmDataMapper.selectAlarmDataByRulesId(ruleId); } + + @Override + public Long getAlarmCountByEquipId(String equipId) { + return alarmDataMapper.getAlarmCountByEquipId(equipId); + } + + @Override + public List getAlarmDataTimeLineByEquipId(String equipId) { + return alarmDataMapper.getAlarmDataTimeLineByEquipId(equipId); + } } diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoService.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoService.java index 9c8e578..f6f7331 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoService.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoService.java @@ -1,10 +1,7 @@ package com.inspur.module.system.service.equip; import com.inspur.framework.common.pojo.PageResult; -import com.inspur.module.system.controller.equip.vo.EquipCascaderVO; -import com.inspur.module.system.controller.equip.vo.EquipInfoPageReqVO; -import com.inspur.module.system.controller.equip.vo.EquipInfoSaveReqVO; -import com.inspur.module.system.controller.equip.vo.EquipSelectionVO; +import com.inspur.module.system.controller.equip.vo.*; import com.inspur.module.system.dal.dataobject.equip.EquipInfoDO; import javax.validation.*; @@ -72,4 +69,14 @@ public interface EquipInfoService { * @return java.util.List */ List cascader(); + + /** + * 设备详情 + * + * @Author xusd + * @Date 15:21 2024/9/26 + * @param id 设备id + * @return com.inspur.module.system.controller.equip.vo.EquipInfoDetailsVO + */ + EquipInfoDetailsVO getEquipInfoDetailsById(String id); } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java index 7edb365..6a2620f 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java @@ -1,26 +1,24 @@ package com.inspur.module.system.service.equip; import cn.hutool.core.collection.CollUtil; +import cn.hutool.core.util.StrUtil; import com.inspur.framework.common.pojo.PageResult; import com.inspur.framework.tenant.core.aop.TenantIgnore; import com.inspur.module.system.controller.baseData.vo.CustomerInfoSelectionVO; -import com.inspur.module.system.controller.equip.vo.EquipCascaderVO; -import com.inspur.module.system.controller.equip.vo.EquipInfoPageReqVO; -import com.inspur.module.system.controller.equip.vo.EquipInfoSaveReqVO; -import com.inspur.module.system.controller.equip.vo.EquipSelectionVO; +import com.inspur.module.system.controller.equip.vo.*; +import com.inspur.module.system.dal.dataobject.baseData.CustomerInfoDO; +import com.inspur.module.system.dal.dataobject.baseData.ModelInfoDO; import com.inspur.module.system.dal.dataobject.equip.EquipInfoDO; import com.inspur.module.system.dal.mysql.equip.EquipInfoMapper; import com.inspur.module.system.enums.ErrorCodeConstants; import com.inspur.module.system.service.baseData.CustomerInfoService; +import com.inspur.module.system.service.baseData.ModelInfoService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import org.springframework.validation.annotation.Validated; import com.inspur.framework.common.util.object.BeanUtils; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; +import java.util.*; import java.util.stream.Collectors; import static com.inspur.framework.common.exception.util.ServiceExceptionUtil.exception; @@ -40,6 +38,9 @@ public class EquipInfoServiceImpl implements EquipInfoService { @Resource private CustomerInfoService customerInfoService; + @Resource + private ModelInfoService modelInfoService; + @Override public String createEquipInfo(EquipInfoSaveReqVO createReqVO) { // 插入 @@ -121,4 +122,51 @@ public class EquipInfoServiceImpl implements EquipInfoService { } return list; } + + @Override + public EquipInfoDetailsVO getEquipInfoDetailsById(String id) { + EquipInfoDO equipInfoDO = equipInfoMapper.selectById(id); + if(Objects.nonNull(equipInfoDO)){ + EquipInfoDetailsVO vo = BeanUtils.toBean(equipInfoDO, EquipInfoDetailsVO.class); + //设置客户名称 + if (Objects.nonNull(vo.getCustomerId())){ + CustomerInfoDO customerInfo = customerInfoService.getCustomerInfo(vo.getCustomerId()); + if (Objects.nonNull(customerInfo)){ + vo.setCustomerName(customerInfo.getCustomerName()); + } + } + //设置设备型号 + if (Objects.nonNull(vo.getModelId())){ + ModelInfoDO modelInfo = modelInfoService.getModelInfo(vo.getModelId()); + if (Objects.nonNull(modelInfo)){ + //设置设备型号 + vo.setModelName(modelInfo.getModelName()); + //设置技术参数 + String modelSpn = modelInfo.getModelSpn(); + if (StrUtil.isNotBlank(modelSpn)){ + List split = Arrays.asList(modelSpn.split(";")); + if (CollUtil.isNotEmpty(split)){ + List list = new ArrayList<>(); + if (split.size() > 4) { + List subList = split.subList(4, split.size()); + subList.clear(); + } + split.forEach(item->{ + String[] strings = item.split(":"); + if (strings.length == 2){ + EquipTechnologyParamVO equipTechnologyParamVO = new EquipTechnologyParamVO(); + equipTechnologyParamVO.setName(strings[0]); + equipTechnologyParamVO.setValue(strings[1]); + list.add(equipTechnologyParamVO); + } + }); + vo.setParamList(list); + } + } + } + } + return vo; + } + throw exception(ErrorCodeConstants.EQUIP_INFO_NOT_EXISTS); + } } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderService.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderService.java index cff86fd..3d00040 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderService.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderService.java @@ -102,4 +102,14 @@ public interface MaintenanceOrderService { * @return java.lang.Boolean */ Boolean submitApprove(String id); + + /** + * 根据设备id获取故障次数 + * + * @Author xusd + * @Date 10:08 2024/9/27 + * @param equipId 设备id + * @return java.lang.Long + */ + Long getMaintenanceCountByEquipId(String equipId); } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderServiceImpl.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderServiceImpl.java index 14f11d8..c1872c6 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderServiceImpl.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/maintenance/MaintenanceOrderServiceImpl.java @@ -255,4 +255,9 @@ public class MaintenanceOrderServiceImpl implements MaintenanceOrderService { .setStatus(1) .setApproveStatus(1)) > 0; } + + @Override + public Long getMaintenanceCountByEquipId(String equipId) { + return maintenanceOrderMapper.selectCount(MaintenanceOrderDO::getEquipId,equipId); + } } \ No newline at end of file diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/resources/mapper/alarm/AlarmDataMapper.xml b/imt-server/imt-module-system/imt-module-system-biz/src/main/resources/mapper/alarm/AlarmDataMapper.xml index edc17ad..3b46d18 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/resources/mapper/alarm/AlarmDataMapper.xml +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/resources/mapper/alarm/AlarmDataMapper.xml @@ -72,4 +72,20 @@ ORDER BY ad.last_alarm_time desc limit 3 + \ No newline at end of file diff --git a/imt-ui/src/api/system/alarm/alarmdata.js b/imt-ui/src/api/system/alarm/alarmdata.js index 7262c17..a66c8b1 100644 --- a/imt-ui/src/api/system/alarm/alarmdata.js +++ b/imt-ui/src/api/system/alarm/alarmdata.js @@ -59,3 +59,19 @@ export function exportAlarmDataExcel(params) { responseType: "blob", }); } + +// 根据设备id获取报警次数 +export function getAlarmCountByEquipId(equipId) { + return request({ + url: "/imt/alarm-data/getAlarmCountByEquipId/" + equipId, + method: "get", + }); +} + +// 根据设备id获取故障次数 +export function getAlarmDataTimeLineByEquipId(equipId) { + return request({ + url: "/imt/alarm-data/getAlarmDataTimeLineByEquipId/" + equipId, + method: "get", + }); +} diff --git a/imt-ui/src/api/system/equip/equipInfo.js b/imt-ui/src/api/system/equip/equipInfo.js index 2e8431e..034c814 100644 --- a/imt-ui/src/api/system/equip/equipInfo.js +++ b/imt-ui/src/api/system/equip/equipInfo.js @@ -67,3 +67,11 @@ export function getEquipCascader() { method: 'get' }) } + +// 获得机床详情 +export function getEquipInfoDetails(id) { + return request({ + url: '/equip/equipInfo/details/' + id, + method: 'get' + }) +} diff --git a/imt-ui/src/api/system/maintenance/maintenance.js b/imt-ui/src/api/system/maintenance/maintenance.js index a1cbbc1..930f65e 100644 --- a/imt-ui/src/api/system/maintenance/maintenance.js +++ b/imt-ui/src/api/system/maintenance/maintenance.js @@ -76,3 +76,11 @@ export function submitMaintenanceApprove(id) { method: 'get' }) } + +// 根据设备id获取故障次数 +export function getMaintenanceCountByEquipId(equipId) { + return request({ + url: '/maintenance/getMaintenanceCountByEquipId/' + equipId, + method: 'get' + }) +} diff --git a/imt-ui/src/views/system/equip/equipInfo/index.vue b/imt-ui/src/views/system/equip/equipInfo/index.vue index 7b34a28..9eddf29 100644 --- a/imt-ui/src/views/system/equip/equipInfo/index.vue +++ b/imt-ui/src/views/system/equip/equipInfo/index.vue @@ -80,6 +80,9 @@ 删除 + 设备详情 + @@ -143,6 +146,9 @@ export default { }) }, methods: { + handleDetails(equipId){ + this.$router.push({ path: "/equip/equipdetails", query: { equipId: equipId}}); + }, /** 查询列表 */ async getList() { try { diff --git a/imt-ui/src/views/system/equip/equipdetails/index.vue b/imt-ui/src/views/system/equip/equipdetails/index.vue index edaafb4..aac7d8a 100644 --- a/imt-ui/src/views/system/equip/equipdetails/index.vue +++ b/imt-ui/src/views/system/equip/equipdetails/index.vue @@ -60,6 +60,9 @@
{{ item.value }}
+
+ 暂无数据 +
@@ -158,8 +161,10 @@
@@ -279,7 +284,7 @@
-
设备运行状态 +
故障历史信息
@@ -288,15 +293,18 @@ - {{ item.title }} + {{ item.alarmName }}

{{ item.content }}

+ + 暂无数据 +