List.vue 942 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <notification-base-list :ExtraListParams="ExtraListParams" :extra-columns="ExtraColumns" :ExtraExportDataOptions="ExtraExportDataOptions" :id="id" />
  3. </template>
  4. <script>
  5. import NotificationBaseList from '@IAM/sections/NotificationBaseList'
  6. import { getTimeTableColumn } from '@/utils/common/tableColumn'
  7. export default {
  8. name: 'SecurityAlertList',
  9. components: {
  10. NotificationBaseList,
  11. },
  12. props: {
  13. id: String,
  14. },
  15. data () {
  16. return {
  17. ExtraListParams: {
  18. contact_type: 'webconsole',
  19. topic_type: 'security',
  20. },
  21. ExtraColumns: [
  22. getTimeTableColumn({
  23. field: 'received_at',
  24. title: this.$t('system.text_590'),
  25. }),
  26. {
  27. title: this.$t('system.text_308'),
  28. field: 'content',
  29. },
  30. ],
  31. ExtraExportDataOptions: [
  32. { label: this.$t('system.text_308'), key: 'content' },
  33. ],
  34. }
  35. },
  36. }
  37. </script>