summaryrefslogtreecommitdiff
path: root/src/views/_sila/BMC/Configuration/ConfigurationTable.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/_sila/BMC/Configuration/ConfigurationTable.vue')
-rw-r--r--src/views/_sila/BMC/Configuration/ConfigurationTable.vue96
1 files changed, 0 insertions, 96 deletions
diff --git a/src/views/_sila/BMC/Configuration/ConfigurationTable.vue b/src/views/_sila/BMC/Configuration/ConfigurationTable.vue
deleted file mode 100644
index 395e3d80..00000000
--- a/src/views/_sila/BMC/Configuration/ConfigurationTable.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-<template>
- <page-section>
- <b-table
- responsive="md"
- show-empty
- class="bootstrap-rounded-table"
- :items="items"
- :fields="fields"
- :busy="isBusy"
- :empty-text="$t('global.table.emptyMessage')"
- >
- </b-table>
- </page-section>
-</template>
-
-<script>
-import BVToastMixin from '@/components/Mixins/BVToastMixin';
-import PageSection from '@/components/_sila/Global/PageSection';
-
-import TableRowExpandMixin, {
- expandRowLabel,
-} from '@/components/Mixins/TableRowExpandMixin';
-
-export default {
- components: { PageSection },
- mixins: [BVToastMixin, TableRowExpandMixin],
- data() {
- return {
- isBusy: true,
- isAddersСolon: false,
- fields: [
- {
- key: 'param',
- label: 'Параметр',
- formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: `bootstrap-rounded-table__column-first
- bootstrap-rounded-table__column-first___bmc_conf`,
- tdClass: 'regular-12px bootstrap-rounded-table__td',
- },
- {
- key: 'value',
- label: 'Значение',
- formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-last',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
- },
- ],
- expandRowLabel: expandRowLabel,
- items: null,
- };
- },
- computed: {
- bmc() {
- return this.$store.getters['bmc/bmc'];
- },
- },
- watch: {
- bmc() {
- this.items = [
- {
- param: 'Время сервера',
- value: this.bmc.dateTime,
- },
- {
- param: 'uuid',
- value: this.bmc.uuid,
- },
- {
- param: 'Версия прошивки',
- value: this.bmc.firmwareVersion,
- },
- {
- param: 'Модель',
- value: this.bmc.model,
- },
- {
- param: 'Описание',
- value: this.bmc.description,
- },
- {
- param: 'Максимальное количество сессий',
- value: this.bmc.graphicalConsoleMaxSessions,
- },
- ];
- },
- },
- created() {
- this.$store.dispatch('bmc/getBmcInfo').finally(() => {
- this.$root.$emit('hardware-status-bmc-manager-complete');
- this.isBusy = false;
- });
- },
-};
-</script>