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
9bff0f4d
Commit
9bff0f4d
authored
Nov 09, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infpta交易的查询
parent
d3c19cc7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
349 additions
and
339 deletions
+349
-339
IStreamTable.vue
src/components/IStreamTable.vue
+7
-1
Event.js
src/model/Infpta/Event.js
+8
-8
index.js
src/model/Infpta/index.js
+1
-1
Event.js
src/model/Trnrel/Event.js
+2
-3
index.js
src/utils/index.js
+9
-1
BusRouter.js
src/views/Business/BusRouter.js
+3
-0
Infsea.vue
src/views/Business/Infpta/Infsea.vue
+180
-145
index.vue
src/views/Business/Infpta/index.vue
+137
-178
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+1
-0
Glepan.vue
src/views/Public/Glepan.vue
+1
-2
No files found.
src/components/IStreamTable.vue
View file @
9bff0f4d
<
template
>
<div
class=
"eContainer-table-block"
>
<el-table
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
<el-table
ref=
"table"
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
style=
"width: 100%"
class=
"eContainer-table"
@
selection-change=
"handleSelectionChange"
:row-key=
"getRowKey"
:header-cell-style=
"
{background: 'eef1f6', color: '#606266'}"
:highlight-current-row="true"
@row-click="rowClick"
:border="true">
<el-table-column
type=
"selection"
width=
"55"
v-if=
"showSelection"
:reserve-selection=
"true"
></el-table-column>
<el-table-column
...
...
@@ -150,6 +152,10 @@ export default {
}
}
return
indexArr
},
// 行点击,设置高亮
rowClick
(
row
,
column
,
event
)
{
this
.
$refs
.
table
.
setCurrentRow
(
row
);
}
}
};
...
...
src/model/Infpta/Event.js
View file @
9bff0f4d
import
Api
from
"~/service/Api"
export
default
{
async
onInfbutSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
searow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
infbut
.
dspstm
=
rtnmsg
.
data
.
infbut_dspstm
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onInfbutDsp
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
dsp"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
dsp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -21,7 +21,7 @@ export default {
}
},
async
onInfbutUserow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
userow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
userow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -31,7 +31,7 @@ export default {
}
},
async
onInfbutClr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
clr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
clr"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -41,7 +41,7 @@ export default {
}
},
async
onInfbutButprt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
butprt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
butprt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -51,7 +51,7 @@ export default {
}
},
async
onInfbutExi
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
exi"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
exi"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -61,7 +61,7 @@ export default {
}
},
async
onRecpanLnkinfptm
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan
_
lnkinfptm"
)
let
rtnmsg
=
await
this
.
executeRule
(
"recpan
.
lnkinfptm"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/model/Infpta/index.js
View file @
9bff0f4d
...
...
@@ -16,7 +16,7 @@ export default class Infpta{
seatypa
:
""
,
// Own Address .seatypa
seatypo
:
""
,
// Other .seatypo
infbut
:{
dspstm
:
""
,
// display stream .infbut.dspstm
dspstm
:
{}
,
// display stream .infbut.dspstm
},
seatyph
:
""
,
// 海关 .seatyph
recpan
:{
...
...
src/model/Trnrel/Event.js
View file @
9bff0f4d
...
...
@@ -88,9 +88,8 @@ export default {
},
async
onRelrow
()
{
const
that
=
this
that
.
model
.
trncorco
.
selinr
=
{
"rows"
:
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
}
that
.
model
.
trncorco
.
selinr
.
empty
=
false
that
.
model
.
trncorco
.
selinr
.
rows
=
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/utils/index.js
View file @
9bff0f4d
...
...
@@ -28,7 +28,15 @@ export default class Utils {
else
if
(
obj
[
key
]
instanceof
Date
)
target
[
nkey
]
=
obj
[
key
];
else
if
(
typeof
obj
[
key
]
==
"object"
)
if
(
nkey
===
"trncorco_trnstm"
||
nkey
===
"trncorco_selinr"
)
{
/**
* IStream类型
* {
* empty: true
* keepsort: false
* rows: []
* }
*/
if
(
Object
.
keys
(
obj
[
key
]).
length
===
3
&&
obj
[
key
].
hasOwnProperty
(
"empty"
)
&&
obj
[
key
].
hasOwnProperty
(
"keepsort"
)
&&
obj
[
key
].
hasOwnProperty
(
"rows"
))
{
target
[
nkey
]
=
obj
[
key
];
}
else
{
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
...
...
src/views/Business/BusRouter.js
View file @
9bff0f4d
...
...
@@ -9,6 +9,7 @@ import Trnrel from "./Trnrel"
import
Tstopn
from
"./Tstopn"
import
Bdtudp
from
"./Bdtudp"
import
Trndtl
from
"./Trnrel/Trndtl"
import
Infpta
from
"./Infpta"
const
BusRouter
=
[
...
...
@@ -23,6 +24,7 @@ const BusRouter = [
{
path
:
'trnrel'
,
component
:
Trnrel
},
{
path
:
'trndtl'
,
query
:
'inr'
,
component
:
Trndtl
},
{
path
:
'tstopn'
,
component
:
Tstopn
},
{
path
:
'infpta'
,
component
:
Infpta
},
]
export
default
BusRouter
\ No newline at end of file
src/views/Business/Infpta/Infsea.vue
View file @
9bff0f4d
<
template
>
<div
class=
"eibs-tab"
>
<!-- ==========顶部-左========= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<!-- ==========顶部-左========= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Address No."
prop=
"seaobjkey"
>
<c-input
v-model=
"model.seaobjkey"
maxlength=
"24"
placeholder=
"请输入PTA"
></c-input>
<c-input
v-model=
"model.seaobjkey"
maxlength=
"24"
placeholder=
"请输入PTA"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Party No."
prop=
"seaptyextkey"
>
<c-input
v-model=
"model.seaptyextkey"
maxlength=
"24"
placeholder=
"请输入External Key Used to Uniquely Identify a party"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"ZIP/Location"
prop=
"seazip"
>
<c-input
v-model=
"model.seazip"
maxlength=
"10"
placeholder=
"请输入ZIP Code/First Part of S.W.I.F.T. Line 4"
></c-input>
<c-input
v-model=
"model.seaptyextkey"
maxlength=
"24"
placeholder=
"请输入External Key Used to Uniquely Identify a party"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"seatxt"
label-width=
"15px"
>
<c-input
v-model=
"model.seatxt"
maxlength=
"25"
placeholder=
"请输入Textpart of City"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"ZIP/Location"
prop=
"seazip"
>
<c-input
v-model=
"model.seazip"
maxlength=
"10"
placeholder=
"请输入ZIP Code/First Part of S.W.I.F.T. Line 4"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"seatxt"
label-width=
"15px"
>
<c-input
v-model=
"model.seatxt"
maxlength=
"25"
placeholder=
"请输入Textpart of City"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==========顶部-右========= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
</c-col>
<!-- ==========顶部-右========= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Name"
prop=
"seanam"
>
<c-input
v-model=
"model.seanam"
maxlength=
"35"
placeholder=
"请输入External Visible Name of Address"
></c-input>
<c-input
v-model=
"model.seanam"
maxlength=
"35"
placeholder=
"请输入External Visible Name of Address"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"BIC"
prop=
"seabic"
>
<c-input
v-model=
"model.seabic"
maxlength=
"11"
placeholder=
"请输入BIC of Address Optional"
></c-input>
<c-input
v-model=
"model.seabic"
maxlength=
"11"
placeholder=
"请输入BIC of Address Optional"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Street"
prop=
"seastr"
>
<c-input
v-model=
"model.seastr"
maxlength=
"35"
placeholder=
"请输入Street"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==========单选框=========== -->
<c-col
:span=
"24"
>
<c-col
:span=
"3"
>
<el-form-item
label=
"Type"
>
<el-form-item
label=
"Street"
prop=
"seastr"
>
<c-input
v-model=
"model.seastr"
maxlength=
"35"
placeholder=
"请输入Street"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Bank"
prop=
"seatypb"
>
<c-checkbox
v-model=
"model.seatypb"
></c-checkbox>
</c-col>
</c-col>
<!-- ==========单选框=========== -->
<c-col
:span=
"24"
>
<c-col
:span=
"3"
>
<el-form-item
label=
"Type"
>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Bank"
prop=
"seatypb"
>
<c-checkbox
v-model=
"seatypb"
></c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Client"
prop=
"seatypc"
>
<c-checkbox
v-model=
"model.seatypc"
></c-checkbox>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Client"
prop=
"seatypc"
>
<c-checkbox
v-model=
"seatypc"
></c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Own Address"
prop=
"seatypa"
>
<c-checkbox
v-model=
"model.seatypa"
></c-checkbox>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Own Address"
prop=
"seatypa"
>
<c-checkbox
v-model=
"seatypa"
></c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Other"
prop=
"seatypo"
>
<c-checkbox
v-model=
"model.seatypo"
></c-checkbox>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Other"
prop=
"seatypo"
>
<c-checkbox
v-model=
"seatypo"
></c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"海关"
prop=
"seatyph"
>
<c-checkbox
v-model=
"model.seatyph"
></c-checkbox>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"海关"
prop=
"seatyph"
>
<c-checkbox
v-model=
"seatyph"
></c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- =========表格========== -->
<c-col
:span=
"22"
:offset=
"1"
>
<c-table
:border=
"true"
:list=
"data"
style=
"width:80%,text-align:center"
>
<el-table-column
label=
"Address No"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Adress Name"
width=
"auto"
></el-table-column>
<el-table-column
label=
"BIC"
width=
"auto"
></el-table-column>
<el-table-column
label=
"ZIP"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Location"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Street"
width=
"auto"
></el-table-column>
</c-table>
</c-col>
<!--
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutSearow"
>
&
Search
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutDsp"
>
D
&
isplay
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutUserow"
>
&
Use
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutClr"
>
&
Clear
</c-button>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutButprt"
>
导Excel
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"display stream"
prop=
"infbut.dspstm"
>
<c-input
v-model=
"model.infbut.dspstm"
placeholder=
"请输入display stream"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutExi"
>
E
&
xit
</c-button>
</c-col>
-->
<!-- =========表格========== -->
<c-col
:span=
"22"
:offset=
"1"
>
<c-istream-table
:border=
"true"
:list=
"tableData"
:columns=
"columns"
style=
"width:80%,text-align:center"
>
<!--
<el-table-column
label=
"Address No"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Adress Name"
width=
"auto"
></el-table-column>
<el-table-column
label=
"BIC"
width=
"auto"
></el-table-column>
<el-table-column
label=
"ZIP"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Location"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Street"
width=
"auto"
></el-table-column>
-->
</c-istream-table>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Infpta/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Infpta/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
(){
return
{
data
:[]
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{
columns
:
[
"2 1
\"
Address No
\"
140"
,
"3 2
\"
Adress Name
\"
140"
,
"4 3
\"
BIC
\"
80"
,
"5 4
\"
ZIP
\"
80"
,
"6 5
\"
Location
\"
120"
,
"7 6
\"
Street
\"
120"
]
};
},
computed
:
{
tableData
()
{
// "10000449\t2000007350\t2000007350-001\tBEIJING TESTTEST,BEIJING, CHINA\t\t100080\tBEIJING, CHINA\tTEST TEST1 CO.,LTD."
return
this
.
model
.
infbut
.
dspstm
.
rows
;
},
methods
:{...
Event
},
created
:
function
(){
}
}
seatypb
:
{
get
:
function
()
{
return
this
.
model
.
seatypb
===
'X'
},
set
:
function
(
val
)
{
this
.
clearSeatyp
()
this
.
model
.
seatypb
=
val
?
'X'
:
''
}
},
seatypc
:
{
get
:
function
()
{
return
this
.
model
.
seatypc
===
'X'
},
set
:
function
(
val
)
{
this
.
clearSeatyp
()
this
.
model
.
seatypc
=
val
?
'X'
:
''
}
},
seatypa
:
{
get
:
function
()
{
return
this
.
model
.
seatypa
===
'X'
},
set
:
function
(
val
)
{
this
.
clearSeatyp
()
this
.
model
.
seatypa
=
val
?
'X'
:
''
}
},
seatypo
:
{
get
:
function
()
{
return
this
.
model
.
seatypo
===
'X'
},
set
:
function
(
val
)
{
this
.
clearSeatyp
()
this
.
model
.
seatypo
=
val
?
'X'
:
''
}
},
seatyph
:
{
get
:
function
()
{
return
this
.
model
.
seatyph
===
'X'
},
set
:
function
(
val
)
{
this
.
clearSeatyp
()
this
.
model
.
seatyph
=
val
?
'X'
:
''
}
}
},
methods
:
{
clearSeatyp
()
{
this
.
model
.
seatypb
=
''
;
this
.
model
.
seatypc
=
''
;
this
.
model
.
seatypa
=
''
;
this
.
model
.
seatypo
=
''
;
this
.
model
.
seatyph
=
''
;
},
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Infpta/index.vue
View file @
9bff0f4d
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000002 -->
<el-tab-pane
label=
"Search Panel"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000029 -->
<el-tab-pane
label=
"Address Association"
name=
"ptap0"
>
<m-ptap0
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000685 -->
<el-tab-pane
label=
"Details"
name=
"ptap1"
>
<m-ptap1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000650 -->
<el-tab-pane
label=
"Authentication of Address"
name=
"ptmpan"
>
<m-ptmpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000700 -->
<el-tab-pane
label=
"Infotext"
name=
"oitpan"
>
<m-oitpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
<div
class=
"eContainer"
style=
"display: flex;"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
style=
"width: 85%;"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000002 -->
<el-tab-pane
label=
"Search Panel"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000029 -->
<el-tab-pane
label=
"Address Association"
name=
"ptap0"
>
<m-ptap0
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000685 -->
<el-tab-pane
label=
"Details"
name=
"ptap1"
>
<m-ptap1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000650 -->
<el-tab-pane
label=
"Authentication of Address"
name=
"ptmpan"
>
<m-ptmpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
</c-tabs>
-->
<!--PD000700 -->
<el-tab-pane
label=
"Infotext"
name=
"oitpan"
>
<m-oitpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<div
style=
"width: 10%;height: 400px;margin-left: 2%;display: flex;flex-direction: column;justify-content: space-around;"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutSearow"
>
Search
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutDsp"
>
Display
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutUserow"
>
Use
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutClr"
>
Clear
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutButprt"
>
导Excel
</c-button>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"display stream"
prop=
"infbut.dspstm"
>
<c-input
v-model=
"model.infbut.dspstm"
placeholder=
"请输入display stream"
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutExi"
>
E
&
xit
</c-button>
</c-col>
</div>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Infpta
from
"~/model/Infpta"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Infpta
from
"~/model/Infpta"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Pattern
from
"~/model/Infpta/Pattern"
import
Infsea
from
"./Infsea"
import
Ptap0
from
"./Ptap0"
import
Ptap1
from
"./Ptap1"
import
Ptmpan
from
"./Ptmpan"
import
Oitpan
from
"./Oitpan"
import
Check
from
"~/model/Infpta/Check"
;
import
Default
from
"~/model/Infpta/Default"
;
import
Pattern
from
"~/model/Infpta/Pattern"
;
import
Infsea
from
"./Infsea"
;
import
Ptap0
from
"./Ptap0"
;
import
Ptap1
from
"./Ptap1"
;
import
Ptmpan
from
"./Ptmpan"
;
import
Oitpan
from
"./Oitpan"
;
import
Event
from
"~/model/Infpta/Event"
;
export
default
{
components
:{
"m-infsea"
:
Infsea
,
"m-ptap0"
:
Ptap0
,
"m-ptap1"
:
Ptap1
,
"m-ptmpan"
:
Ptmpan
,
"m-oitpan"
:
Oitpan
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
'infsea'
,
model
:
new
Infpta
().
data
,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules
:
Pattern
,
codes
:{
},
// init:{
// "uri":"/infpta/init","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
// },
// checkAll:{
// "uri":"/infpta/checkAll","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
// },
saveData
:{
"uri"
:
"/infpta/saveData"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
pending
:{
"uri"
:
"/infpta/pending"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
getElcsRef
:{
"uri"
:
"/infpta/getElcsRef"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
registerDocument
:{
"uri"
:
"/infpta/registerDocument"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
imgecm
:{
"uri"
:
"/infpta/imgecm"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
recpanSearch
:{
"uri"
:
"/infpta/recpanSearch"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
recpanShow
:{
"uri"
:
"/infpta/recpanShow"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
recpanResend
:{
"uri"
:
"/infpta/recpanResend"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
showMessage
:{
"uri"
:
"/infpta/showMessage"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
imgmodRefresh
:{
"uri"
:
"/infpta/imgmodRefresh"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
imgmodDelete
:{
"uri"
:
"/infpta/imgmodDelete"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
},
default_recpan_ptainf_labinftxt
:{
"uri"
:
"/infpta/default/recpan.ptainf.labinftxt"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_rec_issbchinf
:{
"uri"
:
"/infpta/default/recgrp.rec.issbchinf"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_rec_usg
:{
"uri"
:
"/infpta/default/recgrp.rec.usg"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_adr_adrelc
:{
"uri"
:
"/infpta/default/recgrp.adr.adrelc"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_lnkinfptm
:{
"uri"
:
"/infpta/default/recpan.lnkinfptm"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_adr_cortyp
:{
"uri"
:
"/infpta/default/recgrp.adr.cortyp"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_bchkey
:{
"uri"
:
"/infpta/default/recpan.bchkey"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_adr_namelc
:{
"uri"
:
"/infpta/default/recgrp.adr.namelc"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_pty_extkey
:{
"uri"
:
"/infpta/default/recpan.pty.extkey"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_rec_objkey
:{
"uri"
:
"/infpta/default/recgrp.rec.objkey"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_infbut_userow
:{
"uri"
:
"/infpta/default/infbut.userow"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_branchkey
:{
"uri"
:
"/infpta/default/recpan.branchkey"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_adr_bic
:{
"uri"
:
"/infpta/default/recgrp.adr.bic"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_infbut_dsp
:{
"uri"
:
"/infpta/default/infbut.dsp"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_recget_sdamod_seainf
:{
"uri"
:
"/infpta/default/recpan.recget.sdamod.seainf"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_ptainf_oit_inflev
:{
"uri"
:
"/infpta/default/recpan.ptainf.oit.inflev"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recpan_recget_sdamod_dadsnd
:{
"uri"
:
"/infpta/default/recpan.recget.sdamod.dadsnd"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
default_recgrp_rec_nam
:{
"uri"
:
"/infpta/default/recgrp.rec.nam"
,
"fileName"
:
"infpta.json"
,
"method"
:
"post"
,
"basePath"
:
"{{basePath}}"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
},
}
},
methods
:{
},
created
:
async
function
(){
console
.
log
(
"进入infpta交易"
);
let
rtnmsg
=
await
Api
.
post
(
"infpta/init"
,{
params
:{}})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
components
:
{
"m-infsea"
:
Infsea
,
"m-ptap0"
:
Ptap0
,
"m-ptap1"
:
Ptap1
,
"m-ptmpan"
:
Ptmpan
,
"m-oitpan"
:
Oitpan
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"infsea"
,
trnName
:
"infpta"
,
model
:
new
Infpta
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{},
};
},
methods
:
{
...
Event
},
created
:
async
function
()
{
console
.
log
(
"进入infpta交易"
);
let
rtnmsg
=
await
Api
.
post
(
"infpta/init"
,
{
params
:
{}
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Trnrel/Inftrnps.vue
View file @
9bff0f4d
...
...
@@ -329,6 +329,7 @@ import Event from "~/model/Trnrel/Event";
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
components
:
{},
data
()
{
return
{
...
...
src/views/Public/Glepan.vue
View file @
9bff0f4d
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"22"
:offset=
"1"
>
<c-istream-table
:list=
"data"
:columns=
"columns"
>
</c-istream-table>
<c-istream-table
:list=
"data"
:columns=
"columns"
></c-istream-table>
</c-col>
</div>
</
template
>
...
...
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