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
77938c38
authored
Jan 08, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】BPM:签名组件
parent
d11a82a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue
+2
-1
src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue
+3
-1
No files found.
src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue
View file @
77938c38
...
@@ -157,10 +157,11 @@ const addRouteGroup = () => {
...
@@ -157,10 +157,11 @@ const addRouteGroup = () => {
})
})
}
}
const
deleteRouteGroup
=
(
index
)
=>
{
const
deleteRouteGroup
=
(
index
:
number
)
=>
{
routerGroups
.
value
.
splice
(
index
,
1
)
routerGroups
.
value
.
splice
(
index
,
1
)
}
}
// TODO @lesan:还有一些 router 的命名,没改过来呢
const
getRoutableNode
=
()
=>
{
const
getRoutableNode
=
()
=>
{
// TODO @lesan 还需要满足以下要求
// TODO @lesan 还需要满足以下要求
// 并行分支、包容分支内部节点不能跳转到外部节点
// 并行分支、包容分支内部节点不能跳转到外部节点
...
...
src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue
View file @
77938c38
<!-- TODO @lesan:其它路由条件,可以使用这个哇? -->
<
template
>
<
template
>
<el-form
ref=
"formRef"
:model=
"condition"
:rules=
"formRules"
label-position=
"top"
>
<el-form
ref=
"formRef"
:model=
"condition"
:rules=
"formRules"
label-position=
"top"
>
<!-- TODO @lesan:1)默认选中 条件规则;2)条件规则放前面,因为更常用!-->
<el-form-item
label=
"配置方式"
prop=
"conditionType"
>
<el-form-item
label=
"配置方式"
prop=
"conditionType"
>
<el-radio-group
v-model=
"condition.conditionType"
>
<el-radio-group
v-model=
"condition.conditionType"
>
<el-radio
<el-radio
...
@@ -193,7 +195,7 @@ const addConditionGroup = (conditions) => {
...
@@ -193,7 +195,7 @@ const addConditionGroup = (conditions) => {
and
:
true
,
and
:
true
,
rules
:
[
rules
:
[
{
{
type
:
1
,
type
:
1
,
// TODO @lesan:枚举~
opName
:
'等于'
,
opName
:
'等于'
,
opCode
:
'=='
,
opCode
:
'=='
,
leftSide
:
''
,
leftSide
:
''
,
...
...
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