Skip to content

Commit 77938c3

Browse files
committed
【代码评审】BPM:签名组件
1 parent d11a82a commit 77938c3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ const addRouteGroup = () => {
157157
})
158158
}
159159
160-
const deleteRouteGroup = (index) => {
160+
const deleteRouteGroup = (index: number) => {
161161
routerGroups.value.splice(index, 1)
162162
}
163163
164+
// TODO @lesan:还有一些 router 的命名,没改过来呢
164165
const getRoutableNode = () => {
165166
// TODO @lesan 还需要满足以下要求
166167
// 并行分支、包容分支内部节点不能跳转到外部节点

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
<!-- TODO @lesan:其它路由条件,可以使用这个哇? -->
12
<template>
23
<el-form ref="formRef" :model="condition" :rules="formRules" label-position="top">
4+
<!-- TODO @lesan:1)默认选中 条件规则;2)条件规则放前面,因为更常用!-->
35
<el-form-item label="配置方式" prop="conditionType">
46
<el-radio-group v-model="condition.conditionType">
57
<el-radio
@@ -193,7 +195,7 @@ const addConditionGroup = (conditions) => {
193195
and: true,
194196
rules: [
195197
{
196-
type: 1,
198+
type: 1, // TODO @lesan:枚举~
197199
opName: '等于',
198200
opCode: '==',
199201
leftSide: '',

0 commit comments

Comments
 (0)