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
Unverified
Commit
22eb2ccd
authored
Jan 20, 2025
by
芋道源码
Committed by
Gitee
Jan 20, 2025
Browse files
Options
Browse Files
Download
Plain Diff
!669 BPM:重命名RouterCondition->RouterSetting
Merge pull request !669 from Lesan/feature/bpm-路由分支
parents
b047fd99
c3fb2a3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/SimpleProcessDesignerV2/src/consts.ts
+2
-2
src/components/SimpleProcessDesignerV2/src/nodes-config/RouterNodeConfig.vue
+2
-2
No files found.
src/components/SimpleProcessDesignerV2/src/consts.ts
View file @
22eb2ccd
...
@@ -110,7 +110,7 @@ export interface SimpleFlowNode {
...
@@ -110,7 +110,7 @@ export interface SimpleFlowNode {
// 延迟设置
// 延迟设置
delaySetting
?:
DelaySetting
delaySetting
?:
DelaySetting
// 路由分支
// 路由分支
routerGroups
?:
Router
Condition
[]
routerGroups
?:
Router
Setting
[]
defaultFlowId
?:
string
defaultFlowId
?:
string
// 签名
// 签名
signEnable
?:
boolean
signEnable
?:
boolean
...
@@ -686,7 +686,7 @@ export const DELAY_TYPE = [
...
@@ -686,7 +686,7 @@ export const DELAY_TYPE = [
/**
/**
* 路由分支结构定义
* 路由分支结构定义
*/
*/
export
type
Router
Condition
=
{
export
type
Router
Setting
=
{
nodeId
:
string
nodeId
:
string
conditionType
:
ConditionType
conditionType
:
ConditionType
conditionExpression
:
string
conditionExpression
:
string
...
...
src/components/SimpleProcessDesignerV2/src/nodes-config/RouterNodeConfig.vue
View file @
22eb2ccd
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
Plus
}
from
'@element-plus/icons-vue'
import
{
Plus
}
from
'@element-plus/icons-vue'
import
{
SimpleFlowNode
,
NodeType
,
ConditionType
,
Router
Condition
}
from
'../consts'
import
{
SimpleFlowNode
,
NodeType
,
ConditionType
,
Router
Setting
}
from
'../consts'
import
{
useWatchNode
,
useDrawer
,
useNodeName
}
from
'../node'
import
{
useWatchNode
,
useDrawer
,
useNodeName
}
from
'../node'
import
Condition
from
'./components/Condition.vue'
import
Condition
from
'./components/Condition.vue'
...
@@ -85,7 +85,7 @@ const { settingVisible, closeDrawer, openDrawer } = useDrawer()
...
@@ -85,7 +85,7 @@ const { settingVisible, closeDrawer, openDrawer } = useDrawer()
const
currentNode
=
useWatchNode
(
props
)
const
currentNode
=
useWatchNode
(
props
)
// 节点名称
// 节点名称
const
{
nodeName
,
showInput
,
clickIcon
,
blurEvent
}
=
useNodeName
(
NodeType
.
ROUTER_BRANCH_NODE
)
const
{
nodeName
,
showInput
,
clickIcon
,
blurEvent
}
=
useNodeName
(
NodeType
.
ROUTER_BRANCH_NODE
)
const
routerGroups
=
ref
<
Router
Condition
[]
>
([])
const
routerGroups
=
ref
<
Router
Setting
[]
>
([])
const
nodeOptions
=
ref
<
any
>
([])
const
nodeOptions
=
ref
<
any
>
([])
const
conditionRef
=
ref
([])
const
conditionRef
=
ref
([])
...
...
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