full.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  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": "2QsXrpyaBmfctjCO",
  15. "name": "条件分支",
  16. "type": "CONDITIONS",
  17. "children": {
  18. "id": "eZMFYWfhAOeVK5Hn",
  19. "name": "审批人",
  20. "type": "APPROVAL",
  21. "props": {
  22. "assignedType": "ROLE",
  23. "mode": "OR",
  24. "sign": false,
  25. "nobody": {
  26. "handler": "TO_PASS",
  27. "assignedUser": [
  28. ],
  29. "assignedRole": [
  30. ]
  31. },
  32. "timeLimit": {
  33. "timeout": {
  34. "unit": "H",
  35. "value": 0
  36. },
  37. "handler": {
  38. "type": "REFUSE",
  39. "notify": {
  40. "once": true,
  41. "hour": 1
  42. }
  43. }
  44. },
  45. "assignedUser": [
  46. ],
  47. "assignedRole": [
  48. {
  49. "type": "role",
  50. "roleCode": "ShopProduction",
  51. "name": "生产角色",
  52. "id": "7a850e527ef64206b7317b2163df3b4d"
  53. },
  54. {
  55. "type": "role",
  56. "roleCode": "purchase",
  57. "name": "采购角色",
  58. "id": "f37721336f414371844954dda7362016"
  59. }
  60. ],
  61. "formPerms": [
  62. {
  63. "id": "field4368279468887",
  64. "title": "名称",
  65. "required": true,
  66. "perm": "R"
  67. }
  68. ],
  69. "selfSelect": {
  70. "multiple": false
  71. },
  72. "leaderTop": {
  73. "endCondition": "TOP",
  74. "endLevel": 1
  75. },
  76. "leader": {
  77. "level": 1
  78. },
  79. "role": [
  80. ],
  81. "refuse": {
  82. "type": "TO_END",
  83. "target": ""
  84. },
  85. "formUser": "",
  86. "passHttp": {
  87. "method": "POST",
  88. "url": "",
  89. "headers": [
  90. {
  91. "name": "",
  92. "isField": true,
  93. "value": ""
  94. }
  95. ],
  96. "contentType": "JSON",
  97. "params": [
  98. {
  99. "name": "",
  100. "isField": true,
  101. "value": ""
  102. }
  103. ],
  104. "retry": 1,
  105. "handlerByScript": false,
  106. "success": "function handlerOk(res) {\n return true;\n}",
  107. "fail": "function handlerFail(res) {\n return true;\n}"
  108. },
  109. "rejectHttp": {
  110. "method": "POST",
  111. "url": "",
  112. "headers": [
  113. {
  114. "name": "",
  115. "isField": true,
  116. "value": ""
  117. }
  118. ],
  119. "contentType": "JSON",
  120. "params": [
  121. {
  122. "name": "",
  123. "isField": true,
  124. "value": ""
  125. }
  126. ],
  127. "retry": 1,
  128. "handlerByScript": false,
  129. "success": "function handlerOk(res) {\n return true;\n}",
  130. "fail": "function handlerFail(res) {\n return true;\n}"
  131. }
  132. },
  133. "subjects": [
  134. ],
  135. "examineMode": 1,
  136. "noHanderAction": 2,
  137. "error": false,
  138. "children": {
  139. "id": "MHPZqWEyYgJGMPUx",
  140. "name": "审批人",
  141. "type": "APPROVAL",
  142. "props": {
  143. "assignedType": "ROLE",
  144. "mode": "NEXT",
  145. "sign": false,
  146. "nobody": {
  147. "handler": "TO_PASS",
  148. "assignedUser": [
  149. ],
  150. "assignedRole": [
  151. ]
  152. },
  153. "timeLimit": {
  154. "timeout": {
  155. "unit": "H",
  156. "value": 0
  157. },
  158. "handler": {
  159. "type": "REFUSE",
  160. "notify": {
  161. "once": true,
  162. "hour": 1
  163. }
  164. }
  165. },
  166. "assignedUser": [
  167. ],
  168. "assignedRole": [
  169. {
  170. "type": "role",
  171. "roleCode": "SystemRole",
  172. "name": "系统角色",
  173. "id": "55f34936cec747f9b0c70030cc240b37"
  174. },
  175. {
  176. "type": "role",
  177. "roleCode": "dispatch",
  178. "name": "调度角色",
  179. "id": "28e756b7deb2495e896f59b2b93c0ca3"
  180. }
  181. ],
  182. "formPerms": [
  183. {
  184. "id": "field4368279468887",
  185. "title": "名称",
  186. "required": true,
  187. "perm": "R"
  188. }
  189. ],
  190. "selfSelect": {
  191. "multiple": false
  192. },
  193. "leaderTop": {
  194. "endCondition": "TOP",
  195. "endLevel": 1
  196. },
  197. "leader": {
  198. "level": 1
  199. },
  200. "role": [
  201. ],
  202. "refuse": {
  203. "type": "TO_END",
  204. "target": ""
  205. },
  206. "formUser": "",
  207. "passHttp": {
  208. "method": "POST",
  209. "url": "abc.com",
  210. "headers": [
  211. {
  212. "name": "",
  213. "isField": true,
  214. "value": ""
  215. }
  216. ],
  217. "contentType": "JSON",
  218. "params": [
  219. {
  220. "name": "",
  221. "isField": true,
  222. "value": ""
  223. }
  224. ],
  225. "retry": 1,
  226. "handlerByScript": false,
  227. "success": "function handlerOk(res) {\n return true;\n}",
  228. "fail": "function handlerFail(res) {\n return true;\n}"
  229. },
  230. "rejectHttp": {
  231. "method": "POST",
  232. "url": "abc.com",
  233. "headers": [
  234. {
  235. "name": "",
  236. "isField": true,
  237. "value": ""
  238. }
  239. ],
  240. "contentType": "JSON",
  241. "params": [
  242. {
  243. "name": "",
  244. "isField": true,
  245. "value": ""
  246. }
  247. ],
  248. "retry": 1,
  249. "handlerByScript": false,
  250. "success": "function handlerOk(res) {\n return true;\n}",
  251. "fail": "function handlerFail(res) {\n return true;\n}"
  252. }
  253. },
  254. "error": false,
  255. "subjects": [
  256. ],
  257. "examineMode": 1,
  258. "noHanderAction": 2,
  259. "children": {
  260. "id": "9O6B8Mw4pFXwjejC",
  261. "name": "并行分支",
  262. "type": "CONCURRENTS",
  263. "children": {
  264. "id": "tB82T0goweCcKe76",
  265. "name": "审批人",
  266. "type": "APPROVAL",
  267. "props": {
  268. "assignedType": "LEADER",
  269. "mode": "OR",
  270. "sign": false,
  271. "nobody": {
  272. "handler": "TO_PASS",
  273. "assignedUser": [
  274. ],
  275. "assignedRole": [
  276. ]
  277. },
  278. "timeLimit": {
  279. "timeout": {
  280. "unit": "H",
  281. "value": 0
  282. },
  283. "handler": {
  284. "type": "REFUSE",
  285. "notify": {
  286. "once": true,
  287. "hour": 1
  288. }
  289. }
  290. },
  291. "assignedUser": [
  292. ],
  293. "assignedRole": [
  294. ],
  295. "formPerms": [
  296. {
  297. "id": "field4368279468887",
  298. "title": "名称",
  299. "required": true,
  300. "perm": "R"
  301. }
  302. ],
  303. "selfSelect": {
  304. "multiple": false
  305. },
  306. "leaderTop": {
  307. "endCondition": "TOP",
  308. "endLevel": 1
  309. },
  310. "leader": {
  311. "level": 1
  312. },
  313. "role": [
  314. ],
  315. "refuse": {
  316. "type": "TO_END",
  317. "target": ""
  318. },
  319. "formUser": "",
  320. "passHttp": {
  321. "method": "POST",
  322. "url": "abc.com",
  323. "headers": [
  324. {
  325. "name": "",
  326. "isField": true,
  327. "value": ""
  328. }
  329. ],
  330. "contentType": "JSON",
  331. "params": [
  332. {
  333. "name": "",
  334. "isField": true,
  335. "value": ""
  336. }
  337. ],
  338. "retry": 1,
  339. "handlerByScript": false,
  340. "success": "function handlerOk(res) {\n return true;\n}",
  341. "fail": "function handlerFail(res) {\n return true;\n}"
  342. },
  343. "rejectHttp": {
  344. "method": "POST",
  345. "url": "abc.com",
  346. "headers": [
  347. {
  348. "name": "",
  349. "isField": true,
  350. "value": ""
  351. }
  352. ],
  353. "contentType": "JSON",
  354. "params": [
  355. {
  356. "name": "",
  357. "isField": true,
  358. "value": ""
  359. }
  360. ],
  361. "retry": 1,
  362. "handlerByScript": false,
  363. "success": "function handlerOk(res) {\n return true;\n}",
  364. "fail": "function handlerFail(res) {\n return true;\n}"
  365. }
  366. },
  367. "subjects": [
  368. ],
  369. "examineMode": 1,
  370. "noHanderAction": 2,
  371. "error": false,
  372. "ParentID": "9O6B8Mw4pFXwjejC"
  373. },
  374. "branchs": [
  375. {
  376. "id": "node_371077991169",
  377. "name": "分支1",
  378. "parentId": "node_371077998976",
  379. "type": "CONCURRENT",
  380. "props": {
  381. },
  382. "children": {
  383. "id": "xApb9fqSPqZt13Tk",
  384. "name": "抄送人",
  385. "children": {
  386. },
  387. "type": "CC",
  388. "props": {
  389. "shouldAdd": false,
  390. "assignedUser": [
  391. {
  392. "type": "user",
  393. "subjectId": "39ada31e4e784fe981dd31d390bb6ad4",
  394. "name": "张建东",
  395. "id": "39ada31e4e784fe981dd31d390bb6ad4"
  396. },
  397. {
  398. "type": "user",
  399. "subjectId": "3eb29f623e194916acf67732a9a8b040",
  400. "name": "张东峰",
  401. "id": "3eb29f623e194916acf67732a9a8b040"
  402. }
  403. ],
  404. "assignedRole": [
  405. ],
  406. "formPerms": [
  407. {
  408. "id": "field4368279468887",
  409. "title": "名称",
  410. "required": true,
  411. "perm": "R"
  412. }
  413. ]
  414. },
  415. "ccSelfSelectFlag": 0,
  416. "error": false
  417. },
  418. "typeElse": false
  419. },
  420. {
  421. "id": "node_371077991169",
  422. "name": "分支2",
  423. "parentId": "node_371077998976",
  424. "type": "CONCURRENT",
  425. "props": {
  426. },
  427. "children": {
  428. "id": "EbhE21033TTEpqGl",
  429. "name": "抄送人",
  430. "children": {
  431. },
  432. "type": "CC",
  433. "props": {
  434. "shouldAdd": false,
  435. "assignedUser": [
  436. {
  437. "type": "user",
  438. "subjectId": "18c77f85416a4e458c3bd20d6e325f59",
  439. "name": "郭娟娟",
  440. "id": "18c77f85416a4e458c3bd20d6e325f59"
  441. },
  442. {
  443. "type": "user",
  444. "subjectId": "586e7fc0f0aa42fc9a9aa68f80e4ee69",
  445. "name": "吴银军",
  446. "id": "586e7fc0f0aa42fc9a9aa68f80e4ee69"
  447. }
  448. ],
  449. "assignedRole": [
  450. ],
  451. "formPerms": [
  452. {
  453. "id": "field4368279468887",
  454. "title": "名称",
  455. "required": true,
  456. "perm": "R"
  457. }
  458. ]
  459. },
  460. "ccSelfSelectFlag": 0,
  461. "error": false
  462. },
  463. "typeElse": false
  464. }
  465. ],
  466. "ParentID": "MHPZqWEyYgJGMPUx"
  467. },
  468. "ParentID": "eZMFYWfhAOeVK5Hn"
  469. },
  470. "ParentID": "2QsXrpyaBmfctjCO"
  471. },
  472. "branchs": [
  473. {
  474. "name": "研发中心",
  475. "error": false,
  476. "nodeType": 3,
  477. "priorityLevel": 1,
  478. "condGroup": {
  479. "type": "and",
  480. "items": [
  481. {
  482. "showType": 3,
  483. "columnId": "",
  484. "type": 2,
  485. "showName": "",
  486. "optType": "",
  487. "zdy1": "2",
  488. "opt1": "<",
  489. "zdy2": "",
  490. "opt2": "<",
  491. "columnDbname": "",
  492. "columnType": "Double",
  493. "fieldId": "input_1N5KzwbC",
  494. "operator": "==",
  495. "rightValue": "研发中心"
  496. }
  497. ]
  498. },
  499. "subjects": [
  500. ],
  501. "children": {
  502. "id": "vCBlqFjPzTs0bUY9",
  503. "name": "审批人",
  504. "type": "APPROVAL",
  505. "props": {
  506. "assignedType": "ASSIGN_USER",
  507. "mode": "NEXT",
  508. "sign": false,
  509. "nobody": {
  510. "handler": "TO_PASS",
  511. "assignedUser": [
  512. ],
  513. "assignedRole": [
  514. ]
  515. },
  516. "timeLimit": {
  517. "timeout": {
  518. "unit": "H",
  519. "value": 0
  520. },
  521. "handler": {
  522. "type": "REFUSE",
  523. "notify": {
  524. "once": true,
  525. "hour": 1
  526. }
  527. }
  528. },
  529. "assignedUser": [
  530. {
  531. "type": "user",
  532. "subjectId": "39ada31e4e784fe981dd31d390bb6ad4",
  533. "name": "张建东",
  534. "id": "39ada31e4e784fe981dd31d390bb6ad4"
  535. },
  536. {
  537. "type": "user",
  538. "subjectId": "5ee809c560cf4fc78c3755c17f177c54",
  539. "name": "任鹏飞",
  540. "id": "5ee809c560cf4fc78c3755c17f177c54"
  541. }
  542. ],
  543. "assignedRole": [
  544. ],
  545. "formPerms": [
  546. {
  547. "id": "field4368279468887",
  548. "title": "名称",
  549. "required": true,
  550. "perm": "R"
  551. }
  552. ],
  553. "selfSelect": {
  554. "multiple": false
  555. },
  556. "leaderTop": {
  557. "endCondition": "TOP",
  558. "endLevel": 1
  559. },
  560. "leader": {
  561. "level": 1
  562. },
  563. "role": [
  564. ],
  565. "refuse": {
  566. "type": "TO_END",
  567. "target": ""
  568. },
  569. "formUser": "",
  570. "passHttp": {
  571. "method": "POST",
  572. "url": "",
  573. "headers": [
  574. {
  575. "name": "",
  576. "isField": true,
  577. "value": ""
  578. }
  579. ],
  580. "contentType": "JSON",
  581. "params": [
  582. {
  583. "name": "",
  584. "isField": true,
  585. "value": ""
  586. }
  587. ],
  588. "retry": 1,
  589. "handlerByScript": false,
  590. "success": "function handlerOk(res) {\n return true;\n}",
  591. "fail": "function handlerFail(res) {\n return true;\n}"
  592. },
  593. "rejectHttp": {
  594. "method": "POST",
  595. "url": "",
  596. "headers": [
  597. {
  598. "name": "",
  599. "isField": true,
  600. "value": ""
  601. }
  602. ],
  603. "contentType": "JSON",
  604. "params": [
  605. {
  606. "name": "",
  607. "isField": true,
  608. "value": ""
  609. }
  610. ],
  611. "retry": 1,
  612. "handlerByScript": false,
  613. "success": "function handlerOk(res) {\n return true;\n}",
  614. "fail": "function handlerFail(res) {\n return true;\n}"
  615. }
  616. },
  617. "error": false
  618. }
  619. },
  620. {
  621. "name": "其他中心",
  622. "nodeType": 3,
  623. "priorityLevel": 2,
  624. "condGroup": {
  625. "type": "default",
  626. "items": [
  627. ]
  628. },
  629. "subjects": [
  630. ],
  631. "children": {
  632. "id": "Jt5c9Dj4xR1r39bG",
  633. "name": "审批人",
  634. "type": "APPROVAL",
  635. "props": {
  636. "assignedType": "ASSIGN_USER",
  637. "mode": "NEXT",
  638. "sign": false,
  639. "nobody": {
  640. "handler": "TO_PASS",
  641. "assignedUser": [
  642. ],
  643. "assignedRole": [
  644. ]
  645. },
  646. "timeLimit": {
  647. "timeout": {
  648. "unit": "H",
  649. "value": 0
  650. },
  651. "handler": {
  652. "type": "REFUSE",
  653. "notify": {
  654. "once": true,
  655. "hour": 1
  656. }
  657. }
  658. },
  659. "assignedUser": [
  660. {
  661. "type": "user",
  662. "subjectId": "21e02163f597474288293fff187f7d25",
  663. "name": "曹宏雁",
  664. "id": "21e02163f597474288293fff187f7d25"
  665. },
  666. {
  667. "type": "user",
  668. "subjectId": "83392f07986c40c084d36d22a2092ba6",
  669. "name": "高连所",
  670. "id": "83392f07986c40c084d36d22a2092ba6"
  671. }
  672. ],
  673. "assignedRole": [
  674. ],
  675. "formPerms": [
  676. {
  677. "id": "field4368279468887",
  678. "title": "名称",
  679. "required": true,
  680. "perm": "R"
  681. }
  682. ],
  683. "selfSelect": {
  684. "multiple": false
  685. },
  686. "leaderTop": {
  687. "endCondition": "TOP",
  688. "endLevel": 1
  689. },
  690. "leader": {
  691. "level": 1
  692. },
  693. "role": [
  694. ],
  695. "refuse": {
  696. "type": "TO_END",
  697. "target": ""
  698. },
  699. "formUser": "",
  700. "passHttp": {
  701. "method": "POST",
  702. "url": "",
  703. "headers": [
  704. {
  705. "name": "",
  706. "isField": true,
  707. "value": ""
  708. }
  709. ],
  710. "contentType": "JSON",
  711. "params": [
  712. {
  713. "name": "",
  714. "isField": true,
  715. "value": ""
  716. }
  717. ],
  718. "retry": 1,
  719. "handlerByScript": false,
  720. "success": "function handlerOk(res) {\n return true;\n}",
  721. "fail": "function handlerFail(res) {\n return true;\n}"
  722. },
  723. "rejectHttp": {
  724. "method": "POST",
  725. "url": "",
  726. "headers": [
  727. {
  728. "name": "",
  729. "isField": true,
  730. "value": ""
  731. }
  732. ],
  733. "contentType": "JSON",
  734. "params": [
  735. {
  736. "name": "",
  737. "isField": true,
  738. "value": ""
  739. }
  740. ],
  741. "retry": 1,
  742. "handlerByScript": false,
  743. "success": "function handlerOk(res) {\n return true;\n}",
  744. "fail": "function handlerFail(res) {\n return true;\n}"
  745. }
  746. },
  747. "error": false
  748. },
  749. "error": false
  750. }
  751. ],
  752. "ParentID": "root"
  753. }
  754. }