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
2a73b9c4
authored
Mar 02, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】BPM:去除 bpm 冗余的路由
parent
5259db9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/views/bpm/model/form/ProcessDesign.vue
+1
-1
src/views/bpm/model/form/editor/index.vue
+2
-2
No files found.
src/views/bpm/model/form/ProcessDesign.vue
View file @
2a73b9c4
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
BpmModelType
}
from
'@/utils/constants'
import
{
BpmModelType
}
from
'@/utils/constants'
import
BpmModelEditor
from
'.
.
/editor/index.vue'
import
BpmModelEditor
from
'./editor/index.vue'
import
SimpleModelDesign
from
'../../simple/SimpleModelDesign.vue'
import
SimpleModelDesign
from
'../../simple/SimpleModelDesign.vue'
// 创建本地数据副本
// 创建本地数据副本
...
...
src/views/bpm/model/editor/index.vue
→
src/views/bpm/model/
form/
editor/index.vue
View file @
2a73b9c4
...
@@ -39,7 +39,7 @@ import * as FormApi from '@/api/bpm/form'
...
@@ -39,7 +39,7 @@ import * as FormApi from '@/api/bpm/form'
defineOptions
({
name
:
'BpmModelEditor'
})
defineOptions
({
name
:
'BpmModelEditor'
})
const
props
=
defineProps
<
{
defineProps
<
{
modelId
?:
string
modelId
?:
string
modelKey
:
string
modelKey
:
string
modelName
:
string
modelName
:
string
...
@@ -75,7 +75,7 @@ const model = ref<ModelApi.ModelVO>() // 流程模型的信息
...
@@ -75,7 +75,7 @@ const model = ref<ModelApi.ModelVO>() // 流程模型的信息
/** 初始化 modeler */
/** 初始化 modeler */
const
initModeler
=
async
(
item
:
any
)
=>
{
const
initModeler
=
async
(
item
:
any
)
=>
{
//先初始化模型数据
//
先初始化模型数据
model
.
value
=
modelData
.
value
model
.
value
=
modelData
.
value
modeler
.
value
=
item
modeler
.
value
=
item
}
}
...
...
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