index.vue 876 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div>
  3. <page-header
  4. :title="$t('compute.backup_storage')"
  5. isShowResStatusTab
  6. :status-opts="statusOpts"
  7. :status-click-handle="statusClickHandle" />
  8. <page-body>
  9. <backup-storage-list
  10. :id="listId"
  11. :cloudEnvOptions="cloudEnvOptions"
  12. :filterParams="filterParams"
  13. statusResKey="backupStorage"
  14. @resStatisticsChange="resStatisticsChange" />
  15. </page-body>
  16. </div>
  17. </template>
  18. <script>
  19. import ResStatisticsV2Mixin from '@/mixins/resStatisticsV2Mixin'
  20. import BackupStorageList from './components/List'
  21. export default {
  22. name: 'BackupStorageIndex',
  23. components: {
  24. BackupStorageList,
  25. },
  26. mixins: [ResStatisticsV2Mixin],
  27. data () {
  28. return {
  29. listId: 'BackupStorageList',
  30. statusNormalList: ['online', 'offline'],
  31. statusHiddenList: ['error'],
  32. }
  33. },
  34. }
  35. </script>