diff options
Diffstat (limited to 'src/views/_sila/Processors')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue index 63133249..cd083412 100644 --- a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue +++ b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue @@ -1,7 +1,11 @@ <template> <b-container fluid="xl"> <page-title :description="$t('appPageTitle.dynamicInformation')" /> - <table-date-picker style="margin: -2rem 0 0 -2rem" /> + <table-date-picker + :switch-time-scale="switchTimeScale" + :time-scale="timeScale" + style="margin: -2rem 0 0 -2rem" + /> <collapse id="collapse_1" :title="$t('pageProcessors.temperature')" @@ -195,6 +199,11 @@ export default { }, methods: { + switchTimeScale(period) { + this.timeScale = period; + this.loadData(); + }, + updateTemperature() { this.temperatureWarning = +this.temperatureWarningInput; this.temperatureNonNormal = +this.temperatureNonNormalInput; |