summaryrefslogtreecommitdiff
path: root/src/views/_sila/Settings/TransferInfo/WarningSmnp.vue
blob: df97d1a11956ad4e0573ccdc9897c394c4fa2d0f (plain)
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
<template>
  <page-section section-title="Предупреждения SNmP">
    <b-row>
      <b-col>
        <b-table
          hover
          responsive="md"
          show-empty
          :items="items"
          :fields="fields"
          :empty-text="$t('global.table.emptyMessage')"
        >
        </b-table>
      </b-col>
    </b-row>
    <b-row>
      <b-col class="d-flex justify-content-end flex-wrap">
        <b-button variant="secondary" class="mr-3 mb-3">
          {{ 'Тестовое сообщение' }}
        </b-button>
        <b-button variant="primary" class="mb-3">
          {{ $t('global.action.save') }}
        </b-button>
      </b-col>
    </b-row>
  </page-section>
</template>

<script>
import PageSection from '@/components/_sila/Global/PageSection';

export default {
  name: 'WarningSmnp',
  components: {
    PageSection,
  },

  data() {
    return {
      fields: [
        {
          key: 'id',
          label: 'Тип предупреждения',
          formatter: this.dataFormatter,
        },
        {
          key: 'health',
          label: 'Значение',
          formatter: this.dataFormatter,
          tdClass: 'text-nowrap',
        },
      ],
    };
  },
  computed: {},
};
</script>