mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove and hint work tables
This commit is contained in:
parent
826a4e722e
commit
b98e7edda9
@ -1 +1 @@
|
||||
Subproject commit d7a8adc0943d418ea2ba25efb39210e96d292291
|
||||
Subproject commit 36ddbba5815435575b2d3c1270d738ccabc9eb54
|
||||
@ -125,7 +125,7 @@ export const store = new Vuex.Store({
|
||||
|
||||
|
||||
axios.post("http://localhost/transaction-creations/ajaxCreate", state.ajaxCreateData).then((result) => {
|
||||
console.log("ajaxCreate result", result)
|
||||
console.log("store ajaxCreate result", result)
|
||||
|
||||
if( result.success ){
|
||||
// TODO
|
||||
|
||||
@ -14,22 +14,23 @@
|
||||
<gdd-table />
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<!-- Card table -->
|
||||
|
||||
<!-- Card table
|
||||
<hr>
|
||||
<div>
|
||||
<gdd-add-work />
|
||||
|
||||
</div>
|
||||
<br>
|
||||
<!-- Card table -->
|
||||
-->
|
||||
<!-- Card table
|
||||
<div>
|
||||
<gdd-work-table />
|
||||
|
||||
</div>
|
||||
-->
|
||||
</base-header>
|
||||
<div @click="$store.dispatch('ajaxCreate')">this.$store.dispatch('ajaxCreate')</div>
|
||||
<div @click="$store.dispatch('ajaxListTransactions')">this.$store.dispatch('ajaxListTransactions')</div>
|
||||
<div @click="$store.dispatch('accountBalance')">this.$store.dispatch('accountBalance')</div>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
</template>
|
||||
@ -39,22 +40,19 @@
|
||||
import GddStatus from './KontoOverview/GddStatus.vue';
|
||||
import GddSent from './KontoOverview/GddSent.vue';
|
||||
import GddTable from './KontoOverview/GddTable.vue';
|
||||
import GddAddWork from './KontoOverview/GddAddWork.vue';
|
||||
import GddWorkTable from './KontoOverview/GddWorkTable.vue';
|
||||
//import GddAddWork from './KontoOverview/GddAddWork.vue';
|
||||
// import GddWorkTable from './KontoOverview/GddWorkTable.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GddStatus,
|
||||
GddSent,
|
||||
GddTable,
|
||||
GddAddWork,
|
||||
GddWorkTable
|
||||
GddTable
|
||||
//GddAddWork
|
||||
//GddWorkTable
|
||||
},
|
||||
created() {
|
||||
|
||||
|
||||
this.$store.dispatch('accountBalance')
|
||||
|
||||
created() {
|
||||
this.$store.dispatch('accountBalance')
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</template>
|
||||
<template #cell(details)="row">
|
||||
<b-button size="md" @click="row.toggleDetails" class="mr-2">
|
||||
{{ row.detailsShowing ? $t('site.overview.table.hide') : $t('site.overview.table.view') }}
|
||||
{{ row.detailsShowing ? $t('site.overview.table.hide') : $t('site.overview.table.view') }}
|
||||
</b-button>
|
||||
</template>
|
||||
|
||||
@ -73,10 +73,10 @@ export default {
|
||||
|
||||
//console.log("result.count",result.data.count)
|
||||
// console.log("result.gdtSum",result.data.gdtSum)
|
||||
// console.log("result.transactions",result.data.transactions)
|
||||
console.log("result.transactions",result.data.transactions)
|
||||
//commit('transactions', result.data.transactions)
|
||||
this.$store.state.user.balance_gdt = result.data.gdtSum
|
||||
this.items = result.data.transactions
|
||||
this.items = JSON.parse(result.data.transactions)
|
||||
|
||||
}, (error) => {
|
||||
console.log(error);
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 66dcb3a68397662c15729d559d64b4781a5e2f40
|
||||
Subproject commit 9b9115290c8d2ead756d64b70ae63a6571aa4693
|
||||
Loading…
x
Reference in New Issue
Block a user