Commit 360936ad by liuxin

待复核详情暂存

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