Files
emsfront/src/views/ems/dzjk/clpz/xftg/index.vue
2025-07-13 16:13:45 +08:00

68 lines
1.4 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<!-- <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>-->
</template>
<script>
import ClContainer from './../ClContainer.vue'
import TempTable from "./TempTable.vue";
import TimeSetting from "./TimeSetting.vue";
import TempPowerChart from "./TempPowerChart.vue";
export default {
name:'DzjkClpzXftg',
components:{ClContainer,TempTable,TimeSetting,TempPowerChart},
data() {
return {
}
},
methods:{
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()
}
},
mounted(){
}
}
</script>
<style scoped lang="scss">
::v-deep{
.common-card-container .el-card__header{
padding:5px 20px;
height:44px;
.card-title{
line-height: 34px;
}
}
}
</style>