|
|
@@ -238,7 +238,7 @@
|
|
238
|
238
|
<span class="device-name">核心数据TOP3</span>
|
|
239
|
239
|
</div>
|
|
240
|
240
|
<div class="device-details">
|
|
241
|
|
- <div class="area-item" v-for="(area, idx) in ['A区 20% 慢流灌', 'B区 40% 黑流灌', 'C区 25% 黑流灌']" :key="idx"> {{ area }} </div>
|
|
|
241
|
+ <div class="area-item" v-for="(area, idx) in minHumidity" :key="idx"> {{ area.name }} <span style="margin-left: 10px;">{{ area.sdValue }}%</span></div>
|
|
242
|
242
|
</div>
|
|
243
|
243
|
</div>
|
|
244
|
244
|
</div>
|
|
|
@@ -252,7 +252,7 @@
|
|
252
|
252
|
|
|
253
|
253
|
</div>
|
|
254
|
254
|
<div class="device-details">
|
|
255
|
|
- <div class="area-item">A</div>
|
|
|
255
|
+ <div class="area-item">{{smartDeviceData.maxTemperatureName}}</div>
|
|
256
|
256
|
</div>
|
|
257
|
257
|
</div>
|
|
258
|
258
|
</div>
|
|
|
@@ -473,6 +473,8 @@ const personnel = ref([]) // 人员数据
|
|
473
|
473
|
const checkData = ref([]) // 巡检数据
|
|
474
|
474
|
const attendanceData = ref([]) // 出勤数据
|
|
475
|
475
|
const warningOrder = ref([]) // 预警信息
|
|
|
476
|
+const minHumidity = ref([])
|
|
|
477
|
+
|
|
476
|
478
|
|
|
477
|
479
|
// 设备统计数据
|
|
478
|
480
|
const deviceStats = ref({
|
|
|
@@ -565,8 +567,10 @@ const fetchMaintenanceData = async () => {
|
|
565
|
567
|
]
|
|
566
|
568
|
// 智慧设备数据
|
|
567
|
569
|
smartDeviceData.value.online = data.intelligentEquipment?.online || 0;
|
|
568
|
|
- smartDeviceData.value.maxTemperature = data.intelligentEquipment?.maxTemperature.wdValue || 0;
|
|
|
570
|
+ smartDeviceData.value.maxTemperature = data.intelligentEquipment?.maxTemperature[0].wdValue || 0;
|
|
|
571
|
+ smartDeviceData.value.maxTemperatureName = data.intelligentEquipment?.maxTemperature[0].name || '';
|
|
569
|
572
|
|
|
|
573
|
+ minHumidity.value = data.intelligentEquipment?.minHumidity || [];
|
|
570
|
574
|
// 更新养护动作数据
|
|
571
|
575
|
actionData.value = [...data.workOrder] || [];
|
|
572
|
576
|
// 更新设备表格数据
|
|
|
@@ -1097,7 +1101,7 @@ onBeforeUnmount(() => {
|
|
1097
|
1101
|
.smart-device-panel .device-main {
|
|
1098
|
1102
|
display: flex;
|
|
1099
|
1103
|
align-items: center;
|
|
1100
|
|
- gap: 8px;
|
|
|
1104
|
+ gap: 6px;
|
|
1101
|
1105
|
}
|
|
1102
|
1106
|
|
|
1103
|
1107
|
.smart-device-panel .device-icon {
|
|
|
@@ -1117,7 +1121,8 @@ onBeforeUnmount(() => {
|
|
1117
|
1121
|
display: flex;
|
|
1118
|
1122
|
flex-direction: column;
|
|
1119
|
1123
|
gap: 6px;
|
|
1120
|
|
- padding-left: 32px;
|
|
|
1124
|
+ padding-left: 0px;
|
|
|
1125
|
+ text-align: left;
|
|
1121
|
1126
|
}
|
|
1122
|
1127
|
|
|
1123
|
1128
|
.smart-device-panel .online-status {
|
|
|
@@ -1258,7 +1263,7 @@ onBeforeUnmount(() => {
|
|
1258
|
1263
|
// 设备运维选项卡样式
|
|
1259
|
1264
|
.maintenance-tabs {
|
|
1260
|
1265
|
position: absolute;
|
|
1261
|
|
- top: 15vh;
|
|
|
1266
|
+ top: 12vh;
|
|
1262
|
1267
|
left: 1vh;
|
|
1263
|
1268
|
z-index: 100;
|
|
1264
|
1269
|
display: flex;
|