Commit 763980ae authored by wuqinghua's avatar wuqinghua

Merge remote-tracking branch 'origin/master'

parents 0105484b 17c3e24d
...@@ -3,6 +3,7 @@ package com.zehong.system.domain.vo; ...@@ -3,6 +3,7 @@ package com.zehong.system.domain.vo;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List;
/** /**
* 探测器用户对象 t_detector_user * 探测器用户对象 t_detector_user
...@@ -30,6 +31,11 @@ public class TDetectorUserVO ...@@ -30,6 +31,11 @@ public class TDetectorUserVO
/** 用户类型(1居民用户,2商业用户,3工业用户) */ /** 用户类型(1居民用户,2商业用户,3工业用户) */
private String userType; private String userType;
private List<Object> detectorCountList;
/** 设备类型 */
private String detectorType;
/** 探测器总数 */ /** 探测器总数 */
private Integer detectorCount; private Integer detectorCount;
......
...@@ -85,6 +85,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService ...@@ -85,6 +85,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
userVO.setCancelAlarmNum(cancelAlarmNum); userVO.setCancelAlarmNum(cancelAlarmNum);
userVO.setProcessingAlarmNum(Math.abs(historyAlarmNum - cancelAlarmNum)); userVO.setProcessingAlarmNum(Math.abs(historyAlarmNum - cancelAlarmNum));
userVO.setIconType("6"); userVO.setIconType("6");
userVO.setDetectorType("气体探测器");
list.add(userVO); list.add(userVO);
} }
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-26 20:07:52 * @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-28 09:45:42 * @LastEditTime: 2022-02-28 13:43:25
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...@@ -61,8 +61,8 @@ ...@@ -61,8 +61,8 @@
<div>已处理报警</div> <div>已处理报警</div>
<div class="last">报警中</div> <div class="last">报警中</div>
</div> </div>
<div class="tbody flex"> <div class="tbody flex" v-if="Array.isArray(deviceData.pressureFlows)">
<div class="first zzz">{{ "流量计与压力表" }}</div> <div class="first zzz">{{ "流量计" }}</div>
<div class="">{{ deviceData.pressureFlows.length }}</div> <div class="">{{ deviceData.pressureFlows.length }}</div>
<div v-unValue class=""> <div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }} {{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
...@@ -99,8 +99,7 @@ export default { ...@@ -99,8 +99,7 @@ export default {
return { return {
companyType, companyType,
deviceType, deviceType,
profile:"暂无" profile: "暂无",
}; };
}, },
computed: { computed: {
...@@ -119,8 +118,7 @@ export default { ...@@ -119,8 +118,7 @@ export default {
this.companyType[item.conpanyId] = item.companyName; this.companyType[item.conpanyId] = item.companyName;
}); });
} }
console.log(this.deviceData) console.log(this.deviceData);
}, },
methods: { methods: {
close() { close() {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-26 20:07:52 * @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-28 10:01:07 * @LastEditTime: 2022-02-28 13:30:46
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="last">报警中</div> <div class="last">报警中</div>
</div> </div>
<div class="tbody flex"> <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 class="">{{ deviceData.detectorCount }}</div>
<div v-unValue class=""> <div v-unValue class="">
{{ deviceData.onLineNum }} {{ deviceData.onLineNum }}
......
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