123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- {
- "name": "leave",
- "displayName": "请假",
- "instanceUrl": "leaveForm",
- "nodes": [
- {
- "id": "start",
- "type": "hotline:start",
- "x": 340,
- "y": 160,
- "properties": {
- "width": "120",
- "height": "80"
- },
- "text": {
- "x": 340,
- "y": 200,
- "value": "开始"
- }
- },
- {
- "id": "apply",
- "type": "hotline:task",
- "x": 520,
- "y": 160,
- "properties": {
- "assignee": "approve.operator",
- "taskType": "Major",
- "performType": "ANY",
- "autoExecute": "N",
- "width": "120",
- "height": "80",
- "field": {
- "userKey": "1"
- }
- },
- "text": {
- "x": 520,
- "y": 160,
- "value": "请假申请"
- }
- },
- {
- "id": "approveDept",
- "type": "hotline:task",
- "x": 740,
- "y": 160,
- "properties": {
- "assignmentHandler": "com.mldong.config.FlowAssignmentHandler",
- "taskType": "Major",
- "performType": "ANY",
- "autoExecute": "N",
- "width": "120",
- "height": "80"
- },
- "text": {
- "x": 740,
- "y": 160,
- "value": "部门领导审批"
- }
- },
- {
- "id": "approveBoss",
- "type": "hotline:task",
- "x": 900,
- "y": 480,
- "properties": {
- "assignmentHandler": "com.mldong.config.FlowAssignmentHandler",
- "taskType": "Major",
- "performType": "ANY",
- "autoExecute": "N",
- "width": "120",
- "height": "80"
- },
- "text": {
- "x": 900,
- "y": 480,
- "value": "公司领导审批"
- }
- },
- {
- "id": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
- "type": "hotline:decision",
- "x": 740,
- "y": 340,
- "properties": {
- "width": "120",
- "height": "80"
- }
- },
- {
- "id": "end",
- "type": "hotline:end",
- "x": 1080,
- "y": 160,
- "properties": {
- "width": "120",
- "height": "80"
- },
- "text": {
- "x": 1080,
- "y": 200,
- "value": "结束"
- }
- }
- ],
- "edges": [
- {
- "id": "3037be41-5682-4344-b94a-9faf5c3e62ba",
- "type": "hotline:transition",
- "sourceNodeId": "start",
- "targetNodeId": "apply",
- "startPoint": {
- "x": 358,
- "y": 160
- },
- "endPoint": {
- "x": 460,
- "y": 160
- },
- "properties": {},
- "pointsList": [
- {
- "x": 358,
- "y": 160
- },
- {
- "x": 460,
- "y": 160
- }
- ]
- },
- {
- "id": "c79642ae-9f28-4213-8cdf-0e0d6467b1b9",
- "type": "hotline:transition",
- "sourceNodeId": "apply",
- "targetNodeId": "approveDept",
- "startPoint": {
- "x": 580,
- "y": 160
- },
- "endPoint": {
- "x": 680,
- "y": 160
- },
- "properties": {},
- "pointsList": [
- {
- "x": 580,
- "y": 160
- },
- {
- "x": 680,
- "y": 160
- }
- ]
- },
- {
- "id": "09d9b143-9473-4a0f-8287-9abf6f65baf5",
- "type": "hotline:transition",
- "sourceNodeId": "approveDept",
- "targetNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
- "startPoint": {
- "x": 740,
- "y": 200
- },
- "endPoint": {
- "x": 740,
- "y": 315
- },
- "properties": {},
- "pointsList": [
- {
- "x": 740,
- "y": 200
- },
- {
- "x": 740,
- "y": 315
- }
- ]
- },
- {
- "id": "a64348ec-4168-4f36-8a61-15cf12c710b9",
- "type": "hotline:transition",
- "sourceNodeId": "approveBoss",
- "targetNodeId": "end",
- "startPoint": {
- "x": 960,
- "y": 480
- },
- "endPoint": {
- "x": 1080,
- "y": 142
- },
- "properties": {},
- "pointsList": [
- {
- "x": 960,
- "y": 480
- },
- {
- "x": 1140,
- "y": 480
- },
- {
- "x": 1140,
- "y": 112
- },
- {
- "x": 1080,
- "y": 112
- },
- {
- "x": 1080,
- "y": 142
- }
- ]
- },
- {
- "id": "517ef2c7-3486-4992-b554-0f538ab91751",
- "type": "hotline:transition",
- "sourceNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
- "targetNodeId": "end",
- "startPoint": {
- "x": 764,
- "y": 339
- },
- "endPoint": {
- "x": 1080,
- "y": 178
- },
- "properties": {
- "expr": "#f_day<3"
- },
- "text": {
- "x": 922,
- "y": 339,
- "value": "请假天数小于3"
- },
- "pointsList": [
- {
- "x": 764,
- "y": 339
- },
- {
- "x": 1080,
- "y": 339
- },
- {
- "x": 1080,
- "y": 178
- }
- ]
- },
- {
- "id": "d7ec4166-f3fc-4fd6-a2ac-a6c4d509c4dd",
- "type": "hotline:transition",
- "sourceNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
- "targetNodeId": "approveBoss",
- "startPoint": {
- "x": 740,
- "y": 365
- },
- "endPoint": {
- "x": 840,
- "y": 480
- },
- "properties": {
- "expr": "#f_day>=3"
- },
- "text": {
- "x": 740,
- "y": 422.5,
- "value": "请假天数大于等于3"
- },
- "pointsList": [
- {
- "x": 740,
- "y": 365
- },
- {
- "x": 740,
- "y": 480
- },
- {
- "x": 840,
- "y": 480
- }
- ]
- }
- ]
- }
|