approval_or_user.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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": "3KbuWYgbmBmSTY6s",
  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. "type": "user",
  50. "subjectId": "5ee809c560cf4fc78c3755c17f177c54",
  51. "name": "任鹏飞",
  52. "id": "5ee809c560cf4fc78c3755c17f177c54"
  53. }
  54. ],
  55. "assignedRole": [
  56. ],
  57. "formPerms": [
  58. {
  59. "id": "field4368279468887",
  60. "title": "名称",
  61. "required": true,
  62. "perm": "R"
  63. }
  64. ],
  65. "selfSelect": {
  66. "multiple": false
  67. },
  68. "leaderTop": {
  69. "endCondition": "TOP",
  70. "endLevel": 1
  71. },
  72. "leader": {
  73. "level": 1
  74. },
  75. "role": [
  76. ],
  77. "refuse": {
  78. "type": "TO_END",
  79. "target": ""
  80. },
  81. "formUser": "",
  82. "passHttp": {
  83. "method": "POST",
  84. "url": "abc.com",
  85. "headers": [
  86. {
  87. "name": "",
  88. "isField": true,
  89. "value": ""
  90. }
  91. ],
  92. "contentType": "JSON",
  93. "params": [
  94. {
  95. "name": "",
  96. "isField": true,
  97. "value": ""
  98. }
  99. ],
  100. "retry": 1,
  101. "handlerByScript": false,
  102. "success": "function handlerOk(res) {\n return true;\n}",
  103. "fail": "function handlerFail(res) {\n return true;\n}"
  104. },
  105. "rejectHttp": {
  106. "method": "POST",
  107. "url": "abc.com",
  108. "headers": [
  109. {
  110. "name": "",
  111. "isField": true,
  112. "value": ""
  113. }
  114. ],
  115. "contentType": "JSON",
  116. "params": [
  117. {
  118. "name": "",
  119. "isField": true,
  120. "value": ""
  121. }
  122. ],
  123. "retry": 1,
  124. "handlerByScript": false,
  125. "success": "function handlerOk(res) {\n return true;\n}",
  126. "fail": "function handlerFail(res) {\n return true;\n}"
  127. }
  128. },
  129. "error": false,
  130. "ParentID": "root"
  131. }
  132. }