approve.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. {
  2. "name": "发起人",
  3. "desc": "任何人",
  4. "type": "ROOT",
  5. "parentId": null,
  6. "id": "root",
  7. "props": {
  8. "assignedUser": [],
  9. "formPerms": []
  10. },
  11. "children": {
  12. "id": "9oMJ0ZGUSPsz3fGQ",
  13. "name": "或签审批",
  14. "type": "APPROVAL",
  15. "props": {
  16. "assignedType": "ASSIGN_USER",
  17. "mode": "OR",
  18. "sign": false,
  19. "nobody": {
  20. "handler": "TO_PASS",
  21. "assignedUser": [],
  22. "assignedRole": []
  23. },
  24. "timeLimit": {
  25. "timeout": {
  26. "unit": "H",
  27. "value": 0
  28. },
  29. "handler": {
  30. "type": "REFUSE",
  31. "notify": {
  32. "once": true,
  33. "hour": 1
  34. }
  35. }
  36. },
  37. "assignedUser": [
  38. {
  39. "type": "user",
  40. "subjectId": "81d10c9f19c244088c0066a6ba13bab7",
  41. "name": "质检人员",
  42. "id": "81d10c9f19c244088c0066a6ba13bab7"
  43. },
  44. {
  45. "type": "user",
  46. "subjectId": "c09bb598a48147e2a37f43e4130df843",
  47. "name": "行政人员",
  48. "id": "c09bb598a48147e2a37f43e4130df843"
  49. }
  50. ],
  51. "assignedRole": [],
  52. "formPerms": [
  53. {
  54. "id": "field4368279468887",
  55. "title": "名称",
  56. "required": true,
  57. "perm": "R"
  58. }
  59. ],
  60. "selfSelect": {
  61. "multiple": false
  62. },
  63. "leaderTop": {
  64. "endCondition": "TOP",
  65. "endLevel": 1
  66. },
  67. "leader": {
  68. "level": 1
  69. },
  70. "role": [],
  71. "refuse": {
  72. "type": "TO_END",
  73. "target": ""
  74. },
  75. "formUser": "",
  76. "passHttp": {
  77. "method": "POST",
  78. "url": "http://10.0.0.198:30701/mbwb/api/audit",
  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": "http://10.0.0.198:30701/mbwb/api/refuse",
  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": "UnDmPp4P5JVP5DMT",
  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. "assignedRole": []
  136. },
  137. "timeLimit": {
  138. "timeout": {
  139. "unit": "H",
  140. "value": 0
  141. },
  142. "handler": {
  143. "type": "REFUSE",
  144. "notify": {
  145. "once": true,
  146. "hour": 1
  147. }
  148. }
  149. },
  150. "assignedUser": [
  151. {
  152. "type": "user",
  153. "subjectId": "afb08622b0144502b1294aad1021b876",
  154. "name": "生产调度",
  155. "id": "afb08622b0144502b1294aad1021b876"
  156. },
  157. {
  158. "type": "user",
  159. "subjectId": "2013392b19824330881c896a34fa0e77",
  160. "name": "仓管人员",
  161. "id": "2013392b19824330881c896a34fa0e77"
  162. },
  163. {
  164. "type": "user",
  165. "subjectId": "cbe10e4bc82145a8b57769821fbbf761",
  166. "name": "销售人员",
  167. "id": "cbe10e4bc82145a8b57769821fbbf761"
  168. }
  169. ],
  170. "assignedRole": [],
  171. "formPerms": [
  172. {
  173. "id": "field4368279468887",
  174. "title": "名称",
  175. "required": true,
  176. "perm": "R"
  177. }
  178. ],
  179. "selfSelect": {
  180. "multiple": false
  181. },
  182. "leaderTop": {
  183. "endCondition": "TOP",
  184. "endLevel": 1
  185. },
  186. "leader": {
  187. "level": 1
  188. },
  189. "role": [],
  190. "refuse": {
  191. "type": "TO_END",
  192. "target": ""
  193. },
  194. "formUser": "",
  195. "passHttp": {
  196. "method": "POST",
  197. "url": "http://10.0.0.198:30701/mbwb/api/audit",
  198. "headers": [
  199. {
  200. "name": "",
  201. "isField": true,
  202. "value": ""
  203. }
  204. ],
  205. "contentType": "JSON",
  206. "params": [
  207. {
  208. "name": "",
  209. "isField": true,
  210. "value": ""
  211. }
  212. ],
  213. "retry": 1,
  214. "handlerByScript": false,
  215. "success": "function handlerOk(res) {\n return true;\n}",
  216. "fail": "function handlerFail(res) {\n return true;\n}"
  217. },
  218. "rejectHttp": {
  219. "method": "POST",
  220. "url": "http://10.0.0.198:30701/mbwb/api/refuse",
  221. "headers": [
  222. {
  223. "name": "",
  224. "isField": true,
  225. "value": ""
  226. }
  227. ],
  228. "contentType": "JSON",
  229. "params": [
  230. {
  231. "name": "",
  232. "isField": true,
  233. "value": ""
  234. }
  235. ],
  236. "retry": 1,
  237. "handlerByScript": false,
  238. "success": "function handlerOk(res) {\n return true;\n}",
  239. "fail": "function handlerFail(res) {\n return true;\n}"
  240. }
  241. },
  242. "error": false,
  243. "children": {
  244. "id": "UBtBe6PTv0kQDm4B",
  245. "name": "并行分支",
  246. "type": "CONCURRENTS",
  247. "children": {
  248. "id": "ntWxexK46WotEF0C",
  249. "name": "抄送人",
  250. "children": {
  251. "ParentID": "ntWxexK46WotEF0C"
  252. },
  253. "type": "CC",
  254. "props": {
  255. "shouldAdd": false,
  256. "assignedUser": [
  257. {
  258. "type": "user",
  259. "subjectId": "81d10c9f19c244088c0066a6ba13bab7",
  260. "name": "质检人员",
  261. "id": "81d10c9f19c244088c0066a6ba13bab7"
  262. },
  263. {
  264. "type": "user",
  265. "subjectId": "2013392b19824330881c896a34fa0e77",
  266. "name": "仓管人员",
  267. "id": "2013392b19824330881c896a34fa0e77"
  268. },
  269. {
  270. "type": "user",
  271. "subjectId": "ff4466c00b944584b567a454f94fb8ce",
  272. "name": "采购人员",
  273. "id": "ff4466c00b944584b567a454f94fb8ce"
  274. },
  275. {
  276. "type": "user",
  277. "subjectId": "2d79964af26b4534a09a4a57b2f56d44",
  278. "name": "系统人员",
  279. "id": "2d79964af26b4534a09a4a57b2f56d44"
  280. }
  281. ],
  282. "assignedRole": [],
  283. "formPerms": [
  284. {
  285. "id": "field4368279468887",
  286. "title": "名称",
  287. "required": true,
  288. "perm": "R"
  289. }
  290. ]
  291. },
  292. "ccSelfSelectFlag": 0,
  293. "error": false,
  294. "ParentID": "UBtBe6PTv0kQDm4B"
  295. },
  296. "branchs": [
  297. {
  298. "id": "node_371077991169",
  299. "name": "分支1",
  300. "parentId": "node_371077998976",
  301. "type": "CONCURRENT",
  302. "props": {},
  303. "children": {
  304. "id": "oSIsJsle3MWLrt26",
  305. "name": "角色审批",
  306. "type": "APPROVAL",
  307. "props": {
  308. "assignedType": "ROLE",
  309. "mode": "OR",
  310. "sign": false,
  311. "nobody": {
  312. "handler": "TO_PASS",
  313. "assignedUser": [],
  314. "assignedRole": []
  315. },
  316. "timeLimit": {
  317. "timeout": {
  318. "unit": "H",
  319. "value": 0
  320. },
  321. "handler": {
  322. "type": "REFUSE",
  323. "notify": {
  324. "once": true,
  325. "hour": 1
  326. }
  327. }
  328. },
  329. "assignedUser": [],
  330. "assignedRole": [
  331. {
  332. "type": "role",
  333. "roleCode": "00002",
  334. "name": "平台人员",
  335. "id": "6121fa5cd2ff451da98ad7c451790367"
  336. }
  337. ],
  338. "formPerms": [
  339. {
  340. "id": "field4368279468887",
  341. "title": "名称",
  342. "required": true,
  343. "perm": "R"
  344. }
  345. ],
  346. "selfSelect": {
  347. "multiple": false
  348. },
  349. "leaderTop": {
  350. "endCondition": "TOP",
  351. "endLevel": 1
  352. },
  353. "leader": {
  354. "level": 1
  355. },
  356. "role": [],
  357. "refuse": {
  358. "type": "TO_END",
  359. "target": ""
  360. },
  361. "formUser": "",
  362. "passHttp": {
  363. "method": "POST",
  364. "url": "",
  365. "headers": [
  366. {
  367. "name": "",
  368. "isField": true,
  369. "value": ""
  370. }
  371. ],
  372. "contentType": "JSON",
  373. "params": [
  374. {
  375. "name": "",
  376. "isField": true,
  377. "value": ""
  378. }
  379. ],
  380. "retry": 1,
  381. "handlerByScript": false,
  382. "success": "function handlerOk(res) {\n return true;\n}",
  383. "fail": "function handlerFail(res) {\n return true;\n}"
  384. },
  385. "rejectHttp": {
  386. "method": "POST",
  387. "url": "",
  388. "headers": [
  389. {
  390. "name": "",
  391. "isField": true,
  392. "value": ""
  393. }
  394. ],
  395. "contentType": "JSON",
  396. "params": [
  397. {
  398. "name": "",
  399. "isField": true,
  400. "value": ""
  401. }
  402. ],
  403. "retry": 1,
  404. "handlerByScript": false,
  405. "success": "function handlerOk(res) {\n return true;\n}",
  406. "fail": "function handlerFail(res) {\n return true;\n}"
  407. }
  408. },
  409. "subjects": [],
  410. "examineMode": 1,
  411. "noHanderAction": 2,
  412. "error": false
  413. },
  414. "typeElse": false
  415. },
  416. {
  417. "id": "node_371077991169",
  418. "name": "分支2",
  419. "parentId": "node_371077998976",
  420. "type": "CONCURRENT",
  421. "props": {},
  422. "children": {
  423. "id": "jxHOnRDBoz0vH0vx",
  424. "name": "主管审批",
  425. "type": "APPROVAL",
  426. "props": {
  427. "assignedType": "LEADER",
  428. "mode": "OR",
  429. "sign": false,
  430. "nobody": {
  431. "handler": "TO_PASS",
  432. "assignedUser": [],
  433. "assignedRole": []
  434. },
  435. "timeLimit": {
  436. "timeout": {
  437. "unit": "H",
  438. "value": 0
  439. },
  440. "handler": {
  441. "type": "REFUSE",
  442. "notify": {
  443. "once": true,
  444. "hour": 1
  445. }
  446. }
  447. },
  448. "assignedUser": [],
  449. "assignedRole": [],
  450. "formPerms": [
  451. {
  452. "id": "field4368279468887",
  453. "title": "名称",
  454. "required": true,
  455. "perm": "R"
  456. }
  457. ],
  458. "selfSelect": {
  459. "multiple": false
  460. },
  461. "leaderTop": {
  462. "endCondition": "TOP",
  463. "endLevel": 1
  464. },
  465. "leader": {
  466. "level": 1
  467. },
  468. "role": [],
  469. "refuse": {
  470. "type": "TO_END",
  471. "target": ""
  472. },
  473. "formUser": "",
  474. "passHttp": {
  475. "method": "POST",
  476. "url": "",
  477. "headers": [
  478. {
  479. "name": "",
  480. "isField": true,
  481. "value": ""
  482. }
  483. ],
  484. "contentType": "JSON",
  485. "params": [
  486. {
  487. "name": "",
  488. "isField": true,
  489. "value": ""
  490. }
  491. ],
  492. "retry": 1,
  493. "handlerByScript": false,
  494. "success": "function handlerOk(res) {\n return true;\n}",
  495. "fail": "function handlerFail(res) {\n return true;\n}"
  496. },
  497. "rejectHttp": {
  498. "method": "POST",
  499. "url": "",
  500. "headers": [
  501. {
  502. "name": "",
  503. "isField": true,
  504. "value": ""
  505. }
  506. ],
  507. "contentType": "JSON",
  508. "params": [
  509. {
  510. "name": "",
  511. "isField": true,
  512. "value": ""
  513. }
  514. ],
  515. "retry": 1,
  516. "handlerByScript": false,
  517. "success": "function handlerOk(res) {\n return true;\n}",
  518. "fail": "function handlerFail(res) {\n return true;\n}"
  519. }
  520. },
  521. "subjects": [],
  522. "examineMode": 1,
  523. "noHanderAction": 2,
  524. "error": false
  525. },
  526. "typeElse": false
  527. }
  528. ],
  529. "ParentID": "UnDmPp4P5JVP5DMT"
  530. },
  531. "ParentID": "9oMJ0ZGUSPsz3fGQ"
  532. },
  533. "ParentID": "root"
  534. }
  535. }