Commit 526b25ed by liaoxing

解决交易快照 无传值问题

parent 6473420b
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ 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)),
trninr: this.$route.query.trninr,
} }
const res = await Api.post('/service/cctdav/init', { const res = await Api.post('/service/cctdav/init', {
...params, ...params,
......
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
Api.post('/service/trnrel/getTrnNameByInr', params).then((res) => { Api.post('/service/trnrel/getTrnNameByInr', params).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase(); const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + inr let viewurl = "/#/display/" + trnName + "?trninr=" + inr
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); 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