@ -9,9 +9,6 @@
<ElTabPane label="气象情况" name="second">
<Descriptions labelWidth="104px" :list="weatherList" :data="weatherData" style="gap: 14px" />
</ElTabPane>
<ElTabPane label="联动策略" name="third">
<!-- <LineChart v-if="activeName === 'third'" :productId="dialogData.id" style="height: 180px" /> -->
</ElTabs>
</div>
@ -63,12 +63,15 @@ export default {
}).then(result => {
if (result.code != 200) return Message.error("操作失败");
result.data.forEach(item => {
if (item.propertyName) {
devs.push({
label: item.propertyName,
key: item.property,
gridColumn: 3,
});
this.devicesData[item.property] = item.formatValue;
}
this.devicesList = devs;
})
@ -156,11 +156,18 @@ div.switcher {
<style lang="scss" scoped>
.SolarEnergy {
width: 508px;
// height: 240px;
// height: 248px;
color: #fff;
display: flex;
flex-direction: column;
::v-deep {
.el-tabs__content {
overflow-y: auto;
max-height: 220px;
.camera-video {
flex: 1.5;