Commit a2ee07c9 by sunxi

1018晚实现疑似重复原报文展示

parent b005996f
...@@ -4,6 +4,7 @@ export default class Msgdtlrsm { ...@@ -4,6 +4,7 @@ export default class Msgdtlrsm {
constructor() { constructor() {
this.data = { this.data = {
msgdtll: '', msgdtll: '',
msgdtlll: '',
mdtp: { mdtp: {
mdtmod: { mdtmod: {
mpelst: [], // .mdtp.mdtmod.mpelst mpelst: [], // .mdtp.mdtmod.mpelst
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
返回 返回
</c-button> </c-button>
<p style="margin-top: 20px;margin-left: 0;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtll"></p> <p style="margin-top: 20px;margin-left: 0;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtll"></p>
<p style="margin-top: 20px;margin-left: 0;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtlll"></p> <p style="margin-top: 20px;margin-left: 60%;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtlll"></p>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="true" <el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="true"
title="历史记录" destroy-on-close width="50%"> title="历史记录" destroy-on-close width="50%">
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
data() { data() {
return { return {
tabVal: "msgdtlp", tabVal: "msgdtlp",
trnName: "msgdtl", trnName: "msgdtlrsm",
model: new Msgdtlrsm().data, model: new Msgdtlrsm().data,
rules: Check, rules: Check,
codes: { codes: {
...@@ -59,14 +59,18 @@ export default { ...@@ -59,14 +59,18 @@ export default {
} }
}, },
created: async function () { created: async function () {
console.log("进入msgdtl交易"); console.log("进入msgdtlrsm交易");
let params = { let params = {
mpsinr: this.$route.query.mpsinr || "", mpsinr: this.$route.query.mpsinr || "",
}; };
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgdtl/init`, params);
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
this.model.msgdtll = rtnmsg.data this.model.msgdtll = rtnmsg.data
} }
const rtnmsgrsm = await Api.post(`/${this.moduleRouter()}/msgdtl/rsm`, params);
if (rtnmsgrsm.respCode === SUCCESS) {
this.model.msgdtlll = rtnmsgrsm.data
}
} }
} }
</script> </script>
......
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