data.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. {
  2. "name": "leave",
  3. "displayName": "请假",
  4. "instanceUrl": "leaveForm",
  5. "nodes": [
  6. {
  7. "id": "start",
  8. "type": "hotline:start",
  9. "x": 340,
  10. "y": 160,
  11. "properties": {
  12. "width": "120",
  13. "height": "80"
  14. },
  15. "text": {
  16. "x": 340,
  17. "y": 200,
  18. "value": "开始"
  19. }
  20. },
  21. {
  22. "id": "apply",
  23. "type": "hotline:task",
  24. "x": 520,
  25. "y": 160,
  26. "properties": {
  27. "assignee": "approve.operator",
  28. "taskType": "Major",
  29. "performType": "ANY",
  30. "autoExecute": "N",
  31. "width": "120",
  32. "height": "80",
  33. "field": {
  34. "userKey": "1"
  35. }
  36. },
  37. "text": {
  38. "x": 520,
  39. "y": 160,
  40. "value": "请假申请"
  41. }
  42. },
  43. {
  44. "id": "approveDept",
  45. "type": "hotline:task",
  46. "x": 740,
  47. "y": 160,
  48. "properties": {
  49. "assignmentHandler": "com.mldong.config.FlowAssignmentHandler",
  50. "taskType": "Major",
  51. "performType": "ANY",
  52. "autoExecute": "N",
  53. "width": "120",
  54. "height": "80"
  55. },
  56. "text": {
  57. "x": 740,
  58. "y": 160,
  59. "value": "部门领导审批"
  60. }
  61. },
  62. {
  63. "id": "approveBoss",
  64. "type": "hotline:task",
  65. "x": 900,
  66. "y": 480,
  67. "properties": {
  68. "assignmentHandler": "com.mldong.config.FlowAssignmentHandler",
  69. "taskType": "Major",
  70. "performType": "ANY",
  71. "autoExecute": "N",
  72. "width": "120",
  73. "height": "80"
  74. },
  75. "text": {
  76. "x": 900,
  77. "y": 480,
  78. "value": "公司领导审批"
  79. }
  80. },
  81. {
  82. "id": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
  83. "type": "hotline:decision",
  84. "x": 740,
  85. "y": 340,
  86. "properties": {
  87. "width": "120",
  88. "height": "80"
  89. }
  90. },
  91. {
  92. "id": "end",
  93. "type": "hotline:end",
  94. "x": 1080,
  95. "y": 160,
  96. "properties": {
  97. "width": "120",
  98. "height": "80"
  99. },
  100. "text": {
  101. "x": 1080,
  102. "y": 200,
  103. "value": "结束"
  104. }
  105. }
  106. ],
  107. "edges": [
  108. {
  109. "id": "3037be41-5682-4344-b94a-9faf5c3e62ba",
  110. "type": "hotline:transition",
  111. "sourceNodeId": "start",
  112. "targetNodeId": "apply",
  113. "startPoint": {
  114. "x": 358,
  115. "y": 160
  116. },
  117. "endPoint": {
  118. "x": 460,
  119. "y": 160
  120. },
  121. "properties": {},
  122. "pointsList": [
  123. {
  124. "x": 358,
  125. "y": 160
  126. },
  127. {
  128. "x": 460,
  129. "y": 160
  130. }
  131. ]
  132. },
  133. {
  134. "id": "c79642ae-9f28-4213-8cdf-0e0d6467b1b9",
  135. "type": "hotline:transition",
  136. "sourceNodeId": "apply",
  137. "targetNodeId": "approveDept",
  138. "startPoint": {
  139. "x": 580,
  140. "y": 160
  141. },
  142. "endPoint": {
  143. "x": 680,
  144. "y": 160
  145. },
  146. "properties": {},
  147. "pointsList": [
  148. {
  149. "x": 580,
  150. "y": 160
  151. },
  152. {
  153. "x": 680,
  154. "y": 160
  155. }
  156. ]
  157. },
  158. {
  159. "id": "09d9b143-9473-4a0f-8287-9abf6f65baf5",
  160. "type": "hotline:transition",
  161. "sourceNodeId": "approveDept",
  162. "targetNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
  163. "startPoint": {
  164. "x": 740,
  165. "y": 200
  166. },
  167. "endPoint": {
  168. "x": 740,
  169. "y": 315
  170. },
  171. "properties": {},
  172. "pointsList": [
  173. {
  174. "x": 740,
  175. "y": 200
  176. },
  177. {
  178. "x": 740,
  179. "y": 315
  180. }
  181. ]
  182. },
  183. {
  184. "id": "a64348ec-4168-4f36-8a61-15cf12c710b9",
  185. "type": "hotline:transition",
  186. "sourceNodeId": "approveBoss",
  187. "targetNodeId": "end",
  188. "startPoint": {
  189. "x": 960,
  190. "y": 480
  191. },
  192. "endPoint": {
  193. "x": 1080,
  194. "y": 142
  195. },
  196. "properties": {},
  197. "pointsList": [
  198. {
  199. "x": 960,
  200. "y": 480
  201. },
  202. {
  203. "x": 1140,
  204. "y": 480
  205. },
  206. {
  207. "x": 1140,
  208. "y": 112
  209. },
  210. {
  211. "x": 1080,
  212. "y": 112
  213. },
  214. {
  215. "x": 1080,
  216. "y": 142
  217. }
  218. ]
  219. },
  220. {
  221. "id": "517ef2c7-3486-4992-b554-0f538ab91751",
  222. "type": "hotline:transition",
  223. "sourceNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
  224. "targetNodeId": "end",
  225. "startPoint": {
  226. "x": 764,
  227. "y": 339
  228. },
  229. "endPoint": {
  230. "x": 1080,
  231. "y": 178
  232. },
  233. "properties": {
  234. "expr": "#f_day<3"
  235. },
  236. "text": {
  237. "x": 922,
  238. "y": 339,
  239. "value": "请假天数小于3"
  240. },
  241. "pointsList": [
  242. {
  243. "x": 764,
  244. "y": 339
  245. },
  246. {
  247. "x": 1080,
  248. "y": 339
  249. },
  250. {
  251. "x": 1080,
  252. "y": 178
  253. }
  254. ]
  255. },
  256. {
  257. "id": "d7ec4166-f3fc-4fd6-a2ac-a6c4d509c4dd",
  258. "type": "hotline:transition",
  259. "sourceNodeId": "2c75eebf-5baf-4cd0-a7b3-05466be13634",
  260. "targetNodeId": "approveBoss",
  261. "startPoint": {
  262. "x": 740,
  263. "y": 365
  264. },
  265. "endPoint": {
  266. "x": 840,
  267. "y": 480
  268. },
  269. "properties": {
  270. "expr": "#f_day>=3"
  271. },
  272. "text": {
  273. "x": 740,
  274. "y": 422.5,
  275. "value": "请假天数大于等于3"
  276. },
  277. "pointsList": [
  278. {
  279. "x": 740,
  280. "y": 365
  281. },
  282. {
  283. "x": 740,
  284. "y": 480
  285. },
  286. {
  287. "x": 840,
  288. "y": 480
  289. }
  290. ]
  291. }
  292. ]
  293. }