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
e1fc9039
authored
May 13, 2024
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仿钉钉流程设计器- bug 修复
parent
6cf69f04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue
+3
-2
No files found.
src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue
View file @
e1fc9039
...
@@ -162,7 +162,7 @@ const formType = inject<Ref<number>>('formType') // 表单类型
...
@@ -162,7 +162,7 @@ const formType = inject<Ref<number>>('formType') // 表单类型
const
conditionConfigTypes
=
computed
(
()
=>
{
const
conditionConfigTypes
=
computed
(
()
=>
{
return
CONDITION_CONFIG_TYPES
.
filter
(
item
=>
{
return
CONDITION_CONFIG_TYPES
.
filter
(
item
=>
{
// 业务表单暂时去掉条件规则
选项
// 业务表单暂时去掉条件规则选项
if
(
formType
?.
value
!==
10
){
if
(
formType
?.
value
!==
10
){
return
item
.
value
===
1
return
item
.
value
===
1
}
else
{
}
else
{
...
@@ -350,9 +350,10 @@ const deleteConditionRule = (condition:Condition, idx:number) => {
...
@@ -350,9 +350,10 @@ const deleteConditionRule = (condition:Condition, idx:number) => {
condition
.
rules
.
splice
(
idx
,
1
)
condition
.
rules
.
splice
(
idx
,
1
)
}
}
cons
t
fieldsInfo
:
any
[]
=
[];
le
t
fieldsInfo
:
any
[]
=
[];
const
getFieldsInfo
=
()
=>
{
const
getFieldsInfo
=
()
=>
{
fieldsInfo
=
[];
if
(
formFields
){
if
(
formFields
){
formFields
.
value
.
forEach
((
fieldStr
:
string
)
=>
{
formFields
.
value
.
forEach
((
fieldStr
:
string
)
=>
{
const
{
field
,
title
,
type
}
=
JSON
.
parse
(
fieldStr
)
const
{
field
,
title
,
type
}
=
JSON
.
parse
(
fieldStr
)
...
...
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