Commit 360936ad by liuxin

待复核详情暂存

parent 1d5b4c68
......@@ -368,12 +368,12 @@ export default {
onSeainf() {
},
display(index, row) {
const d = this.stmData.data[index]
const ds = d.split("\t")
let viewurl = "/#/display/" + ds['10'].toLowerCase() + "?trn=" + ds['1']
window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
},
// display(index, row) {
// const d = this.stmData.data[index]
// const ds = d.split("\t")
// let viewurl = "/#/display/" + ds['10'].toLowerCase() + "?trn=" + ds['1']
// window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
// },
async handleSearch() {
const that = this.root;
// if (this.model.searchAllUsers) {
......
......@@ -32,7 +32,7 @@
</el-form-item>
</c-col>
<c-col :span="10" style="text-align:right">
<c-button size="small" type="primary" style="margin-left:0">交易快照</c-button>
<c-button size="small" type="primary" style="margin-left:0" @click="display">交易快照</c-button>
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button>
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button>
</c-col>
......@@ -470,6 +470,17 @@ export default {
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList");
},
display() {
debugger
const inr = this.model.trn.inr;
Api.post("getTrnNameByInr", { inr: inr}).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + 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');
}
});
},
...Event
}
}
......
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