Commit 0715ba09 authored by 纪泽龙's avatar 纪泽龙

修复

parent edf3efac
<!--
* @Author: your name
* @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-28 13:43:25
* @LastEditTime: 2022-02-28 15:52:58
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
......@@ -62,26 +62,22 @@
<div class="last">报警中</div>
</div>
<div class="tbody flex" v-if="Array.isArray(deviceData.pressureFlows)">
<div class="first zzz">{{ "流量计" }}</div>
<div class="">{{ deviceData.pressureFlows.length }}</div>
<div class="first zzz">{{ "压力表与流量计" }}</div>
<div v-unValue class="">{{ deviceData.numberEquipment }}</div>
<div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
{{ deviceData.onlineEquipment }}
</div>
<div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
{{ deviceData.offlineEquipment }}
</div>
<div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
{{ deviceData.historicalAlarm }}
</div>
<div v-unValue class="">
{{ (Math.random() * deviceData.pressureFlows.length) >> 1 }}
{{ deviceData.alarmProcessed }}
</div>
<div v-unValue class="last zzz">
{{
deviceData.pressureFlows.filter((item) => {
return item.deviceState == 2;
}).length
}}
<div v-unValue class="last">
{{ deviceData.inAlarm }}
</div>
</div>
</div>
......
/*
* @Author: your name
* @Date: 2022-01-26 10:47:44
* @LastEditTime: 2022-02-25 11:19:55
* @LastEditTime: 2022-02-28 15:53:46
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/utils/config.js
......@@ -31,7 +31,7 @@ export const deviceType = {
1:"管道",
2:"调压箱",
3:"阀门",
4:"站",
4:"站",
5:"监控",
6:"用户",
};
......
<!--
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-28 13:55:13
* @LastEditTime: 2022-02-28 15:54:27
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
......@@ -222,7 +222,7 @@ export default {
val: 4,
ischeck: false,
imgurl: require("@/assets/image/czsub.svg"),
name: " 站",
name: " 站",
},
{
val: 6,
......
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