mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
clean up account overview
This commit is contained in:
parent
fb4e0d849f
commit
d23ee1a6b4
@ -7,7 +7,6 @@
|
|||||||
<b-col class="col-11 bg-gray text-white p-3">
|
<b-col class="col-11 bg-gray text-white p-3">
|
||||||
<gdd-status
|
<gdd-status
|
||||||
class="gdd-status-gdd"
|
class="gdd-status-gdd"
|
||||||
v-if="showContext"
|
|
||||||
:pending="pending"
|
:pending="pending"
|
||||||
:balance="balance"
|
:balance="balance"
|
||||||
status-text="GDD"
|
status-text="GDD"
|
||||||
@ -20,7 +19,6 @@
|
|||||||
<b-col class="bg-white text-gray p-3">
|
<b-col class="bg-white text-gray p-3">
|
||||||
<gdd-status
|
<gdd-status
|
||||||
class="gdd-status-gdt"
|
class="gdd-status-gdt"
|
||||||
v-if="showContext"
|
|
||||||
:pending="pending"
|
:pending="pending"
|
||||||
:balance="GdtBalance"
|
:balance="GdtBalance"
|
||||||
status-text="GDT"
|
status-text="GDT"
|
||||||
@ -30,20 +28,14 @@
|
|||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<template #transaction-form>
|
|
||||||
<transaction-form :balance="balance" @set-transaction="setTransaction"></transaction-form>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<gdd-transaction-list
|
<gdd-transaction-list
|
||||||
v-if="showContext"
|
|
||||||
:transactions="transactions"
|
:transactions="transactions"
|
||||||
:pageSize="5"
|
:pageSize="5"
|
||||||
:timestamp="timestamp"
|
:timestamp="timestamp"
|
||||||
:transaction-count="transactionCount"
|
:transaction-count="transactionCount"
|
||||||
@update-transactions="updateTransactions"
|
@update-transactions="updateTransactions"
|
||||||
/>
|
/>
|
||||||
<gdd-transaction-list-footer v-if="showContext" :count="transactionCount" />
|
<gdd-transaction-list-footer :count="transactionCount" />
|
||||||
</b-container>
|
</b-container>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -64,7 +56,6 @@ export default {
|
|||||||
timestamp: Date.now(),
|
timestamp: Date.now(),
|
||||||
error: false,
|
error: false,
|
||||||
errorResult: '',
|
errorResult: '',
|
||||||
currentTransactionStep: 0,
|
|
||||||
loading: false,
|
loading: false,
|
||||||
datacollectionGdd: null,
|
datacollectionGdd: null,
|
||||||
datacollectionGdt: null,
|
datacollectionGdt: null,
|
||||||
@ -82,20 +73,7 @@ export default {
|
|||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
showContext() {
|
|
||||||
return this.currentTransactionStep === 0
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
setTransaction(data) {
|
|
||||||
this.currentTransactionStep = 1
|
|
||||||
},
|
|
||||||
|
|
||||||
onReset() {
|
|
||||||
this.currentTransactionStep = 0
|
|
||||||
},
|
|
||||||
|
|
||||||
updateTransactions(pagination) {
|
updateTransactions(pagination) {
|
||||||
this.$emit('update-transactions', pagination)
|
this.$emit('update-transactions', pagination)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user