Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
26e6c5ad
Commit
26e6c5ad
authored
Sep 29, 2024
by
zenghuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报文疑似重复、报文失败
parent
55c3bffe
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1011 additions
and
1456 deletions
+1011
-1456
index.js
src/page/Frontend/Msgrsm/event/index.js
+94
-0
Event.js
src/page/Frontend/Msgrsm/model/Event.js
+0
-91
index.js
src/page/Frontend/Msgrsm/model/index.js
+32
-34
Rsmp.vue
src/page/Frontend/Msgrsm/views/Rsmp.vue
+352
-579
index.vue
src/page/Frontend/Msgrsm/views/index.vue
+26
-75
index.js
src/page/Frontend/Msgsep/event/index.js
+94
-0
index.js
src/page/Frontend/Msgsep/model/index.js
+32
-31
Mainp.vue
src/page/Frontend/Msgsep/views/Mainp.vue
+355
-567
index.vue
src/page/Frontend/Msgsep/views/index.vue
+26
-79
No files found.
src/page/Frontend/Msgrsm/event/index.js
0 → 100644
View file @
26e6c5ad
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
export
default
{
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
if
(
!
rcvdatsta
||
rcvdatsta
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
return
;
}
let
rcvdatend
=
this
.
model
.
sndp
.
rcvdatend
;
if
(
!
rcvdatend
||
rcvdatend
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/webapi/gjzf/msgsel/query"
,
{
...
this
.
model
.
sndp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:{
sta1
}}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
sta1
){
if
(
sta1
[
i
].
value
==
v
.
sta
){
v
.
sta
=
sta1
[
i
].
label
;
}
}
})
this
.
stmData
.
data
=
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
sndp
.
msgtyp
=
""
;
this
.
model
.
sndp
.
rcvdatsta
=
new
Date
();
this
.
model
.
sndp
.
rcvdatend
=
new
Date
();
this
.
model
.
sndp
.
subtyp
=
""
;
this
.
model
.
sndp
.
sndbak
=
""
;
this
.
model
.
sndp
.
revbak
=
""
;
this
.
model
.
sndp
.
actbic
=
""
;
this
.
model
.
sndp
.
othref
=
""
;
this
.
model
.
sndp
.
ownref
=
""
;
this
.
model
.
sndp
.
cur
=
""
;
this
.
model
.
sndp
.
act
=
""
;
this
.
model
.
sndp
.
amtmin
=
""
;
this
.
model
.
sndp
.
amtmax
=
""
;
this
.
model
.
sndp
.
chnipt
=
""
;
this
.
model
.
sndp
.
rspsta
=
""
;
this
.
model
.
sndp
.
dtlchg
=
""
;
this
.
model
.
sndp
.
sta
=
""
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
handleSelectionChange
(
val
){
this
.
multipleSelection
=
val
;
}
},
};
src/page/Frontend/Msgrsm/model/Event.js
deleted
100644 → 0
View file @
55c3bffe
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onMdtmodTnsbtn
(){
let
rtnmsg
=
await
this
.
executeRule
(
"mdtmod.tnsbtn"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onMdtmodOrgmsg
(){
let
rtnmsg
=
await
this
.
executeRule
(
"mdtmod.orgmsg"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onMdtmodExpmsg
(){
let
rtnmsg
=
await
this
.
executeRule
(
"mdtmod.expmsg"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onMdtmodShwcipsdtl
(){
let
rtnmsg
=
await
this
.
executeRule
(
"mdtmod.shwcipsdtl"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRsmpSnd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rsmp.snd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRsmpDrp
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rsmp.drp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRsmpRtn
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rsmp.rtn"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/page/Frontend/Msgrsm/model/index.js
View file @
26e6c5ad
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Msgrsm
{
export
default
class
Msgrsm
{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
msggrp
:{
sndp
:
{
mps
:{
rcvdatsta
:
""
,
// : 起始日期
rcvdattim
:
""
,
// 消息接收时间 .msggrp.mps.rcvdattim
rcvdatend
:
""
,
// : 截止日期
srcchncod
:
""
,
// 源渠道代码 .msggrp.mps.srcchncod
msgtyp
:
""
,
// : 报文标准
tgtchncod
:
""
,
// 最终渠道代码 .msggrp.mps.tgtchncod
subtyp
:
""
,
// : 报文类型
},
sndbak
:
""
,
// : 发报行BIC
mpi
:{
revbak
:
""
,
// : 收报行BIC
ownref
:
""
,
// 我方编号 .msggrp.mpi.ownref
actbic
:
""
,
// : 账户行
othref
:
""
,
// 对方编码 .msggrp.mpi.othref
othref
:
""
,
// : 21域编号
act
:
""
,
// 账号 .msggrp.mpi.act
ownref
:
""
,
// : 20域编
cur
:
""
,
// 币种 .msggrp.mpi.cur
cur
:
""
,
// : 币种
amt
:
""
,
// 金额 .msggrp.mpi.amt
act
:
""
,
// : 账号
valdat
:
""
,
// 有效期 .msggrp.mpi.valdat
amtmin
:
""
,
// : 金额下限
},
amtmax
:
""
,
// : 金额上限
mpe
:{
chnipt
:
""
,
// 行内系统 .sndp.chnipt
txt
:
""
,
// 处理说明 .msggrp.mpe.txt
rspsta
:
""
,
// 回执状态 .sndp.rspsta
},
tblrsp
:
""
,
// 回执状态标签 .sndp.tblrsp
},
tblrsm
:
""
,
// 回执状态标签 .sndp.tblrsm
rsmp
:{
usrnam
:
""
,
// 操作员 .sndp.usrnam
pcrmod
:{
starsp
:
""
,
// 处理状态标签 .sndp.starsp
mpelst
:[],
// .rsmp.pcrmod.mpelst
starsm
:
""
,
// 处理状态标签 .sndp.starsm
beizhu
:
""
,
// 备注 .rsmp.pcrmod.beizhu
sta
:
""
,
// 处理状态 .sndp.sta
},
dtlchg
:
""
,
// : 费用明细
nxtcldchn
:
""
,
// 国际支付前置子系统 .rsmp.nxtcldchn
starsp1
:
""
,
// 处理状态标签1 .sndp.starsp1
chk
:
""
,
// 抄送 .rsmp.chk
starsm1
:
""
,
// 处理状态标签1 .sndp.starsm1
nxttxtchn
:
""
,
// 子系统标签 .rsmp.nxttxtchn
sta1
:
""
,
// 处理状态1 .sndp.sta1
mdtmod
:{
expexl
:
""
,
// 导出 .sndp.expexl
mpelst
:[],
// .rsmp.mdtmod.mpelst
expexl2
:
""
,
// 3910导出 .sndp.expexl2
msgdtl
:
""
,
// 报文展示 .rsmp.mdtmod.msgdtl
gpelst
:[],
// .rsmp.mdtmod.gpelst
gpe192lst
:[],
// .rsmp.mdtmod.gpe192lst
gpeutrlst
:[],
// .rsmp.mdtmod.gpeutrlst
},
},
msggrp
:
{
rcvlst
:
[],
// .msggrp.rcvlst
},
},
pageId
:
""
// ctx的key
pageId
:
""
// ctx的key
}
}
...
...
src/page/Frontend/Msgrsm/views/Rsmp.vue
View file @
26e6c5ad
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<!-- FD000001 : 境外渠道: -->
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<!-- 持续展示区 -->
<c-col
:span=
"12"
>
<template
v-slot=
"searchSlot"
>
<span
v-text=
"model.msggrp.mps.tgtchncod"
data-code=
"chncod"
data-path=
".msggrp.mps.tgtchncod"
>
</span>
<el-row>
</c-col>
<!-- FD000006 : 帐号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.act"
data-path=
".msggrp.mpi.act"
>
</span>
</c-col>
<!-- FD000002 : 行内系统: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mps.srcchncod"
data-code=
"chncod"
data-path=
".msggrp.mps.srcchncod"
>
</span>
</c-col>
<!-- FD000007 : 币种/金额: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.amt"
data-path=
".msggrp.mpi.amt"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.cur"
data-code=
"cur"
data-path=
".msggrp.mpi.cur"
>
</span>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"报文标准"
prop=
"msgtyp"
style=
"width: 100%"
>
:data=
"model.rsmp.mdtmod.gpe192lst"
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
placeholder=
"请选择货押标识"
:code=
"codes.msgtyp3"
>
style=
"width: 100%"
</c-select>
>
</el-form-item>
<el-table-column
prop=
"subtyp"
label=
"报文类型"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"orgbic"
label=
"状态发起行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"原因码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"upddattim"
label=
"更新时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"开立日期"
prop=
"rcvdatsta"
style=
"width: 100%"
>
<span
v-text=
"model.rsmp.mdtmod.msgdtl"
data-path=
".rsmp.mdtmod.msgdtl"
>
</span>
<c-col
:span=
"11"
>
</c-col>
<c-date-picker
type=
"date"
v-model=
"model.sndp.rcvdatsta"
style=
"width: 100%"
></c-date-picker>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.rsmp.mdtmod.mpelst"
style=
"width: 100%"
>
<el-table-column
prop=
"dattim"
label=
"处理时间"
sortable
width=
"160"
>
</el-table-column>
<el-table-column
prop=
"usr"
label=
"操作用户"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"chncod"
label=
"当前渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"nxtchncod"
label=
"下一渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
nxtchncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"prvsta"
label=
"处理前状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
msgsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
prvsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
msgsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"备注"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.sndp.rcvdatend"
style=
"width: 100%"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
prop=
"subtype"
style=
"width: 100%"
>
<el-select
v-model=
"model.sndp.subtyp"
placeholder=
"请选择报文类型"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"发报行BIC"
prop=
"sndbak"
style=
"width: 100%"
>
:data=
"model.rsmp.mdtmod.gpelst"
<c-input
v-model=
"model.sndp.sndbak"
maxlength=
"40"
placeholder=
"请输入发报行BIC"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
</c-col>
prop=
"subtyp"
<c-col
:span=
"8"
>
label=
"报文类型"
<el-form-item
label=
"收报行BIC"
prop=
"revbak"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.revbak"
maxlength=
"40"
placeholder=
"请输入收报行BIC"
>
width=
"80"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"orgbic"
<c-col
:span=
"8"
>
label=
"状态发起行BIC"
<el-form-item
label=
"账户行BIC"
prop=
"actbic"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.actbic"
maxlength=
"40"
placeholder=
"请输入账户行BIC"
>
width=
"110"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"fwdbic"
label=
"状态转发行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"处理码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"stasndtim"
label=
"处理时间"
sortable
width=
"135"
>
</el-table-column>
<el-table-column
prop=
"utc"
label=
"时区"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"收款币种"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"收款金额"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"oricur"
label=
"原始币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"exgcur"
label=
"转换币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"exgrat"
label=
"货币转换汇率"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"deucur"
label=
"扣费币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"deuamt"
label=
"扣费金额"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"upddattim"
label=
"更新时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"20域编号"
prop=
"ownref"
style=
"width: 100%"
>
:data=
"model.rsmp.mdtmod.gpeutrlst"
<c-input
v-model=
"model.sndp.ownref"
maxlength=
"40"
placeholder=
"请输入20域编号"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
</c-col>
prop=
"subtyp"
<c-col
:span=
"8"
>
label=
"报文类型"
<el-form-item
label=
"21域编号"
prop=
"othref"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.othref"
maxlength=
"40"
placeholder=
"请输入21域编号"
>
width=
"80"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"dir"
<c-col
:span=
"8"
>
label=
"收发方向"
<el-form-item
label=
"币种"
prop=
"cur"
style=
"width: 100%"
>
sortable
<c-select
v-model=
"model.sndp.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
>
width=
"80"
>
</c-select>
<
template
slot-scope=
"scope"
>
</el-form-item>
<span>
{{
this
.
codes
.
dircod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dir
).
label
}}
</span>
</c-col>
</
template
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"收款币种"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"收款金额"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"sndbic"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"rcvbic"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"orgbic"
label=
"状态发起行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"fwdbic"
label=
"状态转发行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"处理码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"setmth"
label=
"结算方式"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
setmth
.
find
(
item
=>
item
.
value
==
scope
.
row
.
setmth
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"clrsys"
label=
"清算系统"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
clrsys
.
find
(
item
=>
item
.
value
==
scope
.
row
.
clrsys
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"stasndtim"
label=
"处理时间"
sortable
width=
"135"
>
</el-table-column>
<el-table-column
prop=
"utc"
label=
"时区"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"usrnam"
label=
"操作员"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<!-- FD000003 : 接收时间: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mps.rcvdattim"
data-path=
".msggrp.mps.rcvdattim"
>
</span>
</c-col>
<!-- FD000008 : 起息日: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.valdat"
data-path=
".msggrp.mpi.valdat"
>
</span>
</c-col>
<!-- FD000005 : 21域编号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.othref"
data-path=
".msggrp.mpi.othref"
>
</span>
</c-col>
<!-- FD000004 : 20域编号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.ownref"
data-path=
".msggrp.mpi.ownref"
>
</span>
</c-col>
<!-- LT000010 : 处理历史记录: -->
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"账号"
prop=
"act"
style=
"width: 100%"
>
:data=
"model.rsmp.pcrmod.mpelst"
<c-input
v-model=
"model.sndp.act"
maxlength=
"40"
placeholder=
"请输入账号"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
prop=
"dattim"
label=
"处理时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"usr"
label=
"操作用户"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"frmnam"
label=
"处理交易"
sortable
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"chncod"
label=
"当前渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"nxtchncod"
label=
"下一渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
nxtchncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"prvsta"
label=
"处理前状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
stacod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
prvsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
stacod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"备注"
sortable
width=
"250"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"费用明细"
prop=
"dtlchg"
style=
"width: 100%"
>
<span
v-text=
"model.rsmp.pcrmod.beizhu"
data-path=
".rsmp.pcrmod.beizhu"
>
</span>
<c-select
v-model=
"model.sndp.dtlchg"
style=
"width: 100%"
placeholder=
"请选择费用明细"
:code=
"codes.dtlchg"
>
</c-col>
</c-select>
</el-form-item>
<c-col
:span=
"12"
>
<c-form-item
label=
"处理说明"
prop=
"msggrp.mpe.txt"
>
<c-input
type=
"textarea"
v-model=
"model.msggrp.mpe.txt"
maxlength=
"600"
show-word-limit
:placeholder=
"$t('other.please_enter')+'处理说明'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"国际支付前置子系统"
prop=
"rsmp.nxtcldchn"
>
<el-form-item
:label=
"$t('lc.金额区间')"
style=
"width: 100%"
>
<c-select
v-model=
"model.rsmp.nxtcldchn"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+'国际支付前置子系统'"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.sndp.amtmin"
:placeholder=
"$t('lc.请输入金额下限')"
style=
"width: 100%"
></c-input>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.sndp.amtmax"
:placeholder=
"$t('lc.请输入金额上限')"
style=
"width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"行内系统"
prop=
"chnipt"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.chnipt"
style=
"width: 100%"
placeholder=
"请选择行内系统"
:code=
"codes.chnipt"
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"回执状态"
prop=
"rspsta"
style=
"width: 100%"
>
<c-checkbox
v-model=
"model.rsmp.chk"
>
{{$t('rsmp.GT000612')}}
</c-checkbox>
<c-select
v-model=
"model.sndp.rspsta"
style=
"width: 100%"
placeholder=
"请选择回执状态"
:code=
"codes.rspsta"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<span
v-text=
"model.rsmp.nxttxtchn"
data-path=
".rsmp.nxttxtchn"
>
</span>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta1"
>
</c-col>
</c-select>
</el-form-item>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodTnsbtn"
>
{{$t('mdtmod.BT000023')}}
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodOrgmsg"
>
{{$t('mdtmod.BT000019')}}
</c-button>
</c-col>
</c-col>
</el-row>
</
template
>
</c-list-search>
<c-col
:span=
"12
"
>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;
"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodExpmsg"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
{{$t('mdtmod.BT000020')
}}
type=
"primary"
>
{{ $t('public.归档')
}}
</c-button>
</c-button>
</c-col>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodShwcipsdtl"
>
{{$t('mdtmod.BT000117')}}
</c-button>
</c-button>
</c-col>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRsmpSnd"
>
{{$t('rsmp.BT000517')}}
</c-button>
</c-button>
</c
-col>
</el
-col>
<c-col
:span=
"12"
>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRsmpDrp"
>
<div
style=
"height: 90%"
>
{{$t('rsmp.BT000518')}}
<c-col
:span=
"24"
>
</c-button>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
</c-col>
<el-tab-pane
label=
"发报疑似重复处理"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
</el-table-column>
</el-table>
<c-col
:span=
"12"
>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
<c-button
size=
"small"
type=
"primary"
@
click=
"onRsmpRtn"
>
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
{{$t('rsmp.BT000023')}}
@
current-change=
"handleCurrentChange"
>
</c-button>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</c-col>
</div>
</div>
</el-col>
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
event
from
"../event"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"../model/Event"
export
default
{
export
default
{
inject
:
[
'root'
],
inject
:
[
"root"
],
props
:[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
data
()
{
return
{
return
{
activeTab
:
'fb'
,
load
:
false
,
subtypCodes
:
[],
multipleSelection
:[],
stmData
:
{
columns
:
[
{
label
:
"起息日"
,
prop
:
"valdat"
,
width
:
"180px"
},
{
label
:
"20域编号"
,
prop
:
"ownref"
,
width
:
"180px"
},
{
label
:
"21域名编号"
,
prop
:
"othref"
,
width
:
"120px"
},
{
label
:
"币种"
,
prop
:
"cur"
,
width
:
"120px"
},
{
label
:
"金额"
,
prop
:
"amt"
,
width
:
"120px"
},
{
label
:
"账号"
,
prop
:
"act"
,
width
:
"120px"
},
{
label
:
"费用明细"
,
prop
:
"dtlchg"
,
width
:
"120px"
},
{
label
:
"报文类型"
,
prop
:
"subtyp"
,
width
:
"120px"
},
{
label
:
"行内系统"
,
prop
:
"chnipt"
,
width
:
"120px"
},
{
label
:
"处理状态"
,
prop
:
"sta"
,
width
:
"120px"
},
{
label
:
"账户行BIC(53域)"
,
prop
:
"actbic"
,
width
:
"120px"
},
{
label
:
"账户行BIC(54域)"
,
prop
:
"actbic"
,
width
:
"250px"
},
{
label
:
"发报行BIC"
,
prop
:
"sndbic"
,
width
:
"150px"
},
{
label
:
"收报行BIC"
,
prop
:
"rcvbic"
,
width
:
"150px"
},
{
label
:
"报文标准"
,
prop
:
"msgtyp"
,
width
:
"150px"
},
{
label
:
"GPI标识"
,
prop
:
"gpi"
,
width
:
"150px"
},
{
label
:
"子系统"
,
prop
:
""
,
width
:
"150px"
},
{
label
:
"处理时间"
,
prop
:
"sttdattim"
,
width
:
"150px"
},
],
data
:
[],
},
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
};
},
computed
:{
isFoldDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
}
,
isRoutingDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
}
},
watch
:
{
'model.sndp.msgtyp'
:
{
handler
:
function
(
newTyp
,
oldTyp
)
{
// 把已经选择的 subtyp 重置
this
.
model
.
sndp
.
subtyp
=
''
;
const
{
codes
}
=
this
;
if
(
newTyp
==
'txt'
)
{
this
.
subtypCodes
=
codes
.
subtypfps
;
}
else
if
(
newTyp
==
'iso'
)
{
this
.
subtypCodes
=
codes
.
subtypiso
;
}
else
if
(
newTyp
==
'xml'
)
{
this
.
subtypCodes
=
codes
.
subtypcps
;
}
else
{
this
.
subtypCodes
=
codes
.
subtyp1
;
}
},
deep
:
true
}
}
},
},
methods
:{...
Event
},
methods
:
{
created
:
function
(){
},
mounted
:
function
()
{
},
};
</
script
>
<
style
lang=
"less"
scoped
>
::v-deep
.c-content-scrollbar
{
height
:
100%
!important
;
}
.eibs-tabs
/
deep
/
{
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
}
}
}
</
script
>
<
style
>
.header-wrap
{
height
:
36px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.title
{
font-size
:
16px
;
color
:
#000
;
}
.close-btn
{
padding
:
3px
;
cursor
:
pointer
;
}
}
.m-list-btns
{
height
:
300px
;
overflow
:
auto
;
}
.medium_bcs
{
border-radius
:
5px
;
}
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
.pagination-box
{
width
:
100%
;
height
:
30px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
padding
:
0
10px
;
background
:
#fff
;
margin-top
:
5px
;
}
.el-dialog__body
{
padding
:
10px
5px
50px
;
}
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
.btn-group-wrap
{
max-height
:
200px
;
width
:
100%
;
overflow-y
:
auto
;
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
flex-start
;
flex-wrap
:
wrap
;
}
.btn-item
{
margin-bottom
:
10px
;
margin-right
:
10px
;
}
</
style
>
</
style
>
src/page/Frontend/Msgrsm/views/index.vue
View file @
26e6c5ad
<
template
>
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer-search"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
:model=
"model"
<!--rsmp PD000011 疑似重复主页面 -->
:rules=
"rules"
<el-tab-pane
:label=
"$t('rsmp.PD000011')"
name=
"rsmp"
>
ref=
"modelForm"
<m-rsmp
:model=
"model"
:codes=
"codes"
/>
label-width=
"120px"
</el-tab-pane>
label-position=
"right"
</c-tabs>
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-rsmp
:model=
"model"
:codes=
"codes"
ref=
"rsmp"
/>
</c-content>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Msgrsm
from
"../model"
import
Msgrsm
from
"../model"
;
import
commonProcess
from
"~/mixin/commonProcess"
import
event
from
"../event"
import
Check
from
"../model/Check"
import
Rsmp
from
"./Rsmp.vue"
import
Default
from
"../model/Default"
import
Pattern
from
"../model/Pattern"
import
Rsmp
from
"./Rsmp"
export
default
{
export
default
{
name
:
"Msgrsm"
,
name
:
"Msgrsm"
,
components
:{
components
:{
"m-rsmp"
:
Rsmp
,
"m-rsmp"
:
Rsmp
,
},
},
provide
()
{
provide
()
{
return
{
return
{
root
:
this
root
:
this
}
}
},
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
],
// 里面包含了Default、Check等的公共处理
data
(){
data
(){
return
{
return
{
tabVal
:
"rsmp"
,
tabVal
:
"rsmp"
,
trnName
:
"msgrsm"
,
trnName
:
"msgrsm"
,
trnType
:
""
,
model
:
new
Msgrsm
().
data
,
model
:
new
Msgrsm
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
codes
:{...
CodeTable
},
kpatyp
:
CodeTable
.
kpatyp
,
};
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
setmth
:
CodeTable
.
setmth
,
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
},
created
:
async
function
(){
methods
:{},
console
.
log
(
"进入msgrsm交易"
);
created
:
async
function
()
{},
let
rtnmsg
=
{};
// await this.init({})
};
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
</
style
>
</
style
>
src/page/Frontend/Msgsep/event/index.js
0 → 100644
View file @
26e6c5ad
import
Api
from
"@/service/Api"
;
import
moment
from
"moment"
;
export
default
{
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
if
(
!
rcvdatsta
||
rcvdatsta
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
return
;
}
let
rcvdatend
=
this
.
model
.
sndp
.
rcvdatend
;
if
(
!
rcvdatend
||
rcvdatend
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/webapi/gjzf/msgsel/query"
,
{
...
this
.
model
.
sndp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:{
sta1
}}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
sta1
){
if
(
sta1
[
i
].
value
==
v
.
sta
){
v
.
sta
=
sta1
[
i
].
label
;
}
}
})
this
.
stmData
.
data
=
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
sndp
.
msgtyp
=
""
;
this
.
model
.
sndp
.
rcvdatsta
=
new
Date
();
this
.
model
.
sndp
.
rcvdatend
=
new
Date
();
this
.
model
.
sndp
.
subtyp
=
""
;
this
.
model
.
sndp
.
sndbak
=
""
;
this
.
model
.
sndp
.
revbak
=
""
;
this
.
model
.
sndp
.
actbic
=
""
;
this
.
model
.
sndp
.
othref
=
""
;
this
.
model
.
sndp
.
ownref
=
""
;
this
.
model
.
sndp
.
cur
=
""
;
this
.
model
.
sndp
.
act
=
""
;
this
.
model
.
sndp
.
amtmin
=
""
;
this
.
model
.
sndp
.
amtmax
=
""
;
this
.
model
.
sndp
.
chnipt
=
""
;
this
.
model
.
sndp
.
rspsta
=
""
;
this
.
model
.
sndp
.
dtlchg
=
""
;
this
.
model
.
sndp
.
sta
=
""
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
handleSelectionChange
(
val
){
this
.
multipleSelection
=
val
;
}
},
};
src/page/Frontend/Msgsep/model/index.js
View file @
26e6c5ad
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Msgsep
{
export
default
class
Msgsep
{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
msggrp
:{
sndp
:
{
mps
:{
rcvdatsta
:
""
,
// : 起始日期
rcvdattim
:
""
,
// 消息接收时间 .msggrp.mps.rcvdattim
rcvdatend
:
""
,
// : 截止日期
srcchncod
:
""
,
// 源渠道代码 .msggrp.mps.srcchncod
msgtyp
:
""
,
// : 报文标准
tgtchncod
:
""
,
// 最终渠道代码 .msggrp.mps.tgtchncod
subtyp
:
""
,
// : 报文类型
},
sndbak
:
""
,
// : 发报行BIC
mpi
:{
revbak
:
""
,
// : 收报行BIC
ownref
:
""
,
// 我方编号 .msggrp.mpi.ownref
actbic
:
""
,
// : 账户行
othref
:
""
,
// 对方编码 .msggrp.mpi.othref
othref
:
""
,
// : 21域编号
act
:
""
,
// 账号 .msggrp.mpi.act
ownref
:
""
,
// : 20域编
cur
:
""
,
// 币种 .msggrp.mpi.cur
cur
:
""
,
// : 币种
amt
:
""
,
// 金额 .msggrp.mpi.amt
act
:
""
,
// : 账号
valdat
:
""
,
// 有效期 .msggrp.mpi.valdat
amtmin
:
""
,
// : 金额下限
},
amtmax
:
""
,
// : 金额上限
mpe
:{
chnipt
:
""
,
// 行内系统 .sndp.chnipt
txt
:
""
,
// 处理说明 .msggrp.mpe.txt
rspsta
:
""
,
// 回执状态 .sndp.rspsta
},
tblrsp
:
""
,
// 回执状态标签 .sndp.tblrsp
},
tblrsm
:
""
,
// 回执状态标签 .sndp.tblrsm
sepp
:{
usrnam
:
""
,
// 操作员 .sndp.usrnam
pcrmod
:{
starsp
:
""
,
// 处理状态标签 .sndp.starsp
mpelst
:[],
// .sepp.pcrmod.mpelst
starsm
:
""
,
// 处理状态标签 .sndp.starsm
beizhu
:
""
,
// 备注 .sepp.pcrmod.beizhu
sta
:
""
,
// 处理状态 .sndp.sta
},
dtlchg
:
""
,
// : 费用明细
mdtmod
:{
starsp1
:
""
,
// 处理状态标签1 .sndp.starsp1
mpelst
:[],
// .sepp.mdtmod.mpelst
starsm1
:
""
,
// 处理状态标签1 .sndp.starsm1
msgdtl
:
""
,
// 报文展示 .sepp.mdtmod.msgdtl
sta1
:
""
,
// 处理状态1 .sndp.sta1
gpelst
:[],
// .sepp.mdtmod.gpelst
expexl
:
""
,
// 导出 .sndp.expexl
gpe192lst
:[],
// .sepp.mdtmod.gpe192lst
expexl2
:
""
,
// 3910导出 .sndp.expexl2
gpeutrlst
:[],
// .sepp.mdtmod.gpeutrlst
},
},
msggrp
:
{
rcvlst
:
[],
// .msggrp.rcvlst
},
},
pageId
:
""
// ctx的key
pageId
:
""
// ctx的key
}
}
...
...
src/page/Frontend/Msgsep/views/Mainp.vue
View file @
26e6c5ad
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<!-- FD000001 : 境外渠道: -->
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<!-- 持续展示区 -->
<c-col
:span=
"12"
>
<template
v-slot=
"searchSlot"
>
<span
v-text=
"model.msggrp.mps.tgtchncod"
data-code=
"chncod"
data-path=
".msggrp.mps.tgtchncod"
>
</span>
<el-row>
</c-col>
<!-- FD000006 : 帐号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.act"
data-path=
".msggrp.mpi.act"
>
</span>
</c-col>
<!-- FD000002 : 行内系统: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mps.srcchncod"
data-code=
"chncod"
data-path=
".msggrp.mps.srcchncod"
>
</span>
</c-col>
<!-- FD000007 : 币种/金额: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.amt"
data-path=
".msggrp.mpi.amt"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.cur"
data-code=
"cur"
data-path=
".msggrp.mpi.cur"
>
</span>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"报文标准"
prop=
"msgtyp"
style=
"width: 100%"
>
:data=
"model.sepp.mdtmod.gpe192lst"
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
placeholder=
"请选择货押标识"
:code=
"codes.msgtyp3"
>
style=
"width: 100%"
</c-select>
>
</el-form-item>
<el-table-column
prop=
"subtyp"
label=
"报文类型"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"orgbic"
label=
"状态发起行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"原因码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"upddattim"
label=
"更新时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"开立日期"
prop=
"rcvdatsta"
style=
"width: 100%"
>
<span
v-text=
"model.sepp.mdtmod.msgdtl"
data-path=
".sepp.mdtmod.msgdtl"
>
</span>
<c-col
:span=
"11"
>
</c-col>
<c-date-picker
type=
"date"
v-model=
"model.sndp.rcvdatsta"
style=
"width: 100%"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.sndp.rcvdatend"
style=
"width: 100%"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
prop=
"subtype"
style=
"width: 100%"
>
<el-select
v-model=
"model.sndp.subtyp"
placeholder=
"请选择报文类型"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"发报行BIC"
prop=
"sndbak"
style=
"width: 100%"
>
:data=
"model.sepp.mdtmod.mpelst"
<c-input
v-model=
"model.sndp.sndbak"
maxlength=
"40"
placeholder=
"请输入发报行BIC"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
</c-col>
prop=
"dattim"
<c-col
:span=
"8"
>
label=
"处理时间"
<el-form-item
label=
"收报行BIC"
prop=
"revbak"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.revbak"
maxlength=
"40"
placeholder=
"请输入收报行BIC"
>
width=
"160"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"usr"
<c-col
:span=
"8"
>
label=
"操作用户"
<el-form-item
label=
"账户行BIC"
prop=
"actbic"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.actbic"
maxlength=
"40"
placeholder=
"请输入账户行BIC"
>
width=
"100"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"chncod"
label=
"当前渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"nxtchncod"
label=
"下一渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
nxtchncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"prvsta"
label=
"处理前状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
msgsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
prvsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
msgsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"备注"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"20域编号"
prop=
"ownref"
style=
"width: 100%"
>
:data=
"model.sepp.mdtmod.gpelst"
<c-input
v-model=
"model.sndp.ownref"
maxlength=
"40"
placeholder=
"请输入20域编号"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
</c-col>
prop=
"subtyp"
<c-col
:span=
"8"
>
label=
"报文类型"
<el-form-item
label=
"21域编号"
prop=
"othref"
style=
"width: 100%"
>
sortable
<c-input
v-model=
"model.sndp.othref"
maxlength=
"40"
placeholder=
"请输入21域编号"
>
width=
"80"
>
</c-input>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"orgbic"
<c-col
:span=
"8"
>
label=
"状态发起行BIC"
<el-form-item
label=
"币种"
prop=
"cur"
style=
"width: 100%"
>
sortable
<c-select
v-model=
"model.sndp.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
>
width=
"110"
>
</c-select>
</el-table-column>
</el-form-item>
<el-table-column
</c-col>
prop=
"fwdbic"
label=
"状态转发行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"处理码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"stasndtim"
label=
"处理时间"
sortable
width=
"135"
>
</el-table-column>
<el-table-column
prop=
"utc"
label=
"时区"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"收款币种"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"收款金额"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"oricur"
label=
"原始币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"exgcur"
label=
"转换币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"exgrat"
label=
"货币转换汇率"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"deucur"
label=
"扣费币种"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"deuamt"
label=
"扣费金额"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"upddattim"
label=
"更新时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"账号"
prop=
"act"
style=
"width: 100%"
>
:data=
"model.sepp.mdtmod.gpeutrlst"
<c-input
v-model=
"model.sndp.act"
maxlength=
"40"
placeholder=
"请输入账号"
>
style=
"width: 100%"
</c-input>
>
</el-form-item>
<el-table-column
</c-col>
prop=
"subtyp"
<c-col
:span=
"8"
>
label=
"报文类型"
<el-form-item
label=
"费用明细"
prop=
"dtlchg"
style=
"width: 100%"
>
sortable
<c-select
v-model=
"model.sndp.dtlchg"
style=
"width: 100%"
placeholder=
"请选择费用明细"
:code=
"codes.dtlchg"
>
width=
"80"
>
</c-select>
</el-table-column>
</el-form-item>
<el-table-column
prop=
"dir"
label=
"收发方向"
sortable
width=
"80"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
dircod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dir
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"收款币种"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"收款金额"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"sndbic"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"rcvbic"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"orgbic"
label=
"状态发起行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"fwdbic"
label=
"状态转发行BIC"
sortable
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"rspsta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpista
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"rspcod"
label=
"处理码"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
gpicod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
rspcod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"setmth"
label=
"结算方式"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
setmth
.
find
(
item
=>
item
.
value
==
scope
.
row
.
setmth
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"clrsys"
label=
"清算系统"
sortable
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
clrsys
.
find
(
item
=>
item
.
value
==
scope
.
row
.
clrsys
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"stasndtim"
label=
"处理时间"
sortable
width=
"135"
>
</el-table-column>
<el-table-column
prop=
"utc"
label=
"时区"
sortable
width=
"70"
>
</el-table-column>
<el-table-column
prop=
"credattim"
label=
"创建时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"usrnam"
label=
"操作员"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"mpstim"
label=
"发送/接收时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"处理说明"
sortable
width=
"300"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<!-- FD000003 : 接收时间: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mps.rcvdattim"
data-path=
".msggrp.mps.rcvdattim"
>
</span>
</c-col>
<!-- FD000008 : 起息日: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.valdat"
data-path=
".msggrp.mpi.valdat"
>
</span>
</c-col>
<!-- FD000005 : 21域编号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.othref"
data-path=
".msggrp.mpi.othref"
>
</span>
</c-col>
<!-- FD000004 : 20域编号: -->
<c-col
:span=
"12"
>
<span
v-text=
"model.msggrp.mpi.ownref"
data-path=
".msggrp.mpi.ownref"
>
</span>
</c-col>
<!-- LT000010 : 处理历史记录: -->
<c-col
:span=
"8"
>
<el-form-item
:label=
"$t('lc.金额区间')"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.sndp.amtmin"
:placeholder=
"$t('lc.请输入金额下限')"
style=
"width: 100%"
></c-input>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.sndp.amtmax"
:placeholder=
"$t('lc.请输入金额上限')"
style=
"width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<c-col
:span=
"8"
>
<el-table
<el-form-item
label=
"行内系统"
prop=
"chnipt"
style=
"width: 100%"
>
:data=
"model.sepp.pcrmod.mpelst"
<c-select
v-model=
"model.sndp.chnipt"
style=
"width: 100%"
placeholder=
"请选择行内系统"
:code=
"codes.chnipt"
>
style=
"width: 100%"
</c-select>
>
</el-form-item>
<el-table-column
prop=
"dattim"
label=
"处理时间"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"usr"
label=
"操作用户"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"frmnam"
label=
"处理交易"
sortable
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"chncod"
label=
"当前渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"nxtchncod"
label=
"下一渠道"
sortable
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
nxtchncod
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"prvsta"
label=
"处理前状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
stacod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
prvsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
stacod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
"备注"
sortable
width=
"250"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"回执状态"
prop=
"rspsta"
style=
"width: 100%"
>
<span
v-text=
"model.sepp.pcrmod.beizhu"
data-path=
".sepp.pcrmod.beizhu"
>
</span>
<c-select
v-model=
"model.sndp.rspsta"
style=
"width: 100%"
placeholder=
"请选择回执状态"
:code=
"codes.rspsta"
>
</c-col>
</c-select>
</el-form-item>
<c-col
:span=
"12"
>
<c-form-item
label=
"处理说明"
prop=
"msggrp.mpe.txt"
>
<c-input
type=
"textarea"
v-model=
"model.msggrp.mpe.txt"
maxlength=
"600"
show-word-limit
:placeholder=
"$t('other.please_enter')+'处理说明'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12
"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%
"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodTnsbtn
"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta1
"
>
{{$t('mdtmod.BT000023')}}
</c-select>
</c-button
>
</el-form-item
>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodOrgmsg"
>
{{$t('mdtmod.BT000019')}}
</c-button>
</c-col>
</c-col>
</el-row>
</
template
>
</c-list-search>
<c-col
:span=
"12
"
>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;
"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodExpmsg"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
{{$t('mdtmod.BT000020')
}}
type=
"primary"
>
{{ $t('public.归档')
}}
</c-button>
</c-button>
</c-col>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onMdtmodShwcipsdtl"
>
{{$t('mdtmod.BT000117')}}
</c-button>
</c-button>
</c-col>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSeppSndagn"
>
{{$t('sepp.BT000015')}}
</c-button>
</c-button>
</c
-col>
</el
-col>
<c-col
:span=
"12"
>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSeppDrp"
>
<div
style=
"height: 90%"
>
{{$t('sepp.BT000016')}}
<c-col
:span=
"24"
>
</c-button>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
</c-col>
<el-tab-pane
label=
"报文失败处理"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
</el-table-column>
</el-table>
<c-col
:span=
"12"
>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
<c-button
size=
"small"
type=
"primary"
@
click=
"onSeppRtn"
>
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
{{$t('sepp.BT000014')}}
@
current-change=
"handleCurrentChange"
>
</c-button>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</c-col>
</div>
</div>
</el-col>
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
event
from
"../event"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"../model/Event"
export
default
{
export
default
{
inject
:
[
'root'
],
inject
:
[
"root"
],
props
:[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
data
()
{
return
{
return
{
activeTab
:
'fb'
,
load
:
false
,
subtypCodes
:
[],
multipleSelection
:[],
stmData
:
{
columns
:
[
{
label
:
"起息日"
,
prop
:
"valdat"
,
width
:
"180px"
},
{
label
:
"20域编号"
,
prop
:
"ownref"
,
width
:
"180px"
},
{
label
:
"21域名编号"
,
prop
:
"othref"
,
width
:
"120px"
},
{
label
:
"币种"
,
prop
:
"cur"
,
width
:
"120px"
},
{
label
:
"金额"
,
prop
:
"amt"
,
width
:
"120px"
},
{
label
:
"账号"
,
prop
:
"act"
,
width
:
"120px"
},
{
label
:
"费用明细"
,
prop
:
"dtlchg"
,
width
:
"120px"
},
{
label
:
"报文类型"
,
prop
:
"subtyp"
,
width
:
"120px"
},
{
label
:
"行内系统"
,
prop
:
"chnipt"
,
width
:
"120px"
},
{
label
:
"处理状态"
,
prop
:
"sta"
,
width
:
"120px"
},
{
label
:
"账户行BIC(53域)"
,
prop
:
"actbic"
,
width
:
"120px"
},
{
label
:
"账户行BIC(54域)"
,
prop
:
"actbic"
,
width
:
"250px"
},
{
label
:
"发报行BIC"
,
prop
:
"sndbic"
,
width
:
"150px"
},
{
label
:
"收报行BIC"
,
prop
:
"rcvbic"
,
width
:
"150px"
},
{
label
:
"报文标准"
,
prop
:
"msgtyp"
,
width
:
"150px"
},
{
label
:
"GPI标识"
,
prop
:
"gpi"
,
width
:
"150px"
},
{
label
:
"子系统"
,
prop
:
""
,
width
:
"150px"
},
{
label
:
"处理时间"
,
prop
:
"sttdattim"
,
width
:
"150px"
},
],
data
:
[],
},
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
};
},
computed
:{
isFoldDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
}
,
isRoutingDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
}
}
},
},
methods
:{...
Event
},
watch
:
{
created
:
function
(){
'model.sndp.msgtyp'
:
{
handler
:
function
(
newTyp
,
oldTyp
)
{
// 把已经选择的 subtyp 重置
this
.
model
.
sndp
.
subtyp
=
''
;
const
{
codes
}
=
this
;
if
(
newTyp
==
'txt'
)
{
this
.
subtypCodes
=
codes
.
subtypfps
;
}
else
if
(
newTyp
==
'iso'
)
{
this
.
subtypCodes
=
codes
.
subtypiso
;
}
else
if
(
newTyp
==
'xml'
)
{
this
.
subtypCodes
=
codes
.
subtypcps
;
}
else
{
this
.
subtypCodes
=
codes
.
subtyp1
;
}
},
deep
:
true
}
},
methods
:
{
},
mounted
:
function
()
{
},
};
</
script
>
<
style
lang=
"less"
scoped
>
::v-deep
.c-content-scrollbar
{
height
:
100%
!important
;
}
.eibs-tabs
/
deep
/
{
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
}
}
}
</
script
>
<
style
>
.header-wrap
{
height
:
36px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.title
{
font-size
:
16px
;
color
:
#000
;
}
.close-btn
{
padding
:
3px
;
cursor
:
pointer
;
}
}
.m-list-btns
{
height
:
300px
;
overflow
:
auto
;
}
.medium_bcs
{
border-radius
:
5px
;
}
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
.pagination-box
{
width
:
100%
;
height
:
30px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
padding
:
0
10px
;
background
:
#fff
;
margin-top
:
5px
;
}
.el-dialog__body
{
padding
:
10px
5px
50px
;
}
.m-table-search
{
padding
:
20px
0px
10px
0px
;
}
.btn-group-wrap
{
max-height
:
200px
;
width
:
100%
;
overflow-y
:
auto
;
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
flex-start
;
flex-wrap
:
wrap
;
}
.btn-item
{
margin-bottom
:
10px
;
margin-right
:
10px
;
}
</
style
>
</
style
>
src/page/Frontend/Msgsep/views/index.vue
View file @
26e6c5ad
<
template
>
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer-search"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
:model=
"model"
<!--sepp PD000000 发送失败处理主页 -->
:rules=
"rules"
<el-tab-pane
:label=
"$t('sepp.PD000000')"
name=
"mainp"
>
ref=
"modelForm"
<m-mainp
:model=
"model"
:codes=
"codes"
/>
label-width=
"120px"
</el-tab-pane>
label-position=
"right"
</c-tabs>
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-mainp
:model=
"model"
:codes=
"codes"
ref=
"mainp"
/>
</c-content>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Msgsep
from
"../model"
import
Msgsep
from
"../model"
;
import
commonProcess
from
"~/mixin/commonProcess"
import
event
from
"../event"
import
Check
from
"../model/Check"
import
Mainp
from
"./Mainp.vue"
import
Default
from
"../model/Default"
import
Pattern
from
"../model/Pattern"
import
Mainp
from
"./Mainp"
export
default
{
export
default
{
name
:
"Msgsep"
,
name
:
"Msgsep"
,
components
:{
components
:{
"m-mainp"
:
Mainp
,
"m-mainp"
:
Mainp
,
},
},
provide
()
{
provide
()
{
return
{
return
{
root
:
this
root
:
this
}
}
},
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
],
// 里面包含了Default、Check等的公共处理
data
(){
data
(){
return
{
return
{
tabVal
:
"mainp"
,
tabVal
:
"mainp"
,
trnName
:
"msgsep"
,
trnName
:
"msgsep"
,
trnType
:
""
,
model
:
new
Msgsep
().
data
,
model
:
new
Msgsep
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
codes
:{...
CodeTable
},
kpatyp
:
CodeTable
.
kpatyp
,
};
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
rspsta
:
CodeTable
.
rspsta
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
msgchksta
:
CodeTable
.
msgchksta
,
setmth
:
CodeTable
.
setmth
,
chniptcod
:
CodeTable
.
chniptcod
,
dtlchg
:
CodeTable
.
dtlchg
,
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
},
created
:
async
function
(){
methods
:{},
console
.
log
(
"进入msgsep交易"
);
created
:
async
function
()
{},
let
rtnmsg
=
{};
// await this.init({})
};
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
</
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment