Commit 4d988f32 by xionglin

litdla

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