Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
94cdb2ed
authored
May 31, 2024
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仿钉钉流程设计器- 后端结构调整
parent
b768632b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
+1
-1
src/views/bpm/simpleWorkflow/index1.vue
+2
-2
No files found.
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
View file @
94cdb2ed
...
...
@@ -83,7 +83,7 @@ const saveSimpleFlowModel = async () => {
}
const
data
=
{
modelId
:
props
.
modelId
,
simpleModel
Body
:
processNodeTree
.
value
simpleModel
:
processNodeTree
.
value
}
const
result
=
await
updateBpmSimpleModel
(
data
)
...
...
src/views/bpm/simpleWorkflow/index1.vue
View file @
94cdb2ed
...
...
@@ -26,7 +26,7 @@ import approverDrawer from '@/components/SimpleProcessDesigner/src/drawer/approv
import
copyerDrawer
from
'@/components/SimpleProcessDesigner/src/drawer/copyerDrawer.vue'
import
{
WorkFlowNode
}
from
'@/components/SimpleProcessDesigner/src/consts'
import
{
ref
}
from
'vue'
import
{
sav
eBpmSimpleModel
,
getBpmSimpleModel
}
from
'@/api/bpm/simple'
import
{
updat
eBpmSimpleModel
,
getBpmSimpleModel
}
from
'@/api/bpm/simple'
import
{
getModel
}
from
'@/api/bpm/model'
import
{
getForm
,
FormVO
}
from
'@/api/bpm/form'
defineOptions
({
name
:
'SimpleWorkflowDesignEditor2'
})
...
...
@@ -65,7 +65,7 @@ const test = async () => {
simpleModelBody
:
nodeConfig
.
value
}
console
.
log
(
'request json data1 is '
,
data1
)
const
result
=
await
sav
eBpmSimpleModel
(
data
)
const
result
=
await
updat
eBpmSimpleModel
(
data
)
console
.
log
(
'save the result is '
,
result
)
if
(
result
)
{
message
.
success
(
'修改成功'
)
...
...
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