mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02:00
feat:#104 added fetcher for exams
This commit is contained in:
@@ -36,6 +36,7 @@ export async function fetchModulesByCourseAndSemester(
|
||||
module.uuid,
|
||||
module.name,
|
||||
course,
|
||||
module.eventType,
|
||||
module.name,
|
||||
module.prof,
|
||||
semester,
|
||||
@@ -61,6 +62,7 @@ export async function fetchAllModules(): Promise<Module[]> {
|
||||
module.uuid,
|
||||
module.name,
|
||||
module.course,
|
||||
module.eventType,
|
||||
module.name,
|
||||
module.prof,
|
||||
module.semester,
|
||||
|
@@ -5,6 +5,7 @@ export class Module {
|
||||
public uuid: string,
|
||||
public name: string,
|
||||
public course: string,
|
||||
public eventType: string,
|
||||
public userDefinedName: string,
|
||||
public prof: string,
|
||||
public semester: string,
|
||||
|
@@ -33,6 +33,10 @@ const filters = ref({
|
||||
value: null,
|
||||
matchMode: FilterMatchMode.CONTAINS,
|
||||
},
|
||||
eventType: {
|
||||
value: null,
|
||||
matchMode: FilterMatchMode.CONTAINS,
|
||||
},
|
||||
prof: {
|
||||
value: null,
|
||||
matchMode: FilterMatchMode.CONTAINS,
|
||||
@@ -156,6 +160,21 @@ function unselectModule(event: DataTableRowUnselectEvent) {
|
||||
/>
|
||||
</template>
|
||||
</Column>
|
||||
<Column
|
||||
field="eventType"
|
||||
:header="$t('additionalModules.eventType')"
|
||||
:show-clear-button="false"
|
||||
:show-filter-menu="false"
|
||||
>
|
||||
<template #filter="{ filterModel, filterCallback }">
|
||||
<InputText
|
||||
v-model="filterModel.value"
|
||||
type="text"
|
||||
class="p-column-filter max-w-10rem"
|
||||
@input="filterCallback()"
|
||||
/>
|
||||
</template>
|
||||
</Column>
|
||||
<Column
|
||||
field="prof"
|
||||
:header="$t('additionalModules.professor')"
|
||||
|
Reference in New Issue
Block a user