Commit 0e08d382 by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 526b25ed 46dc92a9
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { 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', { const res = await Api.post('/service/betacc/init', {
...params, ...params,
......
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
async init() { async init() {
const params = { 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/betamc/init', { const res = await Api.post('/service/betamc/init', {
...params, ...params,
......
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { 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', { const res = await Api.post('/service/betcan/init', {
...params, ...params,
......
...@@ -23,16 +23,14 @@ export default { ...@@ -23,16 +23,14 @@ export default {
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: { trninr: this.$route.query.trninr,
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
} }
if ( typeof(this.$route.query.inr) == 'string'){ if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null params.spt = null
params.trnmod.trn = null
} }
const res = await Api.post('/service/betdcr/init', { const res = await Api.post('/service/betdcr/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
bedgrp:{ bedgrp:{
......
...@@ -23,16 +23,14 @@ export default { ...@@ -23,16 +23,14 @@ export default {
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: { trninr: this.$route.query.trninr,
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
} }
if ( typeof(this.$route.query.inr) == 'string'){ if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null params.spt = null
params.trnmod.trn = null
} }
const res = await Api.post('/service/betdrv/init', { const res = await Api.post('/service/betdrv/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
bedgrp:{ bedgrp:{
......
...@@ -23,16 +23,14 @@ export default { ...@@ -23,16 +23,14 @@ export default {
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: { trninr: this.$route.query.trninr,
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
} }
if ( typeof(this.$route.query.inr) == 'string'){ if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null params.spt = null
params.trnmod.trn = null
} }
const res = await Api.post('/service/betrcl/init', { const res = await Api.post('/service/betrcl/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
bedgrp:{ bedgrp:{
......
...@@ -23,13 +23,10 @@ export default { ...@@ -23,13 +23,10 @@ export default {
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{ trninr: this.$route.query.trninr,
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
} }
if ( typeof(this.$route.query.inr) == 'string' ){ if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null params.spt = null
params.trnmod.trn =null
} }
const res = await Api.post('/service/betset/init', { const res = await Api.post('/service/betset/init', {
...params, ...params,
......
...@@ -23,16 +23,14 @@ export default { ...@@ -23,16 +23,14 @@ export default {
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: { trninr: this.$route.query.trninr,
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
} }
if ( typeof(this.$route.query.inr) == 'string'){ if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null params.spt = null
params.trnmod.trn = null
} }
const res = await Api.post('/service/betsnd/init', { const res = await Api.post('/service/betsnd/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
bedgrp:{ bedgrp:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment