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
biyuewuhua
isc-web-vue
Commits
21126c64
Commit
21126c64
authored
Oct 11, 2024
by
zenghuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报文复核页面修改
parent
cc4375fd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
213 additions
and
54 deletions
+213
-54
index.js
src/page/Frontend/Msgsel/event/index.js
+54
-0
index.js
src/page/Frontend/Msgsel/model/index.js
+1
-2
Msgpnl.vue
src/page/Frontend/Msgsel/views/Msgpnl.vue
+141
-35
Stpp.vue
src/page/Frontend/Msgstp/views/Stpp.vue
+17
-17
No files found.
src/page/Frontend/Msgsel/event/index.js
View file @
21126c64
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
Msgsel
from
'../model'
;
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
(
"/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
=
new
Msgsel
().
data
;
},
// pageSize改变
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Msgsel/model/index.js
View file @
21126c64
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Msgsel
{
constructor
()
{
...
...
@@ -25,7 +24,7 @@ export default class Msgsel{
usrnam
:
""
,
// 操作员 .sndp.usrnam
starsp
:
""
,
// 处理状态标签 .sndp.starsp
starsm
:
""
,
// 处理状态标签 .sndp.starsm
sta
:
""
,
// 处理状态 .sndp.sta
sta
:
"
V
"
,
// 处理状态 .sndp.sta
dtlchg
:
""
,
// : .sndp.dtlchg
uetr
:
""
,
// : .sndp.uetr
gpi
:
""
,
// : .sndp.gpi
...
...
src/page/Frontend/Msgsel/views/Msgpnl.vue
View file @
21126c64
...
...
@@ -6,29 +6,119 @@
<el-row>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"查询日期"
prop=
"rcvdatsta"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<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=
""
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
:code=
"codes.msgtyp3"
/>
</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"
>
<el-select
v-model=
"model.sndp.subtyp"
>
<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
:span=
"8"
>
<el-form-item
label=
"发报行BIC"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.sndbak"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"发报行BIC"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.sndbak"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"收报行BIC"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.revbak"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"账户行BIC"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.actbic"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"20域编号"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.ownref"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"21域编号"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.othref"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"币种"
prop=
""
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.cur"
:code=
"codes.cur"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"账号"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.act"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"费用明细"
prop=
""
style=
"width: 100%"
>
<c-select
:code=
"codes.dtlchg"
v-model=
"model.sndp.dtlchg"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<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=
"8"
>
<el-form-item
label=
"处理状态"
prop=
""
style=
"width: 100%"
>
<c-select
:code=
"codes.sta1.filter(s=>s.value==='V')"
disabled
v-model=
"model.sndp.sta"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"操作员"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.sndp.usrnam"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
</c-col>
</el-row>
</
template
>
</c-list-search>
...
...
@@ -58,6 +148,17 @@
<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-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"140px"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: center"
>
<span>
操作
</span>
</c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
type=
'primary'
size=
"small"
slot=
"reference"
>
复核
</c-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
...
...
@@ -103,6 +204,11 @@ export default {
width
:
"120px"
},
{
label
:
"G渠道"
,
prop
:
"sweflg"
,
width
:
"120px"
},
{
label
:
"币种"
,
prop
:
"cur"
,
width
:
"120px"
...
...
@@ -118,13 +224,8 @@ export default {
width
:
"120px"
},
{
label
:
"费用明细"
,
prop
:
"dtlchg"
,
width
:
"120px"
},
{
label
:
"报文类型"
,
prop
:
"subtyp"
,
label
:
"子系统"
,
prop
:
"nxtchncod"
,
width
:
"120px"
},
{
...
...
@@ -133,29 +234,24 @@ export default {
width
:
"120px"
},
{
label
:
"处理状态"
,
prop
:
"sta"
,
width
:
"120px"
},
{
label
:
"账户行BIC(53域)"
,
prop
:
"actbic"
,
width
:
"120px"
label
:
"账户行BIC(53域)"
,
prop
:
"t53bic"
,
width
:
"160px"
},
{
label
:
"账户行BIC
(54域)
"
,
label
:
"账户行BIC
(54域)
"
,
prop
:
"actbic"
,
width
:
"
25
0px"
width
:
"
16
0px"
},
{
label
:
"发报行BIC"
,
prop
:
"sndbic"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"收报行BIC"
,
prop
:
"rcvbic"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"报文标准"
,
...
...
@@ -163,18 +259,28 @@ export default {
width
:
"150px"
},
{
label
:
"
GPI标识
"
,
prop
:
"
gpi
"
,
width
:
"1
5
0px"
label
:
"
报文类型
"
,
prop
:
"
subtyp
"
,
width
:
"1
2
0px"
},
{
label
:
"子系统"
,
prop
:
""
,
width
:
"150px"
label
:
"发送时间"
,
prop
:
"snddattim"
,
width
:
"120px"
},
{
label
:
"回执状态"
,
prop
:
"rspsta"
,
width
:
"120px"
},
{
label
:
"处理状态"
,
prop
:
"sta"
,
width
:
"120px"
},
{
label
:
"
处理时间
"
,
prop
:
"
sttdatti
m"
,
label
:
"
操作员
"
,
prop
:
"
usrna
m"
,
width
:
"150px"
},
],
...
...
@@ -200,7 +306,7 @@ export default {
handler
:
function
(
newTyp
,
oldTyp
)
{
// 把已经选择的 subtyp 重置
this
.
model
.
sndp
.
subtyp
=
''
;
const
{
codes
}
=
this
;
const
{
codes
}
=
this
;
if
(
newTyp
===
'sf2'
)
{
this
.
subtypCodes
=
codes
.
mttyp
;
}
else
if
(
newTyp
===
'iso'
)
{
...
...
src/page/Frontend/Msgstp/views/Stpp.vue
View file @
21126c64
<
template
>
<div
class=
"eibs-tab"
>
<el-row
style=
"background-color: white;width :100%;height:100px;padding-top: 30px;"
>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
prop=
""
style=
"width: 100%"
>
<c-select
v-model=
"model.msgp.typ"
style=
"width: 100%"
:code=
"codes.msgtyp3"
/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row
style=
"height:9000px;margin-top: 20px;"
>
<div
style=
"height: 100%"
>
<iframe
v-if=
"model.msgp.typ === '
MT'"
src=
"http://localhost:8080/swifteditor"
width=
"100%"
></iframe>
<iframe
v-else-if=
"model.msgp.typ === '
ISO'"
src=
"http://localhost:8080/swiftiso-editor"
width=
"100%"
></iframe>
</div>
</el-row>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
prop=
""
style=
"width: 100%"
>
<c-select
v-model=
"model.msgp.typ"
style=
"width: 100%"
:code=
"codes.msgtyp3"
/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row
style=
"height:9000px;margin-top: 20px;"
>
<div
style=
"height: 100%"
>
<iframe
v-if=
"model.msgp.typ === '
sf2'"
src=
"http://localhost:8080/swifteditor"
width=
"100%"
></iframe>
<iframe
v-else-if=
"model.msgp.typ === '
iso'"
src=
"http://localhost:8080/swiftiso-editor"
width=
"100%"
></iframe>
</div>
</el-row>
</div>
</
template
>
<
script
>
...
...
@@ -131,7 +131,7 @@ export default {
margin-right
:
10px
;
}
iframe
{
iframe
{
height
:
900px
;
}
</
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