Skip to content

Commit 22eb2cc

Browse files
YunaiVgitee-org
authored andcommitted
!669 BPM:重命名RouterCondition->RouterSetting
Merge pull request !669 from Lesan/feature/bpm-路由分支
2 parents b047fd9 + c3fb2a3 commit 22eb2cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/SimpleProcessDesignerV2/src/consts.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface SimpleFlowNode {
110110
// 延迟设置
111111
delaySetting?: DelaySetting
112112
// 路由分支
113-
routerGroups?: RouterCondition[]
113+
routerGroups?: RouterSetting[]
114114
defaultFlowId?: string
115115
// 签名
116116
signEnable?: boolean
@@ -686,7 +686,7 @@ export const DELAY_TYPE = [
686686
/**
687687
* 路由分支结构定义
688688
*/
689-
export type RouterCondition = {
689+
export type RouterSetting = {
690690
nodeId: string
691691
conditionType: ConditionType
692692
conditionExpression: string

src/components/SimpleProcessDesignerV2/src/nodes-config/RouterNodeConfig.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</template>
6565
<script setup lang="ts">
6666
import { Plus } from '@element-plus/icons-vue'
67-
import { SimpleFlowNode, NodeType, ConditionType, RouterCondition } from '../consts'
67+
import { SimpleFlowNode, NodeType, ConditionType, RouterSetting } from '../consts'
6868
import { useWatchNode, useDrawer, useNodeName } from '../node'
6969
import Condition from './components/Condition.vue'
7070
@@ -85,7 +85,7 @@ const { settingVisible, closeDrawer, openDrawer } = useDrawer()
8585
const currentNode = useWatchNode(props)
8686
// 节点名称
8787
const { nodeName, showInput, clickIcon, blurEvent } = useNodeName(NodeType.ROUTER_BRANCH_NODE)
88-
const routerGroups = ref<RouterCondition[]>([])
88+
const routerGroups = ref<RouterSetting[]>([])
8989
const nodeOptions = ref<any>([])
9090
const conditionRef = ref([])
9191

0 commit comments

Comments
 (0)