文档
测试

流程定义-回显展示流程图

GET
/workflow/wfDefineProcess/map?menuId=2&processId=1

接口描述

流程定义-回显展示流程图

请求参数

参数名
类型
描述
必填
processId
String
所选流程id
必填

响应参数JSON

{ "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1670555354787, "data": { "route": { "id": null, "createdBy": 1, "createdName": "admin", "createdTime": "2022-12-09 11:09:14", "activityId": null, "routeAlias": null, "nextActivityId": null, "finishType": null, "conditionExpression": null, "conditionExplain": null, "candidateId": null, "candidateName": null, "personId": null, "personName": null, "autoRoute": null, "relateFormElementValue": null, "relateFormElement": null, "orderBy": 2, "lineType": null, "lineM": null, "remark": null, "copyFrom": null, "startPortId": null, "vertices": null, "tenantId": 1, "nextActivityName": null, "nextActivityCode": null, "activityType": null, "swimActivityId": null, "queryHistory": null, "hideAgent": null, "isSelect": null, "limitPersonId": null, "limitRoleId": null, "limitOrgId": null }, "activity": { "id": null, "createdBy": 1, "createdName": "admin", "createdTime": "2022-12-09 11:09:14", "processId": 1, "activityName": null, "activityAlias": null, "activityType": null, "supportAutoRoute": "N", "autoRouteConditionFields": null, "endOtherTodo": null, "taskFlag": null, "taskPercent": null, "forkJoin": null, "forkNode": null, "joinActivityCount": null, "timeLimit": null, "swimActivityId": null, "gobackType": null, "backActivityId": null, "queryHistory": null, "hideAgent": null, "copyBtn": null, "signBtn": null, "authorizeBtn": null, "takebackBtn": "Y", "stopBtn": null, "invalidBtn": null, "turntoBtn": null, "urgeBtn": null, "emailRemind": null, "smsRemind": null, "remindUserId": null, "remindUserName": null, "opinionCustomFlag": null, "opinionCustomDesc": null, "submitProjectValidate": null, "orderBy": 11, "remark": null, "copyFrom": null, "nodeLeft": 100, "nodeTop": 100, "nodeWidth": 100, "nodeHeight": 100, "activityCode": null, "activityStatname": null, "isApp": "N", "autoRouteCustomFields": null, "portId": null, "tenantId": 1, "swimActivityName": null, "opinionList": [], "remarkContent": null, "currHandler": null, "creater": null, "otherPersonId": null }, "edit": "Y", "state": "success", "mapJson": "{\"initNum\":\"20\",\"lines\":[{\"id\":\"34\",\"shape\":\"edge\",\"source\":{\"cell\":\"2\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"12\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"32\",\"shape\":\"edge\",\"source\":{\"cell\":\"3\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"2\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"33\",\"shape\":\"edge\",\"source\":{\"cell\":\"3\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"13\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"31\",\"shape\":\"edge\",\"source\":{\"cell\":\"4\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"1\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"39\",\"shape\":\"edge\",\"source\":{\"cell\":\"4\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"32\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"35\",\"shape\":\"edge\",\"source\":{\"cell\":\"12\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"31\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"36\",\"shape\":\"edge\",\"source\":{\"cell\":\"12\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"13\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"37\",\"shape\":\"edge\",\"source\":{\"cell\":\"13\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"30\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"38\",\"shape\":\"edge\",\"source\":{\"cell\":\"30\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"31\"},\"vertices\":[{\"x\":640,\"y\":180}]},{\"id\":\"40\",\"shape\":\"edge\",\"source\":{\"cell\":\"31\",\"port\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\"},\"target\":{\"cell\":\"32\"},\"vertices\":[{\"x\":640,\"y\":180}]}],\"nodes\":[{\"attrs\":{\"text\":{\"text\":\"事件上报\"}},\"height\":27,\"id\":\"4\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e4\",\"shape\":\"flow-chart-rect\",\"type\":\"start round\",\"width\":99,\"x\":1136,\"y\":360},{\"attrs\":{\"text\":{\"text\":\"服务台处理\"}},\"height\":24,\"id\":\"3\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e3\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":86,\"x\":1122,\"y\":200},{\"attrs\":{\"text\":{\"text\":\"一线运维受理\"}},\"height\":24,\"id\":\"2\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e2\",\"shape\":\"flow-chart-rect\",\"type\":\"start round\",\"width\":99,\"x\":1136,\"y\":200},{\"attrs\":{\"text\":{\"text\":\"一线运维处理\"}},\"height\":24,\"id\":\"12\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e12\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":86,\"x\":1122,\"y\":200},{\"attrs\":{\"text\":{\"text\":\"二线运维受理\"}},\"height\":24,\"id\":\"13\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e13\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":86,\"x\":1122,\"y\":200},{\"attrs\":{\"text\":{\"text\":\"二线运维处理\"}},\"height\":100,\"id\":\"30\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e30\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":100,\"x\":100,\"y\":100},{\"attrs\":{\"text\":{\"text\":\"回访\"}},\"height\":100,\"id\":\"31\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e31\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":100,\"x\":100,\"y\":100},{\"attrs\":{\"text\":{\"text\":\"结束\"}},\"height\":100,\"id\":\"32\",\"itemId\":\"492d8a60-efa4-4ee6-b2d7-61b9e32\",\"shape\":\"flow-chart-rect\",\"type\":\"end round\",\"width\":100,\"x\":100,\"y\":100},{\"attrs\":{\"text\":{\"text\":\"回访1\"}},\"height\":100,\"id\":\"57\",\"itemId\":\"4b2d76b3-7161-403f-b6d3-c2ba7e5\",\"shape\":\"flow-chart-rect\",\"type\":\"task\",\"width\":100,\"x\":100,\"y\":100}]}" } } //mapjson案例 { "initNum": "20", "lines": [{ "id": "34", "shape": "edge", "source": { "cell": "2", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "12" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "32", "shape": "edge", "source": { "cell": "3", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "2" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "33", "shape": "edge", "source": { "cell": "3", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "13" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "31", "shape": "edge", "source": { "cell": "4", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "1" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "39", "shape": "edge", "source": { "cell": "4", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "32" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "35", "shape": "edge", "source": { "cell": "12", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "31" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "36", "shape": "edge", "source": { "cell": "12", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "13" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "37", "shape": "edge", "source": { "cell": "13", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "30" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "38", "shape": "edge", "source": { "cell": "30", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "31" }, "vertices": [{ "x": 640, "y": 180 }] }, { "id": "40", "shape": "edge", "source": { "cell": "31", "port": "492d8a60-efa4-4ee6-b2d7-61b9e3" }, "target": { "cell": "32" }, "vertices": [{ "x": 640, "y": 180 }] }], "nodes": [{ "attrs": { "text": { "text": "事件上报" } }, "height": 27, "id": "4", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e4", "shape": "flow-chart-rect", "type": "start round", "width": 99, "x": 1136, "y": 360 }, { "attrs": { "text": { "text": "服务台处理" } }, "height": 24, "id": "3", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e3", "shape": "flow-chart-rect", "type": "task", "width": 86, "x": 1122, "y": 200 }, { "attrs": { "text": { "text": "一线运维受理" } }, "height": 24, "id": "2", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e2", "shape": "flow-chart-rect", "type": "start round", "width": 99, "x": 1136, "y": 200 }, { "attrs": { "text": { "text": "一线运维处理" } }, "height": 24, "id": "12", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e12", "shape": "flow-chart-rect", "type": "task", "width": 86, "x": 1122, "y": 200 }, { "attrs": { "text": { "text": "二线运维受理" } }, "height": 24, "id": "13", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e13", "shape": "flow-chart-rect", "type": "task", "width": 86, "x": 1122, "y": 200 }, { "attrs": { "text": { "text": "二线运维处理" } }, "height": 100, "id": "30", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e30", "shape": "flow-chart-rect", "type": "task", "width": 100, "x": 100, "y": 100 }, { "attrs": { "text": { "text": "回访" } }, "height": 100, "id": "31", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e31", "shape": "flow-chart-rect", "type": "task", "width": 100, "x": 100, "y": 100 }, { "attrs": { "text": { "text": "结束" } }, "height": 100, "id": "32", "itemId": "492d8a60-efa4-4ee6-b2d7-61b9e32", "shape": "flow-chart-rect", "type": "end round", "width": 100, "x": 100, "y": 100 }, { "attrs": { "text": { "text": "回访1" } }, "height": 100, "id": "57", "itemId": "4b2d76b3-7161-403f-b6d3-c2ba7e5", "shape": "flow-chart-rect", "type": "task", "width": 100, "x": 100, "y": 100 }] }

swagger 功能定位

![image.png](https://cos.easydoc.net/97781918/files/l9zbgtcs.png) ![image.png](https://cos.easydoc.net/97781918/files/l9zbhfak.png)