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
05e59a00
Commit
05e59a00
authored
Oct 28, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Msgsep 交易优化修改
parent
0939ef0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
58 deletions
+42
-58
index.js
src/page/Frontend/Msgsep/event/index.js
+5
-18
index.js
src/page/Frontend/Msgsep/model/index.js
+0
-2
Mainp.vue
src/page/Frontend/Msgsep/views/Mainp.vue
+29
-28
index.vue
src/page/Frontend/Msgsep/views/index.vue
+8
-10
No files found.
src/page/Frontend/Msgsep/event/index.js
View file @
05e59a00
import
Api
from
"@/service/Api"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
moment
from
"moment"
;
import
Msgsep
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
methods
:
{
...
...
@@ -61,23 +62,9 @@ export default {
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
=
""
;
let
resetModel
=
new
Msgsep
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
this
.
handleSearch
();
},
// pageSize改变
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Msgsep/model/index.js
View file @
05e59a00
...
...
@@ -36,7 +36,6 @@ export default class Msgsep {
msggrp
:
{
rcvlst
:
[],
// .msggrp.rcvlst
},
pageId
:
""
// ctx的key
}
}
}
\ No newline at end of file
src/page/Frontend/Msgsep/views/Mainp.vue
View file @
05e59a00
...
...
@@ -7,7 +7,8 @@
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
prop=
"sndp.msgtyp"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
placeholder=
"请选择货押标识"
:code=
"codes.msgtyp3"
@
change=
"getSubtyp(model.sndp.msgtyp, 'sndp.subtyp')"
>
<c-select
v-model=
"model.sndp.msgtyp"
style=
"width: 100%"
placeholder=
"请选择货押标识"
:code=
"codes.msgtyp3"
@
change=
"getSubtyp(model.sndp.msgtyp, 'sndp.subtyp')"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -129,11 +130,11 @@
</c-list-search>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{
$t('public.归档') }}
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{
$t('public.归档') }}
</c-button>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium
"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20
"
type=
"primary"
>
ReRouting
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
...
...
@@ -146,22 +147,22 @@
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane
label=
"报文失败处理"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
row-dblclick=
"dbClickRow"
size=
"small"
:border=
"true"
height=
"calc(100vh - 420px)"
: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"
>
@
selection-change=
"handleSelectionChange"
@
row-dblclick=
"dbClickRow"
size=
"small"
:border=
"true"
height=
"calc(100vh - 420px)"
: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"
>
<
template
slot-scope=
"scope"
>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.stacod"
></c-select-value-to-label>
<span
v-else-if=
"item.prop == 'amt'"
>
{{
moneyFormat
(
scope
.
row
.
amt
,
scope
.
row
.
cur
)
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</el-tab-pane>
</el-tabs>
...
...
@@ -182,18 +183,18 @@ export default {
activeTab
:
'fb'
,
load
:
false
,
subtypCodes
:
[],
multipleSelection
:[],
multipleSelection
:
[],
stmData
:
{
columns
:
[
{
label
:
"起息日"
,
prop
:
"valdat"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"20域编号"
,
prop
:
"ownref"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"21域名编号"
,
...
...
@@ -203,17 +204,17 @@ export default {
{
label
:
"币种"
,
prop
:
"cur"
,
width
:
"
10
0px"
width
:
"
8
0px"
},
{
label
:
"金额"
,
prop
:
"amt"
,
width
:
"1
0
0px"
width
:
"1
2
0px"
},
{
label
:
"账号"
,
prop
:
"act"
,
width
:
"1
0
0px"
width
:
"1
5
0px"
},
{
label
:
"费用明细"
,
...
...
@@ -223,7 +224,7 @@ export default {
{
label
:
"报文类型"
,
prop
:
"subtyp"
,
width
:
"1
2
0px"
width
:
"1
5
0px"
},
{
label
:
"行内系统"
,
...
...
@@ -258,17 +259,17 @@ export default {
{
label
:
"报文标准"
,
prop
:
"msgtyp"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"GPI标识"
,
prop
:
"gpi"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"子系统"
,
prop
:
"zxt"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
{
label
:
"处理时间"
,
...
...
@@ -286,16 +287,16 @@ export default {
},
};
},
computed
:{
isFoldDisable
:
function
()
{
computed
:
{
isFoldDisable
:
function
()
{
return
this
.
multipleSelection
.
length
==
0
;
}
,
isRoutingDisable
:
function
()
{
},
isRoutingDisable
:
function
()
{
return
this
.
multipleSelection
.
length
==
0
;
}
},
watch
:
{
},
methods
:
{
dbClickRow
(
row
)
{
...
...
src/page/Frontend/Msgsep/views/index.vue
View file @
05e59a00
<
template
>
<div
class=
"eContainer-search"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-mainp
:model=
"model"
:codes=
"codes"
ref=
"mainp"
/>
...
...
@@ -22,19 +22,17 @@ import Msgsep from "../model";
import
event
from
"../event"
import
Mainp
from
"./Mainp.vue"
export
default
{
name
:
"Msgsep"
,
components
:{
"m-mainp"
:
Mainp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
event
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
],
data
(){
return
{
tabVal
:
"mainp"
,
...
...
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