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 {
...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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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:{
......
......@@ -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:{
......
......@@ -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:{
......
......@@ -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,
......
......@@ -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:{
......
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