diff options
Diffstat (limited to 'src/views/_sila/Processors/Dynamic')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue index 44e5e18b..54f8e284 100644 --- a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue +++ b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue @@ -1,29 +1,33 @@ <template> <b-container fluid="xl"> <page-title :description="$t('appPageTitle.dynamicInformation')" /> - <collapse id="collapse_1" title="Температра" style="margin-top: -2rem"> + <collapse + id="collapse_1" + :title="$t('pageProcessors.temperature')" + style="margin-top: -2rem" + > <template #image> <img src="@/assets/images/_sila/collapsed/temperature.svg" /> </template> <page-section> <b-row class="align-items-end pt-2"> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Не штатный режим"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.notNormal')"> <b-form-input> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Критический режим"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.critical')"> <b-form-input> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Значение предупреждения"> - <b-form-input> </b-form-input> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.warning')"> + <b-form-input style=""> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-button variant="primary"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-button variant="primary" style="height: 35px"> {{ 'Сохранить' }} </b-button> </b-col> @@ -52,18 +56,18 @@ {{ value }} </template> <template #cell(minDate)="{ value }"> - <span class="regular-12px"> + <span style="color: rgb(12, 28, 41)"> {{ value.time }} </span> - <span class="regular-12px tretiatry"> + <span> {{ value.date }} </span> </template> <template #cell(maxDate)="{ value }"> - <span class="regular-12px"> + <span style="color: rgb(12, 28, 41)"> {{ value.time }} </span> - <span class="regular-12px tretiatry"> + <span> {{ value.date }} </span> </template> @@ -96,31 +100,31 @@ export default { fields: [ { key: 'name', - label: 'Имя модуля', + label: this.$t('pageProcessors.table.name'), }, { key: 'currentTemperature', - label: 'Текущее, С°', + label: this.$t('pageProcessors.table.currentTemperature'), }, { key: 'middleTemperature', - label: 'Среднее, С°', + label: this.$t('pageProcessors.table.middleTemperature'), }, { key: 'minTemperature', - label: 'Минимальное, С°', + label: this.$t('pageProcessors.table.minTemperature'), }, { key: 'minDate', - label: 'Дата минимального', + label: this.$t('pageProcessors.table.minDate'), }, { key: 'maxTemperature', - label: 'Максимальное, С°', + label: this.$t('pageProcessors.table.maxTemperature'), }, { key: 'maxDate', - label: 'Дата максимального', + label: this.$t('pageProcessors.table.maxDate'), }, ], items: [ @@ -193,7 +197,7 @@ export default { }, colors() { return this.$randomColor({ - count: this.allSensors?.length, + count: this.items?.length, hue: 'random', luminosity: 'random', }); |