Commit b37f67ac by sunxi

加页面

parent b6f2488c
...@@ -52,6 +52,9 @@ const BusRouter = [ ...@@ -52,6 +52,9 @@ const BusRouter = [
{ path: 'sndsel', component: () => import("./Sndsel/views"), name: 'Sndsel', meta: { keepAlive: true, title: '发报查询', module: 'frontend' } }, { path: 'sndsel', component: () => import("./Sndsel/views"), name: 'Sndsel', meta: { keepAlive: true, title: '发报查询', module: 'frontend' } },
{ path: 'msgdtl', component: () => import("./Msgdtl/views"), name: 'Msgdtl', meta: { keepAlive: true, title: '报文原文展示', module: 'frontend' } }, { path: 'msgdtl', component: () => import("./Msgdtl/views"), name: 'Msgdtl', meta: { keepAlive: true, title: '报文原文展示', module: 'frontend' } },
{ path: 'msgdtlrsm', component: () => import("./Msgdtlrsm/views"), name: 'Msgdtlrsm', meta: { keepAlive: true, title: '报文疑似重复详情页面', module: 'frontend' } }, { path: 'msgdtlrsm', component: () => import("./Msgdtlrsm/views"), name: 'Msgdtlrsm', meta: { keepAlive: true, title: '报文疑似重复详情页面', module: 'frontend' } },
{ path: 'Msgdtlsep', component: () => import("./Msgdtlsep/views"), name: 'Msgdtlsep', meta: { keepAlive: true, title: '报文失败处理详情页面', module: 'frontend' } },
{ path: 'Msgdtlrtm', component: () => import("./Msgdtlrtm/views"), name: 'Msgdtlrtm', meta: { keepAlive: true, title: '报文人工清分详情页面', module: 'frontend' } },
{ path: 'Msgdtlblk', component: () => import("./Msgdtlblk/views"), name: 'Msgdtlblk', meta: { keepAlive: true, title: '收报灰名单详情页面', module: 'frontend' } },
{ path: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理', module: 'frontend' } }, { path: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理', module: 'frontend' } },
{ path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', meta: { keepAlive: true, title: '收报疑似重复处理', module: 'frontend' } }, { path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', meta: { keepAlive: true, title: '收报疑似重复处理', module: 'frontend' } },
{ path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分', module: 'frontend' } }, { path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分', module: 'frontend' } },
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
<c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleCheck"> <c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleCheck">
放行 放行
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleReject"> <!-- <c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleReject">
丢弃 丢弃
</c-button> </c-button> -->
<c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleSkip"> <c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleSkip">
忽略 忽略
</c-button> </c-button>
...@@ -78,15 +78,31 @@ export default { ...@@ -78,15 +78,31 @@ export default {
let params={ let params={
mpsinr: this.$route.query.mpsinr || "", mpsinr: this.$route.query.mpsinr || "",
}; };
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/check`, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/rtmp/sav`, params);
if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '放行成功' })
}
});
},
async handleSkip() {
this.$confirm("确定忽略该报文?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then(async() => {
let params={
mpsinr: this.$route.query.mpsinr || "",
};
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/rtmp/skip`, params);
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '丢弃成功' }) this.$notify({ title: '成功', type: 'success', message: '忽略成功' })
} }
}); });
}, },
async handleReject() { async handleReSkip() {
this.$confirm("确定丢弃该报文?", "提示", { this.$confirm("确定取消忽略该报文?", "提示", {
confirmButtonText: "确认", confirmButtonText: "确认",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
...@@ -94,9 +110,9 @@ export default { ...@@ -94,9 +110,9 @@ export default {
let params={ let params={
mpsinr: this.$route.query.mpsinr || "", mpsinr: this.$route.query.mpsinr || "",
}; };
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/reject`, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/rtmp/reskip`, params);
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '丢弃成功' }) this.$notify({ title: '成功', type: 'success', message: '取消忽略成功' })
} }
}); });
}, },
......
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