|
103 | 103 | <Icon icon="ep:plus" class="mr-5px" />添加一行
|
104 | 104 | </el-button>
|
105 | 105 | </el-form-item>
|
| 106 | + <!-- TODO @lesan:async、source、target 几个字段,会告警 --> |
106 | 107 | <el-form-item
|
107 | 108 | v-if="configForm.async === false"
|
108 | 109 | label="子→主变量传递"
|
|
159 | 160 | <Icon icon="ep:plus" class="mr-5px" />添加一行
|
160 | 161 | </el-button>
|
161 | 162 | </el-form-item>
|
| 163 | + <!-- TODO @lesan:startUserType、startUserEmptyType 要不走写下枚举类? --> |
162 | 164 | <el-form-item label="子流程发起人" prop="startUserType">
|
163 | 165 | <el-radio-group v-model="configForm.startUserType">
|
164 | 166 | <el-radio :value="1">同主流程发起人</el-radio>
|
@@ -332,6 +334,7 @@ const saveConfig = async () => {
|
332 | 334 | if (!formRef) return false
|
333 | 335 | const valid = await formRef.value.validate()
|
334 | 336 | if (!valid) return false
|
| 337 | + // TODO @lesan:这里的 option 黄色告警,也处理下哈 |
335 | 338 | const childInfo = childProcessOptions.value.find(
|
336 | 339 | (option) => option.key === configForm.value.calledProcessDefinitionKey
|
337 | 340 | )
|
@@ -375,6 +378,7 @@ const saveConfig = async () => {
|
375 | 378 | return true
|
376 | 379 | }
|
377 | 380 | // 显示子流程节点配置, 由父组件传过来
|
| 381 | +// TODO @lesan:inVariables、outVariables 红色告警 |
378 | 382 | const showChildProcessNodeConfig = (node: SimpleFlowNode) => {
|
379 | 383 | nodeName.value = node.name
|
380 | 384 | if (node.childProcessSetting) {
|
@@ -417,6 +421,7 @@ const showChildProcessNodeConfig = (node: SimpleFlowNode) => {
|
417 | 421 |
|
418 | 422 | defineExpose({ openDrawer, showChildProcessNodeConfig }) // 暴露方法给父组件
|
419 | 423 |
|
| 424 | +// TODO @lesan:这里的 arr 黄色告警,也处理下哈,可以用 cursor quick fix 哈 |
420 | 425 | const addVariable = (arr) => {
|
421 | 426 | arr.push({
|
422 | 427 | source: '',
|
|
0 commit comments