Commit ec4626cc by lixinyi

brt暂存复核修改

parent 6d5cb87e
...@@ -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/brtacp/init', { const res = await Api.post('/service/brtacp/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/brtame/init', { const res = await Api.post('/service/brtame/init', {
...params, ...params,
......
...@@ -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/brtcan/init', { const res = await Api.post('/service/brtcan/init', {
...params, ...params,
......
...@@ -23,14 +23,11 @@ export default { ...@@ -23,14 +23,11 @@ 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/brtcsg/init', { const res = await Api.post('/service/brtcsg/init', {
...params, ...params,
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +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,
} }
if ( this.$route.query.inr != '' ) { if ( this.$route.query.inr != '' ) {
localStorage.setItem('row_brtdck',null) localStorage.setItem('row_brtdck',null)
......
...@@ -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/brtdcr/init', { const res = await Api.post('/service/brtdcr/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
// brdinr: this.$route.query.inr, // brdinr: this.$route.query.inr,
......
...@@ -23,14 +23,11 @@ export default { ...@@ -23,14 +23,11 @@ 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/brteus/init', { const res = await Api.post('/service/brteus/init', {
...params, ...params,
......
...@@ -24,13 +24,10 @@ export default { ...@@ -24,13 +24,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/brtlat/init', { const res = await Api.post('/service/brtlat/init', {
...params, ...params,
......
...@@ -21,9 +21,16 @@ export default { ...@@ -21,9 +21,16 @@ export default {
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
if( typeof(this.$route.query.inr) == 'string') {
params.spt = null
}
const loading = this.loading(); const loading = this.loading();
const res = await Api.post('/service/brtset/init', { const res = await Api.post('/service/brtset/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
brdgrp:{ brdgrp:{
......
...@@ -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,
} }
if( typeof(this.$route.query.inr) == 'string') { if( typeof(this.$route.query.inr) == 'string') {
params.spt = null params.spt = null
......
...@@ -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/brtudp/init', { const res = await Api.post('/service/brtudp/init', {
...params, ...params,
......
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