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
3483793f
Commit
3483793f
authored
Nov 06, 2024
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待关联报文处理
parent
a361b3e7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
147 additions
and
39 deletions
+147
-39
index.js
src/page/Frontend/Oftdtl/event/index.js
+97
-1
check.js
src/page/Frontend/Oftdtl/model/check.js
+2
-2
Oftdtl.vue
src/page/Frontend/Oftdtl/views/Oftdtl.vue
+19
-16
index.vue
src/page/Frontend/Oftdtl/views/index.vue
+12
-9
index.js
src/page/Frontend/Oftopn/event/index.js
+17
-11
No files found.
src/page/Frontend/Oftdtl/event/index.js
View file @
3483793f
...
@@ -3,7 +3,47 @@ import Oftdtl from "../model"
...
@@ -3,7 +3,47 @@ import Oftdtl from "../model"
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
let
amtu
=
this
.
model
.
oftp
.
smd
.
amtu
;
if
(
!
amtu
||
amtu
===
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.金额上限必输!"
),
});
return
;
}
let
amtd
=
this
.
model
.
oftp
.
smd
.
amtd
;
if
(
!
amtd
||
amtd
===
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.金额下限必输!"
),
});
return
;
}
this
.
load
=
true
;
// TODO rewrite url
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftdtl/smdQuery"
,
{
...
this
.
model
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
model
.
oftgrp
.
dotsmd
.
lst
=
[];
let
list
=
rtnmsg
.
data
.
oftp
.
smd
.
dotrec
.
lst
;
this
.
model
.
oftgrp
.
dotsmd
.
lst
=
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
()
{
async
handleReset
()
{
this
.
model
=
new
Oftdtl
().
data
;
this
.
model
=
new
Oftdtl
().
data
;
...
@@ -21,6 +61,62 @@ export default {
...
@@ -21,6 +61,62 @@ export default {
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
},
// 手工关联
async
oftopm
(){
this
.
model
.
oftp
.
smd
.
dotrec
.
lst
=
this
.
multipleSelection
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftdtl/oftopm"
,
{
...
this
.
model
,
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
data
==
true
){
this
.
$notify
.
info
({
title
:
this
.
$t
(
"financing.成功"
),
message
:
this
.
$t
(
"financing.手工关联成功"
),
});
//this.handleSearch();
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing."
+
rtnmsg
.
data
),
});
}
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
},
// 提前放行
async
pass
(){
this
.
model
.
oftp
.
smd
.
dotrec
.
lst
=
this
.
multipleSelection
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftdtl/pass"
,
{
...
this
.
model
,
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
data
.
mpsinr
){
this
.
routerPush
({
path
:
'/business/msgpss'
,
query
:
{
inr
:
rtnmsg
.
data
.
mpsinr
,
}
})
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing."
+
rtnmsg
.
data
),
});
}
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
}
}
},
},
};
};
src/page/Frontend/Oftdtl/model/check.js
View file @
3483793f
...
@@ -19,10 +19,10 @@ export default {
...
@@ -19,10 +19,10 @@ export default {
],
],
"oftp.smd.amtd"
:
[
"oftp.smd.amtd"
:
[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
required
:
tru
e
,
message
:
"必输项"
},
],
],
"oftp.smd.amtu"
:
[
"oftp.smd.amtu"
:
[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
required
:
tru
e
,
message
:
"必输项"
},
],
],
"oftp.smd.ref"
:
[
"oftp.smd.ref"
:
[
...
...
src/page/Frontend/Oftdtl/views/Oftdtl.vue
View file @
3483793f
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"起息日"
prop=
"oftp.smd.vludats"
style=
"width: 100%"
>
<el-form-item
label=
"起息日"
prop=
"oftp.smd.vludats"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.smd.vludat
s
"
style=
"width:100%"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.oftp.smd.vludat
e
"
style=
"width:100%"
></c-date-picker>
</c-col>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
</c-col>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.smd.vludat
e
"
style=
"width:100%"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.oftp.smd.vludat
s
"
style=
"width:100%"
></c-date-picker>
</c-col>
</c-col>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -95,22 +95,27 @@
...
@@ -95,22 +95,27 @@
</c-list-search>
</c-list-search>
<el-col
:span=
"24"
style=
"margin-top: 10px;margin-bottom: 10px;"
>
<el-col
:span=
"24"
style=
"margin-top: 10px;margin-bottom: 10px;"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0px"
@
click=
"showMsg"
>
原报展示
</c-button>
<c-button
class=
"medium_bcs"
:disabled=
"isDisable"
size=
"medium"
type=
"primary"
style=
"margin-left: 30px"
@
click=
"oftopm"
>
手工关联
手工关联
</c-button>
</c-button>
<
c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 30px
"
>
<
!-- <c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 30px" @click="pass
">
提前放行
提前放行
</c-button>
</c-button>
<c-button style="margin-left: 30px" class="medium_bcs" size="medium" type="primary">
<c-button style="margin-left: 30px" class="medium_bcs" size="medium" type="primary">
导出
导出
</c-button>
</c-button>
-->
</el-col>
</el-col>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div>
<div>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-table
:data=
"model.oftgrp.dotsmd.lst"
v-loading=
"load"
style=
"width: 100%"
size=
"small"
:border=
"true"
height=
"calc(100vh - 320px)"
:highlight-current-row=
"true"
>
<el-table
:data=
"model.oftgrp.dotsmd.lst"
@
selection-change=
"handleSelectionChange"
<el-table-column
prop=
"mty"
label=
"报文类型"
width=
"100"
>
v-loading=
"load"
style=
"width: 100%"
size=
"small"
:border=
"true"
height=
"calc(100vh - 320px)"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
prop=
"mty"
label=
"报文类型"
width=
"100"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"rsptim"
label=
"收报时间"
width=
"100"
>
<el-table-column
prop=
"rsptim"
label=
"收报时间"
width=
"100"
>
</el-table-column>
</el-table-column>
...
@@ -288,25 +293,23 @@ export default {
...
@@ -288,25 +293,23 @@ export default {
};
};
},
},
computed
:{
computed
:{
isFoldDisable
:
function
(){
isDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
return
this
.
multipleSelection
.
length
!=
1
;
}
,
isRoutingDisable
:
function
(){
return
this
.
multipleSelection
.
length
==
0
;
}
}
},
},
watch
:
{
watch
:
{
},
},
methods
:
{
methods
:
{
dbClickRow
(
row
)
{
showMsg
(
)
{
this
.
routerPush
({
this
.
routerPush
({
path
:
'/business/msgdtl'
,
path
:
'/business/msgdtl'
,
query
:
{
query
:
{
mpsinr
:
row
.
inr
mpsinr
:
this
.
model
.
msggrp
.
mps
.
inr
}
}
})
})
}
},
},
},
mounted
:
function
()
{
mounted
:
function
()
{
},
},
...
...
src/page/Frontend/Oftdtl/views/index.vue
View file @
3483793f
...
@@ -45,15 +45,18 @@ export default {
...
@@ -45,15 +45,18 @@ export default {
},
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入oftdtl交易"
);
console
.
log
(
"进入oftdtl交易"
);
let
params
=
{
transName
:
this
.
trnName
,
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftdtl/init"
,
{
fxdgrp
:
{
dotinr
:
this
.
$route
.
query
.
dotinr
||
""
,
rec
:
{
});
inr
:
this
.
$route
.
query
.
inr
||
""
,
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
},
this
.
model
=
rtnmsg
.
data
;
},
}
else
{
};
this
.
$notify
.
error
({
this
.
init
(
params
)
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
}
}
}
}
</
script
>
</
script
>
...
...
src/page/Frontend/Oftopn/event/index.js
View file @
3483793f
...
@@ -71,20 +71,26 @@ export default {
...
@@ -71,20 +71,26 @@ export default {
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
},
},
exportToExcel
()
{
let
codeKeysMap
=
{
async
exportToExcel
()
{
typ
:
'kpasta'
,
// const loading = this.loading();
sta
:
'zfqsta'
,
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
area
:
'stacd1'
,
let
rsptime
=
this
.
model
.
oftp
.
rel
.
rsptime
;
offsta
:
'offsta'
,
multimsg
:
'chncod'
,
chk
:
'chncod'
,
kpatyp
:
'chncod'
,
};
let
params
=
{
let
params
=
{
...
this
.
model
.
oftp
.
rel
,
...
this
.
model
.
oftp
.
rel
,
rsptims
:
rsptims
?
moment
(
rsptims
).
format
(
"YYYY-MM-DD"
)
+
' 00:00:00'
:
""
,
rsptime
:
moment
(
rsptime
).
format
(
"YYYY-MM-DD"
)
+
' 23:59:59'
,
pageNumber
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
};
let
res
=
await
Api
.
post
(
"/frontend/oftopn/exportExcel"
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
console
.
log
(
res
.
data
)
let
name
=
moment
(
new
Date
()).
format
(
'yyyy-MM-DD HH:mm:ss'
);
Utils
.
exportToExcel
(
res
.
data
,
"待关联报文查询_"
+
name
+
".xlsx"
,
"待关联报文查询"
);
}
}
this
.
exportExcel
(
this
.
stmData
.
columns
,
'/frontend/oftopn/exportExcel'
,
params
,
codeKeysMap
,
'待关联报文处理'
);
// loading.close(
);
}
}
},
},
};
};
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