Files
emsfront/src/views/ems/dzjk/clpz/xftg/index.vue

68 lines
1.4 KiB
Vue
Raw Normal View History

2025-06-25 12:55:58 +08:00
<template>
2025-07-13 16:13:45 +08:00
<!-- <cl-container :hideSettingBtn="true">-->
<!-- <template v-slot:default>-->
<div>
<temp-table ref="tempTable" @updateTimeSetting="updateTimeSetting"/>
<time-setting ref="timeSetting"/>
<temp-power-chart ref="tomePowerChart"/>
</div>
<!-- </template>-->
<!-- </cl-container>-->
2025-06-25 12:55:58 +08:00
</template>
<script>
2025-06-26 01:29:16 +08:00
import ClContainer from './../ClContainer.vue'
import TempTable from "./TempTable.vue";
import TimeSetting from "./TimeSetting.vue";
import TempPowerChart from "./TempPowerChart.vue";
2025-06-25 12:55:58 +08:00
export default {
name:'DzjkClpzXftg',
2025-06-26 01:29:16 +08:00
components:{ClContainer,TempTable,TimeSetting,TempPowerChart},
2025-06-25 12:55:58 +08:00
data() {
return {
}
},
methods:{
2025-07-13 16:13:45 +08:00
init(){
this.$nextTick(() => {
this.$refs.tempTable.init()
this.$refs.timeSetting.init()
this.$refs.tomePowerChart.init()
})
},
changeSiteId(){
this.$nextTick(() => {
this.$refs.tempTable.changeSiteId()
this.$refs.timeSetting.changeSiteId()
this.$refs.tomePowerChart.changeSiteId()
})
},
//在编辑、删除模板后更新时间配置、echart的数据todo
updateTimeSetting(){
this.$refs.timeSetting.init()
this.$refs.tomePowerChart.init()
}
2025-06-25 12:55:58 +08:00
},
mounted(){
}
}
</script>
<style scoped lang="scss">
2025-06-26 01:29:16 +08:00
::v-deep{
.common-card-container .el-card__header{
padding:5px 20px;
height:44px;
.card-title{
line-height: 34px;
}
}
}
2025-06-25 12:55:58 +08:00
</style>