approval_one_user.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. {
  2. "name": "发起人",
  3. "desc": "任何人",
  4. "type": "ROOT",
  5. "parentId": null,
  6. "id": "root",
  7. "props": {
  8. "assignedUser": [
  9. ],
  10. "formPerms": [
  11. ]
  12. },
  13. "children": {
  14. "id": "N4bzzOrchQBih340",
  15. "name": "审批人",
  16. "type": "APPROVAL",
  17. "props": {
  18. "assignedType": "ASSIGN_USER",
  19. "mode": "OR",
  20. "sign": false,
  21. "nobody": {
  22. "handler": "TO_PASS",
  23. "assignedUser": [
  24. ],
  25. "assignedRole": [
  26. ]
  27. },
  28. "timeLimit": {
  29. "timeout": {
  30. "unit": "H",
  31. "value": 0
  32. },
  33. "handler": {
  34. "type": "REFUSE",
  35. "notify": {
  36. "once": true,
  37. "hour": 1
  38. }
  39. }
  40. },
  41. "assignedUser": [
  42. {
  43. "type": "user",
  44. "subjectId": "39ada31e4e784fe981dd31d390bb6ad4",
  45. "name": "张建东",
  46. "id": "39ada31e4e784fe981dd31d390bb6ad4"
  47. }
  48. ],
  49. "assignedRole": [
  50. ],
  51. "formPerms": [
  52. {
  53. "id": "field4368279468887",
  54. "title": "名称",
  55. "required": true,
  56. "perm": "R"
  57. }
  58. ],
  59. "selfSelect": {
  60. "multiple": false
  61. },
  62. "leaderTop": {
  63. "endCondition": "TOP",
  64. "endLevel": 1
  65. },
  66. "leader": {
  67. "level": 1
  68. },
  69. "role": [
  70. ],
  71. "refuse": {
  72. "type": "TO_END",
  73. "target": ""
  74. },
  75. "formUser": "",
  76. "passHttp": {
  77. "method": "POST",
  78. "url": "",
  79. "headers": [
  80. {
  81. "name": "",
  82. "isField": true,
  83. "value": ""
  84. }
  85. ],
  86. "contentType": "JSON",
  87. "params": [
  88. {
  89. "name": "",
  90. "isField": true,
  91. "value": ""
  92. }
  93. ],
  94. "retry": 1,
  95. "handlerByScript": false,
  96. "success": "function handlerOk(res) {\n return true;\n}",
  97. "fail": "function handlerFail(res) {\n return true;\n}"
  98. },
  99. "rejectHttp": {
  100. "method": "POST",
  101. "url": "",
  102. "headers": [
  103. {
  104. "name": "",
  105. "isField": true,
  106. "value": ""
  107. }
  108. ],
  109. "contentType": "JSON",
  110. "params": [
  111. {
  112. "name": "",
  113. "isField": true,
  114. "value": ""
  115. }
  116. ],
  117. "retry": 1,
  118. "handlerByScript": false,
  119. "success": "function handlerOk(res) {\n return true;\n}",
  120. "fail": "function handlerFail(res) {\n return true;\n}"
  121. }
  122. },
  123. "error": false,
  124. "children": {
  125. "id": "Ph88FvCZBbnrmQ21",
  126. "name": "审批人",
  127. "type": "APPROVAL",
  128. "props": {
  129. "assignedType": "ASSIGN_USER",
  130. "mode": "NEXT",
  131. "sign": false,
  132. "nobody": {
  133. "handler": "TO_PASS",
  134. "assignedUser": [
  135. ],
  136. "assignedRole": [
  137. ]
  138. },
  139. "timeLimit": {
  140. "timeout": {
  141. "unit": "H",
  142. "value": 0
  143. },
  144. "handler": {
  145. "type": "REFUSE",
  146. "notify": {
  147. "once": true,
  148. "hour": 1
  149. }
  150. }
  151. },
  152. "assignedUser": [
  153. {
  154. "type": "user",
  155. "subjectId": "5ee809c560cf4fc78c3755c17f177c54",
  156. "name": "任鹏飞",
  157. "id": "5ee809c560cf4fc78c3755c17f177c54"
  158. }
  159. ],
  160. "assignedRole": [
  161. ],
  162. "formPerms": [
  163. {
  164. "id": "field4368279468887",
  165. "title": "名称",
  166. "required": true,
  167. "perm": "R"
  168. }
  169. ],
  170. "selfSelect": {
  171. "multiple": false
  172. },
  173. "leaderTop": {
  174. "endCondition": "TOP",
  175. "endLevel": 1
  176. },
  177. "leader": {
  178. "level": 1
  179. },
  180. "role": [
  181. ],
  182. "refuse": {
  183. "type": "TO_END",
  184. "target": ""
  185. },
  186. "formUser": "",
  187. "passHttp": {
  188. "method": "POST",
  189. "url": "",
  190. "headers": [
  191. {
  192. "name": "",
  193. "isField": true,
  194. "value": ""
  195. }
  196. ],
  197. "contentType": "JSON",
  198. "params": [
  199. {
  200. "name": "",
  201. "isField": true,
  202. "value": ""
  203. }
  204. ],
  205. "retry": 1,
  206. "handlerByScript": false,
  207. "success": "function handlerOk(res) {\n return true;\n}",
  208. "fail": "function handlerFail(res) {\n return true;\n}"
  209. },
  210. "rejectHttp": {
  211. "method": "POST",
  212. "url": "",
  213. "headers": [
  214. {
  215. "name": "",
  216. "isField": true,
  217. "value": ""
  218. }
  219. ],
  220. "contentType": "JSON",
  221. "params": [
  222. {
  223. "name": "",
  224. "isField": true,
  225. "value": ""
  226. }
  227. ],
  228. "retry": 1,
  229. "handlerByScript": false,
  230. "success": "function handlerOk(res) {\n return true;\n}",
  231. "fail": "function handlerFail(res) {\n return true;\n}"
  232. }
  233. },
  234. "error": false,
  235. "children": {
  236. "id": "CyvQsqRBZMGXDKOC",
  237. "name": "审批人",
  238. "type": "APPROVAL",
  239. "props": {
  240. "assignedType": "ASSIGN_USER",
  241. "mode": "OR",
  242. "sign": false,
  243. "nobody": {
  244. "handler": "TO_PASS",
  245. "assignedUser": [
  246. ],
  247. "assignedRole": [
  248. ]
  249. },
  250. "timeLimit": {
  251. "timeout": {
  252. "unit": "H",
  253. "value": 0
  254. },
  255. "handler": {
  256. "type": "REFUSE",
  257. "notify": {
  258. "once": true,
  259. "hour": 1
  260. }
  261. }
  262. },
  263. "assignedUser": [
  264. {
  265. "type": "user",
  266. "subjectId": "80515753b5b9451f9a835600c5503b4f",
  267. "name": "任 璇",
  268. "id": "80515753b5b9451f9a835600c5503b4f"
  269. }
  270. ],
  271. "assignedRole": [
  272. ],
  273. "formPerms": [
  274. {
  275. "id": "field4368279468887",
  276. "title": "名称",
  277. "required": true,
  278. "perm": "R"
  279. }
  280. ],
  281. "selfSelect": {
  282. "multiple": false
  283. },
  284. "leaderTop": {
  285. "endCondition": "TOP",
  286. "endLevel": 1
  287. },
  288. "leader": {
  289. "level": 1
  290. },
  291. "role": [
  292. ],
  293. "refuse": {
  294. "type": "TO_END",
  295. "target": ""
  296. },
  297. "formUser": "",
  298. "passHttp": {
  299. "method": "POST",
  300. "url": "",
  301. "headers": [
  302. {
  303. "name": "",
  304. "isField": true,
  305. "value": ""
  306. }
  307. ],
  308. "contentType": "JSON",
  309. "params": [
  310. {
  311. "name": "",
  312. "isField": true,
  313. "value": ""
  314. }
  315. ],
  316. "retry": 1,
  317. "handlerByScript": false,
  318. "success": "function handlerOk(res) {\n return true;\n}",
  319. "fail": "function handlerFail(res) {\n return true;\n}"
  320. },
  321. "rejectHttp": {
  322. "method": "POST",
  323. "url": "",
  324. "headers": [
  325. {
  326. "name": "",
  327. "isField": true,
  328. "value": ""
  329. }
  330. ],
  331. "contentType": "JSON",
  332. "params": [
  333. {
  334. "name": "",
  335. "isField": true,
  336. "value": ""
  337. }
  338. ],
  339. "retry": 1,
  340. "handlerByScript": false,
  341. "success": "function handlerOk(res) {\n return true;\n}",
  342. "fail": "function handlerFail(res) {\n return true;\n}"
  343. }
  344. },
  345. "error": false,
  346. "ParentID": "Ph88FvCZBbnrmQ21"
  347. },
  348. "ParentID": "N4bzzOrchQBih340"
  349. },
  350. "ParentID": "root"
  351. }
  352. }