commented all console.log statements

This commit is contained in:
Moriz Wahl 2021-03-24 17:46:58 +01:00
parent 6762a028f2
commit e477c4d14b
13 changed files with 47 additions and 48 deletions

View File

@ -43,7 +43,6 @@ export default {
this.$i18n.locale = $cookies.get('gdd_lang')
this.$router.push('overview')
} else {
console.log('app.vue to Logout')
this.$store.dispatch('logout')
}
},

View File

@ -42,7 +42,7 @@ export default {
FadeTransition,
},
created() {
console.log('base-alert gesetzt in =>', this.$route.path)
//console.log('base-alert gesetzt in =>', this.$route.path)
},
props: {
type: {
@ -68,7 +68,6 @@ export default {
},
methods: {
dismissAlert() {
console.log('sdddddddddddddddddddddddd')
this.visible = false
this.$store.state.loginfail = false
},

View File

@ -75,7 +75,6 @@ export default {
this.deactivateAll()
}
this.active = !wasActive
console.log(this.active)
},
},
mounted() {

View File

@ -44,7 +44,7 @@ export const store = new Vuex.Store({
// Syncronous mutation of the state
mutations: {
language: (state, language) => {
console.log('mutation: language', language)
//console.log('mutation: language', language)
state.language = language
$cookies.set('gdd_lang', language)
if (state.language == 'de') {
@ -68,7 +68,7 @@ export const store = new Vuex.Store({
state.session_id = session_id
},
user_balance: (state, balance) => {
console.log('mutation: user_balance')
//console.log('mutation: user_balance')
state.user.balance = balance / 10000
},
user_balance_gdt: (state, balance) => {
@ -99,7 +99,7 @@ export const store = new Vuex.Store({
}
},
passwordReset: async data => {
console.log('<<<<<<<<<<< PASSWORT RESET TODO >>>>>>>>>>>', data.email)
//console.log('<<<<<<<<<<< PASSWORT RESET TODO >>>>>>>>>>>', data.email)
},
schoepfen: async data => {
// http://localhost/transaction-creations/ajaxCreate
@ -125,7 +125,7 @@ export const store = new Vuex.Store({
}
},
logout: async ({ commit, state }) => {
console.log('action: logout')
//console.log('action: logout')
// Are we actually logged in?
if (state.session_id) {
const result = await loginAPI.logout(state.session_id)
@ -143,26 +143,26 @@ export const store = new Vuex.Store({
//console.log('action: ajaxCreate')
state.ajaxCreateData.amount = state.ajaxCreateData.amount * 10000
const result = await communityAPI.create($cookies.get('gdd_session_id', email, amount, memo))
console.log(result)
//console.log(result)
},
ajaxListTransactions: async ({ commit, dispatch, state }) => {
// console.log('action: ajaxListTransactions', state.session_id)
// const result = await communityAPI.transactions(state.session_id)
},
accountBalance: async ({ commit, dispatch, state }) => {
console.log('action: accountBalance')
//console.log('action: accountBalance')
// console.log('action: dispatch', dispatch)
// console.log('action: state.session_id', state.session_id)
// console.log(" action: $cookies.get('gdd_session_id') ", $cookies.get("gdd_session_id") )
// commit('session_id', $cookies.get("gdd_session_id"))
// commit('email', $cookies.get("gdd_u"))
const result = await communityAPI.balance($cookies.get('gdd_session_id'))
console.log('accountBalance result', result)
console.log('aresult.result.data.balance', result.result.data.balance)
//console.log('accountBalance result', result)
//console.log('aresult.result.data.balance', result.result.data.balance)
if (result.success) {
commit('user_balance', result.result.data.balance)
} else {
console.log('action accountBalance to logout start')
//console.log('action accountBalance to logout start')
dispatch('logout')
}
},

View File

@ -296,7 +296,7 @@ export default {
this.transiencelist = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -307,7 +307,7 @@ export default {
this.transactionlist = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -318,7 +318,7 @@ export default {
this.userlist = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -329,7 +329,7 @@ export default {
this.communitystatistic = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -340,7 +340,7 @@ export default {
this.chartsstatistic = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -351,7 +351,7 @@ export default {
this.cardstatistic = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},
@ -362,7 +362,7 @@ export default {
this.userdata = d.data
},
error => {
console.log(error)
//console.log(error)
},
)
},

View File

@ -312,6 +312,7 @@ export default {
},
methods: {
onRowClick(params) {
/*
console.log('onRowClick', params.row.createdAt)
console.log('onRowClick', params.row.group)
console.log('onRowClick', params.row.id)
@ -319,6 +320,7 @@ export default {
console.log('onRowClick', params.row.originalIndex)
console.log('onRowClick', params.row.text)
console.log('onRowClick', params.row.vgt_id)
*/
this.creation.createdAt = params.row.createdAt
this.creation.group = params.row.group
@ -335,7 +337,7 @@ export default {
// params.event - click event
},
onSearch(params) {
console.log('onSearch', params)
//console.log('onSearch', params)
// params.searchTerm - term being searched for
// params.rowCount - number of rows that match search
},

View File

@ -236,7 +236,7 @@ export default {
},
methods: {
onRowClick(params) {
console.log(params.row)
//console.log(params.row)
this.showNewUser = false
// params.row - row object
// params.pageIndex - index of this row on the current page.
@ -245,7 +245,7 @@ export default {
// params.event - click event
},
onSearch(params) {
console.log(params)
//console.log(params)
// params.searchTerm - term being searched for
// params.rowCount - number of rows that match search
},

View File

@ -132,7 +132,7 @@ export default {
},
methods: {
onRowClick(params) {
console.log(params)
//console.log(params)
// params.row - row object
// params.pageIndex - index of this row on the current page.
// params.selected - if selection is enabled this argument
@ -140,12 +140,12 @@ export default {
// params.event - click event
},
onSearch(params) {
console.log(params)
//console.log(params)
// params.searchTerm - term being searched for
// params.rowCount - number of rows that match search
},
mySearchFn(params) {
console.log(params)
//console.log(params)
},
},
}

View File

@ -188,9 +188,9 @@ export default {
},
onSubmit(event) {
event.preventDefault()
console.log('onSUBMIT this.form.from >>>>', this.form.from)
console.log('onSUBMIT this.form.from >>>>', this.$moment(this.form.from))
console.log('onSUBMIT this.form.to >>>>', this.form.to)
//console.log('onSUBMIT this.form.from >>>>', this.form.from)
//console.log('onSUBMIT this.form.from >>>>', this.$moment(this.form.from))
//console.log('onSUBMIT this.form.to >>>>', this.form.to)
// console.log("onSUBMIT >>>>", this.getHours(this.form.from, this.form.to))
this.form.sendtime = new Date()
alert(JSON.stringify(this.form))

View File

@ -200,19 +200,19 @@ export default {
},
methods: {
getTR(m, i) {
console.log(m + '-' + i)
//console.log(m + '-' + i)
},
stunden(hour, i, mon) {
let n = 0
console.log('stunden(form)=>', hour)
console.log('stunden(i)=>', i)
console.log('stunden(mon)=>', mon)
//console.log('stunden(form)=>', hour)
//console.log('stunden(i)=>', i)
//console.log('stunden(mon)=>', mon)
console.log('this.stundenSumme start=> ', this.stundenSumme)
//console.log('this.stundenSumme start=> ', this.stundenSumme)
this.stundenSumme = 0
console.log('arr.length => ', this.form.length)
//console.log('arr.length => ', this.form.length)
for (n; n < this.form.length; n++) {
console.log('>arr[n]=> ', this.form[n])
//console.log('>arr[n]=> ', this.form[n])
if (this.form[n] > 0) {
this.stundenSumme += parseInt(this.form[n])
}
@ -226,7 +226,7 @@ export default {
TextDecoded: '',
})
this.index++
console.log('this.stundenSumme ende=> ', this.stundenSumme)
//console.log('this.stundenSumme ende=> ', this.stundenSumme)
},
addNewMessage: function() {
this.messages.push({
@ -235,29 +235,29 @@ export default {
})
},
deleteNewMessage: function(event) {
console.log('deleteNewMessage:event) => ', event)
//console.log('deleteNewMessage:event) => ', event)
//console.log("deleteNewMessage:this.events.splice(this.event) => ", this.events.splice(this.event))
this.form.splice(event, null)
this.messages.splice(index, 1)
this.index--
},
submitForm: function(e) {
console.log(this.messages)
//console.log(this.messages)
this.messages = [{ DaysNumber: '', TextDecoded: '' }]
this.submitted = true
},
submitForm2() {
console.log('submitForm2 TODO')
//console.log('submitForm2 TODO')
},
submitForm3() {
console.log('submitForm3 TODO')
//console.log('submitForm3 TODO')
},
textFocus() {
console.log('textFocus TODO')
//console.log('textFocus TODO')
},
newWorkForm() {
console.log('newWorkForm TODO')
//console.log('newWorkForm TODO')
},
},
}

View File

@ -183,10 +183,10 @@ export default {
this.sent = true
},
async onDecode(decodedString) {
console.log('onDecode JSON.parse(decodedString)', JSON.parse(decodedString))
//console.log('onDecode JSON.parse(decodedString)', JSON.parse(decodedString))
const arr = JSON.parse(decodedString)
console.log('qr-email', arr[0].email)
console.log('qr-amount', arr[0].amount)
//console.log('qr-email', arr[0].email)
//console.log('qr-amount', arr[0].amount)
this.form.email = arr[0].email
this.form.amount1 = arr[0].amount

View File

@ -107,7 +107,7 @@ export default {
this.items = result.result.data.transactions
this.count = result.result.data.count
} else {
console.log('error', result)
//console.log('error', result)
}
},
computed: {

View File

@ -178,7 +178,7 @@ export default {
})
},
loginAsAdmin() {
console.log('app.vue admin login(): ' + this.$store.state.is_admin)
//console.log('app.vue admin login(): ' + this.$store.state.is_admin)
this.modals = false
this.$store.commit('loginAsAdmin')
this.$router.push('/AdminOverview')