Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/flow-approval-presenter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-approval-presenter

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-approval-presenter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-approval-presenter",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine approval presenter framework ",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-core

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-core",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine core lib framework ",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-design/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-design

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-design",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine design components ",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-icons

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-icons",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine icons ",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-mobile/flow-mobile-approval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-mobile-approval

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-mobile/flow-mobile-approval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-mobile-approval",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine pc mobile approval components",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-mobile/flow-mobile-form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-mobile-form

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-mobile/flow-mobile-form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-mobile-form",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine mobile form engine",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-mobile/flow-mobile-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-mobile-ui

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-mobile/flow-mobile-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-mobile-ui",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine mobile ui components",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-pc/flow-pc-approval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-pc-approval

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-pc/flow-pc-approval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-pc-approval",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine pc form approval components",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-pc/flow-pc-form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-pc-form

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-pc/flow-pc-form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-pc-form",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine pc form engine",
"type": "module",
"sideEffects": [
Expand Down
6 changes: 6 additions & 0 deletions packages/flow-pc/flow-pc-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @coding-flow/flow-pc-ui

## 0.3.0

### Minor Changes

- 版本号升级至 0.3.0(配合后端 0.3.0「操作者身份标识」issue #288,本包无对外功能变更)

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-pc/flow-pc-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-pc-ui",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine pc ui components",
"type": "module",
"sideEffects": [
Expand Down
11 changes: 11 additions & 0 deletions packages/flow-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @coding-flow/flow-types

## 0.3.0

### Minor Changes

- feat: 支持操作者身份标识(issue #288)

- `FlowOperator`、`ProcessNodeOperator` 新增可选字段 `identity`:同一人员的不同身份是不同的参与人(例如同时隶属两个部门),由后端按 `(id, identity)` 区分。
- `identity` 取值由业务侧定义(部门id、岗位编码等),框架只透传、不解释语义;空串或字段缺省表示默认身份,0.3.0 之前的后端响应不含该字段。
- 展示仍使用 `name`,不冻结身份名称;需要区分身份时由宿主自行渲染(后端详情/列表响应同步下发 `identity`)。
- @coding-flow/flow-types@0.3.0

## 0.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coding-flow/flow-types",
"version": "0.2.22",
"version": "0.3.0",
"description": "flow-engine types",
"type": "module",
"sideEffects": [
Expand Down
15 changes: 15 additions & 0 deletions packages/flow-types/src/types/flow-approval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ export interface FlowOperator {
id: number;
// 人员名称
name: string;
/**
* 身份标识(issue #288)。
*
* 同一人员可能以不同身份参与流程(例如同时隶属两个部门),后端按 (id, identity) 区分参与人。
* 该值由业务侧定义语义(部门id、岗位编码等),框架只透传、不解释;空串/缺省表示默认身份。
* 是否为默认身份请联系后端版本判断:0.3.0 之前的响应不含此字段。
*/
identity?: string;
}

/**
Expand All @@ -147,6 +155,13 @@ export interface ProcessNodeOperator {
name: string;
// 是否流程管理员
flowManager: boolean;
/**
* 身份标识(issue #288):同一人员的不同身份是不同的参与人。
*
* 取值由业务侧定义(部门id、岗位编码等),框架只透传不解释;空串/缺省表示默认身份。
* 展示仍使用 `name`,需要区分身份时由宿主自行渲染(本包不冻结身份名称)。
*/
identity?: string;
// 其他属性
[key: string]: any;
}
Expand Down
Loading