diff --git a/src/business/betacc/event/index.js b/src/business/betacc/event/index.js index ff564dd..3acda35 100644 --- a/src/business/betacc/event/index.js +++ b/src/business/betacc/event/index.js @@ -22,7 +22,8 @@ export default { ...doctre, async init () { const params = { - spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) + spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), + trninr: this.$route.query.trninr, } const res = await Api.post('/service/betacc/init', { ...params, diff --git a/src/business/betamc/event/index.js b/src/business/betamc/event/index.js index 4d5f5fc..e789761 100644 --- a/src/business/betamc/event/index.js +++ b/src/business/betamc/event/index.js @@ -23,6 +23,7 @@ export default { async init() { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), + trninr: this.$route.query.trninr, }; const res = await Api.post('/service/betamc/init', { ...params, diff --git a/src/business/betcan/event/index.js b/src/business/betcan/event/index.js index 33c6bc8..ad7ff0b 100644 --- a/src/business/betcan/event/index.js +++ b/src/business/betcan/event/index.js @@ -22,7 +22,8 @@ export default { ...doctre, async init () { const params = { - spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) + spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), + trninr: this.$route.query.trninr, } const res = await Api.post('/service/betcan/init', { ...params, diff --git a/src/business/betdcr/event/index.js b/src/business/betdcr/event/index.js index c9601fa..ca918d0 100644 --- a/src/business/betdcr/event/index.js +++ b/src/business/betdcr/event/index.js @@ -23,16 +23,14 @@ export default { async init () { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), - trnmod: { - trn: JSON.parse(localStorage.getItem('review_'+this.trnName)) - }, + trninr: this.$route.query.trninr, } if ( typeof(this.$route.query.inr) == 'string'){ params.spt = null - params.trnmod.trn = null } const res = await Api.post('/service/betdcr/init', { + ...params, transName: this.trnName, userId: window.sessionStorage.userId || 'ZL', bedgrp:{ diff --git a/src/business/betdrv/event/index.js b/src/business/betdrv/event/index.js index d77c89d..518b4ac 100644 --- a/src/business/betdrv/event/index.js +++ b/src/business/betdrv/event/index.js @@ -23,16 +23,14 @@ export default { async init () { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), - trnmod: { - trn: JSON.parse(localStorage.getItem('review_'+this.trnName)) - }, + trninr: this.$route.query.trninr, } if ( typeof(this.$route.query.inr) == 'string'){ params.spt = null - params.trnmod.trn = null } const res = await Api.post('/service/betdrv/init', { + ...params, transName: this.trnName, userId: window.sessionStorage.userId || 'ZL', bedgrp:{ diff --git a/src/business/betrcl/event/index.js b/src/business/betrcl/event/index.js index c5b5516..785d7a6 100644 --- a/src/business/betrcl/event/index.js +++ b/src/business/betrcl/event/index.js @@ -23,16 +23,14 @@ export default { async init () { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), - trnmod: { - trn: JSON.parse(localStorage.getItem('review_'+this.trnName)) - }, + trninr: this.$route.query.trninr, } if ( typeof(this.$route.query.inr) == 'string'){ params.spt = null - params.trnmod.trn = null } const res = await Api.post('/service/betrcl/init', { + ...params, transName: this.trnName, userId: window.sessionStorage.userId || 'ZL', bedgrp:{ diff --git a/src/business/betset/event/index.js b/src/business/betset/event/index.js index 1fe90a7..d731d9b 100644 --- a/src/business/betset/event/index.js +++ b/src/business/betset/event/index.js @@ -23,13 +23,10 @@ export default { async init () { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), - trnmod:{ - trn:JSON.parse(localStorage.getItem('review_'+this.trnName)) - } + trninr: this.$route.query.trninr, } if ( typeof(this.$route.query.inr) == 'string' ){ params.spt = null - params.trnmod.trn =null } const res = await Api.post('/service/betset/init', { ...params, diff --git a/src/business/betsnd/event/index.js b/src/business/betsnd/event/index.js index deb4da2..2a74be2 100644 --- a/src/business/betsnd/event/index.js +++ b/src/business/betsnd/event/index.js @@ -23,16 +23,14 @@ export default { async init () { const params = { spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), - trnmod: { - trn: JSON.parse(localStorage.getItem('review_'+this.trnName)) - }, + trninr: this.$route.query.trninr, } if ( typeof(this.$route.query.inr) == 'string'){ params.spt = null - params.trnmod.trn = null } const res = await Api.post('/service/betsnd/init', { + ...params, transName: this.trnName, userId: window.sessionStorage.userId || 'ZL', bedgrp:{