Commit 180ac571 by lixinyi

lit复核参数补全

parent 1d46e4d0
......@@ -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/litame/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/litdav/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,
brdgrp:{
rec:{
inr:this.$route.query.brdinr
......
......@@ -24,13 +24,10 @@ export default {
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/litdla/init', {
...params,
......
......@@ -22,9 +22,7 @@ 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,
}
const res = await Api.post('/service/litopn/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/litrog/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