!669 BPM:重命名RouterCondition->RouterSetting

Merge pull request !669 from Lesan/feature/bpm-路由分支
This commit is contained in:
芋道源码 2025-01-20 01:15:59 +00:00 committed by Gitee
commit 22eb2ccdbf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ export interface SimpleFlowNode {
// 延迟设置
delaySetting?: DelaySetting
// 路由分支
routerGroups?: RouterCondition[]
routerGroups?: RouterSetting[]
defaultFlowId?: string
// 签名
signEnable?: boolean
@ -686,7 +686,7 @@ export const DELAY_TYPE = [
/**
*
*/
export type RouterCondition = {
export type RouterSetting = {
nodeId: string
conditionType: ConditionType
conditionExpression: string

View File

@ -64,7 +64,7 @@
</template>
<script setup lang="ts">
import { Plus } from '@element-plus/icons-vue'
import { SimpleFlowNode, NodeType, ConditionType, RouterCondition } from '../consts'
import { SimpleFlowNode, NodeType, ConditionType, RouterSetting } from '../consts'
import { useWatchNode, useDrawer, useNodeName } from '../node'
import Condition from './components/Condition.vue'
@ -85,7 +85,7 @@ const { settingVisible, closeDrawer, openDrawer } = useDrawer()
const currentNode = useWatchNode(props)
//
const { nodeName, showInput, clickIcon, blurEvent } = useNodeName(NodeType.ROUTER_BRANCH_NODE)
const routerGroups = ref<RouterCondition[]>([])
const routerGroups = ref<RouterSetting[]>([])
const nodeOptions = ref<any>([])
const conditionRef = ref([])