Commit 2b1b9138 by xionglin

litopn

parent 69b20250
...@@ -21,14 +21,16 @@ export default { ...@@ -21,14 +21,16 @@ 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))
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
} }
const loading = this.loading(); const loading = this.loading();
const res = await Api.post('/service/litopn/init', { const res = await Api.post('/service/litopn/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
}); });
loading.close(); loading.close();
if (!res.data) { if (!res.data) {
......
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