index.vue 783 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div>
  3. <page-header
  4. :title="`${$t('dictionary.guestimage')}`"
  5. isShowResStatusTab
  6. :status-opts="statusOpts"
  7. :status-click-handle="statusClickHandle" />
  8. <page-body>
  9. <host-image-list
  10. :id="listId"
  11. :filterParams="filterParams"
  12. statusResKey="image"
  13. @resStatisticsChange="resStatisticsChange" />
  14. </page-body>
  15. </div>
  16. </template>
  17. <script>
  18. import ResStatisticsV2Mixin from '@/mixins/resStatisticsV2Mixin'
  19. import HostImageList from './components/List'
  20. export default {
  21. name: 'HostImageIndex',
  22. components: {
  23. HostImageList,
  24. },
  25. mixins: [ResStatisticsV2Mixin],
  26. data () {
  27. return {
  28. listId: 'HostImageList',
  29. apiVersion: 'v1',
  30. statusNormalList: ['active'],
  31. }
  32. },
  33. }
  34. </script>