OOP zu BuLi-Tipp hinzugefügt
This commit is contained in:
@@ -6,13 +6,15 @@ export default {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
spieltage: {
|
||||
ts: {
|
||||
type: null,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
||||
myts(){
|
||||
console.log(this.ts, this.users);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
@@ -21,7 +23,7 @@ export default {
|
||||
<template>
|
||||
<section class="buli-table" id="buli-table">
|
||||
<br /><br />
|
||||
|
||||
{{ myts }}
|
||||
<h2>Punktetabelle</h2>
|
||||
<!--<div id="load-table-btn-container">
|
||||
<button id="load-table-btn">Punkte ausrechnen</button>
|
||||
@@ -30,15 +32,15 @@ export default {
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tag</td>
|
||||
<td v-for="spieltag in spieltage[0]">{{ spieltag.user.name }}</td>
|
||||
<td v-for="spieltag in ts[0]">{{ spieltag.user.username }}</td>
|
||||
</tr>
|
||||
<tr v-for="spieltag, i in spieltage">
|
||||
<td>{{ parseInt(i)+1 }}</td>
|
||||
<tr v-for="spieltag, i in ts">
|
||||
<td>{{ i+1 }}</td>
|
||||
|
||||
<!-- Modal -->
|
||||
|
||||
<!-- Open BTN -->
|
||||
<td class="as-link" v-for="userpoints in spieltag">{{ userpoints.points }}</td>
|
||||
<td class="as-link" v-for="userpoints in spieltag">{{ userpoints.tsPoints }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user