GeneralParameters.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <v-container>
  3. <v-row>
  4. <v-col cols="6">
  5. <UiInputDatePicker
  6. v-model="parameters.financialDate"
  7. label="start_date_of_financial_season"
  8. field="financialDate"
  9. />
  10. </v-col>
  11. <v-col cols="6">
  12. <UiInputDatePicker
  13. v-model="parameters.musicalDate"
  14. label="start_date_of_activity_season"
  15. field="musicalDate"
  16. />
  17. </v-col>
  18. </v-row>
  19. <v-row>
  20. <v-col cols="6">
  21. <UiInputDatePicker
  22. v-model="parameters.startCourseDate"
  23. label="start_date_of_courses"
  24. field="startCourseDate"
  25. />
  26. </v-col>
  27. <v-col cols="6">
  28. <UiInputDatePicker
  29. v-model="parameters.endCourseDate"
  30. label="end_date_of_courses"
  31. field="endCourseDate"
  32. />
  33. </v-col>
  34. </v-row>
  35. <v-row>
  36. <v-col cols="6">
  37. <UiInputCheckbox
  38. v-model="parameters.showAdherentList"
  39. field="showAdherentList"
  40. label="show_adherents_list_and_their_coordinates"
  41. />
  42. </v-col>
  43. <v-col cols="6">
  44. <UiInputCheckbox
  45. v-model="parameters.studentsAreAdherents"
  46. field="showAdherentList"
  47. label="students_are_also_association_members"
  48. />
  49. </v-col>
  50. </v-row>
  51. <v-row>
  52. <UiInputCombobox
  53. v-model="parameters.timezone"
  54. field="timezone"
  55. :items="['Europe/Paris', 'Europe/Zurich', 'Indian/Reunion']"
  56. />
  57. </v-row>
  58. </v-container>
  59. </template>
  60. <script setup lang="ts">
  61. import {PropType} from "@vue/runtime-core";
  62. import Parameters from "~/models/Organization/Parameters";
  63. const props = defineProps({
  64. parameters: {
  65. type: Object as PropType<Parameters>,
  66. required: true
  67. }
  68. })
  69. </script>
  70. <style scoped lang="scss">
  71. </style>