eoss-ui 0.6.41 → 0.6.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/lib/eoss-ui.common.js +1158 -1047
  2. package/lib/flow-list.js +123 -112
  3. package/lib/flow.js +882 -782
  4. package/lib/index.js +1 -1
  5. package/lib/main.js +132 -132
  6. package/lib/qr-code.js +13 -13
  7. package/lib/theme-chalk/flow.css +1 -1
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/package.json +159 -159
  10. package/packages/button/index.js +5 -5
  11. package/packages/button/src/main.vue +418 -418
  12. package/packages/button-group/index.js +5 -5
  13. package/packages/button-group/src/main.vue +298 -298
  14. package/packages/calendar/index.js +5 -5
  15. package/packages/card/index.js +5 -5
  16. package/packages/card/src/main.vue +156 -156
  17. package/packages/cascader/index.js +5 -5
  18. package/packages/cascader/src/main.vue +168 -168
  19. package/packages/checkbox-group/index.js +5 -5
  20. package/packages/checkbox-group/src/main.vue +333 -333
  21. package/packages/clients/index.js +5 -5
  22. package/packages/clients/src/main.vue +144 -144
  23. package/packages/data-table/index.js +5 -5
  24. package/packages/data-table/src/children.vue +39 -39
  25. package/packages/data-table/src/column.vue +989 -989
  26. package/packages/data-table/src/main.vue +1822 -1822
  27. package/packages/data-table/src/sizer.vue +195 -195
  28. package/packages/data-table-form/index.js +5 -5
  29. package/packages/data-table-form/src/checkbox.vue +101 -101
  30. package/packages/data-table-form/src/colgroup.vue +17 -17
  31. package/packages/data-table-form/src/main.vue +181 -181
  32. package/packages/data-table-form/src/radio.vue +65 -65
  33. package/packages/data-table-form/src/table.vue +233 -233
  34. package/packages/data-table-form/src/tbody.vue +336 -336
  35. package/packages/data-table-form/src/thead.vue +68 -68
  36. package/packages/date-picker/index.js +5 -5
  37. package/packages/date-picker/src/main.vue +236 -236
  38. package/packages/dialog/index.js +5 -5
  39. package/packages/enterprise/index.js +5 -5
  40. package/packages/enterprise/src/main.vue +66 -66
  41. package/packages/error-page/index.js +5 -5
  42. package/packages/error-page/src/main.vue +44 -44
  43. package/packages/flow/index.js +5 -5
  44. package/packages/flow/src/component/CommonOpinions.vue +345 -345
  45. package/packages/flow/src/component/CustomPreset.vue +322 -322
  46. package/packages/flow/src/component/FileList.vue +99 -99
  47. package/packages/flow/src/component/Preset.vue +255 -255
  48. package/packages/flow/src/component/SendMsg.vue +229 -229
  49. package/packages/flow/src/component/TimeLimit.vue +190 -190
  50. package/packages/flow/src/component/taskUnionExamine.vue +611 -611
  51. package/packages/flow/src/form.vue +121 -121
  52. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  53. package/packages/flow/src/main.vue +2952 -2862
  54. package/packages/flow/src/processForm.vue +1018 -1018
  55. package/packages/flow/src/processReject.vue +293 -293
  56. package/packages/flow/src/reset.vue +899 -899
  57. package/packages/flow/src/startTaskRead.vue +596 -596
  58. package/packages/flow/src/table.vue +58 -58
  59. package/packages/flow-group/index.js +5 -5
  60. package/packages/flow-group/src/main.vue +688 -688
  61. package/packages/flow-list/index.js +5 -5
  62. package/packages/flow-list/src/main.vue +1183 -1172
  63. package/packages/form/index.js +5 -5
  64. package/packages/form/src/main.vue +3584 -3584
  65. package/packages/form/src/table.vue +1420 -1420
  66. package/packages/handle-user/index.js +5 -5
  67. package/packages/handle-user/src/main.vue +138 -138
  68. package/packages/handler/index.js +5 -5
  69. package/packages/handler/src/main.vue +474 -474
  70. package/packages/icon/index.js +5 -5
  71. package/packages/icon/src/main.vue +101 -101
  72. package/packages/icons/index.js +5 -5
  73. package/packages/icons/src/main.vue +81 -81
  74. package/packages/input/index.js +5 -5
  75. package/packages/input/src/main.vue +356 -356
  76. package/packages/input-number/index.js +5 -5
  77. package/packages/input-number/src/main.vue +106 -106
  78. package/packages/label/index.js +5 -5
  79. package/packages/label/src/main.vue +457 -457
  80. package/packages/layout/index.js +5 -5
  81. package/packages/layout/src/item.vue +152 -152
  82. package/packages/layout/src/main.vue +31 -31
  83. package/packages/login/index.js +5 -5
  84. package/packages/login/src/main.vue +1935 -1935
  85. package/packages/login/src/resetPassword.vue +562 -562
  86. package/packages/main/index.js +5 -5
  87. package/packages/main/src/default/message.vue +249 -249
  88. package/packages/main/src/default/notice.vue +157 -157
  89. package/packages/main/src/default/userinfo.vue +505 -505
  90. package/packages/main/src/public/online.vue +89 -89
  91. package/packages/main/src/public/search.vue +461 -461
  92. package/packages/main/src/public/settings.vue +221 -221
  93. package/packages/main/src/simplicity/apps.vue +388 -388
  94. package/packages/main/src/simplicity/avatar.vue +82 -82
  95. package/packages/main/src/simplicity/handler.vue +259 -259
  96. package/packages/main/src/simplicity/index.vue +2047 -2047
  97. package/packages/main/src/simplicity/lists.vue +84 -84
  98. package/packages/main/src/simplicity/menu-list.vue +128 -128
  99. package/packages/main/src/simplicity/message.vue +259 -259
  100. package/packages/main/src/simplicity/notice.vue +190 -190
  101. package/packages/main/src/simplicity/router-page.vue +45 -45
  102. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  103. package/packages/main/src/simplicity/user.vue +257 -257
  104. package/packages/main/src/simplicity/userinfo.vue +312 -312
  105. package/packages/menu/index.js +5 -5
  106. package/packages/menu/src/main.vue +536 -536
  107. package/packages/nav/index.js +5 -5
  108. package/packages/nav/src/main.vue +402 -402
  109. package/packages/notify/index.js +5 -5
  110. package/packages/notify/src/main.vue +538 -538
  111. package/packages/page/index.js +5 -5
  112. package/packages/page/src/main.vue +167 -167
  113. package/packages/pagination/index.js +5 -5
  114. package/packages/pagination/src/main.vue +96 -96
  115. package/packages/player/index.js +5 -5
  116. package/packages/player/src/main.vue +194 -194
  117. package/packages/qr-code/index.js +5 -5
  118. package/packages/qr-code/src/main.vue +170 -170
  119. package/packages/radio-group/index.js +6 -6
  120. package/packages/radio-group/src/main.vue +319 -319
  121. package/packages/retrial-auth/index.js +5 -5
  122. package/packages/retrial-auth/src/main.vue +280 -280
  123. package/packages/select/index.js +5 -5
  124. package/packages/select/src/main.vue +775 -775
  125. package/packages/select-ganged/index.js +5 -5
  126. package/packages/select-ganged/src/main.vue +724 -724
  127. package/packages/selector/index.js +5 -5
  128. package/packages/selector/src/main.vue +689 -689
  129. package/packages/selector-panel/index.js +5 -5
  130. package/packages/selector-panel/src/main.vue +1027 -1027
  131. package/packages/selector-panel/src/selection.vue +177 -177
  132. package/packages/selector-panel/src/tree.vue +129 -129
  133. package/packages/sizer/index.js +5 -5
  134. package/packages/sizer/src/main.vue +254 -254
  135. package/packages/steps/index.js +5 -5
  136. package/packages/steps/src/main.vue +181 -181
  137. package/packages/switch/index.js +5 -5
  138. package/packages/switch/src/main.vue +154 -154
  139. package/packages/table-form/index.js +5 -5
  140. package/packages/tabs/index.js +5 -5
  141. package/packages/tabs/src/main.vue +788 -788
  142. package/packages/tabs-panel/index.js +5 -5
  143. package/packages/tabs-panel/src/main.vue +29 -29
  144. package/packages/theme-chalk/lib/flow.css +1 -1
  145. package/packages/theme-chalk/lib/index.css +1 -1
  146. package/packages/theme-chalk/src/base.scss +260 -260
  147. package/packages/theme-chalk/src/button-group.scss +175 -175
  148. package/packages/theme-chalk/src/button.scss +24 -24
  149. package/packages/theme-chalk/src/calendar.scss +113 -113
  150. package/packages/theme-chalk/src/card.scss +99 -99
  151. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  152. package/packages/theme-chalk/src/clients.scss +87 -87
  153. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  154. package/packages/theme-chalk/src/data-table.scss +293 -293
  155. package/packages/theme-chalk/src/date-picker.scss +7 -7
  156. package/packages/theme-chalk/src/dialog.scss +77 -77
  157. package/packages/theme-chalk/src/enterprise.scss +5 -5
  158. package/packages/theme-chalk/src/error-page.scss +18 -18
  159. package/packages/theme-chalk/src/flow-group.scss +110 -110
  160. package/packages/theme-chalk/src/flow-list.scss +36 -36
  161. package/packages/theme-chalk/src/flow.scss +318 -310
  162. package/packages/theme-chalk/src/form.scss +496 -496
  163. package/packages/theme-chalk/src/handle-user.scss +40 -40
  164. package/packages/theme-chalk/src/handler.scss +143 -143
  165. package/packages/theme-chalk/src/icon.scss +1789 -1789
  166. package/packages/theme-chalk/src/icons.scss +99 -99
  167. package/packages/theme-chalk/src/input.scss +9 -9
  168. package/packages/theme-chalk/src/label.scss +24 -24
  169. package/packages/theme-chalk/src/layout.scss +46 -46
  170. package/packages/theme-chalk/src/login.scss +947 -947
  171. package/packages/theme-chalk/src/main.scss +639 -639
  172. package/packages/theme-chalk/src/menu.scss +222 -222
  173. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  174. package/packages/theme-chalk/src/nav.scss +125 -125
  175. package/packages/theme-chalk/src/page.scss +3 -3
  176. package/packages/theme-chalk/src/pagination.scss +29 -29
  177. package/packages/theme-chalk/src/player.scss +9 -9
  178. package/packages/theme-chalk/src/qr-code.scss +17 -17
  179. package/packages/theme-chalk/src/radio-group.scss +9 -9
  180. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  181. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  182. package/packages/theme-chalk/src/select.scss +8 -8
  183. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  184. package/packages/theme-chalk/src/selector.scss +91 -91
  185. package/packages/theme-chalk/src/simplicity.scss +1262 -1262
  186. package/packages/theme-chalk/src/sizer.scss +36 -36
  187. package/packages/theme-chalk/src/steps.scss +88 -88
  188. package/packages/theme-chalk/src/switch.scss +3 -3
  189. package/packages/theme-chalk/src/table-form.scss +1 -1
  190. package/packages/theme-chalk/src/tabs.scss +87 -87
  191. package/packages/theme-chalk/src/tips.scss +7 -7
  192. package/packages/theme-chalk/src/toolbar.scss +179 -179
  193. package/packages/theme-chalk/src/tree-group.scss +72 -72
  194. package/packages/theme-chalk/src/tree.scss +165 -165
  195. package/packages/theme-chalk/src/upload.scss +167 -167
  196. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  197. package/packages/tips/index.js +5 -5
  198. package/packages/tips/src/main.vue +141 -141
  199. package/packages/toolbar/index.js +5 -5
  200. package/packages/toolbar/src/main.vue +430 -430
  201. package/packages/tree/index.js +5 -5
  202. package/packages/tree-group/index.js +5 -5
  203. package/packages/upload/index.js +5 -5
  204. package/packages/upload/src/main.vue +1334 -1334
  205. package/packages/upload/src/picture.js +15 -15
  206. package/packages/wujie/index.js +5 -5
  207. package/packages/wujie/src/main.vue +145 -145
  208. package/packages/wxlogin/index.js +5 -5
  209. package/packages/wxlogin/src/main.vue +128 -128
  210. package/src/config/api.js +248 -248
  211. package/src/config/image.js +2 -2
  212. package/src/index.js +157 -157
  213. package/src/utils/bus.js +3 -3
  214. package/src/utils/date-util.js +312 -312
  215. package/src/utils/http.js +50 -50
  216. package/src/utils/rules.js +18 -18
  217. package/src/utils/store.js +21 -21
  218. package/src/utils/webSocket.js +107 -107
  219. package/packages/.DS_Store +0 -0
  220. package/packages/data-table/.DS_Store +0 -0
  221. package/packages/data-table-form/.DS_Store +0 -0
  222. package/packages/error-page/.DS_Store +0 -0
  223. package/packages/flow/.DS_Store +0 -0
  224. package/packages/form/.DS_Store +0 -0
  225. package/packages/login/.DS_Store +0 -0
  226. package/packages/main/.DS_Store +0 -0
  227. package/packages/main/src/.DS_Store +0 -0
  228. package/packages/selector/.DS_Store +0 -0
  229. package/packages/selector-panel/.DS_Store +0 -0
  230. package/packages/sizer/.DS_Store +0 -0
  231. package/packages/tabs/.DS_Store +0 -0
  232. package/packages/theme-chalk/src/.DS_Store +0 -0
  233. package/packages/upload/.DS_Store +0 -0
  234. package/src/.DS_Store +0 -0
package/lib/flow.js CHANGED
@@ -4347,7 +4347,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4347
4347
  // ESM COMPAT FLAG
4348
4348
  __webpack_require__.r(__webpack_exports__);
4349
4349
 
4350
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5d052dc2&
4350
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5cd9622b&
4351
4351
  var render = function () {
4352
4352
  var _vm = this
4353
4353
  var _h = _vm.$createElement
@@ -4362,7 +4362,8 @@ var render = function () {
4362
4362
  },
4363
4363
  [
4364
4364
  _vm.newTypeCode == "reset" || _vm.newTypeCode == "continuation"
4365
- ? _c("Reset", {
4365
+ ? _c("reset", {
4366
+ staticStyle: { height: "100%" },
4366
4367
  attrs: {
4367
4368
  type: _vm.newTypeCode,
4368
4369
  appId: _vm.resetAppId,
@@ -4371,6 +4372,7 @@ var render = function () {
4371
4372
  })
4372
4373
  : _c(
4373
4374
  "div",
4375
+ { staticClass: "es-flow-content" },
4374
4376
  [
4375
4377
  _c(
4376
4378
  "div",
@@ -4491,6 +4493,7 @@ var render = function () {
4491
4493
  staticClass: "es-common-opinions",
4492
4494
  attrs: {
4493
4495
  opinion: _vm.value,
4496
+ rows: _vm.rows,
4494
4497
  isBanInputOpinion: _vm.isBanInputOpinion,
4495
4498
  nodeFixedOpinionSelectList:
4496
4499
  _vm.nodeFixedOpinionSelectList,
@@ -4519,6 +4522,7 @@ var render = function () {
4519
4522
  "\n (!endFlow || nodeInfos.length > 1) &&\n newTypeCode != 'fenyue' &&\n !shrink\n ",
4520
4523
  },
4521
4524
  ],
4525
+ ref: "esContent",
4522
4526
  staticClass: "es-info",
4523
4527
  },
4524
4528
  [
@@ -5586,11 +5590,7 @@ var render = function () {
5586
5590
  "div",
5587
5591
  {
5588
5592
  staticClass: "news",
5589
- on: {
5590
- click: function ($event) {
5591
- _vm.showNews = !_vm.showNews
5592
- },
5593
- },
5593
+ on: { click: _vm.showMessage },
5594
5594
  },
5595
5595
  [
5596
5596
  _c("span", { staticClass: "news-item" }, [
@@ -5601,95 +5601,95 @@ var render = function () {
5601
5601
  }),
5602
5602
  ]
5603
5603
  ),
5604
- _c(
5605
- "div",
5606
- {
5607
- directives: [
5604
+ _vm.showNews
5605
+ ? _c(
5606
+ "div",
5608
5607
  {
5609
- name: "show",
5610
- rawName: "v-show",
5611
- value: _vm.showNews,
5612
- expression: "showNews",
5608
+ ref: "messagebox",
5609
+ staticStyle: { transition: "1s" },
5613
5610
  },
5614
- ],
5615
- staticStyle: { transition: "1s" },
5616
- },
5617
- [
5618
- _c(
5619
- "el-checkbox-group",
5620
- {
5621
- model: {
5622
- value: _vm.nextNode.notificationType,
5623
- callback: function ($$v) {
5624
- _vm.$set(
5625
- _vm.nextNode,
5626
- "notificationType",
5627
- $$v
5611
+ [
5612
+ _c(
5613
+ "el-checkbox-group",
5614
+ {
5615
+ model: {
5616
+ value:
5617
+ _vm.nextNode.notificationType,
5618
+ callback: function ($$v) {
5619
+ _vm.$set(
5620
+ _vm.nextNode,
5621
+ "notificationType",
5622
+ $$v
5623
+ )
5624
+ },
5625
+ expression:
5626
+ "nextNode.notificationType",
5627
+ },
5628
+ },
5629
+ _vm._l(_vm.newsList, function (item) {
5630
+ return _c(
5631
+ "el-checkbox",
5632
+ {
5633
+ key: item.cciValue,
5634
+ attrs: {
5635
+ label: item.cciValue,
5636
+ disabled:
5637
+ _vm.readOnlyNotificationType
5638
+ ? _vm.readOnlyNotificationType.indexOf(
5639
+ item.cciValue
5640
+ ) != -1
5641
+ : false,
5642
+ },
5643
+ },
5644
+ [
5645
+ _vm._v(
5646
+ "\n " +
5647
+ _vm._s(item.shortName) +
5648
+ "\n "
5649
+ ),
5650
+ ]
5628
5651
  )
5652
+ }),
5653
+ 1
5654
+ ),
5655
+ _c("es-input", {
5656
+ directives: [
5657
+ {
5658
+ name: "show",
5659
+ rawName: "v-show",
5660
+ value: _vm.showNews,
5661
+ expression: "showNews",
5662
+ },
5663
+ ],
5664
+ staticStyle: {
5665
+ "border-color": "#ccc",
5666
+ padding: "5px",
5667
+ "border-radius": "5px",
5668
+ "font-size": "13px",
5629
5669
  },
5630
- expression: "nextNode.notificationType",
5631
- },
5632
- },
5633
- _vm._l(_vm.newsList, function (item) {
5634
- return _c(
5635
- "el-checkbox",
5636
- {
5637
- key: item.cciValue,
5638
- attrs: {
5639
- label: item.cciValue,
5640
- disabled:
5641
- _vm.readOnlyNotificationType
5642
- ? _vm.readOnlyNotificationType.indexOf(
5643
- item.cciValue
5644
- ) != -1
5645
- : false,
5670
+ attrs: {
5671
+ autosize: "",
5672
+ type: "textarea",
5673
+ readonly:
5674
+ _vm.notificationMessageReadOnly,
5675
+ },
5676
+ model: {
5677
+ value: _vm.nextNode.notificationMsg,
5678
+ callback: function ($$v) {
5679
+ _vm.$set(
5680
+ _vm.nextNode,
5681
+ "notificationMsg",
5682
+ $$v
5683
+ )
5646
5684
  },
5685
+ expression:
5686
+ "nextNode.notificationMsg",
5647
5687
  },
5648
- [
5649
- _vm._v(
5650
- "\n " +
5651
- _vm._s(item.shortName) +
5652
- "\n "
5653
- ),
5654
- ]
5655
- )
5656
- }),
5657
- 1
5658
- ),
5659
- _c("es-input", {
5660
- directives: [
5661
- {
5662
- name: "show",
5663
- rawName: "v-show",
5664
- value: _vm.showNews,
5665
- expression: "showNews",
5666
- },
5688
+ }),
5667
5689
  ],
5668
- staticStyle: {
5669
- "border-color": "#ccc",
5670
- padding: "5px",
5671
- "border-radius": "5px",
5672
- "font-size": "13px",
5673
- },
5674
- attrs: {
5675
- type: "textarea",
5676
- readonly: _vm.notificationMessageReadOnly,
5677
- },
5678
- model: {
5679
- value: _vm.nextNode.notificationMsg,
5680
- callback: function ($$v) {
5681
- _vm.$set(
5682
- _vm.nextNode,
5683
- "notificationMsg",
5684
- $$v
5685
- )
5686
- },
5687
- expression: "nextNode.notificationMsg",
5688
- },
5689
- }),
5690
- ],
5691
- 1
5692
- ),
5690
+ 1
5691
+ )
5692
+ : _vm._e(),
5693
5693
  ]
5694
5694
  )
5695
5695
  : _vm._e(),
@@ -6164,9 +6164,19 @@ var render = function () {
6164
6164
  [
6165
6165
  _c("ProcessForm", {
6166
6166
  attrs: {
6167
- id: _vm.businessIds,
6168
- "process-definition-id": _vm.nodeInfo.nextNode,
6167
+ id:
6168
+ _vm.freeStartFlowParams.startFlowBusinessId ||
6169
+ _vm.businessIds,
6170
+ "is-free-start-flow":
6171
+ _vm.freeStartFlowParams.useScene ===
6172
+ "multiInsMidwayWithSubmitScene",
6173
+ "copy-history":
6174
+ _vm.freeStartFlowParams.pendedHistoryHandle,
6175
+ "process-definition-id":
6176
+ _vm.freeStartFlowNextNode ||
6177
+ _vm.nodeInfo.nextNode,
6169
6178
  opinion: _vm.value,
6179
+ taskParams: _vm.taskParams,
6170
6180
  },
6171
6181
  on: {
6172
6182
  cancel: function ($event) {
@@ -6458,14 +6468,14 @@ var staticRenderFns = []
6458
6468
  render._withStripped = true
6459
6469
 
6460
6470
 
6461
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5d052dc2&
6471
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5cd9622b&
6462
6472
 
6463
6473
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6464
6474
  var regenerator_ = __webpack_require__(14);
6465
6475
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
6466
6476
 
6467
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=f5e5d4e8&
6468
- var CommonOpinionsvue_type_template_id_f5e5d4e8_render = function () {
6477
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=feb3781a&
6478
+ var CommonOpinionsvue_type_template_id_feb3781a_render = function () {
6469
6479
  var _vm = this
6470
6480
  var _h = _vm.$createElement
6471
6481
  var _c = _vm._self._c || _h
@@ -6651,11 +6661,11 @@ var CommonOpinionsvue_type_template_id_f5e5d4e8_render = function () {
6651
6661
  1
6652
6662
  )
6653
6663
  }
6654
- var CommonOpinionsvue_type_template_id_f5e5d4e8_staticRenderFns = []
6655
- CommonOpinionsvue_type_template_id_f5e5d4e8_render._withStripped = true
6664
+ var CommonOpinionsvue_type_template_id_feb3781a_staticRenderFns = []
6665
+ CommonOpinionsvue_type_template_id_feb3781a_render._withStripped = true
6656
6666
 
6657
6667
 
6658
- // CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=f5e5d4e8&
6668
+ // CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=feb3781a&
6659
6669
 
6660
6670
  // EXTERNAL MODULE: ./src/config/api.js
6661
6671
  var api = __webpack_require__(1);
@@ -7239,7 +7249,7 @@ var _components;
7239
7249
  }
7240
7250
  },
7241
7251
  rows: {
7242
- type: Number,
7252
+ type: [Number, String],
7243
7253
  default: 10
7244
7254
  }
7245
7255
  },
@@ -7271,21 +7281,21 @@ var _components;
7271
7281
  return validSate;
7272
7282
  },
7273
7283
 
7274
- /**
7275
- * changeOpinion
7276
- * @desc:监听意见变化
7277
- * @author liufan
7278
- * @date 2022年10月28日
7284
+ /**
7285
+ * changeOpinion
7286
+ * @desc:监听意见变化
7287
+ * @author liufan
7288
+ * @date 2022年10月28日
7279
7289
  **/
7280
7290
  changeOpinion: function changeOpinion() {
7281
7291
  this.$emit('change', this.form.value);
7282
7292
  },
7283
7293
 
7284
- /**
7285
- * getCommonOpion
7286
- * @desc:获取意见
7287
- * @author liufan
7288
- * @date 2022年5月25日
7294
+ /**
7295
+ * getCommonOpion
7296
+ * @desc:获取意见
7297
+ * @author liufan
7298
+ * @date 2022年5月25日
7289
7299
  **/
7290
7300
  getCommonOpion: function getCommonOpion() {
7291
7301
  var _this = this;
@@ -7314,24 +7324,24 @@ var _components;
7314
7324
  });
7315
7325
  },
7316
7326
 
7317
- /**
7318
- * upDate
7319
- * @desc:修改常用语
7320
- * @author liufan
7321
- * @param {Object} val 修改值
7322
- * @date 2022年5月25日
7327
+ /**
7328
+ * upDate
7329
+ * @desc:修改常用语
7330
+ * @author liufan
7331
+ * @param {Object} val 修改值
7332
+ * @date 2022年5月25日
7323
7333
  **/
7324
7334
  upDate: function upDate(val) {
7325
7335
  this.FormData.id = val.id;
7326
7336
  this.addVisible = true;
7327
7337
  },
7328
7338
 
7329
- /**
7330
- * selectChange
7331
- * @desc:常用语选择
7332
- * @author liufan
7333
- * @param {String} val 选中值
7334
- * @date 2022年5月25日
7339
+ /**
7340
+ * selectChange
7341
+ * @desc:常用语选择
7342
+ * @author liufan
7343
+ * @param {String} val 选中值
7344
+ * @date 2022年5月25日
7335
7345
  **/
7336
7346
  selectChange: function selectChange(val) {
7337
7347
  var _this2 = this;
@@ -7350,12 +7360,12 @@ var _components;
7350
7360
  });
7351
7361
  },
7352
7362
 
7353
- /**
7354
- * del
7355
- * @desc:删除常用语
7356
- * @author liufan
7357
- * @param {Object} val 删除的数据
7358
- * @date 2022年5月25日
7363
+ /**
7364
+ * del
7365
+ * @desc:删除常用语
7366
+ * @author liufan
7367
+ * @param {Object} val 删除的数据
7368
+ * @date 2022年5月25日
7359
7369
  **/
7360
7370
  del: function del(val) {
7361
7371
  var _this3 = this;
@@ -7397,12 +7407,12 @@ var _components;
7397
7407
  }).catch(function (e) {});
7398
7408
  },
7399
7409
 
7400
- /**
7401
- * submit
7402
- * @desc:新增/编辑意见保存
7403
- * @author liufan
7404
- * @param {Object} val 保存数据
7405
- * @date 2022年5月25日
7410
+ /**
7411
+ * submit
7412
+ * @desc:新增/编辑意见保存
7413
+ * @author liufan
7414
+ * @param {Object} val 保存数据
7415
+ * @date 2022年5月25日
7406
7416
  **/
7407
7417
  submit: function submit(val) {
7408
7418
  var _this4 = this;
@@ -7457,8 +7467,8 @@ var _components;
7457
7467
 
7458
7468
  var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
7459
7469
  component_CommonOpinionsvue_type_script_lang_js_,
7460
- CommonOpinionsvue_type_template_id_f5e5d4e8_render,
7461
- CommonOpinionsvue_type_template_id_f5e5d4e8_staticRenderFns,
7470
+ CommonOpinionsvue_type_template_id_feb3781a_render,
7471
+ CommonOpinionsvue_type_template_id_feb3781a_staticRenderFns,
7462
7472
  false,
7463
7473
  null,
7464
7474
  null,
@@ -7467,8 +7477,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
7467
7477
  )
7468
7478
 
7469
7479
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
7470
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=4c3e6186&
7471
- var processFormvue_type_template_id_4c3e6186_render = function () {
7480
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=4fda08fb&
7481
+ var processFormvue_type_template_id_4fda08fb_render = function () {
7472
7482
  var _vm = this
7473
7483
  var _h = _vm.$createElement
7474
7484
  var _c = _vm._self._c || _h
@@ -7542,13 +7552,22 @@ var processFormvue_type_template_id_4c3e6186_render = function () {
7542
7552
  ],
7543
7553
  1
7544
7554
  ),
7545
- _vm.isSinglePage
7555
+ _vm.isSinglePage || _vm.copyHistory
7546
7556
  ? _c(
7547
7557
  "el-form-item",
7548
- { attrs: { prop: "newOpinion", label: "意见" } },
7558
+ {
7559
+ attrs: {
7560
+ prop: "newOpinion",
7561
+ label: _vm.copyHistory ? "填写意见" : "意见",
7562
+ },
7563
+ },
7549
7564
  [
7550
7565
  _c("CommonOpinions", {
7551
7566
  staticClass: "opinions",
7567
+ attrs: {
7568
+ opinion: _vm.nextNode.newOpinion,
7569
+ rows: _vm.copyHistory ? 2 : 5,
7570
+ },
7552
7571
  on: {
7553
7572
  change: function (val) {
7554
7573
  return (_vm.nextNode.newOpinion = val)
@@ -7989,11 +8008,11 @@ var processFormvue_type_template_id_4c3e6186_render = function () {
7989
8008
  1
7990
8009
  )
7991
8010
  }
7992
- var processFormvue_type_template_id_4c3e6186_staticRenderFns = []
7993
- processFormvue_type_template_id_4c3e6186_render._withStripped = true
8011
+ var processFormvue_type_template_id_4fda08fb_staticRenderFns = []
8012
+ processFormvue_type_template_id_4fda08fb_render._withStripped = true
7994
8013
 
7995
8014
 
7996
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=4c3e6186&
8015
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=4fda08fb&
7997
8016
 
7998
8017
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=615d0e78&
7999
8018
  var selectUservue_type_template_id_615d0e78_render = function () {
@@ -9731,6 +9750,8 @@ var processFormvue_type_script_lang_js_components;
9731
9750
  //
9732
9751
  //
9733
9752
  //
9753
+ //
9754
+ //
9734
9755
 
9735
9756
 
9736
9757
 
@@ -9874,7 +9895,11 @@ var processFormvue_type_script_lang_js_components;
9874
9895
  mounted: function mounted() {
9875
9896
  this.getNodeType();
9876
9897
  this.getStartFlow(this.processDefinitionId);
9877
- this.newOpinion = this.opinion;
9898
+ if (this.copyHistory) {
9899
+ this.nextNode.newOpinion = this.opinion;
9900
+ } else {
9901
+ this.newOpinion = this.opinion;
9902
+ }
9878
9903
  },
9879
9904
 
9880
9905
  methods: {
@@ -10095,7 +10120,7 @@ var processFormvue_type_script_lang_js_components;
10095
10120
  var newParm = {};
10096
10121
  newParm.copyHistory = _this4.copyHistory === 'needCopyPendedHistory';
10097
10122
  newParm.startFlowParamJson = params;
10098
- newParm.startFlowParamJson.businessId = '93f66a39a52c47deb7a9a25b6424f089'; //this.id
10123
+ newParm.startFlowParamJson.businessId = _this4.id; //this.id
10099
10124
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
10100
10125
  for (var key in _this4.taskParams) {
10101
10126
  if (Array.isArray(_this4.taskParams[key])) {
@@ -10254,11 +10279,11 @@ var processFormvue_type_script_lang_js_components;
10254
10279
  });
10255
10280
  },
10256
10281
 
10257
- /**
10258
- * isMultiple
10259
- * @desc:是否多选
10260
- * @author liufan
10261
- * @date 2022年9月13日
10282
+ /**
10283
+ * isMultiple
10284
+ * @desc:是否多选
10285
+ * @author liufan
10286
+ * @date 2022年9月13日
10262
10287
  **/
10263
10288
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
10264
10289
  var multiple = false;
@@ -10411,8 +10436,8 @@ var processFormvue_type_script_lang_js_components;
10411
10436
 
10412
10437
  var processForm_component = Object(componentNormalizer["a" /* default */])(
10413
10438
  src_processFormvue_type_script_lang_js_,
10414
- processFormvue_type_template_id_4c3e6186_render,
10415
- processFormvue_type_template_id_4c3e6186_staticRenderFns,
10439
+ processFormvue_type_template_id_4fda08fb_render,
10440
+ processFormvue_type_template_id_4fda08fb_staticRenderFns,
10416
10441
  false,
10417
10442
  null,
10418
10443
  null,
@@ -10424,8 +10449,8 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
10424
10449
  // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
10425
10450
  var FileList = __webpack_require__(17);
10426
10451
 
10427
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=template&id=6b27baa2&
10428
- var SendMsgvue_type_template_id_6b27baa2_render = function () {
10452
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=template&id=798f665c&
10453
+ var SendMsgvue_type_template_id_798f665c_render = function () {
10429
10454
  var _vm = this
10430
10455
  var _h = _vm.$createElement
10431
10456
  var _c = _vm._self._c || _h
@@ -10514,7 +10539,7 @@ var SendMsgvue_type_template_id_6b27baa2_render = function () {
10514
10539
  _c("el-input", {
10515
10540
  attrs: {
10516
10541
  type: "textarea",
10517
- rows: 2,
10542
+ autosize: "",
10518
10543
  readonly: _vm.notificationMessageReadOnly,
10519
10544
  },
10520
10545
  model: {
@@ -10630,11 +10655,11 @@ var SendMsgvue_type_template_id_6b27baa2_render = function () {
10630
10655
  1
10631
10656
  )
10632
10657
  }
10633
- var SendMsgvue_type_template_id_6b27baa2_staticRenderFns = []
10634
- SendMsgvue_type_template_id_6b27baa2_render._withStripped = true
10658
+ var SendMsgvue_type_template_id_798f665c_staticRenderFns = []
10659
+ SendMsgvue_type_template_id_798f665c_render._withStripped = true
10635
10660
 
10636
10661
 
10637
- // CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=6b27baa2&
10662
+ // CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=798f665c&
10638
10663
 
10639
10664
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=script&lang=js&
10640
10665
  //
@@ -10886,8 +10911,8 @@ SendMsgvue_type_template_id_6b27baa2_render._withStripped = true
10886
10911
 
10887
10912
  var SendMsg_component = Object(componentNormalizer["a" /* default */])(
10888
10913
  component_SendMsgvue_type_script_lang_js_,
10889
- SendMsgvue_type_template_id_6b27baa2_render,
10890
- SendMsgvue_type_template_id_6b27baa2_staticRenderFns,
10914
+ SendMsgvue_type_template_id_798f665c_render,
10915
+ SendMsgvue_type_template_id_798f665c_staticRenderFns,
10891
10916
  false,
10892
10917
  null,
10893
10918
  null,
@@ -12910,8 +12935,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
12910
12935
  )
12911
12936
 
12912
12937
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
12913
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=2b7d4b66&
12914
- var resetvue_type_template_id_2b7d4b66_render = function () {
12938
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=5f0800ef&
12939
+ var resetvue_type_template_id_5f0800ef_render = function () {
12915
12940
  var _vm = this
12916
12941
  var _h = _vm.$createElement
12917
12942
  var _c = _vm._self._c || _h
@@ -12948,13 +12973,7 @@ var resetvue_type_template_id_2b7d4b66_render = function () {
12948
12973
  [
12949
12974
  _c(
12950
12975
  "div",
12951
- {
12952
- staticStyle: {
12953
- height: "430px",
12954
- "overflow-y": "auto",
12955
- "margin-bottom": "10px",
12956
- },
12957
- },
12976
+ { staticStyle: { "margin-bottom": "10px" } },
12958
12977
  [
12959
12978
  _c(
12960
12979
  "el-form-item",
@@ -13342,11 +13361,11 @@ var resetvue_type_template_id_2b7d4b66_render = function () {
13342
13361
  1
13343
13362
  )
13344
13363
  }
13345
- var resetvue_type_template_id_2b7d4b66_staticRenderFns = []
13346
- resetvue_type_template_id_2b7d4b66_render._withStripped = true
13364
+ var resetvue_type_template_id_5f0800ef_staticRenderFns = []
13365
+ resetvue_type_template_id_5f0800ef_render._withStripped = true
13347
13366
 
13348
13367
 
13349
- // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=2b7d4b66&
13368
+ // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=5f0800ef&
13350
13369
 
13351
13370
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=script&lang=js&
13352
13371
  var resetvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -14069,11 +14088,11 @@ var resetvue_type_script_lang_js_components;
14069
14088
  });
14070
14089
  },
14071
14090
 
14072
- /**
14073
- * isMultiple
14074
- * @desc:是否多选
14075
- * @author liufan
14076
- * @date 2022年9月13日
14091
+ /**
14092
+ * isMultiple
14093
+ * @desc:是否多选
14094
+ * @author liufan
14095
+ * @date 2022年9月13日
14077
14096
  **/
14078
14097
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
14079
14098
  var multiple = false;
@@ -14204,8 +14223,8 @@ var resetvue_type_script_lang_js_components;
14204
14223
 
14205
14224
  var reset_component = Object(componentNormalizer["a" /* default */])(
14206
14225
  src_resetvue_type_script_lang_js_,
14207
- resetvue_type_template_id_2b7d4b66_render,
14208
- resetvue_type_template_id_2b7d4b66_staticRenderFns,
14226
+ resetvue_type_template_id_5f0800ef_render,
14227
+ resetvue_type_template_id_5f0800ef_staticRenderFns,
14209
14228
  false,
14210
14229
  null,
14211
14230
  null,
@@ -18435,11 +18454,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18435
18454
  });
18436
18455
  },
18437
18456
 
18438
- /**
18439
- * saveInfo
18440
- * @desc:暂存
18441
- * @author liufan
18442
- * @date 2022年9月9日
18457
+ /**
18458
+ * saveInfo
18459
+ * @desc:暂存
18460
+ * @author liufan
18461
+ * @date 2022年9月9日
18443
18462
  **/
18444
18463
  saveInfo: function saveInfo(type, btn) {
18445
18464
  var _this6 = this;
@@ -18501,11 +18520,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18501
18520
  });
18502
18521
  },
18503
18522
 
18504
- /**
18505
- * rejectBtn
18506
- * @desc:点击驳回
18507
- * @author liufan
18508
- * @date 2022年5月25日
18523
+ /**
18524
+ * rejectBtn
18525
+ * @desc:点击驳回
18526
+ * @author liufan
18527
+ * @date 2022年5月25日
18509
18528
  **/
18510
18529
  rejectBtn: function rejectBtn() {
18511
18530
  var _this8 = this;
@@ -18523,11 +18542,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18523
18542
  }
18524
18543
  },
18525
18544
 
18526
- /**
18527
- * taskReadBtn
18528
- * @desc:点击分阅
18529
- * @author liufan
18530
- * @date 2022年5月25日
18545
+ /**
18546
+ * taskReadBtn
18547
+ * @desc:点击分阅
18548
+ * @author liufan
18549
+ * @date 2022年5月25日
18531
18550
  **/
18532
18551
  taskReadBtn: function taskReadBtn() {
18533
18552
  var _this9 = this;
@@ -18546,11 +18565,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18546
18565
  }
18547
18566
  },
18548
18567
 
18549
- /**
18550
- * getFind
18551
- * @desc:获取通知方式
18552
- * @author liufan
18553
- * @date 2022年5月25日
18568
+ /**
18569
+ * getFind
18570
+ * @desc:获取通知方式
18571
+ * @author liufan
18572
+ * @date 2022年5月25日
18554
18573
  **/
18555
18574
  getFind: function getFind() {
18556
18575
  var _this10 = this;
@@ -18605,12 +18624,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18605
18624
  });
18606
18625
  },
18607
18626
 
18608
- /**
18609
- * endFlows
18610
- * @desc:直接办结
18611
- * @author liufan
18612
- * @param {Object} res 直接办结数据
18613
- * @date 2022年5月25日
18627
+ /**
18628
+ * endFlows
18629
+ * @desc:直接办结
18630
+ * @author liufan
18631
+ * @param {Object} res 直接办结数据
18632
+ * @date 2022年5月25日
18614
18633
  **/
18615
18634
  endFlows: function endFlows(res) {
18616
18635
  var _this12 = this;
@@ -18664,12 +18683,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18664
18683
  }).catch(function (e) {});
18665
18684
  },
18666
18685
 
18667
- /**
18668
- * goView
18669
- * @desc:更多流程按钮操作
18670
- * @author liufan
18671
- * @param {Object} res 当前点击操作按钮数据
18672
- * @date 2022年5月25日
18686
+ /**
18687
+ * goView
18688
+ * @desc:更多流程按钮操作
18689
+ * @author liufan
18690
+ * @param {Object} res 当前点击操作按钮数据
18691
+ * @date 2022年5月25日
18673
18692
  **/
18674
18693
  goView: function goView(res) {
18675
18694
  // 驳回并办结:rejectAndEndHtml
@@ -18754,11 +18773,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18754
18773
  // isCanStartSubFlow
18755
18774
  },
18756
18775
 
18757
- /**
18758
- * toTakeAdvice
18759
- * @desc:征求意见
18760
- * @author liufan
18761
- * @date 2022年9月29日
18776
+ /**
18777
+ * toTakeAdvice
18778
+ * @desc:征求意见
18779
+ * @author liufan
18780
+ * @date 2022年9月29日
18762
18781
  **/
18763
18782
  toTakeAdvice: function toTakeAdvice(res) {
18764
18783
  var _this14 = this;
@@ -18802,11 +18821,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18802
18821
  });
18803
18822
  },
18804
18823
 
18805
- /**
18806
- * toStartDraf
18807
- * @desc: 稿件递送、联合审核、复核
18808
- * @author liufan
18809
- * @date 2022年9月29日
18824
+ /**
18825
+ * toStartDraf
18826
+ * @desc: 稿件递送、联合审核、复核
18827
+ * @author liufan
18828
+ * @date 2022年9月29日
18810
18829
  **/
18811
18830
  toStartDraf: function toStartDraf(res) {
18812
18831
  var _this16 = this;
@@ -18820,11 +18839,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18820
18839
  }
18821
18840
  },
18822
18841
 
18823
- /**
18824
- * toSendMsg
18825
- * @desc:核稿通知
18826
- * @author liufan
18827
- * @date 2022年9月29日
18842
+ /**
18843
+ * toSendMsg
18844
+ * @desc:核稿通知
18845
+ * @author liufan
18846
+ * @date 2022年9月29日
18828
18847
  **/
18829
18848
  toSendMsg: function toSendMsg(res) {
18830
18849
  var _this17 = this;
@@ -18838,11 +18857,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18838
18857
  }
18839
18858
  },
18840
18859
 
18841
- /**
18842
- * toTaskReadAndEnd
18843
- * @desc:分阅并办结
18844
- * @author liufan
18845
- * @date 2022年9月29日
18860
+ /**
18861
+ * toTaskReadAndEnd
18862
+ * @desc:分阅并办结
18863
+ * @author liufan
18864
+ * @date 2022年9月29日
18846
18865
  **/
18847
18866
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
18848
18867
  var _this18 = this;
@@ -18860,11 +18879,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18860
18879
  }
18861
18880
  },
18862
18881
 
18863
- /**
18864
- * rejectAndEnd
18865
- * @desc:驳回并办结
18866
- * @author liufan
18867
- * @date 2022年9月29日
18882
+ /**
18883
+ * rejectAndEnd
18884
+ * @desc:驳回并办结
18885
+ * @author liufan
18886
+ * @date 2022年9月29日
18868
18887
  **/
18869
18888
  rejectAndEnd: function rejectAndEnd(res) {
18870
18889
  var _this19 = this;
@@ -18919,11 +18938,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18919
18938
  });
18920
18939
  },
18921
18940
 
18922
- /**
18923
- * toTransfer
18924
- * @desc:转办
18925
- * @author liufan
18926
- * @date 2022年9月29日
18941
+ /**
18942
+ * toTransfer
18943
+ * @desc:转办
18944
+ * @author liufan
18945
+ * @date 2022年9月29日
18927
18946
  **/
18928
18947
  toTransfer: function toTransfer(res) {
18929
18948
  var _this21 = this;
@@ -18939,11 +18958,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18939
18958
  }
18940
18959
  },
18941
18960
 
18942
- /**
18943
- * getNodeInfo
18944
- * @desc:获取节点信息
18945
- * @author liufan
18946
- * @date 2022年5月25日
18961
+ /**
18962
+ * getNodeInfo
18963
+ * @desc:获取节点信息
18964
+ * @author liufan
18965
+ * @date 2022年5月25日
18947
18966
  **/
18948
18967
  getNodeInfo: function getNodeInfo() {
18949
18968
  var _this22 = this;
@@ -19042,12 +19061,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19042
19061
  });
19043
19062
  },
19044
19063
 
19045
- /**
19046
- * selecNext
19047
- * @desc:下步节点变化时更新数据
19048
- * @author liufan
19049
- * @param {String} val 当前选中值
19050
- * @date 2022年5月25日
19064
+ /**
19065
+ * selecNext
19066
+ * @desc:下步节点变化时更新数据
19067
+ * @author liufan
19068
+ * @param {String} val 当前选中值
19069
+ * @date 2022年5月25日
19051
19070
  **/
19052
19071
  selecNext: function selecNext(val, type, isDef) {
19053
19072
  var _this23 = this;
@@ -19156,11 +19175,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19156
19175
  if (isDef !== true) this.getNodeInfo();
19157
19176
  },
19158
19177
 
19159
- /**
19160
- * isMultiple
19161
- * @desc:是否多选
19162
- * @author liufan
19163
- * @date 2022年9月13日
19178
+ /**
19179
+ * isMultiple
19180
+ * @desc:是否多选
19181
+ * @author liufan
19182
+ * @date 2022年9月13日
19164
19183
  **/
19165
19184
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
19166
19185
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -19192,11 +19211,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19192
19211
  }
19193
19212
  },
19194
19213
 
19195
- /**
19196
- * getHedInfo
19197
- * @desc:获取审核页面数据
19198
- * @author liufan
19199
- * @date 2022年5月25日
19214
+ /**
19215
+ * getHedInfo
19216
+ * @desc:获取审核页面数据
19217
+ * @author liufan
19218
+ * @date 2022年5月25日
19200
19219
  **/
19201
19220
  getHedInfo: function getHedInfo() {
19202
19221
  var _this24 = this;
@@ -19432,13 +19451,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19432
19451
  });
19433
19452
  },
19434
19453
 
19435
- /**
19436
- * closeProcess
19437
- * @desc:关闭弹窗
19438
- * @author liufan
19439
- * @param {boolean} val 当前是否办理流程
19440
- * @param {String} type 当前点击的弹窗类型
19441
- * @date 2022年5月25日
19454
+ /**
19455
+ * closeProcess
19456
+ * @desc:关闭弹窗
19457
+ * @author liufan
19458
+ * @param {boolean} val 当前是否办理流程
19459
+ * @param {String} type 当前点击的弹窗类型
19460
+ * @date 2022年5月25日
19442
19461
  **/
19443
19462
  closeProcess: function closeProcess(val, type, closeParent) {
19444
19463
  if (closeParent) {
@@ -19455,23 +19474,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19455
19474
  }
19456
19475
  },
19457
19476
 
19458
- /**
19459
- * selectChange
19460
- * @desc:常用语选择
19461
- * @author liufan
19462
- * @param {String} val 选中值
19463
- * @date 2022年5月25日
19477
+ /**
19478
+ * selectChange
19479
+ * @desc:常用语选择
19480
+ * @author liufan
19481
+ * @param {String} val 选中值
19482
+ * @date 2022年5月25日
19464
19483
  **/
19465
19484
  selectChange: function selectChange(val) {
19466
19485
  this.value = val;
19467
19486
  },
19468
19487
 
19469
- /**
19470
- * upDate
19471
- * @desc:修改常用语
19472
- * @author liufan
19473
- * @param {Object} val 修改值
19474
- * @date 2022年5月25日
19488
+ /**
19489
+ * upDate
19490
+ * @desc:修改常用语
19491
+ * @author liufan
19492
+ * @param {Object} val 修改值
19493
+ * @date 2022年5月25日
19475
19494
  **/
19476
19495
  upDate: function upDate(val) {
19477
19496
  this.FormData.id = val.id;
@@ -19479,11 +19498,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19479
19498
  },
19480
19499
 
19481
19500
 
19482
- /**
19483
- * getProcess
19484
- * @desc:获取选择流程
19485
- * @author liufan
19486
- * @date 2022年5月25日
19501
+ /**
19502
+ * getProcess
19503
+ * @desc:获取选择流程
19504
+ * @author liufan
19505
+ * @date 2022年5月25日
19487
19506
  **/
19488
19507
  getProcess: function getProcess() {
19489
19508
  var _this25 = this;
@@ -19537,11 +19556,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19537
19556
  });
19538
19557
  },
19539
19558
 
19540
- /**
19541
- * getPendedhistoryList
19542
- * @desc:获取流程列表
19543
- * @author liufan
19544
- * @date 2022年5月25日
19559
+ /**
19560
+ * getPendedhistoryList
19561
+ * @desc:获取流程列表
19562
+ * @author liufan
19563
+ * @date 2022年5月25日
19545
19564
  **/
19546
19565
  getPendedhistoryList: function getPendedhistoryList() {
19547
19566
  var _this26 = this;
@@ -19573,12 +19592,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19573
19592
  },
19574
19593
 
19575
19594
  // 提交流程
19576
- /**
19577
- * subProcess
19578
- * @desc:提交流程
19579
- * @author liufan
19580
- * @param {String} formName 当前form表单ref值
19581
- * @date 2022年5月25日
19595
+ /**
19596
+ * subProcess
19597
+ * @desc:提交流程
19598
+ * @author liufan
19599
+ * @param {String} formName 当前form表单ref值
19600
+ * @date 2022年5月25日
19582
19601
  **/
19583
19602
  subProcess: function subProcess(val) {
19584
19603
  var _this27 = this;
@@ -20600,6 +20619,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20600
20619
  //
20601
20620
  //
20602
20621
  //
20622
+ //
20623
+ //
20624
+ //
20625
+ //
20626
+ //
20627
+ //
20628
+ //
20629
+ //
20630
+ //
20631
+ //
20632
+ //
20633
+ //
20634
+ //
20635
+ //
20636
+ //
20637
+ //
20638
+ //
20639
+ //
20640
+ //
20641
+ //
20642
+ //
20643
+ //
20644
+ //
20645
+ //
20646
+ //
20647
+ //
20648
+ //
20649
+ //
20650
+ //
20651
+ //
20652
+ //
20653
+ //
20654
+ //
20655
+ //
20656
+ //
20657
+ //
20658
+ //
20659
+ //
20660
+ //
20661
+ //
20662
+ //
20663
+ //
20664
+ //
20665
+ //
20603
20666
 
20604
20667
 
20605
20668
 
@@ -20655,6 +20718,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20655
20718
  resetAppId: { type: String },
20656
20719
  userSelectRange: {
20657
20720
  type: String
20721
+ },
20722
+ rows: {
20723
+ type: [String, Number],
20724
+ default: 10
20658
20725
  }
20659
20726
  },
20660
20727
  data: function data() {
@@ -20664,7 +20731,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20664
20731
  styles: {},
20665
20732
  userModel: {},
20666
20733
  showFreeStartFlow: false, //自由发起流程弹窗
20667
- freeStartFlowParam: {}, //自由发起流程参数
20734
+ freeStartFlowParams: {}, //自由发起流程参数
20735
+ freeStartFlowNextNode: undefined,
20668
20736
  otherOrgDisabledObjId: [],
20669
20737
  currentOrgDisabledObjId: [],
20670
20738
  nextNodeCheckType: 'select',
@@ -20712,6 +20780,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20712
20780
  endFlowInfo: {},
20713
20781
  isCanFenyue: '0',
20714
20782
  appId: '',
20783
+ currentNodeIsCircularReadNode: false,
20715
20784
  multiple: false, //是否多选(true/false)
20716
20785
  readMultiple: true, //分阅用户是否多选(true/false)
20717
20786
  selectReadUserList: [], //选中分阅用户
@@ -20869,6 +20938,15 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20869
20938
  }
20870
20939
  },
20871
20940
  methods: {
20941
+ showMessage: function showMessage() {
20942
+ var _this = this;
20943
+
20944
+ this.showNews = !this.showNews;
20945
+ if (!this.showNews) return;
20946
+ this.$nextTick(function () {
20947
+ _this.$refs.esContent.scrollTop += _this.$refs.messagebox.clientHeight;
20948
+ });
20949
+ },
20872
20950
  freeStartFlowSuccess: function freeStartFlowSuccess() {
20873
20951
  this.showFreeStartFlow = false;
20874
20952
  this.$emit('success');
@@ -20938,7 +21016,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20938
21016
 
20939
21017
  //获取附件
20940
21018
  getFile: function getFile(ownId, code) {
20941
- var _this = this;
21019
+ var _this2 = this;
20942
21020
 
20943
21021
  var params = {
20944
21022
  url: api["A" /* getAdjunctFileInfos */],
@@ -20950,13 +21028,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20950
21028
  msg = res.msg;
20951
21029
 
20952
21030
  if (rCode == 0) {
20953
- results && (_this.fileNum = results.length);
21031
+ results && (_this2.fileNum = results.length);
20954
21032
  } else {
20955
- _this.$message.error(msg || '系统错误,请联系管理员!');
21033
+ _this2.$message.error(msg || '系统错误,请联系管理员!');
20956
21034
  }
20957
21035
  }).catch(function (err) {
20958
21036
  if (err.message && err.message !== 'canceled') {
20959
- _this.$message.error(err.message);
21037
+ _this2.$message.error(err.message);
20960
21038
  }
20961
21039
  });
20962
21040
  },
@@ -21003,7 +21081,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21003
21081
  }
21004
21082
  },
21005
21083
  taskRead: function taskRead() {
21006
- var _this2 = this;
21084
+ var _this3 = this;
21007
21085
 
21008
21086
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
21009
21087
  if (!this.$refs.commonOpinions.validate()) return;
@@ -21013,8 +21091,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21013
21091
  cancelButtonText: '取消',
21014
21092
  type: 'warning'
21015
21093
  }).then(function () {
21016
- _this2.loading = util["a" /* default */].loading(_this2.$loading, '加载中...');
21017
- var _taskExamineInfo = _this2.taskExamineInfo,
21094
+ _this3.loading = util["a" /* default */].loading(_this3.$loading, '加载中...');
21095
+ var _taskExamineInfo = _this3.taskExamineInfo,
21018
21096
  businessId = _taskExamineInfo.businessId,
21019
21097
  appId = _taskExamineInfo.appId,
21020
21098
  processDefinitionId = _taskExamineInfo.processDefinitionId,
@@ -21025,7 +21103,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21025
21103
  appId: appId,
21026
21104
  processDefinitionId: processDefinitionId,
21027
21105
  pendingId: pendingId,
21028
- opinion: _this2.value,
21106
+ opinion: _this3.value,
21029
21107
  taskAction: 'complete'
21030
21108
  };
21031
21109
  util["a" /* default */].ajax({
@@ -21040,24 +21118,24 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21040
21118
  var status = res.status,
21041
21119
  message = res.message;
21042
21120
 
21043
- _this2.loading.close();
21121
+ _this3.loading.close();
21044
21122
  if (status === 'success') {
21045
- _this2.$message.success('提交成功');
21046
- _this2.$emit('success');
21123
+ _this3.$message.success('提交成功');
21124
+ _this3.$emit('success');
21047
21125
  } else {
21048
- _this2.$message.error(message || '系统错误,请联系管理员!');
21049
- _this2.$emit('error');
21126
+ _this3.$message.error(message || '系统错误,请联系管理员!');
21127
+ _this3.$emit('error');
21050
21128
  }
21051
21129
  }).catch(function (err) {
21052
- _this2.loading.close();
21130
+ _this3.loading.close();
21053
21131
  if (err.message && err.message !== 'canceled') {
21054
- _this2.$message.error(err.message);
21132
+ _this3.$message.error(err.message);
21055
21133
  }
21056
21134
  });
21057
21135
  }).catch(function () {});
21058
21136
  },
21059
21137
  getTaskReadFlow: function getTaskReadFlow() {
21060
- var _this3 = this;
21138
+ var _this4 = this;
21061
21139
 
21062
21140
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21063
21141
  util["a" /* default */].ajax({
@@ -21072,26 +21150,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21072
21150
  taskReadOpinionRequired = _res$data.taskReadOpinionRequired;
21073
21151
 
21074
21152
  if (status === 'success') {
21075
- _this3.taskExamineInfo = taskExamine;
21076
- _this3.taskReadOpinionRequired = taskReadOpinionRequired;
21077
- _this3.isCanFenyue = isCanFenyue;
21078
- if (_this3.nodeName) {
21079
- _this3.NodeName = _this3.nodeName;
21153
+ _this4.taskExamineInfo = taskExamine;
21154
+ _this4.taskReadOpinionRequired = taskReadOpinionRequired;
21155
+ _this4.isCanFenyue = isCanFenyue;
21156
+ if (_this4.nodeName) {
21157
+ _this4.NodeName = _this4.nodeName;
21080
21158
  }
21081
- _this3.getNodeType();
21159
+ _this4.getNodeType();
21082
21160
  } else {
21083
- _this3.$message.error(message || '系统错误,请联系管理员!');
21161
+ _this4.$message.error(message || '系统错误,请联系管理员!');
21084
21162
  }
21085
- _this3.loading.close();
21163
+ _this4.loading.close();
21086
21164
  }).catch(function (err) {
21087
- _this3.loading.close();
21165
+ _this4.loading.close();
21088
21166
  if (err.message && err.message !== 'canceled') {
21089
- _this3.$message.error(err.message);
21167
+ _this4.$message.error(err.message);
21090
21168
  }
21091
21169
  });
21092
21170
  },
21093
21171
  getUserInfo: function getUserInfo() {
21094
- var _this4 = this;
21172
+ var _this5 = this;
21095
21173
 
21096
21174
  var mainConfig = util["a" /* default */].getStorage('mainConfig');
21097
21175
  if (mainConfig) {
@@ -21102,14 +21180,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21102
21180
  data = res.data;
21103
21181
 
21104
21182
  if (status == 'success') {
21105
- _this4.userModel = data;
21183
+ _this5.userModel = data;
21106
21184
  } else {
21107
21185
  var msg = res.msg || '系统错误,请联系管理员!';
21108
- _this4.$message.error(msg);
21186
+ _this5.$message.error(msg);
21109
21187
  }
21110
21188
  }).catch(function (err) {
21111
21189
  if (err.message && err.message !== 'canceled') {
21112
- _this4.$message.error(err.message);
21190
+ _this5.$message.error(err.message);
21113
21191
  }
21114
21192
  });
21115
21193
  }
@@ -21129,7 +21207,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21129
21207
  }
21130
21208
  },
21131
21209
  getNodeType: function getNodeType() {
21132
- var _this5 = this;
21210
+ var _this6 = this;
21133
21211
 
21134
21212
  util["a" /* default */].ajax({
21135
21213
  url: api["u" /* findCodeValues */],
@@ -21142,33 +21220,33 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21142
21220
  data = res.data;
21143
21221
 
21144
21222
  if (status === 'success') {
21145
- _this5.newsList = data;
21223
+ _this6.newsList = data;
21146
21224
  }
21147
21225
  }).catch(function (err) {
21148
21226
  if (err.message && err.message !== 'canceled') {
21149
- _this5.$message.error(err.message);
21227
+ _this6.$message.error(err.message);
21150
21228
  }
21151
21229
  });
21152
21230
  },
21153
21231
 
21154
- /**
21155
- * saveInfo
21156
- * @desc:暂存
21157
- * @author liufan
21158
- * @date 2022年9月9日
21232
+ /**
21233
+ * saveInfo
21234
+ * @desc:暂存
21235
+ * @author liufan
21236
+ * @date 2022年9月9日
21159
21237
  **/
21160
21238
  saveInfo: function saveInfo(type, btn) {
21161
- var _this6 = this;
21239
+ var _this7 = this;
21162
21240
 
21163
21241
  if (this.isFlow) {
21164
21242
  if (!type) {
21165
21243
  if (btn && btn.before) {
21166
21244
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
21167
- _this6.$emit('save', _this6.businessIds);
21245
+ _this7.$emit('save', _this7.businessIds);
21168
21246
  }).catch(function (e) {});
21169
21247
  } else if (this.beforeSubmit != undefined) {
21170
21248
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
21171
- _this6.$emit('save', _this6.businessIds);
21249
+ _this7.$emit('save', _this7.businessIds);
21172
21250
  }).catch(function (e) {});
21173
21251
  } else {
21174
21252
  this.$emit('save', this.businessIds);
@@ -21177,13 +21255,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21177
21255
  } else {
21178
21256
  if (btn && btn.before && !type) {
21179
21257
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
21180
- _this6.saveFlowInfo();
21258
+ _this7.saveFlowInfo();
21181
21259
  }).catch(function (e) {});
21182
21260
  } else if (this.beforeSubmit == undefined && !type) {
21183
21261
  this.subFun(this.saveFlowInfo);
21184
21262
  } else if (!type && this.beforeSubmit != undefined) {
21185
21263
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
21186
- _this6.saveFlowInfo();
21264
+ _this7.saveFlowInfo();
21187
21265
  }).catch(function (e) {});
21188
21266
  } else {
21189
21267
  this.saveFlowInfo(type);
@@ -21191,7 +21269,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21191
21269
  }
21192
21270
  },
21193
21271
  saveFlowInfo: function saveFlowInfo(isSave) {
21194
- var _this7 = this;
21272
+ var _this8 = this;
21195
21273
 
21196
21274
  var params = {
21197
21275
  opinion: this.value,
@@ -21202,29 +21280,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21202
21280
  var status = res.status,
21203
21281
  message = res.message;
21204
21282
 
21205
- if (!isSave) _this7.loading.close();
21283
+ if (!isSave) _this8.loading.close();
21206
21284
  if (status == 'success') {
21207
21285
  // this.$message.success('暂存成功');
21208
- !isSave && _this7.$emit('save', _this7.businessIds);
21286
+ !isSave && _this8.$emit('save', _this8.businessIds);
21209
21287
  } else {
21210
- _this7.$message.error(message || '系统错误,请联系管理员!');
21288
+ _this8.$message.error(message || '系统错误,请联系管理员!');
21211
21289
  }
21212
21290
  }).catch(function (err) {
21213
- if (!isSave) _this7.loading.close();
21291
+ if (!isSave) _this8.loading.close();
21214
21292
  if (err.message && err.message !== 'canceled') {
21215
- _this7.$message.error(err.message);
21293
+ _this8.$message.error(err.message);
21216
21294
  }
21217
21295
  });
21218
21296
  },
21219
21297
 
21220
- /**
21221
- * rejectBtn
21222
- * @desc:点击驳回
21223
- * @author liufan
21224
- * @date 2022年5月25日
21298
+ /**
21299
+ * rejectBtn
21300
+ * @desc:点击驳回
21301
+ * @author liufan
21302
+ * @date 2022年5月25日
21225
21303
  **/
21226
21304
  rejectBtn: function rejectBtn() {
21227
- var _this8 = this;
21305
+ var _this9 = this;
21228
21306
 
21229
21307
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
21230
21308
  if (!this.value) {
@@ -21232,28 +21310,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21232
21310
  }
21233
21311
  if (this.beforeSubmit != undefined) {
21234
21312
  this.beforeSubmit(0).then(function (next) {
21235
- _this8.showReject = true;
21313
+ _this9.showReject = true;
21236
21314
  }).catch(function (e) {});
21237
21315
  } else {
21238
21316
  this.showReject = true;
21239
21317
  }
21240
21318
  },
21241
21319
 
21242
- /**
21243
- * taskReadBtn
21244
- * @desc:点击分阅
21245
- * @author liufan
21246
- * @date 2022年5月25日
21320
+ /**
21321
+ * taskReadBtn
21322
+ * @desc:点击分阅
21323
+ * @author liufan
21324
+ * @date 2022年5月25日
21247
21325
  **/
21248
21326
  taskReadBtn: function taskReadBtn() {
21249
- var _this9 = this;
21327
+ var _this10 = this;
21250
21328
 
21251
21329
  // return this.$message.warning('暂未开放!敬请期待');
21252
21330
  if (this.beforeSubmit != undefined) {
21253
21331
  this.beforeSubmit().then(function (next) {
21254
- if (_this9.value === '') _this9.value = _this9.nodeDefaultRejectOpinion;
21255
- _this9.taskReadType = 'create';
21256
- _this9.showTaskRead = true;
21332
+ if (_this10.value === '') _this10.value = _this10.nodeDefaultRejectOpinion;
21333
+ _this10.taskReadType = 'create';
21334
+ _this10.showTaskRead = true;
21257
21335
  }).catch(function (e) {});
21258
21336
  } else {
21259
21337
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -21262,14 +21340,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21262
21340
  }
21263
21341
  },
21264
21342
 
21265
- /**
21266
- * getFind
21267
- * @desc:获取通知方式
21268
- * @author liufan
21269
- * @date 2022年5月25日
21343
+ /**
21344
+ * getFind
21345
+ * @desc:获取通知方式
21346
+ * @author liufan
21347
+ * @date 2022年5月25日
21270
21348
  **/
21271
21349
  getFind: function getFind() {
21272
- var _this10 = this;
21350
+ var _this11 = this;
21273
21351
 
21274
21352
  util["a" /* default */].ajax({
21275
21353
  url: api["w" /* findSysCodes */]
@@ -21278,25 +21356,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21278
21356
  message = res.message;
21279
21357
 
21280
21358
  if (status === 'success') {
21281
- _this10.nextNode.notificationType = message.split(',');
21359
+ _this11.nextNode.notificationType = message.split(',');
21282
21360
  var arr = [];
21283
- _this10.newsList.map(function (item) {
21284
- _this10.nextNode.notificationType.map(function (x) {
21361
+ _this11.newsList.map(function (item) {
21362
+ _this11.nextNode.notificationType.map(function (x) {
21285
21363
  if (x == item.cciValue) {
21286
21364
  arr.push(x);
21287
21365
  }
21288
21366
  });
21289
21367
  });
21290
- _this10.nextNode.notificationType = arr;
21368
+ _this11.nextNode.notificationType = arr;
21291
21369
  }
21292
21370
  }).catch(function (err) {
21293
21371
  if (err.message && err.message !== 'canceled') {
21294
- _this10.$message.error(err.message);
21372
+ _this11.$message.error(err.message);
21295
21373
  }
21296
21374
  });
21297
21375
  },
21298
21376
  getFreeStartParams: function getFreeStartParams() {
21299
- var _this11 = this;
21377
+ var _this12 = this;
21300
21378
 
21301
21379
  var _endFlowInfo = this.endFlowInfo,
21302
21380
  businessId = _endFlowInfo.businessId,
@@ -21311,83 +21389,91 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21311
21389
  nodeId: nodeId
21312
21390
  }
21313
21391
  };
21392
+ this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21314
21393
  util["a" /* default */].ajax(param).then(function (res) {
21394
+ _this12.loading.close();
21315
21395
  if (res.rCode == 0 || res.status == 'success') {
21316
- _this11.freeStartFlowParams = res.results;
21317
- if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this11.subProcess('同意。', res.results.useScene);
21318
- if (!_this11.freeValid) return;
21319
- _this11.showFreeStartFlow = true;
21396
+ _this12.freeStartFlowParams = res.results;
21397
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this12.subProcess('同意。', res.results.useScene);
21398
+ if (!_this12.freeValid) return;
21399
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this12.$message.warning('未找到流程定义!');
21400
+ if (res.results.startFlowIndexProcessKeys.length == 1) {
21401
+ _this12.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
21402
+ _this12.handleVisible = true;
21403
+ } else {
21404
+ _this12.showFreeStartFlow = true;
21405
+ }
21320
21406
  } else {
21321
- _this11.$message.error(res.message || '系统错误,请联系管理员!');
21407
+ _this12.$message.error(res.message || '系统错误,请联系管理员!');
21322
21408
  }
21323
21409
  });
21324
21410
  },
21325
21411
 
21326
- /**
21327
- * endFlows
21328
- * @desc:直接办结
21329
- * @author liufan
21330
- * @param {Object} res 直接办结数据
21331
- * @date 2022年5月25日
21412
+ /**
21413
+ * endFlows
21414
+ * @desc:直接办结
21415
+ * @author liufan
21416
+ * @param {Object} res 直接办结数据
21417
+ * @date 2022年5月25日
21332
21418
  **/
21333
21419
  endFlows: function endFlows(res) {
21334
- var _this12 = this;
21420
+ var _this13 = this;
21335
21421
 
21336
21422
  if (this.beforeSubmit != undefined) {
21337
21423
  this.beforeSubmit().then(function (next) {
21338
- _this12.saveEndFlows(res);
21424
+ _this13.saveEndFlows(res);
21339
21425
  }).catch(function (e) {});
21340
21426
  } else {
21341
21427
  this.saveEndFlows(res);
21342
21428
  }
21343
21429
  },
21344
21430
  saveEndFlows: function saveEndFlows(res) {
21345
- var _this13 = this;
21431
+ var _this14 = this;
21346
21432
 
21347
21433
  this.$confirm('确认' + res.value + '?').then(function () {
21348
21434
  var params = {
21349
21435
  url: api["t" /* endFlowHtml */],
21350
21436
  headers: { Accept: 'application/json,text/plain' },
21351
21437
  method: 'post',
21352
- data: mainvue_type_script_lang_js_extends({}, _this13.endFlowInfo, _this13.nextNode, {
21353
- opinion: _this13.value,
21438
+ data: mainvue_type_script_lang_js_extends({}, _this14.endFlowInfo, _this14.nextNode, {
21439
+ opinion: _this14.value,
21354
21440
  userId: util["a" /* default */].getStorage('userId'),
21355
- nextUserId: _this13.multiple ? _this13.nextNode.nextUserId.join(',') : _this13.nextNode.nextUserId,
21356
- addSignUserId: _this13.nextNode.addSignUserId.join(','),
21357
- customPresetUserJson: JSON.stringify(_this13.presetList),
21358
- presetUserJson: JSON.stringify(_this13.presetUserJson),
21359
- removeSignUserId: _this13.nextNode.removeSignUserId.join(','),
21360
- notificationType: _this13.nextNode.notificationType.join(',')
21441
+ nextUserId: _this14.multiple ? _this14.nextNode.nextUserId.join(',') : _this14.nextNode.nextUserId,
21442
+ addSignUserId: _this14.nextNode.addSignUserId.join(','),
21443
+ customPresetUserJson: JSON.stringify(_this14.presetList),
21444
+ presetUserJson: JSON.stringify(_this14.presetUserJson),
21445
+ removeSignUserId: _this14.nextNode.removeSignUserId.join(','),
21446
+ notificationType: _this14.nextNode.notificationType.join(',')
21361
21447
  })
21362
21448
  };
21363
- _this13.loading = util["a" /* default */].loading(_this13.$loading, '加载中...');
21449
+ _this14.loading = util["a" /* default */].loading(_this14.$loading, '加载中...');
21364
21450
  util["a" /* default */].ajax(params).then(function (res) {
21365
21451
  var status = res.status,
21366
21452
  message = res.message;
21367
21453
 
21368
- _this13.loading.close();
21454
+ _this14.loading.close();
21369
21455
  if (status === 'success') {
21370
- _this13.$message.success('提交成功');
21371
- _this13.$emit('success');
21456
+ _this14.$message.success('提交成功');
21457
+ _this14.$emit('success');
21372
21458
  } else {
21373
- _this13.$message.error(message || '系统错误,请联系管理员!');
21374
- _this13.$emit('error');
21459
+ _this14.$message.error(message || '系统错误,请联系管理员!');
21460
+ _this14.$emit('error');
21375
21461
  }
21376
21462
  }).catch(function (err) {
21377
- _this13.loading.close();
21463
+ _this14.loading.close();
21378
21464
  if (err.message && err.message !== 'canceled') {
21379
- _this13.$message.error(err.message);
21465
+ _this14.$message.error(err.message);
21380
21466
  }
21381
21467
  });
21382
21468
  }).catch(function (e) {});
21383
21469
  },
21384
21470
 
21385
- /**
21386
- * goView
21387
- * @desc:更多流程按钮操作
21388
- * @author liufan
21389
- * @param {Object} res 当前点击操作按钮数据
21390
- * @date 2022年5月25日
21471
+ /**
21472
+ * goView
21473
+ * @desc:更多流程按钮操作
21474
+ * @author liufan
21475
+ * @param {Object} res 当前点击操作按钮数据
21476
+ * @date 2022年5月25日
21391
21477
  **/
21392
21478
  goView: function goView(res) {
21393
21479
  // 驳回并办结:rejectAndEndHtml
@@ -21472,18 +21558,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21472
21558
  // isCanStartSubFlow
21473
21559
  },
21474
21560
 
21475
- /**
21476
- * toTakeAdvice
21477
- * @desc:征求意见
21478
- * @author liufan
21479
- * @date 2022年9月29日
21561
+ /**
21562
+ * toTakeAdvice
21563
+ * @desc:征求意见
21564
+ * @author liufan
21565
+ * @date 2022年9月29日
21480
21566
  **/
21481
21567
  toTakeAdvice: function toTakeAdvice(res) {
21482
- var _this14 = this;
21568
+ var _this15 = this;
21483
21569
 
21484
21570
  if (this.beforeSubmit != undefined) {
21485
21571
  this.beforeSubmit().then(function (next) {
21486
- _this14.saveToTakeAdvice(res);
21572
+ _this15.saveToTakeAdvice(res);
21487
21573
  }).catch(function (e) {});
21488
21574
  } else {
21489
21575
  this.saveToTakeAdvice(res);
@@ -21491,7 +21577,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21491
21577
  // return this.$message.warning('暂未开放!敬请期待');
21492
21578
  },
21493
21579
  saveToTakeAdvice: function saveToTakeAdvice(res) {
21494
- var _this15 = this;
21580
+ var _this16 = this;
21495
21581
 
21496
21582
  var params = {
21497
21583
  url: api["db" /* isCanStartSubFlow */],
@@ -21506,70 +21592,70 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21506
21592
  util["a" /* default */].ajax(params).then(function (res) {
21507
21593
  var message = res.message;
21508
21594
 
21509
- _this15.loading.close();
21595
+ _this16.loading.close();
21510
21596
  if (message == 'success') {
21511
- _this15.showTaskUnionExamine = true;
21597
+ _this16.showTaskUnionExamine = true;
21512
21598
  } else {
21513
- _this15.$message.error(message || '系统错误,请联系管理员!');
21599
+ _this16.$message.error(message || '系统错误,请联系管理员!');
21514
21600
  }
21515
21601
  }).catch(function (err) {
21516
- _this15.loading.close();
21602
+ _this16.loading.close();
21517
21603
  if (err.message && err.message !== 'canceled') {
21518
- _this15.$message.error(err.message);
21604
+ _this16.$message.error(err.message);
21519
21605
  }
21520
21606
  });
21521
21607
  },
21522
21608
 
21523
- /**
21524
- * toStartDraf
21525
- * @desc: 稿件递送、联合审核、复核
21526
- * @author liufan
21527
- * @date 2022年9月29日
21609
+ /**
21610
+ * toStartDraf
21611
+ * @desc: 稿件递送、联合审核、复核
21612
+ * @author liufan
21613
+ * @date 2022年9月29日
21528
21614
  **/
21529
21615
  toStartDraf: function toStartDraf(res) {
21530
- var _this16 = this;
21616
+ var _this17 = this;
21531
21617
 
21532
21618
  if (this.beforeSubmit != undefined) {
21533
21619
  this.beforeSubmit().then(function (next) {
21534
- _this16.showTaskUnionExamine = true;
21620
+ _this17.showTaskUnionExamine = true;
21535
21621
  }).catch(function (e) {});
21536
21622
  } else {
21537
21623
  this.showTaskUnionExamine = true;
21538
21624
  }
21539
21625
  },
21540
21626
 
21541
- /**
21542
- * toSendMsg
21543
- * @desc:核稿通知
21544
- * @author liufan
21545
- * @date 2022年9月29日
21627
+ /**
21628
+ * toSendMsg
21629
+ * @desc:核稿通知
21630
+ * @author liufan
21631
+ * @date 2022年9月29日
21546
21632
  **/
21547
21633
  toSendMsg: function toSendMsg(res) {
21548
- var _this17 = this;
21634
+ var _this18 = this;
21549
21635
 
21550
21636
  if (this.beforeSubmit != undefined) {
21551
21637
  this.beforeSubmit().then(function (next) {
21552
- _this17.showSendMsg = true;
21638
+ _this18.showSendMsg = true;
21553
21639
  }).catch(function (e) {});
21554
21640
  } else {
21555
21641
  this.showSendMsg = true;
21556
21642
  }
21557
21643
  },
21558
21644
 
21559
- /**
21560
- * toTaskReadAndEnd
21561
- * @desc:分阅并办结
21562
- * @author liufan
21563
- * @date 2022年9月29日
21645
+ /**
21646
+ * toTaskReadAndEnd
21647
+ * @desc:分阅并办结
21648
+ * @author liufan
21649
+ * @date 2022年9月29日
21564
21650
  **/
21565
21651
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
21566
- var _this18 = this;
21652
+ var _this19 = this;
21567
21653
 
21568
21654
  if (this.beforeSubmit != undefined) {
21569
21655
  this.beforeSubmit().then(function (next) {
21570
- if (_this18.value === '') _this18.value = _this18.nodeDefaultRejectOpinion;
21571
- _this18.taskReadType = 'taskReadAndEnd';
21572
- _this18.showTaskRead = true;
21656
+ if (_this19.value === '') _this19.value = _this19.nodeDefaultRejectOpinion;
21657
+ _this19.taskReadType = 'taskReadAndEnd';
21658
+ _this19.showTaskRead = true;
21573
21659
  }).catch(function (e) {});
21574
21660
  } else {
21575
21661
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -21578,28 +21664,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21578
21664
  }
21579
21665
  },
21580
21666
 
21581
- /**
21582
- * rejectAndEnd
21583
- * @desc:驳回并办结
21584
- * @author liufan
21585
- * @date 2022年9月29日
21667
+ /**
21668
+ * rejectAndEnd
21669
+ * @desc:驳回并办结
21670
+ * @author liufan
21671
+ * @date 2022年9月29日
21586
21672
  **/
21587
21673
  rejectAndEnd: function rejectAndEnd(res) {
21588
- var _this19 = this;
21674
+ var _this20 = this;
21589
21675
 
21590
21676
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
21591
21677
  if (!this.$refs.commonOpinions.validate()) return;
21592
21678
  }
21593
21679
  if (this.beforeSubmit != undefined) {
21594
21680
  this.beforeSubmit().then(function (next) {
21595
- _this19.saveRejectAndEnd(res);
21681
+ _this20.saveRejectAndEnd(res);
21596
21682
  }).catch(function (e) {});
21597
21683
  } else {
21598
21684
  this.saveRejectAndEnd(res);
21599
21685
  }
21600
21686
  },
21601
21687
  saveRejectAndEnd: function saveRejectAndEnd(res) {
21602
- var _this20 = this;
21688
+ var _this21 = this;
21603
21689
 
21604
21690
  this.$confirm('确认' + res.value + '?').then(function () {
21605
21691
  // return this.$message.warning('请填写意见');
@@ -21608,28 +21694,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21608
21694
  headers: { Accept: 'application/json,text/plain' },
21609
21695
  method: 'post',
21610
21696
  data: {
21611
- opinion: _this20.value,
21612
- pendingId: _this20.pendingId,
21697
+ opinion: _this21.value,
21698
+ pendingId: _this21.pendingId,
21613
21699
  isSinglePage: false
21614
21700
  }
21615
21701
  };
21616
- _this20.loading = util["a" /* default */].loading(_this20.$loading, '加载中...');
21702
+ _this21.loading = util["a" /* default */].loading(_this21.$loading, '加载中...');
21617
21703
  util["a" /* default */].ajax(params).then(function (res) {
21618
21704
  var status = res.status,
21619
21705
  message = res.message;
21620
21706
 
21621
- _this20.loading.close();
21707
+ _this21.loading.close();
21622
21708
  if (status === 'success') {
21623
- _this20.$message.success('提交成功');
21624
- _this20.$emit('success');
21709
+ _this21.$message.success('提交成功');
21710
+ _this21.$emit('success');
21625
21711
  } else {
21626
- _this20.$message.error(message || '系统错误,请联系管理员!');
21627
- _this20.$emit('error');
21712
+ _this21.$message.error(message || '系统错误,请联系管理员!');
21713
+ _this21.$emit('error');
21628
21714
  }
21629
21715
  }).catch(function (err) {
21630
- _this20.loading.close();
21716
+ _this21.loading.close();
21631
21717
  if (err.message && err.message !== 'canceled') {
21632
- _this20.$message.error(err.message);
21718
+ _this21.$message.error(err.message);
21633
21719
  }
21634
21720
  });
21635
21721
  }).catch(function () {
@@ -21637,19 +21723,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21637
21723
  });
21638
21724
  },
21639
21725
 
21640
- /**
21641
- * toTransfer
21642
- * @desc:转办
21643
- * @author liufan
21644
- * @date 2022年9月29日
21726
+ /**
21727
+ * toTransfer
21728
+ * @desc:转办
21729
+ * @author liufan
21730
+ * @date 2022年9月29日
21645
21731
  **/
21646
21732
  toTransfer: function toTransfer(res) {
21647
- var _this21 = this;
21733
+ var _this22 = this;
21648
21734
 
21649
21735
  if (this.beforeSubmit != undefined) {
21650
21736
  this.beforeSubmit(0).then(function (next) {
21651
- _this21.taskReadType = 'transfer';
21652
- _this21.showTaskRead = true;
21737
+ _this22.taskReadType = 'transfer';
21738
+ _this22.showTaskRead = true;
21653
21739
  }).catch(function (e) {});
21654
21740
  } else {
21655
21741
  this.taskReadType = 'transfer';
@@ -21657,14 +21743,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21657
21743
  }
21658
21744
  },
21659
21745
 
21660
- /**
21661
- * getNodeInfo
21662
- * @desc:获取节点信息
21663
- * @author liufan
21664
- * @date 2022年5月25日
21746
+ /**
21747
+ * getNodeInfo
21748
+ * @desc:获取节点信息
21749
+ * @author liufan
21750
+ * @date 2022年5月25日
21665
21751
  **/
21666
21752
  getNodeInfo: function getNodeInfo() {
21667
- var _this22 = this;
21753
+ var _this23 = this;
21668
21754
 
21669
21755
  var params = {
21670
21756
  processDefinitionId: this.nodeInfo.nextNode,
@@ -21679,44 +21765,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21679
21765
  message = res.message,
21680
21766
  data = res.data;
21681
21767
 
21682
- _this22.loading.close();
21768
+ _this23.loading.close();
21683
21769
  if (status === 'success') {
21684
- data.otherOrgDisabledObjId && (_this22.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
21685
- data.currentOrgDisabledObjId && (_this22.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
21770
+ data.otherOrgDisabledObjId && (_this23.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
21771
+ data.currentOrgDisabledObjId && (_this23.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
21686
21772
  if (data != null) {
21687
21773
  if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
21688
- _this22.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21774
+ _this23.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21689
21775
  } else {
21690
- _this22.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this22.choiceOrgId, _this22.choiceDeptId, _this22.pOrgId);
21776
+ _this23.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this23.choiceOrgId, _this23.choiceDeptId, _this23.pOrgId);
21691
21777
  }
21692
- _this22.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21693
- _this22.isTaskread = data.nodeExtAttr.isTaskread;
21694
- _this22.isHandleExplain = data.nodeExtAttr.isHandleExplain;
21695
- _this22.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21696
- _this22.nodeType = data.nodeExtAttr.nodeType;
21778
+ _this23.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21779
+ _this23.isTaskread = data.nodeExtAttr.isTaskread;
21780
+ _this23.isHandleExplain = data.nodeExtAttr.isHandleExplain;
21781
+ _this23.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21782
+ _this23.nodeType = data.nodeExtAttr.nodeType;
21697
21783
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
21698
- if (_this22.nodeType === 1 || _this22.nodeType === 2) {
21699
- _this22.isMainSubProcess === true ? _this22.isNodeShowProcess = true : _this22.isNodeShowProcess = false;
21700
- _this22.isMainSubProcess === true ? _this22.isMainSubProcess = true : _this22.isMainSubProcess = false;
21701
- _this22.isNextUser = false;
21702
- _this22.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
21703
- _this22.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
21784
+ if (_this23.nodeType === 1 || _this23.nodeType === 2) {
21785
+ _this23.isMainSubProcess === true ? _this23.isNodeShowProcess = true : _this23.isNodeShowProcess = false;
21786
+ _this23.isMainSubProcess === true ? _this23.isMainSubProcess = true : _this23.isMainSubProcess = false;
21787
+ _this23.isNextUser = false;
21788
+ _this23.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
21789
+ _this23.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
21704
21790
  } else {
21705
- _this22.isHideCurrentOrg = false;
21706
- _this22.isHideOtherOrg = false;
21707
- _this22.isNodeShowProcess = false;
21708
- _this22.isMainSubProcess = false;
21709
- _this22.isNextUser = _this22.nextNode.nextOperate != 9;
21791
+ _this23.isHideCurrentOrg = false;
21792
+ _this23.isHideOtherOrg = false;
21793
+ _this23.isNodeShowProcess = false;
21794
+ _this23.isMainSubProcess = false;
21795
+ _this23.isNextUser = _this23.nextNode.nextOperate != 9;
21710
21796
  // this.isMainSubProcess === true
21711
21797
  // ? (this.isMainSubProcess = true)
21712
21798
  // : (this.isMainSubProcess = false);
21713
21799
  }
21714
- _this22.multiple ? _this22.nextNode.nextUserId = [] : _this22.nextNode.nextUserId = '';
21715
- if (_this22.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
21800
+ _this23.multiple ? _this23.nextNode.nextUserId = [] : _this23.nextNode.nextUserId = '';
21801
+ if (_this23.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
21716
21802
  data.nextUserList.map(function (item) {
21717
21803
  if (item.userId && item.username) {
21718
- _this22.nextNode.nextUserId.push(item.userId);
21719
- _this22.selectUserList.push({
21804
+ _this23.nextNode.nextUserId.push(item.userId);
21805
+ _this23.selectUserList.push({
21720
21806
  showname: item.username,
21721
21807
  showid: item.userId
21722
21808
  });
@@ -21725,50 +21811,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21725
21811
  }
21726
21812
  data.nextUserList.map(function (item) {
21727
21813
  if (item.userId && item.username) {
21728
- _this22.options.push({
21814
+ _this23.options.push({
21729
21815
  showname: item.username,
21730
21816
  showid: item.userId
21731
21817
  });
21732
21818
  }
21733
21819
  });
21734
21820
  if (data.nodeExtAttr.presetEdit != 0) {
21735
- _this22.radioList = _this22.options;
21821
+ _this23.radioList = _this23.options;
21736
21822
  }
21737
- if (!_this22.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
21738
- _this22.nextNode.nextUserId = data.nextUserList[0].userId;
21739
- _this22.selectUserList.push({
21823
+ if (!_this23.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
21824
+ _this23.nextNode.nextUserId = data.nextUserList[0].userId;
21825
+ _this23.selectUserList.push({
21740
21826
  showname: data.nextUserList[0].username,
21741
21827
  showid: data.nextUserList[0].userId
21742
21828
  });
21743
21829
  }
21744
- _this22.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21745
- _this22.isCustomUser = data.nodeExtAttr.isCustomUser;
21746
- _this22.presetEdit = data.nodeExtAttr.presetEdit;
21747
- _this22.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
21748
- _this22.handleMode = data.countersignaturetypeText;
21749
- data.globalNodeType === 'endEvent' ? _this22.endFlow = true : '';
21830
+ _this23.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21831
+ _this23.isCustomUser = data.nodeExtAttr.isCustomUser;
21832
+ _this23.presetEdit = data.nodeExtAttr.presetEdit;
21833
+ _this23.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
21834
+ _this23.handleMode = data.countersignaturetypeText;
21835
+ data.globalNodeType === 'endEvent' ? _this23.endFlow = true : '';
21750
21836
  }
21751
- _this22.isCustomPreset && _this22.$refs.customPreset.getPresetFlowInfo(_this22.nextNode.nextNodeId, _this22.nodeInfo.nextNode, true);
21837
+ _this23.isCustomPreset && _this23.$refs.customPreset.getPresetFlowInfo(_this23.nextNode.nextNodeId, _this23.nodeInfo.nextNode, true);
21752
21838
  } else {
21753
- _this22.$message.error(message || '系统错误,请联系管理员!');
21839
+ _this23.$message.error(message || '系统错误,请联系管理员!');
21754
21840
  }
21755
21841
  }).catch(function (err) {
21756
- _this22.loading.close();
21842
+ _this23.loading.close();
21757
21843
  if (err.message && err.message !== 'canceled') {
21758
- _this22.$message.error(err.message);
21844
+ _this23.$message.error(err.message);
21759
21845
  }
21760
21846
  });
21761
21847
  },
21762
21848
 
21763
- /**
21764
- * selecNext
21765
- * @desc:下步节点变化时更新数据
21766
- * @author liufan
21767
- * @param {String} val 当前选中值
21768
- * @date 2022年5月25日
21849
+ /**
21850
+ * selecNext
21851
+ * @desc:下步节点变化时更新数据
21852
+ * @author liufan
21853
+ * @param {String} val 当前选中值
21854
+ * @date 2022年5月25日
21769
21855
  **/
21770
21856
  selecNext: function selecNext(val, type, isDef) {
21771
- var _this23 = this;
21857
+ var _this24 = this;
21772
21858
 
21773
21859
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21774
21860
  if (this.multiple) {
@@ -21799,16 +21885,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21799
21885
  this.operationList.forEach(function (item) {
21800
21886
  if (item.key === val) {
21801
21887
  if (!item.taskNodeList) {
21802
- _this23.nodeInfos = [];
21888
+ _this24.nodeInfos = [];
21803
21889
  } else {
21804
- _this23.nodeInfos = item.taskNodeList;
21890
+ _this24.nodeInfos = item.taskNodeList;
21805
21891
  }
21806
21892
  return;
21807
21893
  }
21808
21894
  });
21809
21895
  if (this.defaultNextNode) {
21810
21896
  var defaultNode = this.nodeInfos.filter(function (item) {
21811
- return item.nodeId == _this23.defaultNextNode;
21897
+ return item.nodeId == _this24.defaultNextNode;
21812
21898
  });
21813
21899
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
21814
21900
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -21874,11 +21960,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21874
21960
  if (isDef !== true) this.getNodeInfo();
21875
21961
  },
21876
21962
 
21877
- /**
21878
- * isMultiple
21879
- * @desc:是否多选
21880
- * @author liufan
21881
- * @date 2022年9月13日
21963
+ /**
21964
+ * isMultiple
21965
+ * @desc:是否多选
21966
+ * @author liufan
21967
+ * @date 2022年9月13日
21882
21968
  **/
21883
21969
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
21884
21970
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -21910,14 +21996,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21910
21996
  }
21911
21997
  },
21912
21998
 
21913
- /**
21914
- * getHedInfo
21915
- * @desc:获取审核页面数据
21916
- * @author liufan
21917
- * @date 2022年5月25日
21999
+ /**
22000
+ * getHedInfo
22001
+ * @desc:获取审核页面数据
22002
+ * @author liufan
22003
+ * @date 2022年5月25日
21918
22004
  **/
21919
22005
  getHedInfo: function getHedInfo() {
21920
- var _this24 = this;
22006
+ var _this25 = this;
21921
22007
 
21922
22008
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21923
22009
  var params = {
@@ -21927,7 +22013,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21927
22013
  util["a" /* default */].ajax({ url: api["G" /* getHandleInfoHtml */], params: params }).then(function (res) {
21928
22014
  //pc返回数据
21929
22015
 
21930
- _this24.loading.close();
22016
+ _this25.loading.close();
21931
22017
  if (res.status === 'success') {
21932
22018
  var _res$data2 = res.data,
21933
22019
  nextNodeList = _res$data2.nextNodeList,
@@ -21958,205 +22044,206 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21958
22044
  taskButtonList = _res$data2.taskButtonList,
21959
22045
  isCanPreAddSign = _res$data2.isCanPreAddSign;
21960
22046
 
21961
- _this24.$emit('startTaskRead', res);
21962
- _this24.$emit('start-task-read', res);
21963
- _this24.currentOrgName = currentOrgName;
21964
- _this24.readOnlyNotificationType = readOnlyNotificationType;
21965
- _this24.isSpecial = isSpecial;
21966
- _this24.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
21967
- _this24.otherOrgName = otherOrgName;
21968
- _this24.isCanPreAddSign = isCanPreAddSign;
21969
- _this24.endFlowInfo.choiceOrgId = choiceOrgId;
21970
- _this24.endFlowInfo.choiceDeptId = choiceDeptId;
21971
- _this24.endFlowInfo.pendingId = _this24.pendingId;
21972
- _this24.attachedCode = attachedCode;
21973
- _this24.endFlowInfo.pOrgId = pOrgId;
21974
- _this24.canPresetRead = canPresetRead;
21975
- _this24.isCdjxjTaskHandle = isCdjxjTaskHandle;
21976
- nextNodeCheckType && (_this24.nextNodeCheckType = nextNodeCheckType);
21977
- _this24.operationList = taskOperations || [];
21978
- _this24.customPresetHintMessage = customPresetHintMessage;
22047
+ _this25.$emit('startTaskRead', res);
22048
+ _this25.$emit('start-task-read', res);
22049
+ _this25.currentOrgName = currentOrgName;
22050
+ _this25.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
22051
+ _this25.readOnlyNotificationType = readOnlyNotificationType;
22052
+ _this25.isSpecial = isSpecial;
22053
+ _this25.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
22054
+ _this25.otherOrgName = otherOrgName;
22055
+ _this25.isCanPreAddSign = isCanPreAddSign;
22056
+ _this25.endFlowInfo.choiceOrgId = choiceOrgId;
22057
+ _this25.endFlowInfo.choiceDeptId = choiceDeptId;
22058
+ _this25.endFlowInfo.pendingId = _this25.pendingId;
22059
+ _this25.attachedCode = attachedCode;
22060
+ _this25.endFlowInfo.pOrgId = pOrgId;
22061
+ _this25.canPresetRead = canPresetRead;
22062
+ _this25.isCdjxjTaskHandle = isCdjxjTaskHandle;
22063
+ nextNodeCheckType && (_this25.nextNodeCheckType = nextNodeCheckType);
22064
+ _this25.operationList = taskOperations || [];
22065
+ _this25.customPresetHintMessage = customPresetHintMessage;
21979
22066
  if (canPresetRead) {
21980
22067
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
21981
22068
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
21982
22069
  ids.map(function (item, index) {
21983
- _this24.presetReadUserId.push({
22070
+ _this25.presetReadUserId.push({
21984
22071
  showid: item,
21985
22072
  showname: names[index]
21986
22073
  });
21987
- _this24.selectPresetUserList.push({
22074
+ _this25.selectPresetUserList.push({
21988
22075
  showid: item,
21989
22076
  showname: names[index]
21990
22077
  });
21991
- _this24.nextNode.presetReadUserId.push(item);
22078
+ _this25.nextNode.presetReadUserId.push(item);
21992
22079
  });
21993
22080
  }
21994
- if (!_this24.isFlow) _this24.getFile(_this24.pendingId, attachedCode);
22081
+ if (!_this25.isFlow) _this25.getFile(_this25.pendingId, attachedCode);
21995
22082
  if (nextNodeList && nextNodeList.length != 0) {
21996
- _this24.nextNodeList = nextNodeList;
22083
+ _this25.nextNodeList = nextNodeList;
21997
22084
  }
21998
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this24.removeUsers = canRemoveSignUserList;
22085
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this25.removeUsers = canRemoveSignUserList;
21999
22086
  if (taskOperations && taskOperations.length != 0) {
22000
22087
  taskOperations.map(function (item) {
22001
- if (item.key === 9) _this24.isReject = true;
22088
+ if (item.key === 9) _this25.isReject = true;
22002
22089
  if (item.isSelected) {
22003
- _this24.nodeInfos = [];
22004
- _this24.nextNode.nextOperate = item.key;
22090
+ _this25.nodeInfos = [];
22091
+ _this25.nextNode.nextOperate = item.key;
22005
22092
  if (item.taskNodeList != null) {
22006
- _this24.nodeInfos = item.taskNodeList;
22093
+ _this25.nodeInfos = item.taskNodeList;
22007
22094
  }
22008
22095
  }
22009
22096
  if (taskOperations.length == 1) {
22010
- _this24.nodeInfos = [];
22011
- _this24.nextNode.nextOperate = taskOperations[0].key;
22097
+ _this25.nodeInfos = [];
22098
+ _this25.nextNode.nextOperate = taskOperations[0].key;
22012
22099
  if (taskOperations[0].taskNodeList != null) {
22013
- _this24.nodeInfos = taskOperations[0].taskNodeList;
22100
+ _this25.nodeInfos = taskOperations[0].taskNodeList;
22014
22101
  }
22015
22102
  }
22016
22103
  });
22017
- _this24.selecNext(_this24.nextNode.nextOperate, true, true);
22104
+ _this25.selecNext(_this25.nextNode.nextOperate, true, true);
22018
22105
  }
22019
22106
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
22020
- _this24.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
22107
+ _this25.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
22021
22108
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
22022
22109
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
22023
22110
  notice.map(function (x) {
22024
- _this24.nodeFixedOpinionSelectList.push({ content: x });
22111
+ _this25.nodeFixedOpinionSelectList.push({ content: x });
22025
22112
  });
22026
22113
  }
22027
- _this24.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
22028
- _this24.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
22029
- _this24.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
22030
- _this24.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
22031
- _this24.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
22032
- _this24.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
22114
+ _this25.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
22115
+ _this25.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
22116
+ _this25.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
22117
+ _this25.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
22118
+ _this25.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
22119
+ _this25.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
22033
22120
  // this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
22034
- _this24.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
22121
+ _this25.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
22035
22122
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
22036
- var defaultNode = _this24.nodeInfos.filter(function (item) {
22123
+ var defaultNode = _this25.nodeInfos.filter(function (item) {
22037
22124
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
22038
22125
  });
22039
- if (_this24.nodeInfos.length > 0 && defaultNode.length == 0) {
22040
- _this24.nextNode.nextNodeId = _this24.nodeInfos[0].nodeId;
22126
+ if (_this25.nodeInfos.length > 0 && defaultNode.length == 0) {
22127
+ _this25.nextNode.nextNodeId = _this25.nodeInfos[0].nodeId;
22041
22128
  } else {
22042
- _this24.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
22129
+ _this25.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
22043
22130
  }
22044
- } else if (_this24.nodeInfos.length > 0) {
22045
- _this24.nextNode.nextNodeId = _this24.nodeInfos[0].nodeId;
22131
+ } else if (_this25.nodeInfos.length > 0) {
22132
+ _this25.nextNode.nextNodeId = _this25.nodeInfos[0].nodeId;
22046
22133
  }
22047
- _this24.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
22134
+ _this25.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
22048
22135
  if (nodeInfoMap.nodeExtAttr.submitText) {
22049
- _this24.btnList.map(function (x) {
22136
+ _this25.btnList.map(function (x) {
22050
22137
  if (x.event === 'sub') {
22051
22138
  x.text = nodeInfoMap.nodeExtAttr.submitText;
22052
22139
  }
22053
22140
  });
22054
22141
  }
22055
22142
  }
22056
- _this24.choiceOrgId = choiceOrgId;
22057
- _this24.choiceDeptId = choiceDeptId;
22058
- _this24.pOrgId = pOrgId;
22143
+ _this25.choiceOrgId = choiceOrgId;
22144
+ _this25.choiceDeptId = choiceDeptId;
22145
+ _this25.pOrgId = pOrgId;
22059
22146
  if (res.data && res.data.isEndUserTask != undefined) {
22060
- _this24.isEndUserTask = res.data.isEndUserTask;
22147
+ _this25.isEndUserTask = res.data.isEndUserTask;
22061
22148
  }
22062
22149
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
22063
- _this24.nodeInfo.nextNode = taskExamine.processDefinitionId;
22064
- _this24.NodeName = taskExamine.nodeName;
22065
- _this24.taskId = taskExamine.taskId;
22066
- _this24.businessIds = taskExamine.businessId;
22067
- _this24.appId = taskExamine.appId;
22068
- _this24.taskExamineInfo = taskExamine;
22069
- _this24.taskExamineInfo.choiceOrgId = choiceOrgId;
22070
- _this24.taskExamineInfo.choiceDeptId = choiceDeptId;
22071
- _this24.endFlowInfo.processType = taskExamine.processType;
22072
- _this24.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
22073
- _this24.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
22074
- _this24.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
22075
- _this24.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22076
- _this24.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
22077
- _this24.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22078
- _this24.nextNode.isReadDealReply = taskExamine.isReadDealReply;
22079
- _this24.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
22080
- _this24.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
22081
- _this24.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
22082
- _this24.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
22083
- _this24.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
22084
- _this24.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
22085
- _this24.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22086
- _this24.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22087
- _this24.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
22088
- _this24.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
22089
- _this24.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
22090
- _this24.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
22150
+ _this25.nodeInfo.nextNode = taskExamine.processDefinitionId;
22151
+ _this25.NodeName = taskExamine.nodeName;
22152
+ _this25.taskId = taskExamine.taskId;
22153
+ _this25.businessIds = taskExamine.businessId;
22154
+ _this25.appId = taskExamine.appId;
22155
+ _this25.taskExamineInfo = taskExamine;
22156
+ _this25.taskExamineInfo.choiceOrgId = choiceOrgId;
22157
+ _this25.taskExamineInfo.choiceDeptId = choiceDeptId;
22158
+ _this25.endFlowInfo.processType = taskExamine.processType;
22159
+ _this25.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
22160
+ _this25.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
22161
+ _this25.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
22162
+ _this25.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22163
+ _this25.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
22164
+ _this25.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22165
+ _this25.nextNode.isReadDealReply = taskExamine.isReadDealReply;
22166
+ _this25.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
22167
+ _this25.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
22168
+ _this25.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
22169
+ _this25.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
22170
+ _this25.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
22171
+ _this25.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
22172
+ _this25.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22173
+ _this25.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22174
+ _this25.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
22175
+ _this25.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
22176
+ _this25.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
22177
+ _this25.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
22091
22178
  // this.endFlowInfo.isReadDealReply =
22092
22179
  // taskExamine.isReadDealReplybusinessId;
22093
- _this24.endFlowInfo.appId = taskExamine.appId;
22094
- _this24.endFlowInfo.businessId = taskExamine.businessId;
22095
- _this24.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
22096
- _this24.endFlowInfo.nodeId = taskExamine.nodeId;
22180
+ _this25.endFlowInfo.appId = taskExamine.appId;
22181
+ _this25.endFlowInfo.businessId = taskExamine.businessId;
22182
+ _this25.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
22183
+ _this25.endFlowInfo.nodeId = taskExamine.nodeId;
22097
22184
  }
22098
- if (_this24.nodeName) {
22099
- _this24.NodeName = _this24.nodeName;
22185
+ if (_this25.nodeName) {
22186
+ _this25.NodeName = _this25.nodeName;
22100
22187
  }
22101
- _this24.isCanAddSign = isCanAddSign;
22102
- _this24.processObj = res.data;
22103
- if (_this24.isCanAddSign) {
22104
- _this24.nextNode.isAddSign = '2';
22188
+ _this25.isCanAddSign = isCanAddSign;
22189
+ _this25.processObj = res.data;
22190
+ if (_this25.isCanAddSign) {
22191
+ _this25.nextNode.isAddSign = '2';
22105
22192
  }
22106
- _this24.isCanRemoveSign = isCanRemoveSign;
22107
- if (_this24.isCanRemoveSign) {
22108
- _this24.nextNode.isRemoveSign = '2';
22193
+ _this25.isCanRemoveSign = isCanRemoveSign;
22194
+ if (_this25.isCanRemoveSign) {
22195
+ _this25.nextNode.isRemoveSign = '2';
22109
22196
  }
22110
22197
 
22111
- if (!_this24.isOpinionRequired) {
22112
- _this24.isOpinionRequired = 0;
22198
+ if (!_this25.isOpinionRequired) {
22199
+ _this25.isOpinionRequired = 0;
22113
22200
  }
22114
22201
  // opinion && (this.value = opinion);
22115
- _this24.nextNode.notificationMsg = defaultNotificationMessage;
22116
- _this24.moreList = [];
22202
+ _this25.nextNode.notificationMsg = defaultNotificationMessage;
22203
+ _this25.moreList = [];
22117
22204
  if (taskButtonList && taskButtonList.length != 0) {
22118
22205
  taskButtonList.map(function (item) {
22119
22206
  if (item.fun === 'reject()') {
22120
- _this24.rejectObj = item;
22207
+ _this25.rejectObj = item;
22121
22208
  } else if (item.fun === 'toStartTaskRead()') {
22122
- _this24.pointsReadingObj = item;
22209
+ _this25.pointsReadingObj = item;
22123
22210
  } else {
22124
- _this24.moreList.push(item);
22211
+ _this25.moreList.push(item);
22125
22212
  }
22126
22213
  });
22127
22214
  }
22128
- _this24.isMainSubProcess = res.data.isMainSubProcess == 'true';
22129
- _this24.isCustomPreset = isCustomPreset;
22130
- _this24.isPreset = isPreset;
22131
- _this24.presetTaskNodeMap = presetTaskNodeMap;
22132
- _this24.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
22133
- _this24.getFind();
22134
-
22135
- _this24.getNodeInfo();
22215
+ _this25.isMainSubProcess = res.data.isMainSubProcess == 'true';
22216
+ _this25.isCustomPreset = isCustomPreset;
22217
+ _this25.isPreset = isPreset;
22218
+ _this25.presetTaskNodeMap = presetTaskNodeMap;
22219
+ _this25.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
22220
+ _this25.getFind();
22221
+
22222
+ _this25.getNodeInfo();
22136
22223
  } else {
22137
22224
  if (res.status === 'taskCompleted') {
22138
- _this24.$emit('shrink', true);
22139
- _this24.shrinkAbled = true;
22140
- _this24.$message.warning(res.message || '系统错误,请联系管理员!');
22225
+ _this25.$emit('shrink', true);
22226
+ _this25.shrinkAbled = true;
22227
+ _this25.$message.warning(res.message || '系统错误,请联系管理员!');
22141
22228
  } else {
22142
- _this24.$message.error(res.message || '系统错误,请联系管理员!');
22229
+ _this25.$message.error(res.message || '系统错误,请联系管理员!');
22143
22230
  }
22144
22231
  }
22145
22232
  }).catch(function (err) {
22146
- _this24.loading.close();
22233
+ _this25.loading.close();
22147
22234
  if (err.message && err.message !== 'canceled') {
22148
- _this24.$message.error(err.message);
22235
+ _this25.$message.error(err.message);
22149
22236
  }
22150
22237
  });
22151
22238
  },
22152
22239
 
22153
- /**
22154
- * closeProcess
22155
- * @desc:关闭弹窗
22156
- * @author liufan
22157
- * @param {boolean} val 当前是否办理流程
22158
- * @param {String} type 当前点击的弹窗类型
22159
- * @date 2022年5月25日
22240
+ /**
22241
+ * closeProcess
22242
+ * @desc:关闭弹窗
22243
+ * @author liufan
22244
+ * @param {boolean} val 当前是否办理流程
22245
+ * @param {String} type 当前点击的弹窗类型
22246
+ * @date 2022年5月25日
22160
22247
  **/
22161
22248
  closeProcess: function closeProcess(val, type, closeParent) {
22162
22249
  if (closeParent) {
@@ -22164,28 +22251,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22164
22251
  } else {
22165
22252
  this[type] = false;
22166
22253
  }
22254
+ if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
22255
+ this[type] = false;
22256
+ return;
22257
+ }
22167
22258
  if (val == 'taskReadAndEnd' || val == true && type != 'taskRead' || val == 'transfer') {
22168
22259
  this.$emit('success');
22169
22260
  }
22170
22261
  },
22171
22262
 
22172
- /**
22173
- * selectChange
22174
- * @desc:常用语选择
22175
- * @author liufan
22176
- * @param {String} val 选中值
22177
- * @date 2022年5月25日
22263
+ /**
22264
+ * selectChange
22265
+ * @desc:常用语选择
22266
+ * @author liufan
22267
+ * @param {String} val 选中值
22268
+ * @date 2022年5月25日
22178
22269
  **/
22179
22270
  selectChange: function selectChange(val) {
22180
22271
  this.value = val;
22181
22272
  },
22182
22273
 
22183
- /**
22184
- * upDate
22185
- * @desc:修改常用语
22186
- * @author liufan
22187
- * @param {Object} val 修改值
22188
- * @date 2022年5月25日
22274
+ /**
22275
+ * upDate
22276
+ * @desc:修改常用语
22277
+ * @author liufan
22278
+ * @param {Object} val 修改值
22279
+ * @date 2022年5月25日
22189
22280
  **/
22190
22281
  upDate: function upDate(val) {
22191
22282
  this.FormData.id = val.id;
@@ -22193,14 +22284,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22193
22284
  },
22194
22285
 
22195
22286
 
22196
- /**
22197
- * getProcess
22198
- * @desc:获取选择流程
22199
- * @author liufan
22200
- * @date 2022年5月25日
22287
+ /**
22288
+ * getProcess
22289
+ * @desc:获取选择流程
22290
+ * @author liufan
22291
+ * @date 2022年5月25日
22201
22292
  **/
22202
22293
  getProcess: function getProcess() {
22203
- var _this25 = this;
22294
+ var _this26 = this;
22204
22295
 
22205
22296
  var params = mainvue_type_script_lang_js_extends({
22206
22297
  businessId: this.businessId,
@@ -22215,48 +22306,48 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22215
22306
  message = res.message,
22216
22307
  data = res.data;
22217
22308
 
22218
- _this25.loading.close();
22309
+ _this26.loading.close();
22219
22310
  if (status === 'success') {
22220
- _this25.isStartFlowChartView = data.isStartFlowChartView;
22311
+ _this26.isStartFlowChartView = data.isStartFlowChartView;
22221
22312
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
22222
- _this25.$message.error('流程不存在或未关联对应流程!');
22313
+ _this26.$message.error('流程不存在或未关联对应流程!');
22223
22314
  } else {
22224
- _this25.nodeInfo.option = data.definitionList;
22225
- _this25.nodeInfo.nextNode = data.definitionList.filter(function (item) {
22226
- return item.processDefKey == _this25.defaultProcessKey;
22315
+ _this26.nodeInfo.option = data.definitionList;
22316
+ _this26.nodeInfo.nextNode = data.definitionList.filter(function (item) {
22317
+ return item.processDefKey == _this26.defaultProcessKey;
22227
22318
  });
22228
- if (_this25.nodeInfo.nextNode.length) {
22229
- _this25.nodeInfo.nextNode = _this25.nodeInfo.nextNode[0].processDefId;
22319
+ if (_this26.nodeInfo.nextNode.length) {
22320
+ _this26.nodeInfo.nextNode = _this26.nodeInfo.nextNode[0].processDefId;
22230
22321
  } else {
22231
- if (data.definitionList.length == 1) {
22232
- _this25.nodeInfo.nextNode = data.definitionList[0].processDefId;
22322
+ if (data.definitionList.length != 0) {
22323
+ _this26.nodeInfo.nextNode = data.definitionList[0].processDefId;
22233
22324
  } else {
22234
- _this25.nodeInfo.nextNode = '';
22325
+ _this26.nodeInfo.nextNode = '';
22235
22326
  }
22236
22327
  }
22237
- if (_this25.nodeInfo.nextNode) {
22238
- _this25.handleChange(_this25.nodeInfo.nextNode);
22328
+ if (_this26.nodeInfo.nextNode) {
22329
+ _this26.handleChange(_this26.nodeInfo.nextNode);
22239
22330
  }
22240
22331
  }
22241
22332
  } else {
22242
- _this25.$message.error(message || '系统错误,请联系管理员!');
22333
+ _this26.$message.error(message || '系统错误,请联系管理员!');
22243
22334
  }
22244
22335
  }).catch(function (err) {
22245
- _this25.loading.close();
22336
+ _this26.loading.close();
22246
22337
  if (err.message && err.message !== 'canceled') {
22247
- _this25.$message.error(err.message);
22338
+ _this26.$message.error(err.message);
22248
22339
  }
22249
22340
  });
22250
22341
  },
22251
22342
 
22252
- /**
22253
- * getPendedhistoryList
22254
- * @desc:获取流程列表
22255
- * @author liufan
22256
- * @date 2022年5月25日
22343
+ /**
22344
+ * getPendedhistoryList
22345
+ * @desc:获取流程列表
22346
+ * @author liufan
22347
+ * @date 2022年5月25日
22257
22348
  **/
22258
22349
  getPendedhistoryList: function getPendedhistoryList() {
22259
- var _this26 = this;
22350
+ var _this27 = this;
22260
22351
 
22261
22352
  var params = {
22262
22353
  apprecordId: this.businessIds,
@@ -22269,54 +22360,54 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22269
22360
  results = res.results;
22270
22361
 
22271
22362
  if (!rCode) {
22272
- _this26.nextNode.nextUserId = [];
22273
- _this26.showNews = false;
22274
- _this26.nextNode.notificationType = [];
22275
- _this26.pendingId = results[results.length - 1].attachId;
22276
- _this26.getHedInfo();
22363
+ _this27.nextNode.nextUserId = [];
22364
+ _this27.showNews = false;
22365
+ _this27.nextNode.notificationType = [];
22366
+ _this27.pendingId = results[results.length - 1].attachId;
22367
+ _this27.getHedInfo();
22277
22368
  } else {
22278
- _this26.$message.error(msg || '系统错误,请联系管理员!');
22369
+ _this27.$message.error(msg || '系统错误,请联系管理员!');
22279
22370
  }
22280
22371
  }).catch(function (err) {
22281
22372
  if (err.message && err.message !== 'canceled') {
22282
- _this26.$message.error(err.message);
22373
+ _this27.$message.error(err.message);
22283
22374
  }
22284
22375
  });
22285
22376
  },
22286
22377
 
22287
22378
  // 提交流程
22288
- /**
22289
- * subProcess
22290
- * @desc:提交流程
22291
- * @author liufan
22292
- * @param {String} formName 当前form表单ref值
22293
- * @date 2022年5月25日
22379
+ /**
22380
+ * subProcess
22381
+ * @desc:提交流程
22382
+ * @author liufan
22383
+ * @param {String} formName 当前form表单ref值
22384
+ * @date 2022年5月25日
22294
22385
  **/
22295
22386
  subProcess: function subProcess(val, type) {
22296
- var _this27 = this;
22387
+ var _this28 = this;
22297
22388
 
22298
22389
  return this.$refs['nextNode'].validate(function (valid) {
22299
22390
  if (valid) {
22300
- if (_this27.isSubmitButtonShowAgreeAndDisagree == 1) {
22301
- _this27.value = _this27.value.replace(RegExp('不同意。', 'g'), '');
22302
- _this27.value = _this27.value.replace(RegExp('同意。', 'g'), '');
22303
- _this27.value = val + _this27.value;
22391
+ if (_this28.isSubmitButtonShowAgreeAndDisagree == 1) {
22392
+ _this28.value = _this28.value.replace(RegExp('不同意。', 'g'), '');
22393
+ _this28.value = _this28.value.replace(RegExp('同意。', 'g'), '');
22394
+ _this28.value = val + _this28.value;
22304
22395
  }
22305
- if (!_this27.validInfo()) {
22306
- _this27.freeValid = false;
22396
+ if (!_this28.validInfo()) {
22397
+ _this28.freeValid = false;
22307
22398
  return;
22308
22399
  } else {
22309
- _this27.freeValid = true;
22400
+ _this28.freeValid = true;
22310
22401
  }
22311
22402
  if (type == 'multiInsMidwayWithSubmitScene') {
22312
- _this27.sendData(type);
22403
+ _this28.sendData(type);
22313
22404
  return;
22314
22405
  }
22315
- if (_this27.beforeSubmit == undefined) {
22316
- _this27.subFun(_this27.sendData);
22406
+ if (_this28.beforeSubmit == undefined) {
22407
+ _this28.subFun(_this28.sendData);
22317
22408
  } else {
22318
- _this27.beforeSubmit(1).then(function (next) {
22319
- _this27.sendData();
22409
+ _this28.beforeSubmit(1).then(function (next) {
22410
+ _this28.sendData();
22320
22411
  }).catch(function (e) {});
22321
22412
  }
22322
22413
  }
@@ -22353,70 +22444,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22353
22444
  this.$message.warning('\u8BF7\u9009\u62E9' + (this.currentOrgName || '本单位'));
22354
22445
  return false;
22355
22446
  }
22447
+ if (this.currentNodeIsCircularReadNode && !this.nextNode.nextCurrentOrgObj && !this.nextNode.nextOtherOrgObj) {
22448
+ this.$message.warning('\u8BF7\u9009\u62E9\u5904\u7406\u5BF9\u8C61!');
22449
+ return false;
22450
+ }
22356
22451
  return true;
22357
22452
  },
22358
22453
  sendData: function sendData(freetype) {
22359
- var _this28 = this;
22454
+ var _this29 = this;
22360
22455
 
22361
22456
  this.$refs['nextNode'].validate(function () {
22362
22457
  var _ref2 = mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
22363
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, needRetrialAuth;
22458
+ var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth;
22364
22459
  return regenerator_default.a.wrap(function _callee$(_context) {
22365
22460
  while (1) {
22366
22461
  switch (_context.prev = _context.next) {
22367
22462
  case 0:
22368
22463
  if (!valid) {
22369
- _context.next = 47;
22464
+ _context.next = 48;
22370
22465
  break;
22371
22466
  }
22372
22467
 
22373
- if (!_this28.isFlow) {
22468
+ if (!_this29.isFlow) {
22374
22469
  _context.next = 3;
22375
22470
  break;
22376
22471
  }
22377
22472
 
22378
- return _context.abrupt('return', _this28.handleVisible = true);
22473
+ return _context.abrupt('return', _this29.handleVisible = true);
22379
22474
 
22380
22475
  case 3:
22381
22476
  nextUserId = [];
22382
22477
 
22383
- if (_this28.multiple) {
22384
- _this28.nextNode.nextUserId && _this28.nextNode.nextUserId.map(function (item) {
22478
+ if (_this29.multiple) {
22479
+ _this29.nextNode.nextUserId && _this29.nextNode.nextUserId.map(function (item) {
22385
22480
  return nextUserId.push(item);
22386
22481
  });
22387
22482
  }
22388
22483
  addSignUserId = [];
22389
22484
 
22390
- if (_this28.isCanAddSign && _this28.nextNode.isAddSign == '1') {
22391
- _this28.nextNode.addSignUserId.map(function (item) {
22485
+ if (_this29.isCanAddSign && _this29.nextNode.isAddSign == '1') {
22486
+ _this29.nextNode.addSignUserId.map(function (item) {
22392
22487
  addSignUserId.push(item);
22393
22488
  });
22394
22489
  }
22395
22490
  removeSignUserId = [];
22396
22491
 
22397
- if (_this28.isCanRemoveSign && _this28.nextNode.isRemoveSign == '1') {
22398
- _this28.nextNode.removeSignUserId.map(function (item) {
22492
+ if (_this29.isCanRemoveSign && _this29.nextNode.isRemoveSign == '1') {
22493
+ _this29.nextNode.removeSignUserId.map(function (item) {
22399
22494
  removeSignUserId.push(item);
22400
22495
  });
22401
22496
  }
22402
22497
  str = '';
22403
22498
 
22404
- if (_this28.value) {
22405
- str = _this28.value.replace(/\s+/g, '');
22499
+ if (_this29.value) {
22500
+ str = _this29.value.replace(/\s+/g, '');
22406
22501
  }
22407
- if ((!_this28.value || str === '') && _this28.nodeDefaultSubmitOpinion) {
22408
- _this28.value = _this28.nodeDefaultSubmitOpinion;
22502
+ if ((!_this29.value || str === '') && _this29.nodeDefaultSubmitOpinion) {
22503
+ _this29.value = _this29.nodeDefaultSubmitOpinion;
22409
22504
  }
22410
- if (!_this28.isSpecial) {
22411
- delete _this28.nextNode.nextOperate;
22412
- delete _this28.nextNode.nextNodeId;
22505
+ if (!_this29.isSpecial) {
22506
+ delete _this29.nextNode.nextOperate;
22507
+ delete _this29.nextNode.nextNodeId;
22413
22508
  }
22414
- if (_this28.nextNode.nextOperate === 9) {
22415
- _this28.nextNode.isReturnRejectNode = 1;
22416
- _this28.nextNode.processDefinitionId = _this28.processObj.taskExamine.processDefinitionId;
22509
+ if (_this29.nextNode.nextOperate === 9) {
22510
+ _this29.nextNode.isReturnRejectNode = 1;
22511
+ _this29.nextNode.processDefinitionId = _this29.processObj.taskExamine.processDefinitionId;
22417
22512
  }
22418
- if (_this28.nextNode.nextOperate != 0 && _this28.nextNode.nextOperate != 1) {
22419
- delete _this28.nextNode.nextNodeId;
22513
+ if (_this29.nextNode.nextOperate != 0 && _this29.nextNode.nextOperate != 1) {
22514
+ delete _this29.nextNode.nextNodeId;
22420
22515
  }
22421
22516
 
22422
22517
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
@@ -22425,40 +22520,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22425
22520
  }
22426
22521
 
22427
22522
  _context.next = 18;
22428
- return _this28.saveInfo('subMit');
22523
+ return _this29.saveInfo('subMit');
22429
22524
 
22430
22525
  case 18:
22431
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
22526
+ _this29.loading = util["a" /* default */].loading(_this29.$loading, '加载中...');
22432
22527
 
22433
22528
  case 19:
22434
22529
  notificationType = '';
22435
22530
 
22436
- notificationType = _this28.nextNode.notificationType.join(',');
22531
+ notificationType = _this29.nextNode.notificationType.join(',');
22437
22532
  addSignUserId = addSignUserId.join(',');
22438
22533
  removeSignUserId = removeSignUserId.join(',');
22439
- if (!_this28.isCanPreAddSign || _this28.nextNode.isAddSign != '1') {
22440
- delete _this28.nextNode.addSignMode;
22534
+ if (!_this29.isCanPreAddSign || _this29.nextNode.isAddSign != '1') {
22535
+ delete _this29.nextNode.addSignMode;
22441
22536
  }
22442
- params = mainvue_type_script_lang_js_extends({}, _this28.nextNode, {
22443
- pendingId: _this28.pendingId,
22444
- opinion: _this28.isForceDisplayDefaultOptionForPrefix && !_this28.value.startsWith(_this28.nodeDefaultSubmitOpinion) ? _this28.nodeDefaultSubmitOpinion + _this28.value : _this28.value,
22537
+ params = mainvue_type_script_lang_js_extends({}, _this29.nextNode, {
22538
+ pendingId: _this29.pendingId,
22539
+ opinion: _this29.isForceDisplayDefaultOptionForPrefix && !_this29.value.startsWith(_this29.nodeDefaultSubmitOpinion) ? _this29.nodeDefaultSubmitOpinion + _this29.value : _this29.value,
22445
22540
  userId: util["a" /* default */].getStorage('userId'),
22446
- nextUserId: _this28.multiple ? nextUserId.join(',') : _this28.nextNode.nextUserId,
22541
+ nextUserId: _this29.multiple ? nextUserId.join(',') : _this29.nextNode.nextUserId,
22447
22542
  addSignUserId: addSignUserId,
22448
- customPresetUserJson: JSON.stringify(_this28.presetList),
22449
- presetUserJson: JSON.stringify(_this28.presetUserJson),
22543
+ customPresetUserJson: JSON.stringify(_this29.presetList),
22544
+ presetUserJson: JSON.stringify(_this29.presetUserJson),
22450
22545
  removeSignUserId: removeSignUserId,
22451
- nextReadUserId: _this28.readMultiple ? _this28.mixReadList && _this28.mixReadList.join('|') : _this28.nextNode.nextReadUserId,
22452
- nextOrgId: !_this28.isShowNextUser ? _this28.multiple ? _this28.mixOrgIdList && _this28.mixOrgIdList.join('|') : _this28.nextNode.nextOrgId : '',
22453
- presetReadUserId: _this28.mixPresetList && _this28.mixPresetList.length > 0 ? _this28.mixPresetList.join('|') : _this28.nextNode.presetReadUserId.join(','),
22546
+ nextReadUserId: _this29.readMultiple ? _this29.mixReadList && _this29.mixReadList.join('|') : _this29.nextNode.nextReadUserId,
22547
+ nextOrgId: !_this29.isShowNextUser ? _this29.multiple ? _this29.mixOrgIdList && _this29.mixOrgIdList.join('|') : _this29.nextNode.nextOrgId : '',
22548
+ presetReadUserId: _this29.mixPresetList && _this29.mixPresetList.length > 0 ? _this29.mixPresetList.join('|') : _this29.nextNode.presetReadUserId.join(','),
22454
22549
  notificationType: notificationType
22455
22550
  });
22456
22551
 
22457
- if (_this28.activeNames != '1') delete params.customPresetUserJson;
22458
- if (_this28.nextNode.isRemoveSign != '1') {
22552
+ if (_this29.activeNames != '1') delete params.customPresetUserJson;
22553
+ if (_this29.nextNode.isRemoveSign != '1') {
22459
22554
  delete params.removeSignUserId;
22460
22555
  }
22461
- if (_this28.nextNode.isAddSign != '1') {
22556
+ if (_this29.nextNode.isAddSign != '1') {
22462
22557
  delete params.addSignUserId;
22463
22558
  }
22464
22559
 
@@ -22467,12 +22562,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22467
22562
  break;
22468
22563
  }
22469
22564
 
22470
- _this28.taskParams = params;
22565
+ _this29.taskParams = params;
22471
22566
  return _context.abrupt('return');
22472
22567
 
22473
22568
  case 31:
22474
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '提交中...');
22475
- isEndUserTask = _this28.isEndUserTask, choiceOrgId = _this28.choiceOrgId, choiceDeptId = _this28.choiceDeptId, pOrgId = _this28.pOrgId, taskExamineInfo = _this28.taskExamineInfo, needRetrialAuth = _this28.needRetrialAuth;
22569
+ _this29.loading = util["a" /* default */].loading(_this29.$loading, '提交中...');
22570
+ isEndUserTask = _this29.isEndUserTask, choiceOrgId = _this29.choiceOrgId, choiceDeptId = _this29.choiceDeptId, pOrgId = _this29.pOrgId, taskExamineInfo = _this29.taskExamineInfo, currentNodeIsCircularReadNode = _this29.currentNodeIsCircularReadNode, needRetrialAuth = _this29.needRetrialAuth;
22476
22571
 
22477
22572
  params.isEndUserTask = isEndUserTask;
22478
22573
  params.choiceOrgId = choiceOrgId;
@@ -22485,34 +22580,36 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22485
22580
  params.isSubFlow = taskExamineInfo.isSubFlow;
22486
22581
  params.nodeId = taskExamineInfo.nodeId;
22487
22582
  params.needRetrialAuth = needRetrialAuth;
22583
+ params.taskHandleSubmitMode = currentNodeIsCircularReadNode ? 'circularReadMode' : undefined;
22584
+ // params.orgRoleCode="5f5c8e900dc6433fb5c7b3bcc1a81319"
22488
22585
  return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Cb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
22489
22586
  var status = res.status,
22490
22587
  message = res.message;
22491
22588
 
22492
- _this28.loading.close();
22589
+ _this29.loading.close();
22493
22590
  if (status === 'success') {
22494
- _this28.$message.success('提交成功');
22495
- _this28.$emit('success');
22591
+ _this29.$message.success('提交成功');
22592
+ _this29.$emit('success');
22496
22593
  } else {
22497
- _this28.$message.error(message || '系统错误,请联系管理员!');
22498
- _this28.$emit('error');
22594
+ _this29.$message.error(message || '系统错误,请联系管理员!');
22595
+ _this29.$emit('error');
22499
22596
  }
22500
22597
  }).catch(function (err) {
22501
- _this28.loading.close();
22598
+ _this29.loading.close();
22502
22599
  if (err.message && err.message !== 'canceled') {
22503
- _this28.$message.error(err.message);
22600
+ _this29.$message.error(err.message);
22504
22601
  }
22505
22602
  }));
22506
22603
 
22507
- case 47:
22604
+ case 48:
22508
22605
  return _context.abrupt('return', false);
22509
22606
 
22510
- case 48:
22607
+ case 49:
22511
22608
  case 'end':
22512
22609
  return _context.stop();
22513
22610
  }
22514
22611
  }
22515
- }, _callee, _this28);
22612
+ }, _callee, _this29);
22516
22613
  }));
22517
22614
 
22518
22615
  return function (_x) {
@@ -22523,6 +22620,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22523
22620
 
22524
22621
  // 单位选择完回调
22525
22622
  disposeAppUnit: function disposeAppUnit(res, type) {
22623
+ console.log(res, type, 'res');
22526
22624
  var label = type.substring(0, type.lastIndexOf('Select'));
22527
22625
  this.nextNode[label + 'Name'] = '';
22528
22626
  res.options && (this[type] = res.options);
@@ -22548,8 +22646,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22548
22646
  }
22549
22647
  }
22550
22648
  // this.nextNode[label + 'Name'] = obj.enterprise?;
22551
- this.nextNode[label + 'SerialId'] = res.nextUser.join(',');
22552
- this.nextNode[label + 'Json'] = JSON.stringify(res.options);
22649
+ if (!this.currentNodeIsCircularReadNode) {
22650
+ this.nextNode[label + 'SerialId'] = res.nextUser.join(',');
22651
+ this.nextNode[label + 'Json'] = JSON.stringify(res.options);
22652
+ }
22553
22653
  this.getsubProcessColumns();
22554
22654
  }
22555
22655
  }