mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
step pre pull dario
This commit is contained in:
parent
355ec8618c
commit
188d809d45
@ -145,11 +145,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async updateGdt() {
|
async updateGdt() {
|
||||||
// const result2 = await communityAPI.transactionsgdt(this.$store.state.sessionId)
|
const result2 = await communityAPI.transactionsgdt(this.$store.state.sessionId)
|
||||||
// console.log(' communityAPI.transactionsgdt')
|
console.log(' communityAPI.transactionsgdt')
|
||||||
// console.log(result2)
|
console.log(result2)
|
||||||
|
|
||||||
this.transactionsGdt = [
|
this.transactionsGdt =
|
||||||
{
|
{
|
||||||
state: 'success',
|
state: 'success',
|
||||||
gdt: [
|
gdt: [
|
||||||
@ -208,9 +208,8 @@ export default {
|
|||||||
],
|
],
|
||||||
transactionGdtExecutingCount: 4500,
|
transactionGdtExecutingCount: 4500,
|
||||||
count: 4,
|
count: 4,
|
||||||
},
|
}
|
||||||
]
|
this.transactionGdtCount = this.transactionsGdt.count
|
||||||
this.transactionGdtCount = this.transactionsGdt[0].count
|
|
||||||
// console.log('transactionGdtCount', this.transactionGdtCount)
|
// console.log('transactionGdtCount', this.transactionGdtCount)
|
||||||
},
|
},
|
||||||
updateBalance(ammount) {
|
updateBalance(ammount) {
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
amount2,
|
amount2,
|
||||||
factor2,
|
factor2,
|
||||||
gdt,
|
gdt,
|
||||||
} in this.transactionsGdt[0].gdt"
|
} in this.transactionsGdt.gdt"
|
||||||
:key="id"
|
:key="id"
|
||||||
>
|
>
|
||||||
<div class="d-flex w-100 justify-content-between">
|
<div class="d-flex w-100 justify-content-between">
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
<gdt-transaction-list
|
<gdt-transaction-list
|
||||||
:transactionsGdt="transactionsGdt"
|
:transactionsGdt="transactionsGdt"
|
||||||
:transactionGdtCount="transactionGdtCount"
|
:transactionGdtCount="transactionGdtCount"
|
||||||
|
@update-gdt="updateGdt"
|
||||||
/>
|
/>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
</b-tabs>
|
</b-tabs>
|
||||||
@ -55,6 +56,9 @@ export default {
|
|||||||
updateTransactions(pagination) {
|
updateTransactions(pagination) {
|
||||||
this.$emit('update-transactions', pagination)
|
this.$emit('update-transactions', pagination)
|
||||||
},
|
},
|
||||||
|
updateGdt() {
|
||||||
|
this.$emit('update-gdt')
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user