|
@@ -1,602 +1,112 @@ |
|
|
{ |
|
|
{ |
|
|
"type": "workflow", |
|
|
|
|
|
"version": 3, |
|
|
|
|
|
"flows": [ |
|
|
|
|
|
|
|
|
"fields": [ |
|
|
{ |
|
|
{ |
|
|
"widget": { |
|
|
|
|
|
"type": "flow-chart", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"title": "并行流程测试" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"graph": { |
|
|
|
|
|
"cells": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 240, |
|
|
|
|
|
"y": -450 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 60, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/play.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-end", |
|
|
|
|
|
"id": "node173c6e891c8", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6e891c8", |
|
|
|
|
|
"type": "flow-node-begin", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "开始" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 210, |
|
|
|
|
|
"y": -305.99999999999966 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"text": { |
|
|
|
|
|
"text": "任务1" |
|
|
|
|
|
}, |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/people.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-action", |
|
|
|
|
|
"id": "node173c6eb453c", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6eb453c", |
|
|
|
|
|
"type": "flow-node-manual", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务1", |
|
|
|
|
|
"users": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "userGroup", |
|
|
|
|
|
"target": { |
|
|
|
|
|
"ugId": 21222, |
|
|
|
|
|
"ugName": "部门经理", |
|
|
|
|
|
"ugCreateAt": "2020-07-26 10:42:43", |
|
|
|
|
|
"ugUpdateAt": "2020-07-26 10:42:43" |
|
|
|
|
|
}, |
|
|
|
|
|
"notNull": true, |
|
|
|
|
|
"filter": "" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"fields": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "column-172fda7eb90", |
|
|
|
|
|
"name": "id", |
|
|
|
|
|
"label": "ID", |
|
|
|
|
|
"perm": "read", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "col-173284e59df", |
|
|
|
|
|
"name": "name", |
|
|
|
|
|
"label": "数据字段", |
|
|
|
|
|
"perm": "write", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"actionReturn": true, |
|
|
|
|
|
"actionTransmit": true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 210, |
|
|
|
|
|
"y": -174.99999999999966 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/add-one.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-choice", |
|
|
|
|
|
"id": "node173c6eb4542", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6eb4542", |
|
|
|
|
|
"type": "flow-node-split", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务分支" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 210, |
|
|
|
|
|
"y": 104 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/reduce.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-choice", |
|
|
|
|
|
"id": "node173c6eb4545", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6eb4545", |
|
|
|
|
|
"type": "flow-node-merge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务聚合" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 110, |
|
|
|
|
|
"y": -29.999999999999716 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"text": { |
|
|
|
|
|
"text": "任务2-1" |
|
|
|
|
|
}, |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/people.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-action", |
|
|
|
|
|
"id": "node173c6eb4547", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6eb4547", |
|
|
|
|
|
"type": "flow-node-manual", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务2-1", |
|
|
|
|
|
"fields": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "column-172fda7eb90", |
|
|
|
|
|
"name": "id", |
|
|
|
|
|
"label": "ID", |
|
|
|
|
|
"perm": "read", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "col-173284e59df", |
|
|
|
|
|
"name": "name", |
|
|
|
|
|
"label": "数据字段", |
|
|
|
|
|
"perm": "write", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"users": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "userGroup", |
|
|
|
|
|
"target": { |
|
|
|
|
|
"ugId": 21222, |
|
|
|
|
|
"ugName": "部门经理", |
|
|
|
|
|
"ugCreateAt": "2020-07-26 10:42:43", |
|
|
|
|
|
"ugUpdateAt": "2020-07-26 10:42:43" |
|
|
|
|
|
}, |
|
|
|
|
|
"notNull": true, |
|
|
|
|
|
"filter": "" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"actionReturn": true, |
|
|
|
|
|
"actionTransmit": true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 307, |
|
|
|
|
|
"y": -29.999999999999716 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"text": { |
|
|
|
|
|
"text": "任务2-2" |
|
|
|
|
|
}, |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/people.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-action", |
|
|
|
|
|
"id": "node173c6eb454c", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c6eb454c", |
|
|
|
|
|
"type": "flow-node-manual", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务2-2", |
|
|
|
|
|
"fields": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "column-172fda7eb90", |
|
|
|
|
|
"name": "id", |
|
|
|
|
|
"label": "ID", |
|
|
|
|
|
"perm": "write", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "col-173284e59df", |
|
|
|
|
|
"name": "name", |
|
|
|
|
|
"label": "数据字段", |
|
|
|
|
|
"perm": "read", |
|
|
|
|
|
"notNull": false |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"users": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "userGroup", |
|
|
|
|
|
"target": { |
|
|
|
|
|
"ugId": 21222, |
|
|
|
|
|
"ugName": "部门经理", |
|
|
|
|
|
"ugCreateAt": "2020-07-26 10:42:43", |
|
|
|
|
|
"ugUpdateAt": "2020-07-26 10:42:43" |
|
|
|
|
|
}, |
|
|
|
|
|
"notNull": true, |
|
|
|
|
|
"filter": "" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"actionReturn": true, |
|
|
|
|
|
"actionTransmit": true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 210, |
|
|
|
|
|
"y": 230 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 120, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"text": { |
|
|
|
|
|
"text": "任务3" |
|
|
|
|
|
}, |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/people.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-action", |
|
|
|
|
|
"id": "node173c7c0d14e", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c7c0d14e", |
|
|
|
|
|
"type": "flow-node-manual", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "任务3", |
|
|
|
|
|
"users": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "userGroup", |
|
|
|
|
|
"target": { |
|
|
|
|
|
"ugId": 21222, |
|
|
|
|
|
"ugName": "部门经理", |
|
|
|
|
|
"ugCreateAt": "2020-07-26 10:42:43", |
|
|
|
|
|
"ugUpdateAt": "2020-07-26 10:42:43" |
|
|
|
|
|
}, |
|
|
|
|
|
"notNull": true, |
|
|
|
|
|
"filter": "" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"actionReturn": true, |
|
|
|
|
|
"actionTransmit": true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"position": { |
|
|
|
|
|
"x": 240, |
|
|
|
|
|
"y": 340 |
|
|
|
|
|
}, |
|
|
|
|
|
"size": { |
|
|
|
|
|
"width": 60, |
|
|
|
|
|
"height": 50 |
|
|
|
|
|
}, |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"icon": { |
|
|
|
|
|
"xlink:href": "/src/assets/images/svg/stop.svg" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"shape": "flow-end", |
|
|
|
|
|
"id": "node173c7dfe36c", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "node173c7dfe36c", |
|
|
|
|
|
"type": "flow-node-end", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "结束" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4541", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4541", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "启动" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6e891c8" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb453c" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4544", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4544", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "提交" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb453c" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb4542" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4551", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4551", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "执行" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb4542" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb4547" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4553", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4553", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "执行2" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb4542" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb454c" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c7dfe36b", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c7dfe36b", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "执行" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb4545" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c7c0d14e" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4555", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4555", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "提交" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb4547" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb4545" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c6eb4554", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c6eb4554", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "提交" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c6eb454c" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c6eb4545" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"shape": "edge", |
|
|
|
|
|
"attrs": { |
|
|
|
|
|
"line": { |
|
|
|
|
|
"stroke": "#4D5B62", |
|
|
|
|
|
"strokeWidth": 1 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"id": "conn173c7dfe36d", |
|
|
|
|
|
"data": { |
|
|
|
|
|
"id": "conn173c7dfe36d", |
|
|
|
|
|
"type": "flow-edge", |
|
|
|
|
|
"props": { |
|
|
|
|
|
"label": "提交" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"zIndex": 1, |
|
|
|
|
|
"source": { |
|
|
|
|
|
"cell": "node173c7c0d14e" |
|
|
|
|
|
}, |
|
|
|
|
|
"target": { |
|
|
|
|
|
"cell": "node173c7dfe36c" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
"locked": 1, |
|
|
|
|
|
"name": "bp_id", |
|
|
|
|
|
"title": "主键", |
|
|
|
|
|
"fieldType": 1, |
|
|
|
|
|
"dataType": "id", |
|
|
|
|
|
"null": 1, |
|
|
|
|
|
"default": -1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_number", |
|
|
|
|
|
"editor": "num", |
|
|
|
|
|
"title": "第几届", |
|
|
|
|
|
"remark": "第几届", |
|
|
|
|
|
"dataType": "int", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_name", |
|
|
|
|
|
"editor": "input", |
|
|
|
|
|
"title": "届别名称", |
|
|
|
|
|
"dataType": "name", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"remark": "根据第几届自动生成", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_start_time", |
|
|
|
|
|
"editor": "datetime", |
|
|
|
|
|
"title": "届别开始时间", |
|
|
|
|
|
"dataType": "datetime", |
|
|
|
|
|
"default": "0", |
|
|
|
|
|
"remark": "届别开始时间", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_end_time", |
|
|
|
|
|
"editor": "datetime", |
|
|
|
|
|
"title": "届别结束时间", |
|
|
|
|
|
"dataType": "datetime", |
|
|
|
|
|
"default": "0", |
|
|
|
|
|
"remark": "届别结束时间", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_create_uid", |
|
|
|
|
|
"editor": "input", |
|
|
|
|
|
"title": "创建人", |
|
|
|
|
|
"fieldType": 7, |
|
|
|
|
|
"dataType": "id", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"remark": "创建人", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_create_time", |
|
|
|
|
|
"editor": "datetime", |
|
|
|
|
|
"title": "创建时间", |
|
|
|
|
|
"fieldType": 8, |
|
|
|
|
|
"dataType": "datetime", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"remark": "创建时间", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_update_uid", |
|
|
|
|
|
"editor": "input", |
|
|
|
|
|
"title": "更新人", |
|
|
|
|
|
"fieldType": 9, |
|
|
|
|
|
"dataType": "id", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"remark": "更新人", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_update_time", |
|
|
|
|
|
"editor": "datetime", |
|
|
|
|
|
"title": "更新时间", |
|
|
|
|
|
"fieldType": 10, |
|
|
|
|
|
"dataType": "datetime", |
|
|
|
|
|
"default": "", |
|
|
|
|
|
"remark": "更新时间", |
|
|
|
|
|
"null": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "bp_state", |
|
|
|
|
|
"editor": "combo", |
|
|
|
|
|
"title": "状态", |
|
|
|
|
|
"dataType": "bool", |
|
|
|
|
|
"default": "0", |
|
|
|
|
|
"remark": "1启用0无效", |
|
|
|
|
|
"null": 1 |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"model": { |
|
|
|
|
|
"page": "默认表单定义", |
|
|
|
|
|
"canEditOther": "bool是否允许编辑非本人单据", |
|
|
|
|
|
"rejectToMake": "bool True-驳回到制单 False-逐级驳回", |
|
|
|
|
|
"activities": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "唯一标识", |
|
|
|
|
|
"type": "类别:1-开始任务 2-用户任务 3-条件分支 4-并行开始 5-并行结束 6-脚本任务 9-结束任务", |
|
|
|
|
|
"code": "活动编号,代码可调用", |
|
|
|
|
|
"label": "活动名称", |
|
|
|
|
|
"page": "表单定义", |
|
|
|
|
|
"canEdit": "是否可编辑", |
|
|
|
|
|
"needSign": "是否需要会签", |
|
|
|
|
|
"buttons": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "submit", |
|
|
|
|
|
"label": "提交", |
|
|
|
|
|
"valid": "是否允许,bool" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "reject", |
|
|
|
|
|
"label": "驳回", |
|
|
|
|
|
"valid": "是否允许,bool" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "retake", |
|
|
|
|
|
"label": "取回", |
|
|
|
|
|
"valid": "是否允许,bool" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "cancel", |
|
|
|
|
|
"label": "作废", |
|
|
|
|
|
"valid": "是否允许,bool" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "delete", |
|
|
|
|
|
"label": "删除", |
|
|
|
|
|
"valid": "是否允许,bool" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"eidtFields": [ |
|
|
|
|
|
"可编辑的字段" |
|
|
|
|
|
], |
|
|
|
|
|
"disableFields": [ |
|
|
|
|
|
"不可查看的字段" |
|
|
|
|
|
], |
|
|
|
|
|
"handler": { |
|
|
|
|
|
"userGroup": "主办人分组", |
|
|
|
|
|
"filter": "主办人过滤:制单人所属单位/制单人所属部门/上一步提交人所属单位/上一步提交人所属部门", |
|
|
|
|
|
"ignore": "主办人过滤:上一步提交人/过滤制单人" |
|
|
|
|
|
}, |
|
|
|
|
|
"sign": { |
|
|
|
|
|
"minSign": "最少会签人数", |
|
|
|
|
|
"minAgree": "最少会签同意人数", |
|
|
|
|
|
"minAgreeUnit": "最少会签同意人数单位:0-人数 1-会签同意占比", |
|
|
|
|
|
"userGroup": "会签人分组", |
|
|
|
|
|
"filter": "会签人过滤:制单人所属单位/制单人所属部门/上一步提交人所属单位/上一步提交人所属部门", |
|
|
|
|
|
"ignore": "会签人过滤:上一步提交人/过滤制单人" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"trans": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "唯一标识", |
|
|
|
|
|
"seq": "序号", |
|
|
|
|
|
"expr": "条件表达式", |
|
|
|
|
|
"src": "源活动", |
|
|
|
|
|
"dst": "目标活动", |
|
|
|
|
|
"desc": "说明" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
"indexes": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"locked": 1, |
|
|
|
|
|
"fields": "bp_id", |
|
|
|
|
|
"type": "P" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"caches": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "n", |
|
|
|
|
|
"fields": "bp_name", |
|
|
|
|
|
"type": "M" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
} |
|
|
} |