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
1263ee26
Commit
1263ee26
authored
Jun 22, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release点击
parent
c3644195
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
Event.js
src/model/Trnrel/Event.js
+10
-4
No files found.
src/model/Trnrel/Event.js
View file @
1263ee26
...
...
@@ -131,16 +131,21 @@ export default {
})
},
onRelrow
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
const
that
=
this
that
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,
Utils
.
flatObject
(
this
.
model
))
that
.
model
.
trncorco
.
selinr
=
{
"rows"
:
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
}
const
data
=
Utils
.
flatObject
(
this
.
model
)
let
rtnmsg
=
await
Api
.
post
(
"/trnrel/executeRule/relrow"
,
data
)
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
console
.
log
(
res
)
}
else
{
th
is
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
th
at
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
...
...
@@ -214,6 +219,7 @@ export default {
}
})
},
onRecpanDet
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
...
...
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