{ "name": "发起人", "desc": "任何人", "type": "ROOT", "parentId": null, "id": "root", "props": { "assignedUser": [ ], "formPerms": [ ] }, "children": { "id": "2QsXrpyaBmfctjCO", "name": "条件分支", "type": "CONDITIONS", "children": { "id": "eZMFYWfhAOeVK5Hn", "name": "审批人", "type": "APPROVAL", "props": { "assignedType": "ROLE", "mode": "OR", "sign": false, "nobody": { "handler": "TO_PASS", "assignedUser": [ ], "assignedRole": [ ] }, "timeLimit": { "timeout": { "unit": "H", "value": 0 }, "handler": { "type": "REFUSE", "notify": { "once": true, "hour": 1 } } }, "assignedUser": [ ], "assignedRole": [ { "type": "role", "roleCode": "ShopProduction", "name": "生产角色", "id": "7a850e527ef64206b7317b2163df3b4d" }, { "type": "role", "roleCode": "purchase", "name": "采购角色", "id": "f37721336f414371844954dda7362016" } ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ], "selfSelect": { "multiple": false }, "leaderTop": { "endCondition": "TOP", "endLevel": 1 }, "leader": { "level": 1 }, "role": [ ], "refuse": { "type": "TO_END", "target": "" }, "formUser": "", "passHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" }, "rejectHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" } }, "subjects": [ ], "examineMode": 1, "noHanderAction": 2, "error": false, "children": { "id": "MHPZqWEyYgJGMPUx", "name": "审批人", "type": "APPROVAL", "props": { "assignedType": "ROLE", "mode": "NEXT", "sign": false, "nobody": { "handler": "TO_PASS", "assignedUser": [ ], "assignedRole": [ ] }, "timeLimit": { "timeout": { "unit": "H", "value": 0 }, "handler": { "type": "REFUSE", "notify": { "once": true, "hour": 1 } } }, "assignedUser": [ ], "assignedRole": [ { "type": "role", "roleCode": "SystemRole", "name": "系统角色", "id": "55f34936cec747f9b0c70030cc240b37" }, { "type": "role", "roleCode": "dispatch", "name": "调度角色", "id": "28e756b7deb2495e896f59b2b93c0ca3" } ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ], "selfSelect": { "multiple": false }, "leaderTop": { "endCondition": "TOP", "endLevel": 1 }, "leader": { "level": 1 }, "role": [ ], "refuse": { "type": "TO_END", "target": "" }, "formUser": "", "passHttp": { "method": "POST", "url": "abc.com", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" }, "rejectHttp": { "method": "POST", "url": "abc.com", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" } }, "error": false, "subjects": [ ], "examineMode": 1, "noHanderAction": 2, "children": { "id": "9O6B8Mw4pFXwjejC", "name": "并行分支", "type": "CONCURRENTS", "children": { "id": "tB82T0goweCcKe76", "name": "审批人", "type": "APPROVAL", "props": { "assignedType": "LEADER", "mode": "OR", "sign": false, "nobody": { "handler": "TO_PASS", "assignedUser": [ ], "assignedRole": [ ] }, "timeLimit": { "timeout": { "unit": "H", "value": 0 }, "handler": { "type": "REFUSE", "notify": { "once": true, "hour": 1 } } }, "assignedUser": [ ], "assignedRole": [ ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ], "selfSelect": { "multiple": false }, "leaderTop": { "endCondition": "TOP", "endLevel": 1 }, "leader": { "level": 1 }, "role": [ ], "refuse": { "type": "TO_END", "target": "" }, "formUser": "", "passHttp": { "method": "POST", "url": "abc.com", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" }, "rejectHttp": { "method": "POST", "url": "abc.com", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" } }, "subjects": [ ], "examineMode": 1, "noHanderAction": 2, "error": false, "ParentID": "9O6B8Mw4pFXwjejC" }, "branchs": [ { "id": "node_371077991169", "name": "分支1", "parentId": "node_371077998976", "type": "CONCURRENT", "props": { }, "children": { "id": "xApb9fqSPqZt13Tk", "name": "抄送人", "children": { }, "type": "CC", "props": { "shouldAdd": false, "assignedUser": [ { "type": "user", "subjectId": "39ada31e4e784fe981dd31d390bb6ad4", "name": "张建东", "id": "39ada31e4e784fe981dd31d390bb6ad4" }, { "type": "user", "subjectId": "3eb29f623e194916acf67732a9a8b040", "name": "张东峰", "id": "3eb29f623e194916acf67732a9a8b040" } ], "assignedRole": [ ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ] }, "ccSelfSelectFlag": 0, "error": false }, "typeElse": false }, { "id": "node_371077991169", "name": "分支2", "parentId": "node_371077998976", "type": "CONCURRENT", "props": { }, "children": { "id": "EbhE21033TTEpqGl", "name": "抄送人", "children": { }, "type": "CC", "props": { "shouldAdd": false, "assignedUser": [ { "type": "user", "subjectId": "18c77f85416a4e458c3bd20d6e325f59", "name": "郭娟娟", "id": "18c77f85416a4e458c3bd20d6e325f59" }, { "type": "user", "subjectId": "586e7fc0f0aa42fc9a9aa68f80e4ee69", "name": "吴银军", "id": "586e7fc0f0aa42fc9a9aa68f80e4ee69" } ], "assignedRole": [ ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ] }, "ccSelfSelectFlag": 0, "error": false }, "typeElse": false } ], "ParentID": "MHPZqWEyYgJGMPUx" }, "ParentID": "eZMFYWfhAOeVK5Hn" }, "ParentID": "2QsXrpyaBmfctjCO" }, "branchs": [ { "name": "研发中心", "error": false, "nodeType": 3, "priorityLevel": 1, "condGroup": { "type": "and", "items": [ { "showType": 3, "columnId": "", "type": 2, "showName": "", "optType": "", "zdy1": "2", "opt1": "<", "zdy2": "", "opt2": "<", "columnDbname": "", "columnType": "Double", "fieldId": "input_1N5KzwbC", "operator": "==", "rightValue": "研发中心" } ] }, "subjects": [ ], "children": { "id": "vCBlqFjPzTs0bUY9", "name": "审批人", "type": "APPROVAL", "props": { "assignedType": "ASSIGN_USER", "mode": "NEXT", "sign": false, "nobody": { "handler": "TO_PASS", "assignedUser": [ ], "assignedRole": [ ] }, "timeLimit": { "timeout": { "unit": "H", "value": 0 }, "handler": { "type": "REFUSE", "notify": { "once": true, "hour": 1 } } }, "assignedUser": [ { "type": "user", "subjectId": "39ada31e4e784fe981dd31d390bb6ad4", "name": "张建东", "id": "39ada31e4e784fe981dd31d390bb6ad4" }, { "type": "user", "subjectId": "5ee809c560cf4fc78c3755c17f177c54", "name": "任鹏飞", "id": "5ee809c560cf4fc78c3755c17f177c54" } ], "assignedRole": [ ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ], "selfSelect": { "multiple": false }, "leaderTop": { "endCondition": "TOP", "endLevel": 1 }, "leader": { "level": 1 }, "role": [ ], "refuse": { "type": "TO_END", "target": "" }, "formUser": "", "passHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" }, "rejectHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" } }, "error": false } }, { "name": "其他中心", "nodeType": 3, "priorityLevel": 2, "condGroup": { "type": "default", "items": [ ] }, "subjects": [ ], "children": { "id": "Jt5c9Dj4xR1r39bG", "name": "审批人", "type": "APPROVAL", "props": { "assignedType": "ASSIGN_USER", "mode": "NEXT", "sign": false, "nobody": { "handler": "TO_PASS", "assignedUser": [ ], "assignedRole": [ ] }, "timeLimit": { "timeout": { "unit": "H", "value": 0 }, "handler": { "type": "REFUSE", "notify": { "once": true, "hour": 1 } } }, "assignedUser": [ { "type": "user", "subjectId": "21e02163f597474288293fff187f7d25", "name": "曹宏雁", "id": "21e02163f597474288293fff187f7d25" }, { "type": "user", "subjectId": "83392f07986c40c084d36d22a2092ba6", "name": "高连所", "id": "83392f07986c40c084d36d22a2092ba6" } ], "assignedRole": [ ], "formPerms": [ { "id": "field4368279468887", "title": "名称", "required": true, "perm": "R" } ], "selfSelect": { "multiple": false }, "leaderTop": { "endCondition": "TOP", "endLevel": 1 }, "leader": { "level": 1 }, "role": [ ], "refuse": { "type": "TO_END", "target": "" }, "formUser": "", "passHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" }, "rejectHttp": { "method": "POST", "url": "", "headers": [ { "name": "", "isField": true, "value": "" } ], "contentType": "JSON", "params": [ { "name": "", "isField": true, "value": "" } ], "retry": 1, "handlerByScript": false, "success": "function handlerOk(res) {\n return true;\n}", "fail": "function handlerFail(res) {\n return true;\n}" } }, "error": false }, "error": false } ], "ParentID": "root" } }