Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
1c47985e
Commit
1c47985e
authored
Feb 02, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swm静态交易
parent
836995da
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
278 additions
and
0 deletions
+278
-0
swm.js
src/service/test/swm.js
+22
-0
BusRouter.js
src/views/Business/BusRouter.js
+3
-0
SideMenu.vue
src/views/Layout/SideMenu.vue
+1
-0
Infsea.vue
src/views/Statics/Infswm/Infsea.vue
+192
-0
index.vue
src/views/Statics/Infswm/index.vue
+53
-0
StaticsRouter.js
src/views/Statics/StaticsRouter.js
+7
-0
No files found.
src/service/test/swm.js
0 → 100644
View file @
1c47985e
import
Api
from
"~/service/Api"
export
function
queryByPage
(
data
)
{
return
Api
.
post
(
"/manager/swm/queryByPage"
,
data
)
}
export
function
queryById
(
inr
)
{
return
Api
.
post
(
`/manager/swm/queryById?inr=
${
inr
}
`
)
}
export
function
add
(
data
)
{
return
Api
.
post
(
"/manager/swm/add"
,
data
)
}
export
function
edit
(
data
)
{
return
Api
.
post
(
"/manager/swm/edit"
,
data
)
}
export
function
deleteById
(
inr
)
{
return
Api
.
post
(
`/manager/swm/deleteById?inr=
${
inr
}
`
)
}
\ No newline at end of file
src/views/Business/BusRouter.js
View file @
1c47985e
...
@@ -364,6 +364,7 @@ import Dbiapf from "~/views/Statics/Dbiapf";
...
@@ -364,6 +364,7 @@ import Dbiapf from "~/views/Statics/Dbiapf";
import
Dbaapf
from
"~/views/Statics/Dbaapf"
;
import
Dbaapf
from
"~/views/Statics/Dbaapf"
;
import
Dbeapf
from
"~/views/Statics/Dbeapf"
;
import
Dbeapf
from
"~/views/Statics/Dbeapf"
;
import
Dbdapf
from
"~/views/Statics/Dbdapf"
;
import
Dbdapf
from
"~/views/Statics/Dbdapf"
;
import
Infswm
from
"~/views/Statics/Infswm"
;
import
Inftxm2
from
"~/views/Statics/Inftxm"
;
import
Inftxm2
from
"~/views/Statics/Inftxm"
;
...
@@ -756,5 +757,6 @@ const BusRouter = [
...
@@ -756,5 +757,6 @@ const BusRouter = [
{
path
:
'dbiapf/:inr'
,
component
:
Dbiapf
,
name
:
'StaticsDbiapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbiapf/:inr'
,
component
:
Dbiapf
,
name
:
'StaticsDbiapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbeapf/:inr'
,
component
:
Dbeapf
,
name
:
'StaticsDbeapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息修改: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbeapf/:inr'
,
component
:
Dbeapf
,
name
:
'StaticsDbeapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息修改: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbdapf/:inr'
,
component
:
Dbdapf
,
name
:
'StaticsDbdapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息删除: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbdapf/:inr'
,
component
:
Dbdapf
,
name
:
'StaticsDbdapf'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'报文格式信息删除: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'infswm'
,
component
:
Infswm
,
name
:
'StaticsInfswm'
,
meta
:
{
title
:
'报文栏位映射信息查询'
}
},
]
]
export
default
BusRouter
export
default
BusRouter
\ No newline at end of file
src/views/Layout/SideMenu.vue
View file @
1c47985e
...
@@ -193,6 +193,7 @@ export default {
...
@@ -193,6 +193,7 @@ export default {
{
inifrm
:
"infact"
,
ininam
:
"账号信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infact"
,
ininam
:
"账号信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infatp"
,
ininam
:
"交易模式配置查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infatp"
,
ininam
:
"交易模式配置查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infbch"
,
ininam
:
"机构信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infbch"
,
ininam
:
"机构信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infswm"
,
ininam
:
"报文栏位映射信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infcty"
,
ininam
:
"国别信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infcty"
,
ininam
:
"国别信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infcur"
,
ininam
:
"币种信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"infcur"
,
ininam
:
"币种信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"inffec"
,
ininam
:
"费率信息查询"
,
pntmiu
:
"10"
},
{
inifrm
:
"inffec"
,
ininam
:
"费率信息查询"
,
pntmiu
:
"10"
},
...
...
src/views/Statics/Infswm/Infsea.vue
0 → 100644
View file @
1c47985e
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
class=
"col-left"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"报文格式"
prop=
"fmt"
>
<c-select
v-model=
"model.fmt"
placeholder=
"请选择报文格式"
:code=
"fmt"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"映射交易"
prop=
"frm"
>
<c-input
v-model=
"model.frm"
placeholder=
"请输入映射交易"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
class=
"col-right"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"报文类型"
prop=
"mt"
>
<c-select
v-model=
"model.mt"
placeholder=
"请选择报文类型"
:code=
"mt"
style=
"width:100%"
></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"text-align: left"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"swmAdd"
>
新增
</el-button>
</c-col>
<c-col
:span=
"12"
style=
"text-align: right"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"small"
@
click=
"onSearch()"
>
查询
</el-button>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-paging-table
:data=
"swmData"
:columns=
"swmColumns"
:pageNumber=
"model.pageNum"
:pageSize=
"model.pageSize"
:total=
"model.total"
v-on:queryFunc=
"queryFunc"
:border=
"true"
>
<c-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"240px"
>
<template
slot-scope=
"
{ scope }">
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"swmInfo(scope.$index, scope.row)"
>
详情
</c-button
>
<c-button
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"swmEdit(scope.$index, scope.row)"
>
修改
</c-button
>
<c-button
size=
"small"
style=
"margin-left: 5px"
@
click=
"swmDelete(scope.$index, scope.row)"
>
删除
</c-button
>
<el-popover
placement=
"top-start"
width=
"50"
trigger=
"click"
>
<ul
class=
"table-button-item-list"
>
<li>
<c-button
size=
"small"
style=
"margin-left: 0"
>
指派
</c-button>
</li>
<li>
<c-button
size=
"small"
style=
"margin-left: 0"
>
删除
</c-button>
</li>
</ul>
<a
slot=
"reference"
href=
"javascript:void(0)"
style=
"margin-left: 5px"
>
<i
class=
"el-icon-more"
></i>
</a>
</el-popover>
</
template
>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<
script
>
import
codes
from
"~/config/CodeTable"
;
import
{
queryByPage
}
from
"~/service/test/swm.js"
;
export
default
{
name
:
""
,
props
:
[
"model"
],
inject
:
[
"root"
],
data
()
{
return
{
swmData
:
[],
swmColumns
:
[
{
label
:
"报文格式"
,
prop
:
"fmt"
,
width
:
"auto"
},
{
label
:
"报文类型"
,
prop
:
"mt"
,
width
:
"auto"
},
{
label
:
"映射交易"
,
prop
:
"frm"
,
width
:
"auto"
},
{
label
:
"配置个数"
,
prop
:
"num"
,
width
:
"auto"
}
],
fmt
:
[
{
label
:
"DTA Import"
,
value
:
"A"
},
{
label
:
"电证"
,
value
:
"C"
},
{
label
:
"DTA Export"
,
value
:
"E"
},
{
label
:
"单证通XML"
,
value
:
"H"
},
{
label
:
"FMT"
,
value
:
"Q"
},
{
label
:
"SWIFT"
,
value
:
"S"
},
{
label
:
"TradeConnect"
,
value
:
"T"
},
],
mt
:[
]
};
},
computed
:
{
},
activated
()
{
const
{
update
}
=
this
.
$route
.
params
;
if
(
update
)
{
this
.
onInfswmSearch
();
}
},
methods
:
{
handleReset
()
{
this
.
root
.
$refs
.
modelForm
.
resetFields
();
},
onSearch
()
{
this
.
model
.
pageSize
=
5
;
this
.
model
.
pageNum
=
1
;
this
.
onInfswmSearch
();
},
onInfswmSearch
()
{
queryByPage
(
this
.
model
).
then
((
res
)
=>
{
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const
list
=
res
.
list
;
console
.
log
(
list
);
this
.
swmData
=
list
;
this
.
model
.
pageNum
=
res
.
pageNumber
;
this
.
model
.
pageSize
=
res
.
pageSize
;
this
.
model
.
total
=
res
.
total
;
});
},
queryFunc
(
pageNumber
,
pageSize
)
{
this
.
model
.
pageNum
=
pageNumber
;
this
.
model
.
pageSize
=
pageSize
;
this
.
onInfswmSearch
();
},
swmAdd
()
{
this
.
$router
.
push
(
`/statics/dbaswm`
);
},
swmInfo
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbiswm/
${
row
.
inr
}
`
);
},
swmEdit
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbeswm/
${
row
.
inr
}
`
);
},
swmDelete
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbdswm/
${
row
.
inr
}
`
);
},
},
};
</
script
>
<
style
scoped
>
.table-button-item-list
{
padding
:
0
;
margin
:
0
;
}
.table-button-item-list
li
{
list-style
:
none
;
padding
:
5px
0
;
text-align
:
center
;
color
:
#606266
;
cursor
:
pointer
;
}
</
style
>
src/views/Statics/Infswm/index.vue
0 → 100644
View file @
1c47985e
<
template
>
<div
class=
"eContainer"
>
<c-page
title=
"报文栏位映射信息查询"
>
<el-form
:model=
"model"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
>
<!--PD000039 -->
<el-tab-pane
label=
"报文栏位映射信息查询"
name=
"infsea"
>
<c-content>
<m-infsea
:model=
"model"
ref=
"infsea"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</
template
>
<
script
>
import
Infsea
from
"./Infsea"
;
export
default
{
name
:
"StaticsInfswn"
,
components
:
{
"m-infsea"
:
Infsea
,
},
provide
()
{
return
{
root
:
this
,
};
},
data
()
{
return
{
tabVal
:
"infsea"
,
model
:
{
frm
:
''
,
mt
:
''
,
fmt
:
''
,
pageNum
:
1
,
pageSize
:
5
,
total
:
0
,
},
};
},
};
</
script
>
<
style
></
style
>
src/views/Statics/StaticsRouter.js
View file @
1c47985e
...
@@ -112,6 +112,7 @@ import Dbiety from "./Dbiety";
...
@@ -112,6 +112,7 @@ import Dbiety from "./Dbiety";
import
Dbaety
from
"./Dbaety"
;
import
Dbaety
from
"./Dbaety"
;
import
Dbeety
from
"./Dbeety"
;
import
Dbeety
from
"./Dbeety"
;
import
Dbdety
from
"./Dbdety"
;
import
Dbdety
from
"./Dbdety"
;
import
Infswm
from
"./Infswm"
;
const
StaticsRouter
=
[
const
StaticsRouter
=
[
...
@@ -230,6 +231,12 @@ const StaticsRouter = [
...
@@ -230,6 +231,12 @@ const StaticsRouter = [
{
path
:
'dbibtb/:inr'
,
component
:
DbiBtb
,
name
:
'StaticsDbibtb'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'清算代理行详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbibtb/:inr'
,
component
:
DbiBtb
,
name
:
'StaticsDbibtb'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'清算代理行详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'Infpts'
,
component
:
Infpts
,
name
:
'StaticsDbaatx'
,
meta
:
{
title
:
'客户管户机构管理'
}
},
{
path
:
'Infpts'
,
component
:
Infpts
,
name
:
'StaticsDbaatx'
,
meta
:
{
title
:
'客户管户机构管理'
}
},
{
path
:
'infswm'
,
component
:
Infswm
,
name
:
'StaticsInfswm'
,
meta
:
{
title
:
'报文栏位映射信息查询'
}
},
// { path: 'dbaswm', component: Dbaswm, name: 'StaticsDbaswm', meta: { title: '报文栏位映射信息新增' } },
// { path: 'dbiswm/:inr', component: Dbiswm, name: 'StaticsDbiswm', meta: { title: (tag) => { return '报文栏位映射信息详情: ' + tag.params.inr } } },
// { path: 'dbeswm/:inr', component: Dbeswm, name: 'StaticsDbeswm', meta: { title: (tag) => { return '报文栏位映射信息修改: ' + tag.params.inr } } },
// { path: 'dbdswm/:inr', component: Dbdswm, name: 'StaticsDbdswm', meta: { title: (tag) => { return '报文栏位映射信息删除: ' + tag.params.inr } } },
]
]
export
default
StaticsRouter
export
default
StaticsRouter
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