1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| <script setup>
| import {routerBase} from "@/lib/api"
|
| const props = defineProps({
| kursTnByRolle: {
| type: Array,
| }
| })
|
|
| </script>
|
| <template>
|
| <table>
| <thead>
| <tr>
| <th>role_id</th>
| <th>usr_id</th>
| <th>firstname</th>
| <th>lastname</th>
| </tr>
| </thead>
| <tbody>
| <tr v-for="tn in kursTnByRolle">
| <td>{{ tn.role_id }}</td>
| <td>
| <RouterLink :to="`${routerBase}/ui/user/${tn.usr_id}`">{{ tn.usr_id }}</RouterLink>
| </td>
| <td>{{ tn.firstname }}</td>
| <td>{{ tn.lastname }}</td>
| </tr>
| </tbody>
| </table>
|
| </template>
|
| <style scoped>
|
| </style>
|
|