Commit 86f7f9de authored by 王晓倩's avatar 王晓倩

设备类型

parent 17e2926a
......@@ -3,6 +3,7 @@ package com.zehong.system.domain.vo;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
/**
* 探测器用户对象 t_detector_user
......@@ -30,6 +31,11 @@ public class TDetectorUserVO
/** 用户类型(1居民用户,2商业用户,3工业用户) */
private String userType;
private List<Object> detectorCountList;
/** 设备类型 */
private String detectorType;
/** 探测器总数 */
private Integer detectorCount;
......
......@@ -85,6 +85,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
userVO.setCancelAlarmNum(cancelAlarmNum);
userVO.setProcessingAlarmNum(Math.abs(historyAlarmNum - cancelAlarmNum));
userVO.setIconType("6");
userVO.setDetectorType("气体探测器");
list.add(userVO);
}
......
......@@ -62,7 +62,7 @@
<div class="last">报警中</div>
</div>
<div class="tbody flex">
<div class="first zzz">{{ "流量计与压力表" }}</div>
<div class="first zzz">{{ "流量计" }}</div>
<div class="">{{ deviceData.pressureFlows.length }}</div>
<div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
......@@ -248,4 +248,4 @@ export default {
justify-content: space-between;
}
}
</style>
\ No newline at end of file
</style>
......@@ -46,7 +46,7 @@
<div class="last">报警中</div>
</div>
<div class="tbody flex">
<div v-unValue class="first zzz">{{ }}</div>
<div v-unValue class="first zzz">{{ deviceData.detectorType }}</div>
<div class="">{{ deviceData.detectorCount }}</div>
<div v-unValue class="">
{{ deviceData.onLineNum }}
......@@ -227,4 +227,4 @@ export default {
justify-content: space-between;
}
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment