|
@@ -245,10 +245,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="part-info">
|
|
|
- <!-- v-if="partDInfos.length > 0" style="max-height: 25vh"-->
|
|
|
- <div
|
|
|
- class="part-body"
|
|
|
- >
|
|
|
+ <!-- v-if="partDInfos.length > 0" style="max-height: 25vh"-->
|
|
|
+ <div class="part-body">
|
|
|
<div class="monitoring-item">
|
|
|
<div class="point point-left bottom"></div>
|
|
|
<div class="point point-right bottom"></div>
|
|
@@ -263,9 +261,11 @@
|
|
|
>
|
|
|
<div class="table-item" v-for="(item, ind) in val" :key="ind">
|
|
|
<div>{{ item.name }}</div>
|
|
|
- <div
|
|
|
- class="table-value-di"
|
|
|
- ><span :class="item.value == 1 ? 'round-red' : 'round'">{{item.value == 1 ? '触发' : '未触发'}}</span></div>
|
|
|
+ <div class="table-value-di">
|
|
|
+ <span :class="item.value == 1 ? 'round-red' : 'round'">{{
|
|
|
+ item.value == 1 ? "触发" : "未触发"
|
|
|
+ }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -309,39 +309,39 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="problemsAI" style="color: #fff">
|
|
|
- <div class="part-info-ai">
|
|
|
- <!-- v-if="partAInfos.length > 0" -->
|
|
|
- <div class="part-body-ai" >
|
|
|
- <div class="monitoring-item">
|
|
|
- <div class="point point-left bottom"></div>
|
|
|
- <div class="point point-right bottom"></div>
|
|
|
- 遥测值
|
|
|
- </div>
|
|
|
- <div class="part-item-ai">
|
|
|
- <div
|
|
|
- class="part-ai"
|
|
|
- :class="{ active: index % 2 === 1 }"
|
|
|
- v-for="(val, index) in partAInfos"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- <div class="table-item-ai" v-for="(item, ind) in val" :key="ind">
|
|
|
- <div>{{ item.name }}</div>
|
|
|
- <div class="table-value-ai">
|
|
|
- {{
|
|
|
- item.name.includes("状态")
|
|
|
- ? item.value
|
|
|
- : item.name == "总发电量"
|
|
|
- ? (item.value / 10000).toFixed(2)
|
|
|
- : Number(item.value).toFixed(2)
|
|
|
- }}
|
|
|
- <div v-if="item.valueUnit != 'NULL'" class="unit-ai">
|
|
|
- {{ item.valueUnit }}
|
|
|
- </div>
|
|
|
- <div v-else class="unit-ai"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="part-info-ai">
|
|
|
+ <!-- v-if="partAInfos.length > 0" -->
|
|
|
+ <div class="part-body-ai">
|
|
|
+ <div class="monitoring-item">
|
|
|
+ <div class="point point-left bottom"></div>
|
|
|
+ <div class="point point-right bottom"></div>
|
|
|
+ 遥测值
|
|
|
+ </div>
|
|
|
+ <div class="part-item-ai">
|
|
|
+ <div
|
|
|
+ class="part-ai"
|
|
|
+ :class="{ active: index % 2 === 1 }"
|
|
|
+ v-for="(val, index) in partAInfos"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <div class="table-item-ai" v-for="(item, ind) in val" :key="ind">
|
|
|
+ <div>{{ item.name }}</div>
|
|
|
+ <div class="table-value-ai">
|
|
|
+ {{
|
|
|
+ item.name.includes("状态")
|
|
|
+ ? item.value
|
|
|
+ : item.name == "总发电量"
|
|
|
+ ? (item.value / 10000).toFixed(2)
|
|
|
+ : Number(item.value).toFixed(2)
|
|
|
+ }}
|
|
|
+ <div v-if="item.valueUnit != 'NULL'" class="unit-ai">
|
|
|
+ {{ item.valueUnit }}
|
|
|
+ </div>
|
|
|
+ <div v-else class="unit-ai"></div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -511,7 +511,7 @@ export default {
|
|
|
{
|
|
|
name: "DI值7",
|
|
|
value: 14.5,
|
|
|
- }
|
|
|
+ },
|
|
|
],
|
|
|
],
|
|
|
uniformcodesA: [],
|
|
@@ -1381,11 +1381,11 @@ export default {
|
|
|
|
|
|
.part-info {
|
|
|
width: 100%;
|
|
|
- // max-height: 50vh;
|
|
|
+ // max-height: 50vh;
|
|
|
height: 30vh;
|
|
|
bottom: 0px;
|
|
|
display: flex;
|
|
|
- // flex-direction: column-reverse;
|
|
|
+ // flex-direction: column-reverse;
|
|
|
[v-cloak] {
|
|
|
display: none;
|
|
|
}
|
|
@@ -1410,7 +1410,7 @@ export default {
|
|
|
.part {
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
- // flex-direction: row;
|
|
|
+ // flex-direction: row;
|
|
|
flex-wrap: wrap;
|
|
|
margin-top: 5px;
|
|
|
font-size: 13px;
|
|
@@ -1420,7 +1420,7 @@ export default {
|
|
|
padding: 0 10px;
|
|
|
|
|
|
.table-item {
|
|
|
- width: 20%;
|
|
|
+ width: 25%;
|
|
|
font-size: 12px;
|
|
|
|
|
|
.table-value {
|
|
@@ -1463,7 +1463,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .problemsAI{
|
|
|
+ .problemsAI {
|
|
|
width: 32vw;
|
|
|
// background: rgba(96, 103, 105, 0.2);
|
|
|
border-radius: 5px;
|
|
@@ -1492,7 +1492,7 @@ export default {
|
|
|
|
|
|
.part-item-ai {
|
|
|
width: 100%;
|
|
|
- // height: calc(100% - 42px);
|
|
|
+ // height: calc(100% - 42px);
|
|
|
height: 100%;
|
|
|
overflow-y: scroll;
|
|
|
}
|
|
@@ -1500,7 +1500,7 @@ export default {
|
|
|
.part-ai {
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
- // flex-direction: row;
|
|
|
+ // flex-direction: row;
|
|
|
flex-wrap: wrap;
|
|
|
margin-top: 5px;
|
|
|
font-size: 13px;
|
|
@@ -1806,7 +1806,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.table-item, .table-item-ai {
|
|
|
+.table-item,
|
|
|
+.table-item-ai {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
@@ -1819,30 +1820,32 @@ export default {
|
|
|
color: #b3b3b3;
|
|
|
padding: 0 0px;
|
|
|
|
|
|
- .table-value, .table-value-ai {
|
|
|
+ .table-value,
|
|
|
+ .table-value-ai {
|
|
|
font-family: Arial;
|
|
|
font-weight: 400;
|
|
|
color: rgb(15, 120, 240);
|
|
|
margin-right: 25px;
|
|
|
}
|
|
|
- .table-value-di{
|
|
|
+ .table-value-di {
|
|
|
font-family: Arial;
|
|
|
font-weight: 400;
|
|
|
color: rgb(15, 120, 240);
|
|
|
margin-right: 25px;
|
|
|
- &.round {
|
|
|
- width: 30px;
|
|
|
- height: 18px;
|
|
|
- color: rgba(0, 70, 199, 0.48);
|
|
|
- margin-right: 90px;
|
|
|
- }
|
|
|
+ .round {
|
|
|
+ width: 30px;
|
|
|
+ height: 18px;
|
|
|
+ // color: rgba(0, 70, 199, 0.88);
|
|
|
+ color: rgb(15, 120, 240);
|
|
|
+ margin-right: 90px;
|
|
|
+ }
|
|
|
|
|
|
- &.round-red {
|
|
|
- width: 30px;
|
|
|
- height: 18px;
|
|
|
- color: red;
|
|
|
- margin-right: 90px;
|
|
|
- }
|
|
|
+ .round-red {
|
|
|
+ width: 30px;
|
|
|
+ height: 18px;
|
|
|
+ color: red;
|
|
|
+ margin-right: 90px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|