From 04fd54e94585d0206f97d306510bfcf6431dabbb Mon Sep 17 00:00:00 2001 From: chenxing Date: Sun, 18 Oct 2026 08:24:08 +0800 Subject: [PATCH] =?UTF-8?q?[audit]=20P6.6=20F6=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=8C=87=E6=B4=BE=E9=80=89=E6=8B=A9=E5=99=A8=E5=85=B1=E4=BA=AB?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=88=E7=BA=AF=E6=96=B0=E5=A2=9E=E5=A4=87?= =?UTF-8?q?=E7=94=A8=E4=BB=B6=EF=BC=9Acollect/validate/watch=20=E9=87=8D?= =?UTF-8?q?=E6=8B=89=20+=20applyPreview=20API=20=E9=A2=84=E7=BD=AE?= =?UTF-8?q?=EF=BC=9B=E6=9C=AA=E6=8E=A5=E5=85=A5=E9=A1=B5=E9=9D=A2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/module/flow.ts | 8 ++ src/components/FlowAssignSelector.vue | 121 ++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 src/components/FlowAssignSelector.vue diff --git a/src/api/module/flow.ts b/src/api/module/flow.ts index 439f30c..49c45ad 100644 --- a/src/api/module/flow.ts +++ b/src/api/module/flow.ts @@ -294,6 +294,14 @@ class FlowApi { adminInstances(params: { status?: number; keyword?: string; page?: number; size?: number }) { return get(`${ROOT}/admin/instance/page`, params); } + /** + * 发起时指派预览(F6 共享选择器数据源;与 oapi /oapi/flow/apply/preview 同形: + * {flowGuid, defVersion, nodes:[{nodeId,nodeName,countersign,selection,candidates}]})。 + * 纯预置:后端 /api 代理端点属 F6 正式接入批次,接线时同批点亮(FlowAssignSelector 当前为备用组件)。 + */ + applyPreview(flowGuid: string) { + return get(`${ROOT}/apply/preview`, { flowGuid }); + } } export const flowApi = new FlowApi(); diff --git a/src/components/FlowAssignSelector.vue b/src/components/FlowAssignSelector.vue new file mode 100644 index 0000000..671c6f3 --- /dev/null +++ b/src/components/FlowAssignSelector.vue @@ -0,0 +1,121 @@ + + + + +