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
9991ef2e
authored
Feb 17, 2025
by
lizhixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改魔法字符转枚举类
parent
20e84b07
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
+2
-2
No files found.
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
View file @
9991ef2e
...
...
@@ -74,7 +74,7 @@
</
template
>
<
script
lang=
"ts"
setup
>
import
{
decodeFields
,
setConfAndFields2
}
from
'@/utils/formCreate'
import
{
BpmModelType
}
from
'@/utils/constants'
import
{
BpmModelType
,
BpmModelFormType
}
from
'@/utils/constants'
import
{
CandidateStrategy
,
NodeId
,
...
...
@@ -121,7 +121,7 @@ const initProcessInfo = async (row: any, formVariables?: any) => {
startUserSelectAssignees
.
value
=
{}
// 情况一:流程表单
if
(
row
.
formType
==
10
)
{
if
(
row
.
formType
==
BpmModelFormType
.
NORMAL
)
{
// 设置表单
// 注意:需要从 formVariables 中,移除不在 row.formFields 的值。
// 原因是:后端返回的 formVariables 里面,会有一些非表单的信息。例如说,某个流程节点的审批人。
...
...
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