Commit be4bad9d authored by 纪泽龙's avatar 纪泽龙

优化样式

parent 42e1cd12
<!-- <!--
* @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:39:05
* @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,7 +61,8 @@ ...@@ -61,7 +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="">
...@@ -99,8 +100,7 @@ export default { ...@@ -99,8 +100,7 @@ export default {
return { return {
companyType, companyType,
deviceType, deviceType,
profile:"暂无" profile: "暂无",
}; };
}, },
computed: { computed: {
...@@ -119,8 +119,7 @@ export default { ...@@ -119,8 +119,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