Commit 4d988f32 by xionglin

litdla

parent 2d31cd82
......@@ -23,7 +23,14 @@ export default {
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
}
const res = await Api.post('/service/litdla/init', {
...params,
......
......@@ -51,11 +51,9 @@ export default {
},
async continueEdit(row, scope) {
let trnName = row.frm.toLowerCase();
localStorage.setItem(`row_${row.frm.toLowerCase()}`, JSON.stringify(row))
this.$router.push({
path: 'business-new/' + trnName,
query: {
trn: row.inr
}
});
},
// pageSize改变
......
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