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

  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. layout: 'project',
  31. components: {
  32. ConfigList,
  33. FormUpdate
  34. },
  35. data() {
  36. return {
  37. tab: null
  38. }
  39. },
  40. validate({ params }) {
  41. return /^\d+$/.test(params.id)
  42. }
  43. })
  44. </script>