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
4608548c
Commit
4608548c
authored
Dec 26, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trnrel交易复核按钮事件提交
parent
d83c249d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
Event.js
src/model/Trnrel/Event.js
+16
-15
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+2
-1
No files found.
src/model/Trnrel/Event.js
View file @
4608548c
...
...
@@ -87,27 +87,28 @@ export default {
}
},
async
onRelrow
()
{
const
that
=
this
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"
)
const
selIdx
=
row
.
IDX
+
1
+
""
;
//rowno选中行
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
:
selDst
,
selIdx
:
selIdx
};
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
$message
({
type
:
'success'
,
message
:
'Re
lease
成功!'
message
:
'Re
ject
成功!'
});
await
this
.
sleep
(
2000
);
this
.
$router
.
go
(
0
);
}
else
{
th
at
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
th
is
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
sleep
(
ms
)
{
sleep
(
ms
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
()
...
...
@@ -278,20 +279,20 @@ export default {
onSeainf
()
{
},
display
(
index
,
row
){
display
(
index
,
row
)
{
const
d
=
this
.
stmData
.
data
[
index
]
const
ds
=
d
.
split
(
"
\
t"
)
let
viewurl
=
"/#/display/"
+
ds
[
'10'
].
toLowerCase
()
+
"?trn="
+
ds
[
'1'
]
let
viewurl
=
"/#/display/"
+
ds
[
'10'
].
toLowerCase
()
+
"?trn="
+
ds
[
'1'
]
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
},
async
handleSearch
()
{
const
that
=
this
.
root
;
if
(
this
.
model
.
searchAllUsers
)
{
if
(
this
.
model
.
searchAllUsers
)
{
that
.
executeRule
(
"seajbh"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
})
}
else
{
}
else
{
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
...
...
@@ -300,7 +301,7 @@ export default {
}
},
async
handleReset
(){
async
handleReset
()
{
this
.
model
.
bchcon
=
""
;
this
.
model
.
trncorco
.
ownref
=
""
;
this
.
model
.
trncorco
.
relflg
=
""
;
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
4608548c
...
...
@@ -401,7 +401,7 @@
label=
"操作"
width=
"200px"
>
<
template
>
<
template
slot-scope=
"scope"
>
<!--
<a
:href=
"`/#/display/$
{scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照
</a>
-->
<!--
<a
href=
"javascript:void(0)"
@
click=
"display(scope.$index, scope.row)"
>
显示快照
</a
...
...
@@ -418,6 +418,7 @@
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onRelrow(scope.row)"
>
复核
...
...
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