1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<template>
<b-container
:style="{ display: 'flex', 'flex-direction': 'column' }"
fluid="xxl pt-0 m-0"
>
<page-title />
<!-- BMC table -->
<div class="main-container">
<page-section class="bootstrap-table__section">
<b-table
responsive="md"
show-empty
class="bootstrap-rounded-table"
:items="systems"
:fields="fields"
:empty-text="$t('global.table.emptyMessage')"
>
</b-table>
</page-section>
</div>
</b-container>
</template>
<script>
import PageTitle from '@/components/Global/PageTitle';
// import BMCConfigurationTable from './BMCConfigurationTable';
// import BMCConfigurationControl from './BMCConfigurationControl';
import PageSection from '@/components/Global/PageSection';
import BVToastMixin from '@/components/Mixins/BVToastMixin';
// import iconChevronUp from '@carbon/icons-vue/es/chevron--up/16';
import TableRowExpandMixin, {
expandRowLabel,
} from '@/components/Mixins/TableRowExpandMixin';
export default {
components: {
PageTitle,
// BMCConfigurationControl,
// BMCConfigurationTable,
PageSection,
},
mixins: [BVToastMixin, TableRowExpandMixin],
data() {
return {
text: '',
isBusy: true,
fields: [
{
key: 'attributes',
label: 'Атрибуты',
formatter: this.dataFormatter,
thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
class: 'bootstrap-rounded-table__column-first',
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
bootstrap-rounded-table__column-last___console`,
tdClass: 'regular-12px bootstrap-rounded-table__td',
},
],
expandRowLabel: expandRowLabel,
systems: [
{ attributes: 'Включена', value: 'Включено' },
{ attributes: 'Максимальное количество сеансов', value: '6' },
{ attributes: 'Активные сеансы', value: '0' },
{ attributes: 'Порт удаленного доступа', value: '5900' },
{ attributes: 'Статус шифрования видео', value: 'Включено' },
{ attributes: 'Видео с локального сервера', value: 'Включено' },
{
attributes:
'Действие по умолчанию при истечении времени ожидания запроса на общий доступ к сеансу',
value: 'Полный доступ',
},
{
attributes: 'Автоматическая блокировка системы',
value: 'Не включено',
},
{
attributes: 'Состояние подключения клавиатуры/мыши',
value: 'Автоматическое',
},
],
// iconChevronUp: iconChevronUp,
};
},
};
</script>
<style lang="scss">
.bootstrap-rounded-table__column-last___console {
width: 30%;
}
</style>
|