Commit 2b1b9138 by xionglin

litopn

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