@leadal/flowstream-ui-plus 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/flowstream-ui-plus.js +4034 -4005
- package/dist/flowstream-ui-plus.umd.cjs +11 -11
- package/dist/index.d.ts +33 -1
- package/dist/style.css +1 -1
- package/docs//346/216/245/345/205/245/346/226/207/346/241/243.md +1 -1
- package/package.json +1 -1
|
@@ -354,7 +354,7 @@ async function submit() {
|
|
|
354
354
|
- `onBeforeSend(context)` 在实例创建成功后、审批人选择弹窗打开前执行,也支持 Promise;返回 `false` 时保留流程实例和当前会话,但不打开弹窗。
|
|
355
355
|
- 条件稍后满足时调用 `await flowstream.getRuntimeService().open()`,组件会重新执行 `onBeforeSend`;决定放弃时调用 `close()` 撤销实例并释放会话。
|
|
356
356
|
- 调用成功后直接打开选择弹窗,业务模板不需要挂载隐藏组件。
|
|
357
|
-
-
|
|
357
|
+
- 办理方式采用下一节点接口返回的 `dealType`;只有 `dealType=signle` 的节点限制选择一人。需要无视节点配置、全局强制单选时,可显式传入 `singleAssignee: true`。
|
|
358
358
|
- 自定义业务路由参数通过 `assignmentQueryParams` 传入,并作为候选办理人查询请求的 `extendParams` 字段发送。
|
|
359
359
|
- 用户确认后由内部发送组件调用 `sendTask()`;`onAfterSend` 参数中的 `sendData.flowNodeAssignees` 是实际发送的下一节点和办理人。
|
|
360
360
|
- 用户未发送就关闭弹窗时会撤销刚创建的流程实例并释放会话;只有 `onBeforeSend` 返回 `false`、弹窗尚未打开时,才能调用 `open()` 在条件满足后继续。
|