config.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. import i18n from '@/locales'
  2. const options = [
  3. {
  4. label: i18n.t('dashboard.text_78'),
  5. desc: i18n.t('dashboard.text_79'),
  6. icon: 'dashboard-number',
  7. h: 6,
  8. w: 20,
  9. component: 'NumberCard',
  10. },
  11. {
  12. label: i18n.t('dashboard.text_80'),
  13. desc: i18n.t('dashboard.text_81'),
  14. icon: 'dashboard-usage',
  15. h: 5,
  16. w: 20,
  17. component: 'Ring',
  18. },
  19. {
  20. label: i18n.t('dashboard.text_19'),
  21. desc: i18n.t('dashboard.text_84'),
  22. icon: 'dashboard-notice',
  23. h: 4,
  24. w: 20,
  25. component: 'Notify',
  26. },
  27. {
  28. label: 'TOP5',
  29. desc: i18n.t('dashboard.text_85'),
  30. icon: 'dashboard-top5',
  31. h: 8,
  32. w: 20,
  33. component: 'Top5',
  34. },
  35. {
  36. label: i18n.t('monitor.overview_alert_sum'),
  37. desc: '',
  38. icon: 'dashboard-alert-sum',
  39. h: 5,
  40. w: 20,
  41. component: 'UnrecoveredAlarm',
  42. },
  43. {
  44. label: i18n.t('dashboard.vm_history_count'),
  45. desc: '',
  46. icon: 'dashboard-vmhistory-count-trend',
  47. h: 6,
  48. w: 40,
  49. component: 'VmHistoryCount',
  50. },
  51. {
  52. label: i18n.t('dashboard.alerts_trend'),
  53. desc: '',
  54. icon: 'dashboard-alerts-trend',
  55. h: 6,
  56. w: 40,
  57. component: 'AlertsTrend',
  58. },
  59. {
  60. label: i18n.t('dashboard.cloud_account_health'),
  61. desc: '',
  62. icon: 'dashboard-cloud-account-health',
  63. h: 7,
  64. w: 20,
  65. scope: ['system', 'domain'],
  66. component: 'AccountHealth',
  67. },
  68. {
  69. label: i18n.t('dashboard.userinfo'),
  70. desc: '',
  71. icon: 'dashboard-user-info',
  72. h: 7,
  73. w: 20,
  74. component: 'UserInfo',
  75. },
  76. {
  77. label: i18n.t('dashborad.server_numbers'),
  78. desc: '',
  79. icon: 'dashboard-suggest-detail',
  80. h: 5,
  81. w: 20,
  82. component: 'ServerNumberDetail',
  83. },
  84. ]
  85. export default options