|
@@ -435,6 +435,8 @@
|
|
dataSource.value.push(data);
|
|
dataSource.value.push(data);
|
|
});
|
|
});
|
|
const data: any = toRaw(dataSource.value[selectRowIndex.value]); //maxarea
|
|
const data: any = toRaw(dataSource.value[selectRowIndex.value]); //maxarea
|
|
|
|
+
|
|
|
|
+ Object.assign(selectData, data);
|
|
return data;
|
|
return data;
|
|
};
|
|
};
|
|
// https获取监测数据
|
|
// https获取监测数据
|
|
@@ -451,9 +453,7 @@
|
|
MonitorDataTable.value.setSelectedRowKeys(dataSource.value[0]['deviceID'])
|
|
MonitorDataTable.value.setSelectedRowKeys(dataSource.value[0]['deviceID'])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- for (const key in selectData) {
|
|
|
|
- selectData[key] = ''
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
Object.assign(selectData, deviceBaseList.value, dataSource.value[selectRowIndex.value]);
|
|
Object.assign(selectData, deviceBaseList.value, dataSource.value[selectRowIndex.value]);
|
|
if (selectData['Fan1StartStatus'] == 1 && selectData['Fan2StartStatus'] == 0) {
|
|
if (selectData['Fan1StartStatus'] == 1 && selectData['Fan2StartStatus'] == 0) {
|
|
frontMonitorIsShow.value = true
|
|
frontMonitorIsShow.value = true
|
|
@@ -508,6 +508,10 @@
|
|
selectRowIndex.value = baseDataIndex;
|
|
selectRowIndex.value = baseDataIndex;
|
|
const type = 'mainWindRect';
|
|
const type = 'mainWindRect';
|
|
// const type = baseDataIndex > 0 ? 'fm' : 'fc';
|
|
// const type = baseDataIndex > 0 ? 'fm' : 'fc';
|
|
|
|
+
|
|
|
|
+ for (const key in selectData) {
|
|
|
|
+ selectData[key] = ''
|
|
|
|
+ }
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
setModelType(type).then(() => {
|
|
setModelType(type).then(() => {
|
|
loading.value = false;
|
|
loading.value = false;
|
|
@@ -526,6 +530,7 @@
|
|
selectDevice('warningMonitorRowIndex', 1)
|
|
selectDevice('warningMonitorRowIndex', 1)
|
|
selectDevice('dataMonitorRowIndex', 1)
|
|
selectDevice('dataMonitorRowIndex', 1)
|
|
}
|
|
}
|
|
|
|
+ Object.assign(selectData, data);
|
|
})
|
|
})
|
|
|
|
|
|
return;
|
|
return;
|