Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftISOEditor
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
swift
swiftISOEditor
Commits
515be918
Commit
515be918
authored
Jan 21, 2025
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并与国结对接的内容
parent
bd1b3e6b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
35 deletions
+53
-35
post.js
editor_vue/src/iso/Service/post.js
+13
-13
service.js
editor_vue/src/iso/Service/service.js
+17
-2
TextInput.vue
editor_vue/src/iso/components/TextInput.vue
+15
-15
index.vue
editor_vue/src/iso/index.vue
+3
-2
index.vue
editor_vue/src/iso/pages/index.vue
+3
-2
indexcips.vue
editor_vue/src/iso/pages/indexcips.vue
+2
-1
No files found.
editor_vue/src/iso/Service/post.js
View file @
515be918
...
...
@@ -2,91 +2,91 @@ import link from "./service"
export
default
{
sendSWiftMes
(
data
){
return
new
link
({
url
:
`/swift/msgsend`
,
url
:
`/swift
iso
/msgsend`
,
method
:
"post"
,
data
:
data
})
},
saveSWiftMes
(
data
){
return
new
link
({
url
:
`/swift/msgsave`
,
url
:
`/swift
iso
/msgsave`
,
method
:
"post"
,
data
:
data
})
},
validateSWiftMes
(
data
){
return
new
link
({
url
:
`/swift/msgvalidate`
,
url
:
`/swift
iso
/msgvalidate`
,
method
:
"post"
,
data
:
data
})
},
mx2mt
(
data
){
return
new
link
({
url
:
`/swift/mx2mt`
,
url
:
`/swift
iso
/mx2mt`
,
method
:
"post"
,
data
:
data
})
},
mxType
(
data
){
return
new
link
({
url
:
`/swift/mxType`
,
url
:
`/swift
iso
/mxType`
,
method
:
"post"
,
data
:
data
})
},
mt2mx
(
data
){
return
new
link
({
url
:
`/swift/mt2mx`
,
url
:
`/swift
iso
/mt2mx`
,
method
:
"post"
,
data
:
data
})
},
mx2Json
(
data
){
return
new
link
({
url
:
`/swift/mx2Json`
,
url
:
`/swift
iso
/mx2Json`
,
method
:
"post"
,
data
:
data
})
},
saveTemplate
(
data
){
return
new
link
({
url
:
`/swift/saveTemplate`
,
url
:
`/swift
iso
/saveTemplate`
,
method
:
"post"
,
data
:
data
})
},
getTemplate
(
data
){
return
new
link
({
url
:
`/swift/getTemplate`
,
url
:
`/swift
iso
/getTemplate`
,
method
:
"post"
,
data
:
data
})
},
getCancelOriginalMsgInfos
(
data
){
return
new
link
({
url
:
`/swift/getCancelOriginalMsgInfos`
,
url
:
`/swift
iso
/getCancelOriginalMsgInfos`
,
method
:
"post"
,
data
:
data
})
},
getFillElements
(
data
){
return
new
link
({
url
:
`/swift/getFillElements`
,
url
:
`/swift
iso
/getFillElements`
,
method
:
"post"
,
data
:
data
})
},
getBic
(
data
){
return
new
link
({
url
:
`/swift/getBic`
,
url
:
`/swift
iso
/getBic`
,
method
:
"post"
,
data
:
data
})
},
getISOBankId
(
data
){
return
new
link
({
url
:
`/swift/getBankId`
,
url
:
`/swift
iso
/getBankId`
,
method
:
"post"
,
data
:
data
})
...
...
editor_vue/src/iso/Service/service.js
View file @
515be918
import
axios
from
'axios'
axios
.
interceptors
.
request
.
use
(
config
=>
{
config
.
headers
.
token
=
window
.
sessionStorage
.
token
config
.
headers
.
userid
=
window
.
sessionStorage
.
userId
config
.
headers
.
terminal
=
'WEB'
})
const
service
=
axios
.
create
({
baseURL
:
'/
iso-editor
'
,
//代理
baseURL
:
'/
webapi/frontend
'
,
//代理
// baseURL: '/swift-editor', //本地用这个
timeout
:
50000
// request timeout
timeout
:
50000
,
// request timeout
headers
:{
token
:
window
.
sessionStorage
.
token
,
userid
:
window
.
sessionStorage
.
userId
,
terminal
:
'WEB'
}
})
axios
.
interceptors
.
response
.
use
(
response
=>
{
response
.
headers
[
'Content-Type'
]
=
'text/html; charset=utf-8'
;
return
response
;
...
...
editor_vue/src/iso/components/TextInput.vue
View file @
515be918
...
...
@@ -260,21 +260,21 @@ export default {
if
(
"bicfi"
===
this
.
dataModel
.
tag
){
this
.
loadData
();
}
if
(
"1"
===
this
.
dataModel
.
bicid
)
{
var
bicid
=
window
.
sessionStorage
.
getItem
(
"bicid"
);
if
(
bicid
!=
null
||
bicid
!=
undefined
)
{
this
.
dataModel
.
defaultValue
=
this
.
generateId
(
bicid
);
}
else
{
send
.
getISOBankId
().
then
((
res
)
=>
{
var
data
=
res
.
data
;
console
.
log
(
res
);
bicid
=
data
;
this
.
dataModel
.
defaultValue
=
this
.
generateId
(
bicid
);
window
.
sessionStorage
.
setItem
(
"bicid"
,
bicid
);
});
}
console
.
log
(
"bicid:"
+
this
.
dataModel
.
value
);
}
//
if ("1"===this.dataModel.bicid) {
//
var bicid = window.sessionStorage.getItem("bicid");
//
if (bicid != null || bicid != undefined) {
//
this.dataModel.defaultValue = this.generateId(bicid);
//
} else {
//
send.getISOBankId().then((res) => {
//
var data = res.data;
//
console.log(res);
//
bicid = data;
//
this.dataModel.defaultValue = this.generateId(bicid);
//
window.sessionStorage.setItem("bicid", bicid);
//
});
//
}
//
console.log("bicid:"+this.dataModel.value);
//
}
var
smhinr
=
this
.
$route
.
query
.
smhinr
;
if
(
smhinr
!=
undefined
&&
smhinr
!=
null
)
{
// if (
...
...
editor_vue/src/iso/index.vue
View file @
515be918
...
...
@@ -10,7 +10,7 @@
style=
"width: 100%"
>
<el-table-column>
<template
slot-scope=
"scope"
>
<router-link
:to=
"'/iso/'+scope.row.value+`/$
{loginUser}`">
{{
"Create "
+
scope
.
row
.
value
+
" "
+
scope
.
row
.
label
}}
</router-link>
<router-link
:to=
"'/iso/'+scope.row.value+`/
iso?loginuser=
$
{loginUser}`">
{{
"Create "
+
scope
.
row
.
value
+
" "
+
scope
.
row
.
label
}}
</router-link>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -31,7 +31,8 @@ export default {
activeName
:
'second'
,
inputCbprPlus
:
''
,
inputRtgs
:
''
,
loginUser
:
this
.
$route
.
query
.
loginUser
,
//loginUser: window.location.search.slice(1) || 1,
loginUser
:
this
.
$route
.
query
.
loginuser
,
}
},
methods
:{
...
...
editor_vue/src/iso/pages/index.vue
View file @
515be918
...
...
@@ -194,7 +194,7 @@ export default {
map
:
""
,
smhinr
:
this
.
$route
.
query
.
smhinr
,
mxminr
:
this
.
$route
.
query
.
mxminr
,
loginUser
:
this
.
$route
.
params
.
loginU
ser
,
loginUser
:
this
.
$route
.
query
.
loginu
ser
,
count
:
1
,
templateData
:
""
,
};
...
...
@@ -1077,7 +1077,8 @@ export default {
});
},
created
:
function
(){
window
.
sessionStorage
.
clear
()
window
.
sessionStorage
.
removeItem
(
"id"
)
window
.
sessionStorage
.
removeItem
(
"mmbid"
)
}
};
</
script
>
...
...
editor_vue/src/iso/pages/indexcips.vue
View file @
515be918
...
...
@@ -981,7 +981,8 @@ export default {
});
},
created
:
function
(){
window
.
sessionStorage
.
clear
()
window
.
sessionStorage
.
removeItem
(
"id"
)
window
.
sessionStorage
.
removeItem
(
"mmbid"
)
}
};
</
script
>
...
...
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