Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform2
Commits
49be373c
Commit
49be373c
authored
3 years ago
by
pobu168
Browse files
Options
Download
Email Patches
Plain Diff
fix bug
parent
e9750328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wecube-portal/src/api/server.js
+3
-1
wecube-portal/src/api/server.js
with
3 additions
and
1 deletion
+3
-1
wecube-portal/src/api/server.js
+
3
-
1
View file @
49be373c
...
...
@@ -20,7 +20,9 @@ export const getFlowDetailByID = id => req.get(`/platform/v1/process/definitions
export
const
getFlowOutlineByID
=
id
=>
req
.
get
(
`/platform/v1/process/definitions/
${
id
}
/outline`
)
export
const
getTargetOptions
=
(
pkgName
,
entityName
)
=>
req
.
get
(
`platform/v1/packages/
${
pkgName
}
/entities/
${
entityName
}
/retrieve`
)
req
.
post
(
`/
${
pkgName
}
/entities/
${
entityName
}
/query`
,
{
additionalFilters
:
[]
})
export
const
getTreePreviewData
=
(
flowId
,
targetId
)
=>
req
.
get
(
`platform/v1/process/definitions/
${
flowId
}
/preview/entities/
${
targetId
}
`
)
export
const
createFlowInstance
=
data
=>
req
.
post
(
`platform/v1/process/instances`
,
data
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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