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
zhouqian
vue-gjjs
Commits
9696c268
Commit
9696c268
authored
Dec 01, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infact工具条
parent
f80d9177
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
285 additions
and
193 deletions
+285
-193
Event.js
src/model/Infact/Event.js
+38
-0
Selp.vue
src/views/Business/Bopsel/Selp.vue
+2
-1
Infsea.vue
src/views/Business/Infact/Infsea.vue
+228
-158
index.vue
src/views/Business/Infact/index.vue
+17
-34
No files found.
src/model/Infact/Event.js
View file @
9696c268
...
...
@@ -15,6 +15,18 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.ledgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
async
onInfbutDsp
(
idx
,
row
){
const
selIds
=
[
idx
+
1
];
const
selDst
=
"dspstm"
;
//dspstm是数据流
...
...
@@ -138,5 +150,30 @@ export default {
this
.
model
.
cur
=
""
;
},
async
handleSearch
()
{
this
.
stmData
.
data
=
[];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/views/Business/Bopsel/Selp.vue
View file @
9696c268
...
...
@@ -389,7 +389,8 @@ export default {
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}
});
// this.$router.push({ path: viewurl, query: {} });
this
.
$router
.
push
({
name
:
business
.
charAt
(
0
).
toUpperCase
()
+
business
.
substring
(
1
),
params
:{
prePageId
:
this
.
model
.
pageId
}
});
}
else
{
const
h
=
this
.
$createElement
;
const
msg
=
res
.
respMsg
||
'请求执行失败!'
...
...
src/views/Business/Infact/Infsea.vue
View file @
9696c268
<
template
>
<div
class=
"eibs-tab"
>
<c-content>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Account No."
prop=
"extkey"
>
<c-input
v-model=
"model.extkey"
placeholder=
"请输入Account No"
>
</c-input>
</el-form-item>
</c-col>
<!-- SF000045 : Holding Party -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Holding Party"
prop=
"hdlpty.extkey"
>
<c-input
v-model=
"model.hdlpty.extkey"
placeholder=
"请输入 Holding Party"
>
</c-input>
</el-form-item>
</c-col>
<!-- SF000042 : Type -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Type"
prop=
"typ"
>
<c-select
v-model=
"model.typ"
style=
"width:100%"
placeholder=
"请输入type"
>
<el-option
v-for=
"item in codes.recgrptyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
:offset=
"1"
>
<!-- SF000048 : Name of Account Owner -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Name of Act. Owner"
prop=
"nam"
>
<c-input
v-model=
"model.nam"
placeholder=
"请输入Name of Act. Owner"
>
</c-input>
</el-form-item>
</c-col>
<!-- SF000050 : IBAN -->
<c-col
:span=
"24"
>
<c-form-item
label=
"IBAN"
prop=
"iban"
>
<c-input
v-model=
"model.iban"
placeholder=
"请输入IBAN"
></c-input>
</c-form-item>
</c-col>
<!-- SF000043 : Currency -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"'Currency'"
prop=
"cur"
>
<c-select
v-model=
"model.cur"
style=
"width:100%"
:placeholder=
"'请输入Currency'"
>
<el-option
v-for=
"item in codes.curtxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
style=
"text-align: right; height: 36.8px"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
<!-- 持续展示区 -->
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
label-position=
"right"
label-width=
"110px"
size=
"small"
@
click=
"onInfbutSearow()"
>
查询
</el-button>
</c-col>
:model=
"model"
>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<el-form-item
label=
"Account No."
prop=
"extkey"
>
<c-input
v-model=
"model.extkey"
placeholder=
"请输入Account No"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<el-form-item
label=
"Name of Account Owner"
prop=
"nam"
>
<c-input
v-model=
"model.nam"
placeholder=
"请输入Name of Account Owner"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col
:span=
"24"
>
<div
style=
"border-bottom: 10px solid rgb(232, 232, 232)"
></div>
</c-col>
<!-- 可控展示区 -->
<c-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Holding Party"
prop=
"hdlpty.extkey"
>
<c-input
v-model=
"model.hdlpty.extkey"
placeholder=
"请输入 Holding Party"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Type"
prop=
"typ"
>
<c-select
v-model=
"model.typ"
style=
"width: 100%"
placeholder=
"请输入type"
>
<el-option
v-for=
"item in codes.recgrptyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<c-col
:span=
"24"
>
<c-form-item
label=
"IBAN"
prop=
"iban"
>
<c-input
v-model=
"model.iban"
placeholder=
"请输入IBAN"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
:label=
"'Currency'"
prop=
"cur"
>
<c-select
v-model=
"model.cur"
style=
"width: 100%"
:placeholder=
"'请输入Currency'"
>
<el-option
v-for=
"item in codes.curtxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</el-form>
</
template
>
</c-list-search>
<c-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
size=
"small"
type=
"primary
"
@
click=
"onInfbutButprt
"
style=
"float: right
"
<el-row
>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data
"
:columns=
"stmData.columns
"
:showButtonFlg=
"true
"
>
导出Excel
</c-button>
</c-col>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"false"
>
<el-table-column
fixed=
"right"
prop=
"op"
width=
"150px"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: center"
><span>
操作
</span></c-col
>
<c-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"160px"
>
<template
slot-scope=
"
{ scope }">
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"onInfbutDsp(scope.$index, scope.row)"
>
详情
</c-button>
</
template
>
</c-table-column>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"历史信息"
width=
"800"
trigger=
"click"
:ref=
"'popover_' + scope.row.IDX"
>
<div
style=
"
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class=
"el-icon-close"
@
click=
"closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table
:list=
"trnData.data"
:columns=
"trnData.columns"
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"0"
>
<template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"display(scope.row['INR'])"
>
查看详情
</c-button>
</
template
>
</el-table-column>
</c-istream-table>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"getTrnInfo(scope.$index, scope.row)"
slot=
"reference"
>
详情
</c-button>
</el-popover>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-content>
</el-row>
</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/Infact/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Infact/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
stmData
:
{
columns
:
[
"8 1
\"
Account Owner
\"
180 "
,
"3 2
\"
Typ
\"
160"
,
"4 3
\"
Cur
\"
160"
,
"5 4
\"
Account No.
\"
180"
,
"6 5
\"
Owner Number
\"
180 "
,
"9 6
\"
Servicing Party
\"
160"
,
"10 7
\"
Servicing Number
\"
160"
,
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
trnData
:
{
columns
:
[
'0 8 "交易ID" 100'
,
'1 1 "编号" 150'
,
'2 2 "交易名称" 195'
,
'3 3 "条目" 80 4 7'
,
{
index
:
4
,
position
:
4
,
width
:
100
,
pattern
:
"code"
,
label
:
"状态"
,
code
:
this
.
codes
.
relstaEN
,
},
'5 5 "币种" 80'
,
'6 6 "相关金额" 150 2 8 1 5'
,
'7 7 "标识" 100'
,
],
data
:
[
]
data
:
[],
},
}
}
},
computed
:
{
tableData
()
{
return
this
.
model
.
infbut
.
dspstm
.
rows
;
},
/* stmData() {
stmData
:
{
columns
:
[
'8 1 "Account Owner" 180 '
,
'3 2"Typ" 160'
,
'4 3 "Cur" 160'
,
'5 4 "Account No." 180'
,
'6 5 " Owner Number" 180 '
,
'9 6 "Servicing Party " 160'
,
'10 7 "Servicing Number" 160'
,
],
data
:
[],
},
};
},
computed
:
{
tableData
()
{
return
this
.
model
.
infbut
.
dspstm
.
rows
;
},
/* stmData() {
console.log(this.model.infbut.dspstm.rows);
return this.model.infbut.dspstm.rows;
} */
},
methods
:{
chooseRowEvent
(
row
)
{
},
methods
:
{
chooseRowEvent
(
row
)
{
this
.
model
.
infbut
.
selrow
=
row
.
IDX
+
1
;
},
...
Event
},
created
:
function
(){
closeTrn
(
refId
)
{
this
.
$refs
[
refId
].
doClose
();
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
ledgrp
.
rec
.
inr
=
row
[
"INR"
];
this
.
model
.
infcon
.
chksubcon
=
"X"
;
this
.
dialogTableVisible
=
true
;
let
rtnmsg
=
await
this
.
executeDefault
(
"infbut.dspstm"
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
trnData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
},
}
}
...
Event
,
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Infact/index.vue
View file @
9696c268
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--infact PD000041 Search Panel -->
<el-tab-pane
:label=
"'查询页面'"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</el-tab-pane>
<!--actp PD000000 Accounts -->
<el-tab-pane
:label=
"'详情'"
name=
"actp0"
>
<m-actp0
:model=
"model"
:codes=
"codes"
ref=
"actp0"
/>
</el-tab-pane>
<!--actp PD000700 Info and Stoptext -->
<el-tab-pane
:label=
"'Info and Stoptext'"
name=
"oitpan"
>
<m-oitpan
:model=
"model"
:codes=
"codes"
ref=
"oitpan"
/>
</el-tab-pane>
<!--
<el-tab-pane
:label=
"$t('actp.PD000040')"
name=
"prtpan"
>
<m-prtpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
:label=
"$t('infbut.PD000022')"
name=
"evtinfp"
>
<m-evtinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
:label=
"$t('vermod.PD000005')"
name=
"difstm"
>
<m-difstm
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
</div>
<div
class=
"eContainer-search"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
...
...
@@ -63,13 +46,13 @@ export default {
return
{
tabVal
:
"infsea"
,
trnName
:
"infact"
,
trnType
:
""
,
model
:
new
Infact
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
codes
:
{
...
CodeTable
},
}
},
...
...
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