You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
980 B

3 years ago
  1. <template>
  2. <v-card>
  3. <v-tabs
  4. v-model="tab"
  5. >
  6. <v-tabs-slider color="primary" />
  7. <v-tab href="#tab-project" class="text-capitalize">
  8. Project
  9. </v-tab>
  10. <v-tab href="#tab-auto-labeling" class="text-capitalize">
  11. Auto Labeling
  12. </v-tab>
  13. </v-tabs>
  14. <v-divider />
  15. <v-tabs-items v-model="tab">
  16. <v-tab-item value="tab-project">
  17. <form-update />
  18. </v-tab-item>
  19. <v-tab-item value="tab-auto-labeling">
  20. <config-list />
  21. </v-tab-item>
  22. </v-tabs-items>
  23. </v-card>
  24. </template>
  25. <script lang="ts">
  26. import Vue from 'vue'
  27. import FormUpdate from '@/components/project/FormUpdate.vue'
  28. import ConfigList from '@/components/configAutoLabeling/ConfigList.vue'
  29. export default Vue.extend({
  30. components: {
  31. ConfigList,
  32. FormUpdate
  33. },
  34. layout: 'project',
  35. validate({ params }) {
  36. return /^\d+$/.test(params.id)
  37. },
  38. data() {
  39. return {
  40. tab: null
  41. }
  42. }
  43. })
  44. </script>