Commit ec4626cc by lixinyi

brt暂存复核修改

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