Commit 8c5076a9 by liaoxing

display交易快照修改

parent fa167027
......@@ -216,31 +216,19 @@ export default {
},
//交易快照
async display(trnInr) {
let viewurl = 'business-new/inftrnpsDetail';
debugger
display(inr) {
let params = {
inr: this.trn.inr,
transName: 'trnrel',
userId: sessionStorage.getItem('userId') || 'ZL',
};
debugger
const res = await Api.post('/service/trnrel/getTrnNameByInr', params);
debugger
if (res.respCode === 'AAAAAA') {
let model = res.data;
debugger
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(model));
debugger
this.$router.push({ path: viewurl, query: {} });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!';
this.$notify.error({
title: '错误',
message: h('p', { style: 'word-break:break-all;' }, msg),
});
}
inr: inr,
transName: 'trnrel',
userId: sessionStorage.getItem('userId') || 'ZL',
};
Api.post('/service/trnrel/getTrnNameByInr', params).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/business-new/" + trnName + "?trn=" + inr
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
//处理-退回
......
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