[audit] P6.6 F6 前端指派选择器共享组件(纯新增备用件:collect/validate/watch 重拉 + applyPreview API 预置;未接入页面)
build / build (push) Successful in 7m44s
build / build (push) Successful in 7m44s
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user