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
92b654fd
Commit
92b654fd
authored
Nov 01, 2024
by
ZcyJames
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.农信银人民币跨境管理 基础数据导入提交
parent
8957abf3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
222 deletions
+38
-222
addDialog.vue
src/page/Frontend/Fxdsdb/views/addDialog.vue
+6
-1
index.js
src/page/Frontend/Nxysdb/event/index.js
+0
-17
addDialog.vue
src/page/Frontend/Nxysdb/views/addDialog.vue
+32
-204
No files found.
src/page/Frontend/Fxdsdb/views/addDialog.vue
View file @
92b654fd
...
@@ -7,8 +7,9 @@
...
@@ -7,8 +7,9 @@
action=
"/webapi/frontend/fxdsdb/upload"
action=
"/webapi/frontend/fxdsdb/upload"
:before-upload=
"handleBeforeUpload"
:before-upload=
"handleBeforeUpload"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess"
:on-exceed=
"handleExceed"
:limit=
"1"
:limit=
"1"
:show-file-list=
"
fals
e"
:show-file-list=
"
tru
e"
accept=
".xml"
accept=
".xml"
>
>
<c-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
导入
</c-button>
<c-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
导入
</c-button>
...
@@ -373,6 +374,10 @@ export default {
...
@@ -373,6 +374,10 @@ export default {
this
.
load
=
false
;
this
.
load
=
false
;
this
.
isDispaly
=
true
;
this
.
isDispaly
=
true
;
},
},
// 文件个数超出
handleExceed
()
{
this
.
$notify
.
error
(
`只允许上传1个文件`
);
},
async
handleSubmit
()
{
async
handleSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/fxdsdb/saveXml"
,
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/fxdsdb/saveXml"
,
{
filtyp
:
this
.
filtyp
,
filtyp
:
this
.
filtyp
,
...
...
src/page/Frontend/Nxysdb/event/index.js
View file @
92b654fd
...
@@ -5,23 +5,6 @@ import Utils from "~/utils";
...
@@ -5,23 +5,6 @@ import Utils from "~/utils";
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
let
begdat
=
this
.
model
.
nxpp
.
begdat
;
if
(
!
begdat
||
begdat
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.导入起始日期必输!"
),
});
return
;
}
let
enddat
=
this
.
model
.
nxpp
.
enddat
;
if
(
!
enddat
||
enddat
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.导入结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/nxysdb/query"
,
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/nxysdb/query"
,
{
...
this
.
model
.
nxpp
,
...
this
.
model
.
nxpp
,
...
...
src/page/Frontend/Nxysdb/views/addDialog.vue
View file @
92b654fd
...
@@ -4,16 +4,17 @@
...
@@ -4,16 +4,17 @@
title=
"新增"
destroy-on-close
width=
"50%"
@
close=
"visible = false"
>
title=
"新增"
destroy-on-close
width=
"50%"
@
close=
"visible = false"
>
<div>
<div>
<el-upload
<el-upload
action=
"/webapi/frontend/
fxd
sdb/upload"
action=
"/webapi/frontend/
nxy
sdb/upload"
:before-upload=
"handleBeforeUpload"
:before-upload=
"handleBeforeUpload"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess"
:on-exceed=
"handleExceed"
:limit=
"1"
:limit=
"1"
:show-file-list=
"
fals
e"
:show-file-list=
"
tru
e"
accept=
".xls,.xlsx"
accept=
".xls,.xlsx"
>
>
<c-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
导入
</c-button>
<c-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
导入
</c-button>
</el-upload>
</el-upload>
<el-table
<
!--
<
el-table
v-if=
"isDispaly"
v-if=
"isDispaly"
:data=
"stmData.data"
:data=
"stmData.data"
:columns=
"stmData.columns"
:columns=
"stmData.columns"
...
@@ -25,7 +26,7 @@
...
@@ -25,7 +26,7 @@
>
>
<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
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>
</el-table>
</el-table>
-->
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
v-if=
"isDispaly"
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
<el-button
v-if=
"isDispaly"
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
...
@@ -55,100 +56,7 @@ export default {
...
@@ -55,100 +56,7 @@ export default {
columns
:
[],
columns
:
[],
data
:
[]
data
:
[]
},
},
fxdcomlstHead
:[
nxypatlstHead
:[
{
label
:
"公共数据代码"
,
prop
:
"comcod"
,
width
:
"120px"
},
{
label
:
"公共数据中文名称"
,
prop
:
"comnam"
,
width
:
"150px"
},
{
label
:
"公共数据值"
,
prop
:
"val"
,
width
:
"120px"
},
{
label
:
"生效类型"
,
prop
:
"typ"
,
width
:
"100px"
},
{
label
:
"生效日期"
,
prop
:
"effdat"
,
width
:
"120px"
},
{
label
:
"公共数据类型"
,
prop
:
"comtyp"
,
width
:
"120px"
},
{
label
:
"公共参数英文名称"
,
prop
:
"comengnam"
,
width
:
"150px"
},
{
label
:
"变更类型"
,
prop
:
"chgtyp"
,
width
:
"100px"
},
{
label
:
"变更期数"
,
prop
:
"changeterm"
,
width
:
"100px"
},
],
fxdriglstHead
:[
{
label
:
"参与者机构号"
,
prop
:
"bic"
,
width
:
"100px"
},
{
label
:
"报文类型"
,
prop
:
"msgtyp"
,
width
:
"100px"
},
{
label
:
"业务方向"
,
prop
:
"sndtyp"
,
width
:
"100px"
},
],
fxdtyplstHead
:[
{
label
:
"报文类型"
,
prop
:
"typ"
,
width
:
"100px"
},
{
label
:
"业务种类"
,
prop
:
"bizdtltyp"
,
width
:
"100px"
},
],
fxdsuelstHead
:[
{
label
:
"参与者变更期数"
,
prop
:
"issueno"
,
width
:
"100px"
},
{
label
:
"公共参数变更期数"
,
prop
:
"comissueno"
,
width
:
"100px"
},
{
label
:
"直间参关系变更期数"
,
prop
:
"bdrissueno"
,
width
:
"100px"
},
],
fxdpatlstHead
:[
{
{
label
:
"参与者机构代码"
,
label
:
"参与者机构代码"
,
prop
:
"cod"
,
prop
:
"cod"
,
...
@@ -175,8 +83,8 @@ export default {
...
@@ -175,8 +83,8 @@ export default {
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"参与者
资格标识
"
,
label
:
"参与者
类型
"
,
prop
:
"
bakcat
"
,
prop
:
"
paptyp
"
,
width
:
"100px"
width
:
"100px"
},
},
{
{
...
@@ -190,16 +98,6 @@ export default {
...
@@ -190,16 +98,6 @@ export default {
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"有效标识"
,
prop
:
"valflg"
,
width
:
"100px"
},
{
label
:
"生效日期"
,
prop
:
"effdat"
,
width
:
"100px"
},
{
label
:
"联系人姓名"
,
label
:
"联系人姓名"
,
prop
:
"nam"
,
prop
:
"nam"
,
width
:
"100px"
width
:
"100px"
...
@@ -225,27 +123,27 @@ export default {
...
@@ -225,27 +123,27 @@ export default {
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"
前一次更新
状态"
,
label
:
"
登录
状态"
,
prop
:
"
pre
sta"
,
prop
:
"
log
sta"
,
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"
当前更新
状态"
,
label
:
"
注资
状态"
,
prop
:
"sta"
,
prop
:
"
cap
sta"
,
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"
变更期数
"
,
label
:
"
生效状态
"
,
prop
:
"
issueno
"
,
prop
:
"
syssta
"
,
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"
办理
业务状态"
,
label
:
"业务状态"
,
prop
:
"bizsta"
,
prop
:
"bizsta"
,
width
:
"100px"
width
:
"100px"
},
},
],
],
fxd
rellstHead
:[
nxy
rellstHead
:[
{
{
label
:
"参与者机构"
,
label
:
"参与者机构"
,
prop
:
"cod"
,
prop
:
"cod"
,
...
@@ -257,61 +155,13 @@ export default {
...
@@ -257,61 +155,13 @@ export default {
width
:
"100px"
width
:
"100px"
},
},
{
{
label
:
"生效日期"
,
label
:
"生效状态"
,
prop
:
"effdat"
,
prop
:
"effsta"
,
width
:
"100px"
},
{
label
:
"上次更新类型"
,
prop
:
"preupdtyp"
,
width
:
"100px"
},
{
label
:
"变更期数"
,
prop
:
"issueno"
,
width
:
"100px"
},
{
label
:
"更新类型"
,
prop
:
"updtyp"
,
width
:
"100px"
},
],
fxddcflstHead
:[
{
label
:
"参与者机构"
,
prop
:
"cod"
,
width
:
"100px"
},
{
label
:
"证书DN"
,
prop
:
"dn"
,
width
:
"100px"
},
{
label
:
"证书SN"
,
prop
:
"sn"
,
width
:
"100px"
},
{
label
:
"证书有效期起始日期"
,
prop
:
"stadat"
,
width
:
"100px"
},
{
label
:
"证书有效期结束日期"
,
prop
:
"enddat"
,
width
:
"100px"
},
{
label
:
"数字证书内容"
,
prop
:
"binmsgbdy"
,
width
:
"100px"
width
:
"100px"
},
},
],
],
filtyp
:
''
,
filtyp
:
''
,
keyCode
:
''
,
keyCode
:
''
,
filnam
:
''
};
};
},
},
watch
:
{
watch
:
{
...
@@ -333,50 +183,28 @@ export default {
...
@@ -333,50 +183,28 @@ export default {
console
.
log
(
'====='
,
res
)
console
.
log
(
'====='
,
res
)
if
(
res
.
respCode
==
SUCCESS
){
if
(
res
.
respCode
==
SUCCESS
){
this
.
filtyp
=
res
.
data
.
filtyp
this
.
filtyp
=
res
.
data
.
filtyp
this
.
filnam
=
res
.
data
.
filnam
if
(
res
.
data
.
filtyp
==
'1'
){
if
(
res
.
data
.
filtyp
==
'9'
||
res
.
data
.
filtyp
==
'10'
){
this
.
stmData
.
columns
=
this
.
nxypatlstHead
;
this
.
stmData
.
columns
=
this
.
fxdcomlstHead
;
this
.
stmData
.
data
=
res
.
data
.
nxypatlst
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdcomlst
this
.
keyCode
=
'nxypatlst'
this
.
keyCode
=
'fxdcomlst'
}
if
(
res
.
data
.
filtyp
==
'11'
){
this
.
stmData
.
columns
=
this
.
fxdtyplstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdtyplst
this
.
keyCode
=
'fxdtyplst'
}
}
if
(
res
.
data
.
filtyp
==
'12'
){
if
(
res
.
data
.
filtyp
==
'2'
){
this
.
stmData
.
columns
=
this
.
fxdsuelstHead
;
this
.
stmData
.
columns
=
this
.
nxyrellstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdsuelst
this
.
stmData
.
data
=
res
.
data
.
nxyrellst
this
.
keyCode
=
'fxdsuelst'
this
.
keyCode
=
'nxyrellst'
}
if
(
res
.
data
.
filtyp
==
'13'
||
res
.
data
.
filtyp
==
'14'
||
res
.
data
.
filtyp
==
'15'
){
this
.
stmData
.
columns
=
this
.
fxdpatlstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdpatlst
this
.
keyCode
=
'fxdpatlst'
}
if
(
res
.
data
.
filtyp
==
'16'
||
res
.
data
.
filtyp
==
'17'
){
this
.
stmData
.
columns
=
this
.
fxdrellstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdrellst
this
.
keyCode
=
'fxdrellst'
}
if
(
res
.
data
.
filtyp
==
'18'
){
this
.
stmData
.
columns
=
this
.
fxddcflstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxddcflst
this
.
keyCode
=
'fxddcflst'
}
if
(
res
.
data
.
filtyp
==
'19'
){
this
.
stmData
.
columns
=
this
.
fxdriglstHead
;
this
.
stmData
.
data
=
res
.
data
.
cpsfxdgrp
.
fxdriglst
this
.
keyCode
=
'fxdriglst'
}
}
}
}
this
.
load
=
false
;
this
.
load
=
false
;
this
.
isDispaly
=
true
;
this
.
isDispaly
=
true
;
},
},
// 文件个数超出
handleExceed
()
{
this
.
$notify
.
error
(
`只允许上传1个文件`
);
},
async
handleSubmit
()
{
async
handleSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/
fxd
sdb/saveXml"
,
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/
nxy
sdb/saveXml"
,
{
filtyp
:
this
.
filtyp
,
filtyp
:
this
.
filtyp
,
filnam
:
this
.
filnam
,
[
this
.
keyCode
]:
this
.
stmData
.
data
[
this
.
keyCode
]:
this
.
stmData
.
data
});
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
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