mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
fix: 重命名RouterCondition->RouterSetting
This commit is contained in:
parent
b047fd9929
commit
c3fb2a3ca1
@ -110,7 +110,7 @@ export interface SimpleFlowNode {
|
|||||||
// 延迟设置
|
// 延迟设置
|
||||||
delaySetting?: DelaySetting
|
delaySetting?: DelaySetting
|
||||||
// 路由分支
|
// 路由分支
|
||||||
routerGroups?: RouterCondition[]
|
routerGroups?: RouterSetting[]
|
||||||
defaultFlowId?: string
|
defaultFlowId?: string
|
||||||
// 签名
|
// 签名
|
||||||
signEnable?: boolean
|
signEnable?: boolean
|
||||||
@ -686,7 +686,7 @@ export const DELAY_TYPE = [
|
|||||||
/**
|
/**
|
||||||
* 路由分支结构定义
|
* 路由分支结构定义
|
||||||
*/
|
*/
|
||||||
export type RouterCondition = {
|
export type RouterSetting = {
|
||||||
nodeId: string
|
nodeId: string
|
||||||
conditionType: ConditionType
|
conditionType: ConditionType
|
||||||
conditionExpression: string
|
conditionExpression: string
|
||||||
|
@ -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, RouterCondition } from '../consts'
|
import { SimpleFlowNode, NodeType, ConditionType, RouterSetting } 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()
|
|||||||
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<RouterCondition[]>([])
|
const routerGroups = ref<RouterSetting[]>([])
|
||||||
const nodeOptions = ref<any>([])
|
const nodeOptions = ref<any>([])
|
||||||
const conditionRef = ref([])
|
const conditionRef = ref([])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user