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
170ac996
Commit
170ac996
authored
Jul 27, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
busbtn模板更新,实现统一更新
parent
b944a7d9
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
172 additions
and
414 deletions
+172
-414
Infsea.vue
src/views/Business/Infbcd/Infsea.vue
+8
-37
Infsea.vue
src/views/Business/Infbed/Infsea.vue
+3
-10
Infsea.vue
src/views/Business/Infbfd/Infsea.vue
+16
-57
Infsea.vue
src/views/Business/Infbod/Infsea.vue
+9
-37
Infsea.vue
src/views/Business/Infbpd/Infsea.vue
+15
-45
Infsea.vue
src/views/Business/Infbrd/Infsea.vue
+16
-19
Infsea.vue
src/views/Business/Infcpd/Infsea.vue
+13
-15
Infsea.vue
src/views/Business/Infdet/Infsea.vue
+16
-46
Infsea.vue
src/views/Business/Infdid/Infsea.vue
+8
-38
Infsea.vue
src/views/Business/Infgid/Infsea.vue
+15
-18
Infsea.vue
src/views/Business/Infled/Infsea.vue
+15
-20
Infsea.vue
src/views/Business/Inflid/Infsea.vue
+15
-19
Infsea.vue
src/views/Business/Infltd/Infsea.vue
+11
-40
Infsea.vue
src/views/Business/Inftrd/Infsea.vue
+12
-13
No files found.
src/views/Business/Infbcd/Infsea.vue
View file @
170ac996
...
...
@@ -228,12 +228,9 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"BctselModel"
ownrefPath=
"bcdgrp"
trnCode=
"bctsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -255,7 +252,6 @@ export
return
{
BctselModel
:
new
BctselModel
().
data
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
columns
:
[
...
...
@@ -299,17 +295,14 @@ export
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
$refs
.
childs
.
initdialog
=
true
this
.
ownref
=
ownref
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
;
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
closeTrn
(
refId
)
{
this
.
$refs
[
refId
].
doClose
();
...
...
@@ -331,32 +324,10 @@ export
console
.
log
(
this
.
trnData
.
data
);
}
},
async
getDitSelInfo
(
idx
,
row
)
{
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
(
rtnmsg
.
respCode
=
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
(
rtnmsgNew
.
respCode
=
SUCCESS
)
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
(
rtnmsgOitset
.
respCode
=
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
toBctdav
()
{
...
...
src/views/Business/Infbed/Infsea.vue
View file @
170ac996
...
...
@@ -236,11 +236,8 @@
</c-col>
</el-row>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"letsel"
ownrefPath=
"bedgrp"
tabIndex=
3
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -261,7 +258,6 @@ export default {
return
{
letselModel
:
new
LetselModel
().
data
,
ownref
:
""
,
initdialog
:
false
,
trnData
:
{
columns
:
[
'1 1 "编号" 200'
,
...
...
@@ -344,17 +340,14 @@ export default {
},
methods
:{...
Event
,
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
...
...
src/views/Business/Infbfd/Infsea.vue
View file @
170ac996
...
...
@@ -447,18 +447,10 @@
</c-col>
</c-row>
-->
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -527,53 +519,20 @@ export default {
*/
methods
:
{
...
Event
,
async
getButtons
(
ownref
,
frm
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
// setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods")
// console.log(this)
// console.log(this.$refs)
// console.log(this.$refs.childs)
// },10)
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async
onChoose
(
code
)
{
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getDitSelInfo
(
idx
,
row
)
{
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
((
rtnmsgNew
.
respCode
=
SUCCESS
))
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
((
rtnmsgOitset
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
"updateShowPanel"
,
true
);
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
...
...
src/views/Business/Infbod/Infsea.vue
View file @
170ac996
...
...
@@ -243,11 +243,8 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"BotselModel"
ownrefPath=
"bodgrp"
trnCode=
"botsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -311,17 +308,14 @@ export default {
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
;
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
closeTrn
(
refId
)
{
this
.
$refs
[
refId
].
doClose
();
...
...
@@ -343,32 +337,10 @@ export default {
console
.
log
(
this
.
trnData
.
data
);
}
},
async
getDitSelInfo
(
idx
,
row
)
{
async
getDitSelInfo
(
code
)
{
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
(
rtnmsg
.
respCode
=
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
(
rtnmsgNew
.
respCode
=
SUCCESS
)
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
(
rtnmsgOitset
.
respCode
=
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
toBotdav
()
{
...
...
src/views/Business/Infbpd/Infsea.vue
View file @
170ac996
...
...
@@ -434,13 +434,9 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -459,7 +455,6 @@ export default {
data
()
{
return
{
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
searchToggle
:
true
,
stmData
:
{
...
...
@@ -588,46 +583,21 @@ export default {
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getBpdSelInfo
(
idx
,
row
)
{
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
((
rtnmsgNew
.
respCode
=
SUCCESS
))
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
((
rtnmsgOitset
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
"updateShowPanel"
,
true
);
},
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
bpdgrp
.
rec
.
inr
=
row
[
"INR"
];
...
...
src/views/Business/Infbrd/Infsea.vue
View file @
170ac996
...
...
@@ -289,11 +289,8 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
></m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -311,7 +308,6 @@ export default {
data
()
{
return
{
ownref
:
""
,
initdialog
:
false
,
trnData
:
{
columns
:
[
'1 1 "编号" 200'
,
...
...
@@ -356,20 +352,21 @@ export default {
};
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
...
Event
,
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
brdgrp
.
rec
.
inr
=
row
[
"INR"
];
...
...
src/views/Business/Infcpd/Infsea.vue
View file @
170ac996
...
...
@@ -403,13 +403,9 @@
</el-table-column>
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
></m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -427,7 +423,6 @@ export default {
return
{
searchToggle
:
true
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
columns
:
[
...
...
@@ -513,17 +508,20 @@ export default {
}, 1000);
}, */
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
ownref
=
ownref
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
onChoose
(
code
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
thi
s
.
initdialog
=
false
}
,
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
child
s
.
initdialog
=
false
}
,
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
cpdgrp
.
rec
.
inr
=
row
[
"INR"
];
...
...
src/views/Business/Infdet/Infsea.vue
View file @
170ac996
...
...
@@ -644,13 +644,10 @@
</template>
</el-table-column>
-->
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"detsel"
ownrefPath=
"dedgrp"
:model=
"detselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -672,7 +669,6 @@ export default {
return
{
detselModel
:
new
DetselModel
().
data
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
columns
:
[
...
...
@@ -719,47 +715,21 @@ export default {
*/
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getDitSelInfo
(
idx
,
row
)
{
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
};
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
((
rtnmsgNew
.
respCode
=
SUCCESS
))
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
((
rtnmsgOitset
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
"updateShowPanel"
,
true
);
},
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
...
...
src/views/Business/Infdid/Infsea.vue
View file @
170ac996
...
...
@@ -385,12 +385,8 @@
</c-col>
<!-- </el-row> -->
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"ditsel"
:model=
"ditselModel"
@
onChoose=
"onChoose"
></m-busbtn>
</div>
</el-dialog>
<!-- <c-col :span="12">
...
...
@@ -640,46 +636,20 @@ export default {
methods
:
{
...
Event
,
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
idx
,
row
){
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
(
rtnmsg
.
respCode
=
SUCCESS
){
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:[
idx
+
1
]}
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
(
rtnmsgNew
.
respCode
=
SUCCESS
){
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
(
rtnmsgOitset
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
},
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
...
...
src/views/Business/Infgid/Infsea.vue
View file @
170ac996
...
...
@@ -524,7 +524,6 @@
</c-col>
</el-row>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
v-if=
"dialogFlag"
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
...
...
@@ -549,7 +548,6 @@
>
11
</m-busbtn
>
</div>
</el-dialog>
<!-- <c-col :span="12">
<el-form-item label="Own Reference" prop="infcon.seaownref">
...
...
@@ -745,7 +743,6 @@ export default {
gitselModel
:
new
GitselModel
().
data
,
getselModel
:
new
GetselModel
().
data
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
dialogFlag
:
true
,
trnData
:
{
...
...
@@ -808,21 +805,21 @@ export default {
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
this
.
dialogFlag
=
ownref
.
startsWith
(
"LG"
);
console
.
log
(
"dialogFlag:"
+
this
.
dialogFlag
);
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
}
,
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
...
...
src/views/Business/Infled/Infsea.vue
View file @
170ac996
...
...
@@ -459,13 +459,9 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"letsel"
ownrefPath=
"ledgrp"
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -487,7 +483,6 @@ export default {
letselModel
:
new
LetselModel
().
data
,
curinr
:
""
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
columns
:
[
...
...
@@ -591,21 +586,21 @@ export default {
methods
:
{
...
Event
,
//获取按钮butstm的事件
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
}
,
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
)
;
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
...
...
src/views/Business/Inflid/Infsea.vue
View file @
170ac996
...
...
@@ -441,13 +441,9 @@
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -533,21 +529,21 @@ export default {
methods
:
{
...
Event
,
//获取按钮butstm的事件
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
}
,
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
)
;
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
...
...
src/views/Business/Infltd/Infsea.vue
View file @
170ac996
...
...
@@ -287,13 +287,9 @@
<!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column-->
</c-istream-table>
</c-col>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -351,11 +347,6 @@ export default {
closeTrn
(
refId
){
this
.
$refs
[
refId
].
doClose
();
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
}
,
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
...
...
@@ -370,40 +361,20 @@ export default {
}
},
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
getDitSelInfo
(
idx
,
row
){
//TD中选中行触发
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
(
rtnmsg
.
respCode
=
SUCCESS
){
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:[
idx
+
1
]}
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
(
rtnmsgNew
.
respCode
=
SUCCESS
){
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
(
rtnmsgOitset
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
},
created
:
function
()
{},
};
...
...
src/views/Business/Inftrd/Infsea.vue
View file @
170ac996
...
...
@@ -244,11 +244,8 @@
</
template
>
</el-table-column>
</c-istream-table>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"curownref"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -283,18 +280,20 @@ export default {
]
}
},
methods
:{...
Event
,
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
curownref
=
ownref
console
.
log
(
"inftrd.ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
methods
:{...
Event
,
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
handleReset
:
function
()
{
...
...
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