eoss-ui 0.6.40 → 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 (297) hide show
  1. package/lib/button-group.js +5 -0
  2. package/lib/button.js +5 -0
  3. package/lib/checkbox-group.js +5 -0
  4. package/lib/data-table-form.js +5 -0
  5. package/lib/data-table.js +11 -6
  6. package/lib/date-picker.js +5 -0
  7. package/lib/dialog.js +5 -0
  8. package/lib/eoss-ui.common.js +1967 -1458
  9. package/lib/flow-group.js +5 -0
  10. package/lib/flow-list.js +128 -112
  11. package/lib/flow.js +903 -801
  12. package/lib/form.js +5 -0
  13. package/lib/handle-user.js +5 -0
  14. package/lib/handler.js +152 -76
  15. package/lib/icon.js +5 -0
  16. package/lib/icons.js +1 -1
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +5 -0
  19. package/lib/input.js +5 -0
  20. package/lib/login.js +248 -160
  21. package/lib/main.js +461 -245
  22. package/lib/nav.js +5 -0
  23. package/lib/page.js +5 -0
  24. package/lib/pagination.js +5 -0
  25. package/lib/player.js +5 -0
  26. package/lib/qr-code.js +18 -13
  27. package/lib/radio-group.js +5 -0
  28. package/lib/retrial-auth.js +5 -0
  29. package/lib/select-ganged.js +5 -0
  30. package/lib/select.js +5 -0
  31. package/lib/selector-panel.js +7 -3
  32. package/lib/selector.js +42 -5
  33. package/lib/sizer.js +5 -0
  34. package/lib/steps.js +5 -0
  35. package/lib/switch.js +5 -0
  36. package/lib/table-form.js +5 -0
  37. package/lib/tabs.js +5 -0
  38. package/lib/theme-chalk/base.css +1 -1
  39. package/lib/theme-chalk/flow.css +1 -1
  40. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  41. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  42. package/lib/theme-chalk/icon.css +1 -1
  43. package/lib/theme-chalk/index.css +1 -1
  44. package/lib/theme-chalk/login.css +1 -1
  45. package/lib/theme-chalk/main.css +1 -1
  46. package/lib/theme-chalk/menu.css +1 -1
  47. package/lib/theme-chalk/simplicity.css +1 -1
  48. package/lib/theme-chalk/sizer.css +1 -1
  49. package/lib/theme-chalk/upload.css +1 -1
  50. package/lib/tips.js +5 -0
  51. package/lib/tree-group.js +5 -0
  52. package/lib/tree.js +5 -0
  53. package/lib/upload.js +5 -0
  54. package/lib/utils/util.js +5 -0
  55. package/lib/wujie.js +5 -0
  56. package/lib/wxlogin.js +5 -0
  57. package/package.json +159 -159
  58. package/packages/button/index.js +5 -5
  59. package/packages/button/src/main.vue +418 -418
  60. package/packages/button-group/index.js +5 -5
  61. package/packages/button-group/src/main.vue +298 -298
  62. package/packages/calendar/index.js +5 -5
  63. package/packages/card/index.js +5 -5
  64. package/packages/card/src/main.vue +156 -156
  65. package/packages/cascader/index.js +5 -5
  66. package/packages/cascader/src/main.vue +168 -168
  67. package/packages/checkbox-group/index.js +5 -5
  68. package/packages/checkbox-group/src/main.vue +333 -333
  69. package/packages/clients/index.js +5 -5
  70. package/packages/clients/src/main.vue +144 -144
  71. package/packages/data-table/index.js +5 -5
  72. package/packages/data-table/src/children.vue +39 -39
  73. package/packages/data-table/src/column.vue +989 -989
  74. package/packages/data-table/src/main.vue +1822 -1820
  75. package/packages/data-table/src/sizer.vue +195 -195
  76. package/packages/data-table-form/index.js +5 -5
  77. package/packages/data-table-form/src/checkbox.vue +101 -101
  78. package/packages/data-table-form/src/colgroup.vue +17 -17
  79. package/packages/data-table-form/src/main.vue +181 -181
  80. package/packages/data-table-form/src/radio.vue +65 -65
  81. package/packages/data-table-form/src/table.vue +233 -233
  82. package/packages/data-table-form/src/tbody.vue +336 -336
  83. package/packages/data-table-form/src/thead.vue +68 -68
  84. package/packages/date-picker/index.js +5 -5
  85. package/packages/date-picker/src/main.vue +236 -236
  86. package/packages/dialog/index.js +5 -5
  87. package/packages/enterprise/index.js +5 -5
  88. package/packages/enterprise/src/main.vue +66 -66
  89. package/packages/error-page/index.js +5 -5
  90. package/packages/error-page/src/main.vue +44 -44
  91. package/packages/flow/index.js +5 -5
  92. package/packages/flow/src/component/CommonOpinions.vue +345 -345
  93. package/packages/flow/src/component/CustomPreset.vue +322 -322
  94. package/packages/flow/src/component/FileList.vue +99 -99
  95. package/packages/flow/src/component/Preset.vue +255 -255
  96. package/packages/flow/src/component/SendMsg.vue +229 -229
  97. package/packages/flow/src/component/TimeLimit.vue +190 -190
  98. package/packages/flow/src/component/taskUnionExamine.vue +611 -603
  99. package/packages/flow/src/form.vue +121 -121
  100. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  101. package/packages/flow/src/main.vue +2952 -2864
  102. package/packages/flow/src/processForm.vue +1018 -1007
  103. package/packages/flow/src/processReject.vue +293 -293
  104. package/packages/flow/src/reset.vue +899 -901
  105. package/packages/flow/src/startTaskRead.vue +596 -596
  106. package/packages/flow/src/table.vue +58 -58
  107. package/packages/flow-group/index.js +5 -5
  108. package/packages/flow-group/src/main.vue +688 -688
  109. package/packages/flow-list/index.js +5 -5
  110. package/packages/flow-list/src/main.vue +1183 -1172
  111. package/packages/form/index.js +5 -5
  112. package/packages/form/src/main.vue +3584 -3584
  113. package/packages/form/src/table.vue +1420 -1420
  114. package/packages/handle-user/index.js +5 -5
  115. package/packages/handle-user/src/main.vue +138 -138
  116. package/packages/handler/index.js +5 -5
  117. package/packages/handler/src/main.vue +474 -388
  118. package/packages/icon/index.js +5 -5
  119. package/packages/icon/src/main.vue +101 -101
  120. package/packages/icons/index.js +5 -5
  121. package/packages/icons/src/icon.json +1 -1
  122. package/packages/icons/src/main.vue +81 -81
  123. package/packages/input/index.js +5 -5
  124. package/packages/input/src/main.vue +356 -356
  125. package/packages/input-number/index.js +5 -5
  126. package/packages/input-number/src/main.vue +106 -106
  127. package/packages/label/index.js +5 -5
  128. package/packages/label/src/main.vue +457 -457
  129. package/packages/layout/index.js +5 -5
  130. package/packages/layout/src/item.vue +152 -152
  131. package/packages/layout/src/main.vue +31 -31
  132. package/packages/login/index.js +5 -5
  133. package/packages/login/src/main.vue +1935 -1892
  134. package/packages/login/src/resetPassword.vue +562 -562
  135. package/packages/main/index.js +5 -5
  136. package/packages/main/src/default/index.vue +32 -3
  137. package/packages/main/src/default/message.vue +249 -249
  138. package/packages/main/src/default/notice.vue +157 -157
  139. package/packages/main/src/default/userinfo.vue +505 -505
  140. package/packages/main/src/public/online.vue +89 -89
  141. package/packages/main/src/public/search.vue +461 -454
  142. package/packages/main/src/public/settings.vue +221 -221
  143. package/packages/main/src/simplicity/apps.vue +388 -388
  144. package/packages/main/src/simplicity/avatar.vue +82 -82
  145. package/packages/main/src/simplicity/handler.vue +259 -221
  146. package/packages/main/src/simplicity/index.vue +2047 -1993
  147. package/packages/main/src/simplicity/lists.vue +84 -84
  148. package/packages/main/src/simplicity/menu-list.vue +128 -128
  149. package/packages/main/src/simplicity/message.vue +259 -259
  150. package/packages/main/src/simplicity/notice.vue +190 -190
  151. package/packages/main/src/simplicity/router-page.vue +45 -45
  152. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  153. package/packages/main/src/simplicity/user.vue +257 -257
  154. package/packages/main/src/simplicity/userinfo.vue +312 -312
  155. package/packages/menu/index.js +5 -5
  156. package/packages/menu/src/main.vue +536 -536
  157. package/packages/nav/index.js +5 -5
  158. package/packages/nav/src/main.vue +402 -402
  159. package/packages/notify/index.js +5 -5
  160. package/packages/notify/src/main.vue +538 -538
  161. package/packages/page/index.js +5 -5
  162. package/packages/page/src/main.vue +167 -167
  163. package/packages/pagination/index.js +5 -5
  164. package/packages/pagination/src/main.vue +96 -96
  165. package/packages/player/index.js +5 -5
  166. package/packages/player/src/main.vue +194 -194
  167. package/packages/qr-code/index.js +5 -5
  168. package/packages/qr-code/src/main.vue +170 -170
  169. package/packages/radio-group/index.js +6 -6
  170. package/packages/radio-group/src/main.vue +319 -319
  171. package/packages/retrial-auth/index.js +5 -5
  172. package/packages/retrial-auth/src/main.vue +280 -280
  173. package/packages/select/index.js +5 -5
  174. package/packages/select/src/main.vue +775 -775
  175. package/packages/select-ganged/index.js +5 -5
  176. package/packages/select-ganged/src/main.vue +724 -724
  177. package/packages/selector/index.js +5 -5
  178. package/packages/selector/src/main.vue +689 -677
  179. package/packages/selector-panel/index.js +5 -5
  180. package/packages/selector-panel/src/main.vue +1027 -1028
  181. package/packages/selector-panel/src/selection.vue +177 -177
  182. package/packages/selector-panel/src/tree.vue +129 -129
  183. package/packages/sizer/index.js +5 -5
  184. package/packages/sizer/src/main.vue +254 -254
  185. package/packages/steps/index.js +5 -5
  186. package/packages/steps/src/main.vue +181 -181
  187. package/packages/switch/index.js +5 -5
  188. package/packages/switch/src/main.vue +154 -154
  189. package/packages/table-form/index.js +5 -5
  190. package/packages/tabs/index.js +5 -5
  191. package/packages/tabs/src/main.vue +788 -788
  192. package/packages/tabs-panel/index.js +5 -5
  193. package/packages/tabs-panel/src/main.vue +29 -29
  194. package/packages/theme-chalk/lib/base.css +1 -1
  195. package/packages/theme-chalk/lib/flow.css +1 -1
  196. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  197. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  198. package/packages/theme-chalk/lib/icon.css +1 -1
  199. package/packages/theme-chalk/lib/index.css +1 -1
  200. package/packages/theme-chalk/lib/login.css +1 -1
  201. package/packages/theme-chalk/lib/main.css +1 -1
  202. package/packages/theme-chalk/lib/menu.css +1 -1
  203. package/packages/theme-chalk/lib/simplicity.css +1 -1
  204. package/packages/theme-chalk/lib/sizer.css +1 -1
  205. package/packages/theme-chalk/lib/upload.css +1 -1
  206. package/packages/theme-chalk/src/base.scss +260 -260
  207. package/packages/theme-chalk/src/button-group.scss +175 -175
  208. package/packages/theme-chalk/src/button.scss +24 -24
  209. package/packages/theme-chalk/src/calendar.scss +113 -113
  210. package/packages/theme-chalk/src/card.scss +99 -99
  211. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  212. package/packages/theme-chalk/src/clients.scss +87 -87
  213. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  214. package/packages/theme-chalk/src/data-table.scss +293 -293
  215. package/packages/theme-chalk/src/date-picker.scss +7 -7
  216. package/packages/theme-chalk/src/dialog.scss +77 -77
  217. package/packages/theme-chalk/src/enterprise.scss +5 -5
  218. package/packages/theme-chalk/src/error-page.scss +18 -18
  219. package/packages/theme-chalk/src/flow-group.scss +110 -110
  220. package/packages/theme-chalk/src/flow-list.scss +36 -36
  221. package/packages/theme-chalk/src/flow.scss +318 -310
  222. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  223. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  224. package/packages/theme-chalk/src/form.scss +496 -496
  225. package/packages/theme-chalk/src/handle-user.scss +40 -40
  226. package/packages/theme-chalk/src/handler.scss +143 -143
  227. package/packages/theme-chalk/src/icon.scss +1789 -1760
  228. package/packages/theme-chalk/src/icons.scss +99 -99
  229. package/packages/theme-chalk/src/input.scss +9 -9
  230. package/packages/theme-chalk/src/label.scss +24 -24
  231. package/packages/theme-chalk/src/layout.scss +46 -46
  232. package/packages/theme-chalk/src/login.scss +947 -939
  233. package/packages/theme-chalk/src/main.scss +639 -632
  234. package/packages/theme-chalk/src/menu.scss +222 -222
  235. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  236. package/packages/theme-chalk/src/nav.scss +125 -125
  237. package/packages/theme-chalk/src/page.scss +3 -3
  238. package/packages/theme-chalk/src/pagination.scss +29 -29
  239. package/packages/theme-chalk/src/player.scss +9 -9
  240. package/packages/theme-chalk/src/qr-code.scss +17 -17
  241. package/packages/theme-chalk/src/radio-group.scss +9 -9
  242. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  243. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  244. package/packages/theme-chalk/src/select.scss +8 -8
  245. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  246. package/packages/theme-chalk/src/selector.scss +91 -91
  247. package/packages/theme-chalk/src/simplicity.scss +1262 -1262
  248. package/packages/theme-chalk/src/sizer.scss +36 -36
  249. package/packages/theme-chalk/src/steps.scss +88 -88
  250. package/packages/theme-chalk/src/switch.scss +3 -3
  251. package/packages/theme-chalk/src/table-form.scss +1 -1
  252. package/packages/theme-chalk/src/tabs.scss +87 -87
  253. package/packages/theme-chalk/src/tips.scss +7 -7
  254. package/packages/theme-chalk/src/toolbar.scss +179 -179
  255. package/packages/theme-chalk/src/tree-group.scss +72 -72
  256. package/packages/theme-chalk/src/tree.scss +165 -165
  257. package/packages/theme-chalk/src/upload.scss +167 -167
  258. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  259. package/packages/tips/index.js +5 -5
  260. package/packages/tips/src/main.vue +141 -141
  261. package/packages/toolbar/index.js +5 -5
  262. package/packages/toolbar/src/main.vue +430 -430
  263. package/packages/tree/index.js +5 -5
  264. package/packages/tree-group/index.js +5 -5
  265. package/packages/upload/index.js +5 -5
  266. package/packages/upload/src/main.vue +1334 -1334
  267. package/packages/upload/src/picture.js +15 -15
  268. package/packages/wujie/index.js +5 -5
  269. package/packages/wujie/src/main.vue +145 -145
  270. package/packages/wxlogin/index.js +5 -5
  271. package/packages/wxlogin/src/main.vue +128 -128
  272. package/src/config/api.js +248 -248
  273. package/src/config/image.js +2 -2
  274. package/src/index.js +157 -157
  275. package/src/utils/bus.js +3 -3
  276. package/src/utils/date-util.js +312 -312
  277. package/src/utils/http.js +50 -50
  278. package/src/utils/rules.js +18 -18
  279. package/src/utils/store.js +21 -21
  280. package/src/utils/util.js +5 -0
  281. package/src/utils/webSocket.js +107 -107
  282. package/packages/.DS_Store +0 -0
  283. package/packages/data-table/.DS_Store +0 -0
  284. package/packages/data-table-form/.DS_Store +0 -0
  285. package/packages/error-page/.DS_Store +0 -0
  286. package/packages/flow/.DS_Store +0 -0
  287. package/packages/form/.DS_Store +0 -0
  288. package/packages/login/.DS_Store +0 -0
  289. package/packages/main/.DS_Store +0 -0
  290. package/packages/main/src/.DS_Store +0 -0
  291. package/packages/selector/.DS_Store +0 -0
  292. package/packages/selector-panel/.DS_Store +0 -0
  293. package/packages/sizer/.DS_Store +0 -0
  294. package/packages/tabs/.DS_Store +0 -0
  295. package/packages/theme-chalk/src/.DS_Store +0 -0
  296. package/packages/upload/.DS_Store +0 -0
  297. package/src/.DS_Store +0 -0
package/lib/flow.js CHANGED
@@ -559,6 +559,7 @@ var ajaxStream = function ajaxStream(_ref2) {
559
559
  var lastProcessedIndex = 0;
560
560
  var done = false;
561
561
  var finishThink = false;
562
+ var hasThink = false;
562
563
  ajax(_extends({
563
564
  timeout: 990000,
564
565
  format: false,
@@ -612,8 +613,12 @@ var ajaxStream = function ajaxStream(_ref2) {
612
613
  var start = parsedData.message.match(startRegex);
613
614
  var end = parsedData.message.match(endRegex);
614
615
  if (start) {
616
+ hasThink = true;
615
617
  var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
616
618
  info.thinkContent += _thinkContent;
619
+ } else if (hasThink === false) {
620
+ info.content += parsedData.message;
621
+ chunks += parsedData.message;
617
622
  } else {
618
623
  if (end) {
619
624
  finishThink = true;
@@ -4342,7 +4347,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4342
4347
  // ESM COMPAT FLAG
4343
4348
  __webpack_require__.r(__webpack_exports__);
4344
4349
 
4345
- // 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=2feffd01&
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&
4346
4351
  var render = function () {
4347
4352
  var _vm = this
4348
4353
  var _h = _vm.$createElement
@@ -4357,7 +4362,8 @@ var render = function () {
4357
4362
  },
4358
4363
  [
4359
4364
  _vm.newTypeCode == "reset" || _vm.newTypeCode == "continuation"
4360
- ? _c("Reset", {
4365
+ ? _c("reset", {
4366
+ staticStyle: { height: "100%" },
4361
4367
  attrs: {
4362
4368
  type: _vm.newTypeCode,
4363
4369
  appId: _vm.resetAppId,
@@ -4366,6 +4372,7 @@ var render = function () {
4366
4372
  })
4367
4373
  : _c(
4368
4374
  "div",
4375
+ { staticClass: "es-flow-content" },
4369
4376
  [
4370
4377
  _c(
4371
4378
  "div",
@@ -4486,6 +4493,7 @@ var render = function () {
4486
4493
  staticClass: "es-common-opinions",
4487
4494
  attrs: {
4488
4495
  opinion: _vm.value,
4496
+ rows: _vm.rows,
4489
4497
  isBanInputOpinion: _vm.isBanInputOpinion,
4490
4498
  nodeFixedOpinionSelectList:
4491
4499
  _vm.nodeFixedOpinionSelectList,
@@ -4514,6 +4522,7 @@ var render = function () {
4514
4522
  "\n (!endFlow || nodeInfos.length > 1) &&\n newTypeCode != 'fenyue' &&\n !shrink\n ",
4515
4523
  },
4516
4524
  ],
4525
+ ref: "esContent",
4517
4526
  staticClass: "es-info",
4518
4527
  },
4519
4528
  [
@@ -5581,11 +5590,7 @@ var render = function () {
5581
5590
  "div",
5582
5591
  {
5583
5592
  staticClass: "news",
5584
- on: {
5585
- click: function ($event) {
5586
- _vm.showNews = !_vm.showNews
5587
- },
5588
- },
5593
+ on: { click: _vm.showMessage },
5589
5594
  },
5590
5595
  [
5591
5596
  _c("span", { staticClass: "news-item" }, [
@@ -5596,95 +5601,95 @@ var render = function () {
5596
5601
  }),
5597
5602
  ]
5598
5603
  ),
5599
- _c(
5600
- "div",
5601
- {
5602
- directives: [
5604
+ _vm.showNews
5605
+ ? _c(
5606
+ "div",
5603
5607
  {
5604
- name: "show",
5605
- rawName: "v-show",
5606
- value: _vm.showNews,
5607
- expression: "showNews",
5608
+ ref: "messagebox",
5609
+ staticStyle: { transition: "1s" },
5608
5610
  },
5609
- ],
5610
- staticStyle: { transition: "1s" },
5611
- },
5612
- [
5613
- _c(
5614
- "el-checkbox-group",
5615
- {
5616
- model: {
5617
- value: _vm.nextNode.notificationType,
5618
- callback: function ($$v) {
5619
- _vm.$set(
5620
- _vm.nextNode,
5621
- "notificationType",
5622
- $$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
+ ]
5623
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",
5624
5669
  },
5625
- expression: "nextNode.notificationType",
5626
- },
5627
- },
5628
- _vm._l(_vm.newsList, function (item) {
5629
- return _c(
5630
- "el-checkbox",
5631
- {
5632
- key: item.cciValue,
5633
- attrs: {
5634
- label: item.cciValue,
5635
- disabled:
5636
- _vm.readOnlyNotificationType
5637
- ? _vm.readOnlyNotificationType.indexOf(
5638
- item.cciValue
5639
- ) != -1
5640
- : 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
+ )
5641
5684
  },
5685
+ expression:
5686
+ "nextNode.notificationMsg",
5642
5687
  },
5643
- [
5644
- _vm._v(
5645
- "\n " +
5646
- _vm._s(item.shortName) +
5647
- "\n "
5648
- ),
5649
- ]
5650
- )
5651
- }),
5652
- 1
5653
- ),
5654
- _c("es-input", {
5655
- directives: [
5656
- {
5657
- name: "show",
5658
- rawName: "v-show",
5659
- value: _vm.showNews,
5660
- expression: "showNews",
5661
- },
5688
+ }),
5662
5689
  ],
5663
- staticStyle: {
5664
- "border-color": "#ccc",
5665
- padding: "5px",
5666
- "border-radius": "5px",
5667
- "font-size": "13px",
5668
- },
5669
- attrs: {
5670
- type: "textarea",
5671
- readonly: _vm.notificationMessageReadOnly,
5672
- },
5673
- model: {
5674
- value: _vm.nextNode.notificationMsg,
5675
- callback: function ($$v) {
5676
- _vm.$set(
5677
- _vm.nextNode,
5678
- "notificationMsg",
5679
- $$v
5680
- )
5681
- },
5682
- expression: "nextNode.notificationMsg",
5683
- },
5684
- }),
5685
- ],
5686
- 1
5687
- ),
5690
+ 1
5691
+ )
5692
+ : _vm._e(),
5688
5693
  ]
5689
5694
  )
5690
5695
  : _vm._e(),
@@ -6159,9 +6164,19 @@ var render = function () {
6159
6164
  [
6160
6165
  _c("ProcessForm", {
6161
6166
  attrs: {
6162
- id: _vm.businessIds,
6163
- "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,
6164
6178
  opinion: _vm.value,
6179
+ taskParams: _vm.taskParams,
6165
6180
  },
6166
6181
  on: {
6167
6182
  cancel: function ($event) {
@@ -6453,14 +6468,14 @@ var staticRenderFns = []
6453
6468
  render._withStripped = true
6454
6469
 
6455
6470
 
6456
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2feffd01&
6471
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5cd9622b&
6457
6472
 
6458
6473
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6459
6474
  var regenerator_ = __webpack_require__(14);
6460
6475
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
6461
6476
 
6462
- // 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&
6463
- 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 () {
6464
6479
  var _vm = this
6465
6480
  var _h = _vm.$createElement
6466
6481
  var _c = _vm._self._c || _h
@@ -6646,11 +6661,11 @@ var CommonOpinionsvue_type_template_id_f5e5d4e8_render = function () {
6646
6661
  1
6647
6662
  )
6648
6663
  }
6649
- var CommonOpinionsvue_type_template_id_f5e5d4e8_staticRenderFns = []
6650
- 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
6651
6666
 
6652
6667
 
6653
- // 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&
6654
6669
 
6655
6670
  // EXTERNAL MODULE: ./src/config/api.js
6656
6671
  var api = __webpack_require__(1);
@@ -7234,7 +7249,7 @@ var _components;
7234
7249
  }
7235
7250
  },
7236
7251
  rows: {
7237
- type: Number,
7252
+ type: [Number, String],
7238
7253
  default: 10
7239
7254
  }
7240
7255
  },
@@ -7266,21 +7281,21 @@ var _components;
7266
7281
  return validSate;
7267
7282
  },
7268
7283
 
7269
- /**
7270
- * changeOpinion
7271
- * @desc:监听意见变化
7272
- * @author liufan
7273
- * @date 2022年10月28日
7284
+ /**
7285
+ * changeOpinion
7286
+ * @desc:监听意见变化
7287
+ * @author liufan
7288
+ * @date 2022年10月28日
7274
7289
  **/
7275
7290
  changeOpinion: function changeOpinion() {
7276
7291
  this.$emit('change', this.form.value);
7277
7292
  },
7278
7293
 
7279
- /**
7280
- * getCommonOpion
7281
- * @desc:获取意见
7282
- * @author liufan
7283
- * @date 2022年5月25日
7294
+ /**
7295
+ * getCommonOpion
7296
+ * @desc:获取意见
7297
+ * @author liufan
7298
+ * @date 2022年5月25日
7284
7299
  **/
7285
7300
  getCommonOpion: function getCommonOpion() {
7286
7301
  var _this = this;
@@ -7309,24 +7324,24 @@ var _components;
7309
7324
  });
7310
7325
  },
7311
7326
 
7312
- /**
7313
- * upDate
7314
- * @desc:修改常用语
7315
- * @author liufan
7316
- * @param {Object} val 修改值
7317
- * @date 2022年5月25日
7327
+ /**
7328
+ * upDate
7329
+ * @desc:修改常用语
7330
+ * @author liufan
7331
+ * @param {Object} val 修改值
7332
+ * @date 2022年5月25日
7318
7333
  **/
7319
7334
  upDate: function upDate(val) {
7320
7335
  this.FormData.id = val.id;
7321
7336
  this.addVisible = true;
7322
7337
  },
7323
7338
 
7324
- /**
7325
- * selectChange
7326
- * @desc:常用语选择
7327
- * @author liufan
7328
- * @param {String} val 选中值
7329
- * @date 2022年5月25日
7339
+ /**
7340
+ * selectChange
7341
+ * @desc:常用语选择
7342
+ * @author liufan
7343
+ * @param {String} val 选中值
7344
+ * @date 2022年5月25日
7330
7345
  **/
7331
7346
  selectChange: function selectChange(val) {
7332
7347
  var _this2 = this;
@@ -7345,12 +7360,12 @@ var _components;
7345
7360
  });
7346
7361
  },
7347
7362
 
7348
- /**
7349
- * del
7350
- * @desc:删除常用语
7351
- * @author liufan
7352
- * @param {Object} val 删除的数据
7353
- * @date 2022年5月25日
7363
+ /**
7364
+ * del
7365
+ * @desc:删除常用语
7366
+ * @author liufan
7367
+ * @param {Object} val 删除的数据
7368
+ * @date 2022年5月25日
7354
7369
  **/
7355
7370
  del: function del(val) {
7356
7371
  var _this3 = this;
@@ -7392,12 +7407,12 @@ var _components;
7392
7407
  }).catch(function (e) {});
7393
7408
  },
7394
7409
 
7395
- /**
7396
- * submit
7397
- * @desc:新增/编辑意见保存
7398
- * @author liufan
7399
- * @param {Object} val 保存数据
7400
- * @date 2022年5月25日
7410
+ /**
7411
+ * submit
7412
+ * @desc:新增/编辑意见保存
7413
+ * @author liufan
7414
+ * @param {Object} val 保存数据
7415
+ * @date 2022年5月25日
7401
7416
  **/
7402
7417
  submit: function submit(val) {
7403
7418
  var _this4 = this;
@@ -7452,8 +7467,8 @@ var _components;
7452
7467
 
7453
7468
  var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
7454
7469
  component_CommonOpinionsvue_type_script_lang_js_,
7455
- CommonOpinionsvue_type_template_id_f5e5d4e8_render,
7456
- CommonOpinionsvue_type_template_id_f5e5d4e8_staticRenderFns,
7470
+ CommonOpinionsvue_type_template_id_feb3781a_render,
7471
+ CommonOpinionsvue_type_template_id_feb3781a_staticRenderFns,
7457
7472
  false,
7458
7473
  null,
7459
7474
  null,
@@ -7462,8 +7477,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
7462
7477
  )
7463
7478
 
7464
7479
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
7465
- // 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=3ec67af0&
7466
- var processFormvue_type_template_id_3ec67af0_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 () {
7467
7482
  var _vm = this
7468
7483
  var _h = _vm.$createElement
7469
7484
  var _c = _vm._self._c || _h
@@ -7537,13 +7552,22 @@ var processFormvue_type_template_id_3ec67af0_render = function () {
7537
7552
  ],
7538
7553
  1
7539
7554
  ),
7540
- _vm.isSinglePage
7555
+ _vm.isSinglePage || _vm.copyHistory
7541
7556
  ? _c(
7542
7557
  "el-form-item",
7543
- { attrs: { prop: "newOpinion", label: "意见" } },
7558
+ {
7559
+ attrs: {
7560
+ prop: "newOpinion",
7561
+ label: _vm.copyHistory ? "填写意见" : "意见",
7562
+ },
7563
+ },
7544
7564
  [
7545
7565
  _c("CommonOpinions", {
7546
7566
  staticClass: "opinions",
7567
+ attrs: {
7568
+ opinion: _vm.nextNode.newOpinion,
7569
+ rows: _vm.copyHistory ? 2 : 5,
7570
+ },
7547
7571
  on: {
7548
7572
  change: function (val) {
7549
7573
  return (_vm.nextNode.newOpinion = val)
@@ -7984,11 +8008,11 @@ var processFormvue_type_template_id_3ec67af0_render = function () {
7984
8008
  1
7985
8009
  )
7986
8010
  }
7987
- var processFormvue_type_template_id_3ec67af0_staticRenderFns = []
7988
- processFormvue_type_template_id_3ec67af0_render._withStripped = true
8011
+ var processFormvue_type_template_id_4fda08fb_staticRenderFns = []
8012
+ processFormvue_type_template_id_4fda08fb_render._withStripped = true
7989
8013
 
7990
8014
 
7991
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=3ec67af0&
8015
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=4fda08fb&
7992
8016
 
7993
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&
7994
8018
  var selectUservue_type_template_id_615d0e78_render = function () {
@@ -9726,6 +9750,8 @@ var processFormvue_type_script_lang_js_components;
9726
9750
  //
9727
9751
  //
9728
9752
  //
9753
+ //
9754
+ //
9729
9755
 
9730
9756
 
9731
9757
 
@@ -9867,10 +9893,13 @@ var processFormvue_type_script_lang_js_components;
9867
9893
  this.getUserInfo();
9868
9894
  },
9869
9895
  mounted: function mounted() {
9870
- console.log('发起流程开始');
9871
9896
  this.getNodeType();
9872
9897
  this.getStartFlow(this.processDefinitionId);
9873
- this.newOpinion = this.opinion;
9898
+ if (this.copyHistory) {
9899
+ this.nextNode.newOpinion = this.opinion;
9900
+ } else {
9901
+ this.newOpinion = this.opinion;
9902
+ }
9874
9903
  },
9875
9904
 
9876
9905
  methods: {
@@ -10091,7 +10120,7 @@ var processFormvue_type_script_lang_js_components;
10091
10120
  var newParm = {};
10092
10121
  newParm.copyHistory = _this4.copyHistory === 'needCopyPendedHistory';
10093
10122
  newParm.startFlowParamJson = params;
10094
- newParm.startFlowParamJson.businessId = '93f66a39a52c47deb7a9a25b6424f089'; //this.id
10123
+ newParm.startFlowParamJson.businessId = _this4.id; //this.id
10095
10124
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
10096
10125
  for (var key in _this4.taskParams) {
10097
10126
  if (Array.isArray(_this4.taskParams[key])) {
@@ -10101,7 +10130,11 @@ var processFormvue_type_script_lang_js_components;
10101
10130
  newParm.submitTaskParamJson = JSON.stringify(_this4.taskParams);
10102
10131
  params = newParm;
10103
10132
  }
10104
- util["a" /* default */].ajax({ url: _this4.isFreeStartFlow ? api["z" /* freeStartFlowWithSubmitTask */] : api["pb" /* register */], method: 'post', data: params }).then(function (res) {
10133
+ util["a" /* default */].ajax({
10134
+ url: _this4.isFreeStartFlow ? api["z" /* freeStartFlowWithSubmitTask */] : api["pb" /* register */],
10135
+ method: 'post',
10136
+ data: params
10137
+ }).then(function (res) {
10105
10138
  var status = res.status,
10106
10139
  message = res.message;
10107
10140
 
@@ -10246,11 +10279,11 @@ var processFormvue_type_script_lang_js_components;
10246
10279
  });
10247
10280
  },
10248
10281
 
10249
- /**
10250
- * isMultiple
10251
- * @desc:是否多选
10252
- * @author liufan
10253
- * @date 2022年9月13日
10282
+ /**
10283
+ * isMultiple
10284
+ * @desc:是否多选
10285
+ * @author liufan
10286
+ * @date 2022年9月13日
10254
10287
  **/
10255
10288
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
10256
10289
  var multiple = false;
@@ -10403,8 +10436,8 @@ var processFormvue_type_script_lang_js_components;
10403
10436
 
10404
10437
  var processForm_component = Object(componentNormalizer["a" /* default */])(
10405
10438
  src_processFormvue_type_script_lang_js_,
10406
- processFormvue_type_template_id_3ec67af0_render,
10407
- processFormvue_type_template_id_3ec67af0_staticRenderFns,
10439
+ processFormvue_type_template_id_4fda08fb_render,
10440
+ processFormvue_type_template_id_4fda08fb_staticRenderFns,
10408
10441
  false,
10409
10442
  null,
10410
10443
  null,
@@ -10416,8 +10449,8 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
10416
10449
  // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
10417
10450
  var FileList = __webpack_require__(17);
10418
10451
 
10419
- // 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&
10420
- 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 () {
10421
10454
  var _vm = this
10422
10455
  var _h = _vm.$createElement
10423
10456
  var _c = _vm._self._c || _h
@@ -10506,7 +10539,7 @@ var SendMsgvue_type_template_id_6b27baa2_render = function () {
10506
10539
  _c("el-input", {
10507
10540
  attrs: {
10508
10541
  type: "textarea",
10509
- rows: 2,
10542
+ autosize: "",
10510
10543
  readonly: _vm.notificationMessageReadOnly,
10511
10544
  },
10512
10545
  model: {
@@ -10622,11 +10655,11 @@ var SendMsgvue_type_template_id_6b27baa2_render = function () {
10622
10655
  1
10623
10656
  )
10624
10657
  }
10625
- var SendMsgvue_type_template_id_6b27baa2_staticRenderFns = []
10626
- 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
10627
10660
 
10628
10661
 
10629
- // 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&
10630
10663
 
10631
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&
10632
10665
  //
@@ -10878,8 +10911,8 @@ SendMsgvue_type_template_id_6b27baa2_render._withStripped = true
10878
10911
 
10879
10912
  var SendMsg_component = Object(componentNormalizer["a" /* default */])(
10880
10913
  component_SendMsgvue_type_script_lang_js_,
10881
- SendMsgvue_type_template_id_6b27baa2_render,
10882
- SendMsgvue_type_template_id_6b27baa2_staticRenderFns,
10914
+ SendMsgvue_type_template_id_798f665c_render,
10915
+ SendMsgvue_type_template_id_798f665c_staticRenderFns,
10883
10916
  false,
10884
10917
  null,
10885
10918
  null,
@@ -12902,8 +12935,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
12902
12935
  )
12903
12936
 
12904
12937
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
12905
- // 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=138bb789&
12906
- var resetvue_type_template_id_138bb789_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 () {
12907
12940
  var _vm = this
12908
12941
  var _h = _vm.$createElement
12909
12942
  var _c = _vm._self._c || _h
@@ -12940,13 +12973,7 @@ var resetvue_type_template_id_138bb789_render = function () {
12940
12973
  [
12941
12974
  _c(
12942
12975
  "div",
12943
- {
12944
- staticStyle: {
12945
- height: "430px",
12946
- "overflow-y": "auto",
12947
- "margin-bottom": "10px",
12948
- },
12949
- },
12976
+ { staticStyle: { "margin-bottom": "10px" } },
12950
12977
  [
12951
12978
  _c(
12952
12979
  "el-form-item",
@@ -13334,11 +13361,11 @@ var resetvue_type_template_id_138bb789_render = function () {
13334
13361
  1
13335
13362
  )
13336
13363
  }
13337
- var resetvue_type_template_id_138bb789_staticRenderFns = []
13338
- resetvue_type_template_id_138bb789_render._withStripped = true
13364
+ var resetvue_type_template_id_5f0800ef_staticRenderFns = []
13365
+ resetvue_type_template_id_5f0800ef_render._withStripped = true
13339
13366
 
13340
13367
 
13341
- // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=138bb789&
13368
+ // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=5f0800ef&
13342
13369
 
13343
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&
13344
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; };
@@ -14061,11 +14088,11 @@ var resetvue_type_script_lang_js_components;
14061
14088
  });
14062
14089
  },
14063
14090
 
14064
- /**
14065
- * isMultiple
14066
- * @desc:是否多选
14067
- * @author liufan
14068
- * @date 2022年9月13日
14091
+ /**
14092
+ * isMultiple
14093
+ * @desc:是否多选
14094
+ * @author liufan
14095
+ * @date 2022年9月13日
14069
14096
  **/
14070
14097
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
14071
14098
  var multiple = false;
@@ -14120,7 +14147,6 @@ var resetvue_type_script_lang_js_components;
14120
14147
  _this7.readOnlyNotificationType = data.readOnlyNotificationType;
14121
14148
  _this7.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
14122
14149
  var flowList = [];
14123
- console.log(data.taskNodeList);
14124
14150
  if (data.taskNodeList && data.taskNodeList.length > 0) {
14125
14151
  for (var key in data.taskNodeList[0]) {
14126
14152
  flowList.push({
@@ -14138,7 +14164,6 @@ var resetvue_type_script_lang_js_components;
14138
14164
  }
14139
14165
 
14140
14166
  _this7.nextNode.nodeInfo = flowList;
14141
- console.log(_this7.nextNode.nodeInfo, 'this.nextNode.nodeInfo');
14142
14167
  _this7.nextNode.nextNode = flowList[0].nodeId;
14143
14168
  _this7.taskExamine = data.taskExamine;
14144
14169
  _this7.processDefinitionId = data.taskExamine.processDefinitionId;
@@ -14198,8 +14223,8 @@ var resetvue_type_script_lang_js_components;
14198
14223
 
14199
14224
  var reset_component = Object(componentNormalizer["a" /* default */])(
14200
14225
  src_resetvue_type_script_lang_js_,
14201
- resetvue_type_template_id_138bb789_render,
14202
- resetvue_type_template_id_138bb789_staticRenderFns,
14226
+ resetvue_type_template_id_5f0800ef_render,
14227
+ resetvue_type_template_id_5f0800ef_staticRenderFns,
14203
14228
  false,
14204
14229
  null,
14205
14230
  null,
@@ -14208,8 +14233,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
14208
14233
  )
14209
14234
 
14210
14235
  /* harmony default export */ var src_reset = (reset_component.exports);
14211
- // 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/taskUnionExamine.vue?vue&type=template&id=e8b3de86&
14212
- var taskUnionExaminevue_type_template_id_e8b3de86_render = function () {
14236
+ // 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/taskUnionExamine.vue?vue&type=template&id=3d269602&
14237
+ var taskUnionExaminevue_type_template_id_3d269602_render = function () {
14213
14238
  var _vm = this
14214
14239
  var _h = _vm.$createElement
14215
14240
  var _c = _vm._self._c || _h
@@ -14448,7 +14473,7 @@ var taskUnionExaminevue_type_template_id_e8b3de86_render = function () {
14448
14473
  attrs: { type: "primary", size: "small" },
14449
14474
  on: { click: _vm.subMit },
14450
14475
  },
14451
- [_vm._v("\n 确定\n ")]
14476
+ [_vm._v(" 确定 ")]
14452
14477
  ),
14453
14478
  _c(
14454
14479
  "el-button",
@@ -14462,11 +14487,11 @@ var taskUnionExaminevue_type_template_id_e8b3de86_render = function () {
14462
14487
  1
14463
14488
  )
14464
14489
  }
14465
- var taskUnionExaminevue_type_template_id_e8b3de86_staticRenderFns = []
14466
- taskUnionExaminevue_type_template_id_e8b3de86_render._withStripped = true
14490
+ var taskUnionExaminevue_type_template_id_3d269602_staticRenderFns = []
14491
+ taskUnionExaminevue_type_template_id_3d269602_render._withStripped = true
14467
14492
 
14468
14493
 
14469
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=e8b3de86&
14494
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=3d269602&
14470
14495
 
14471
14496
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
14472
14497
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -14600,9 +14625,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
14600
14625
  //
14601
14626
  //
14602
14627
  //
14603
- //
14604
- //
14605
- //
14606
14628
 
14607
14629
 
14608
14630
 
@@ -14784,7 +14806,9 @@ var taskUnionExaminevue_type_script_lang_js_components;
14784
14806
  _this3.currentOrgTabs = res.data.customizedConfig.currentOrgSelectorItemList.split(',');
14785
14807
  var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
14786
14808
  _this3.currentOrgTabs.map(function (x, i) {
14787
- _this3.params[x] = { filid: param[i] == 'my' ? _this3.params.filid = JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId : param[i] };
14809
+ _this3.params[x] = {
14810
+ filid: param[i] == 'my' ? _this3.params.filid = JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId : param[i]
14811
+ };
14788
14812
  });
14789
14813
  } else {
14790
14814
  if (_this3.type == 'takeAdvice') {
@@ -14888,7 +14912,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
14888
14912
  method: 'POST'
14889
14913
  };
14890
14914
  this.loading = true;
14891
- console.log(param.data, nextCurrentOrgObj, 'data');
14892
14915
  util["a" /* default */].ajax(param).then(function (res) {
14893
14916
  var message = res.message,
14894
14917
  status = res.status;
@@ -15023,8 +15046,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
15023
15046
 
15024
15047
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
15025
15048
  component_taskUnionExaminevue_type_script_lang_js_,
15026
- taskUnionExaminevue_type_template_id_e8b3de86_render,
15027
- taskUnionExaminevue_type_template_id_e8b3de86_staticRenderFns,
15049
+ taskUnionExaminevue_type_template_id_3d269602_render,
15050
+ taskUnionExaminevue_type_template_id_3d269602_staticRenderFns,
15028
15051
  false,
15029
15052
  null,
15030
15053
  null,
@@ -18431,11 +18454,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18431
18454
  });
18432
18455
  },
18433
18456
 
18434
- /**
18435
- * saveInfo
18436
- * @desc:暂存
18437
- * @author liufan
18438
- * @date 2022年9月9日
18457
+ /**
18458
+ * saveInfo
18459
+ * @desc:暂存
18460
+ * @author liufan
18461
+ * @date 2022年9月9日
18439
18462
  **/
18440
18463
  saveInfo: function saveInfo(type, btn) {
18441
18464
  var _this6 = this;
@@ -18497,11 +18520,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18497
18520
  });
18498
18521
  },
18499
18522
 
18500
- /**
18501
- * rejectBtn
18502
- * @desc:点击驳回
18503
- * @author liufan
18504
- * @date 2022年5月25日
18523
+ /**
18524
+ * rejectBtn
18525
+ * @desc:点击驳回
18526
+ * @author liufan
18527
+ * @date 2022年5月25日
18505
18528
  **/
18506
18529
  rejectBtn: function rejectBtn() {
18507
18530
  var _this8 = this;
@@ -18519,11 +18542,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18519
18542
  }
18520
18543
  },
18521
18544
 
18522
- /**
18523
- * taskReadBtn
18524
- * @desc:点击分阅
18525
- * @author liufan
18526
- * @date 2022年5月25日
18545
+ /**
18546
+ * taskReadBtn
18547
+ * @desc:点击分阅
18548
+ * @author liufan
18549
+ * @date 2022年5月25日
18527
18550
  **/
18528
18551
  taskReadBtn: function taskReadBtn() {
18529
18552
  var _this9 = this;
@@ -18542,11 +18565,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18542
18565
  }
18543
18566
  },
18544
18567
 
18545
- /**
18546
- * getFind
18547
- * @desc:获取通知方式
18548
- * @author liufan
18549
- * @date 2022年5月25日
18568
+ /**
18569
+ * getFind
18570
+ * @desc:获取通知方式
18571
+ * @author liufan
18572
+ * @date 2022年5月25日
18550
18573
  **/
18551
18574
  getFind: function getFind() {
18552
18575
  var _this10 = this;
@@ -18601,12 +18624,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18601
18624
  });
18602
18625
  },
18603
18626
 
18604
- /**
18605
- * endFlows
18606
- * @desc:直接办结
18607
- * @author liufan
18608
- * @param {Object} res 直接办结数据
18609
- * @date 2022年5月25日
18627
+ /**
18628
+ * endFlows
18629
+ * @desc:直接办结
18630
+ * @author liufan
18631
+ * @param {Object} res 直接办结数据
18632
+ * @date 2022年5月25日
18610
18633
  **/
18611
18634
  endFlows: function endFlows(res) {
18612
18635
  var _this12 = this;
@@ -18660,12 +18683,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18660
18683
  }).catch(function (e) {});
18661
18684
  },
18662
18685
 
18663
- /**
18664
- * goView
18665
- * @desc:更多流程按钮操作
18666
- * @author liufan
18667
- * @param {Object} res 当前点击操作按钮数据
18668
- * @date 2022年5月25日
18686
+ /**
18687
+ * goView
18688
+ * @desc:更多流程按钮操作
18689
+ * @author liufan
18690
+ * @param {Object} res 当前点击操作按钮数据
18691
+ * @date 2022年5月25日
18669
18692
  **/
18670
18693
  goView: function goView(res) {
18671
18694
  // 驳回并办结:rejectAndEndHtml
@@ -18750,11 +18773,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18750
18773
  // isCanStartSubFlow
18751
18774
  },
18752
18775
 
18753
- /**
18754
- * toTakeAdvice
18755
- * @desc:征求意见
18756
- * @author liufan
18757
- * @date 2022年9月29日
18776
+ /**
18777
+ * toTakeAdvice
18778
+ * @desc:征求意见
18779
+ * @author liufan
18780
+ * @date 2022年9月29日
18758
18781
  **/
18759
18782
  toTakeAdvice: function toTakeAdvice(res) {
18760
18783
  var _this14 = this;
@@ -18798,11 +18821,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18798
18821
  });
18799
18822
  },
18800
18823
 
18801
- /**
18802
- * toStartDraf
18803
- * @desc: 稿件递送、联合审核、复核
18804
- * @author liufan
18805
- * @date 2022年9月29日
18824
+ /**
18825
+ * toStartDraf
18826
+ * @desc: 稿件递送、联合审核、复核
18827
+ * @author liufan
18828
+ * @date 2022年9月29日
18806
18829
  **/
18807
18830
  toStartDraf: function toStartDraf(res) {
18808
18831
  var _this16 = this;
@@ -18816,11 +18839,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18816
18839
  }
18817
18840
  },
18818
18841
 
18819
- /**
18820
- * toSendMsg
18821
- * @desc:核稿通知
18822
- * @author liufan
18823
- * @date 2022年9月29日
18842
+ /**
18843
+ * toSendMsg
18844
+ * @desc:核稿通知
18845
+ * @author liufan
18846
+ * @date 2022年9月29日
18824
18847
  **/
18825
18848
  toSendMsg: function toSendMsg(res) {
18826
18849
  var _this17 = this;
@@ -18834,11 +18857,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18834
18857
  }
18835
18858
  },
18836
18859
 
18837
- /**
18838
- * toTaskReadAndEnd
18839
- * @desc:分阅并办结
18840
- * @author liufan
18841
- * @date 2022年9月29日
18860
+ /**
18861
+ * toTaskReadAndEnd
18862
+ * @desc:分阅并办结
18863
+ * @author liufan
18864
+ * @date 2022年9月29日
18842
18865
  **/
18843
18866
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
18844
18867
  var _this18 = this;
@@ -18856,11 +18879,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18856
18879
  }
18857
18880
  },
18858
18881
 
18859
- /**
18860
- * rejectAndEnd
18861
- * @desc:驳回并办结
18862
- * @author liufan
18863
- * @date 2022年9月29日
18882
+ /**
18883
+ * rejectAndEnd
18884
+ * @desc:驳回并办结
18885
+ * @author liufan
18886
+ * @date 2022年9月29日
18864
18887
  **/
18865
18888
  rejectAndEnd: function rejectAndEnd(res) {
18866
18889
  var _this19 = this;
@@ -18915,11 +18938,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18915
18938
  });
18916
18939
  },
18917
18940
 
18918
- /**
18919
- * toTransfer
18920
- * @desc:转办
18921
- * @author liufan
18922
- * @date 2022年9月29日
18941
+ /**
18942
+ * toTransfer
18943
+ * @desc:转办
18944
+ * @author liufan
18945
+ * @date 2022年9月29日
18923
18946
  **/
18924
18947
  toTransfer: function toTransfer(res) {
18925
18948
  var _this21 = this;
@@ -18935,11 +18958,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18935
18958
  }
18936
18959
  },
18937
18960
 
18938
- /**
18939
- * getNodeInfo
18940
- * @desc:获取节点信息
18941
- * @author liufan
18942
- * @date 2022年5月25日
18961
+ /**
18962
+ * getNodeInfo
18963
+ * @desc:获取节点信息
18964
+ * @author liufan
18965
+ * @date 2022年5月25日
18943
18966
  **/
18944
18967
  getNodeInfo: function getNodeInfo() {
18945
18968
  var _this22 = this;
@@ -19038,12 +19061,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19038
19061
  });
19039
19062
  },
19040
19063
 
19041
- /**
19042
- * selecNext
19043
- * @desc:下步节点变化时更新数据
19044
- * @author liufan
19045
- * @param {String} val 当前选中值
19046
- * @date 2022年5月25日
19064
+ /**
19065
+ * selecNext
19066
+ * @desc:下步节点变化时更新数据
19067
+ * @author liufan
19068
+ * @param {String} val 当前选中值
19069
+ * @date 2022年5月25日
19047
19070
  **/
19048
19071
  selecNext: function selecNext(val, type, isDef) {
19049
19072
  var _this23 = this;
@@ -19152,11 +19175,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19152
19175
  if (isDef !== true) this.getNodeInfo();
19153
19176
  },
19154
19177
 
19155
- /**
19156
- * isMultiple
19157
- * @desc:是否多选
19158
- * @author liufan
19159
- * @date 2022年9月13日
19178
+ /**
19179
+ * isMultiple
19180
+ * @desc:是否多选
19181
+ * @author liufan
19182
+ * @date 2022年9月13日
19160
19183
  **/
19161
19184
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
19162
19185
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -19188,11 +19211,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19188
19211
  }
19189
19212
  },
19190
19213
 
19191
- /**
19192
- * getHedInfo
19193
- * @desc:获取审核页面数据
19194
- * @author liufan
19195
- * @date 2022年5月25日
19214
+ /**
19215
+ * getHedInfo
19216
+ * @desc:获取审核页面数据
19217
+ * @author liufan
19218
+ * @date 2022年5月25日
19196
19219
  **/
19197
19220
  getHedInfo: function getHedInfo() {
19198
19221
  var _this24 = this;
@@ -19428,13 +19451,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19428
19451
  });
19429
19452
  },
19430
19453
 
19431
- /**
19432
- * closeProcess
19433
- * @desc:关闭弹窗
19434
- * @author liufan
19435
- * @param {boolean} val 当前是否办理流程
19436
- * @param {String} type 当前点击的弹窗类型
19437
- * @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日
19438
19461
  **/
19439
19462
  closeProcess: function closeProcess(val, type, closeParent) {
19440
19463
  if (closeParent) {
@@ -19451,23 +19474,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19451
19474
  }
19452
19475
  },
19453
19476
 
19454
- /**
19455
- * selectChange
19456
- * @desc:常用语选择
19457
- * @author liufan
19458
- * @param {String} val 选中值
19459
- * @date 2022年5月25日
19477
+ /**
19478
+ * selectChange
19479
+ * @desc:常用语选择
19480
+ * @author liufan
19481
+ * @param {String} val 选中值
19482
+ * @date 2022年5月25日
19460
19483
  **/
19461
19484
  selectChange: function selectChange(val) {
19462
19485
  this.value = val;
19463
19486
  },
19464
19487
 
19465
- /**
19466
- * upDate
19467
- * @desc:修改常用语
19468
- * @author liufan
19469
- * @param {Object} val 修改值
19470
- * @date 2022年5月25日
19488
+ /**
19489
+ * upDate
19490
+ * @desc:修改常用语
19491
+ * @author liufan
19492
+ * @param {Object} val 修改值
19493
+ * @date 2022年5月25日
19471
19494
  **/
19472
19495
  upDate: function upDate(val) {
19473
19496
  this.FormData.id = val.id;
@@ -19475,11 +19498,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19475
19498
  },
19476
19499
 
19477
19500
 
19478
- /**
19479
- * getProcess
19480
- * @desc:获取选择流程
19481
- * @author liufan
19482
- * @date 2022年5月25日
19501
+ /**
19502
+ * getProcess
19503
+ * @desc:获取选择流程
19504
+ * @author liufan
19505
+ * @date 2022年5月25日
19483
19506
  **/
19484
19507
  getProcess: function getProcess() {
19485
19508
  var _this25 = this;
@@ -19533,11 +19556,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19533
19556
  });
19534
19557
  },
19535
19558
 
19536
- /**
19537
- * getPendedhistoryList
19538
- * @desc:获取流程列表
19539
- * @author liufan
19540
- * @date 2022年5月25日
19559
+ /**
19560
+ * getPendedhistoryList
19561
+ * @desc:获取流程列表
19562
+ * @author liufan
19563
+ * @date 2022年5月25日
19541
19564
  **/
19542
19565
  getPendedhistoryList: function getPendedhistoryList() {
19543
19566
  var _this26 = this;
@@ -19569,12 +19592,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19569
19592
  },
19570
19593
 
19571
19594
  // 提交流程
19572
- /**
19573
- * subProcess
19574
- * @desc:提交流程
19575
- * @author liufan
19576
- * @param {String} formName 当前form表单ref值
19577
- * @date 2022年5月25日
19595
+ /**
19596
+ * subProcess
19597
+ * @desc:提交流程
19598
+ * @author liufan
19599
+ * @param {String} formName 当前form表单ref值
19600
+ * @date 2022年5月25日
19578
19601
  **/
19579
19602
  subProcess: function subProcess(val) {
19580
19603
  var _this27 = this;
@@ -20596,6 +20619,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20596
20619
  //
20597
20620
  //
20598
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
+ //
20599
20666
 
20600
20667
 
20601
20668
 
@@ -20651,6 +20718,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20651
20718
  resetAppId: { type: String },
20652
20719
  userSelectRange: {
20653
20720
  type: String
20721
+ },
20722
+ rows: {
20723
+ type: [String, Number],
20724
+ default: 10
20654
20725
  }
20655
20726
  },
20656
20727
  data: function data() {
@@ -20660,7 +20731,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20660
20731
  styles: {},
20661
20732
  userModel: {},
20662
20733
  showFreeStartFlow: false, //自由发起流程弹窗
20663
- freeStartFlowParam: {}, //自由发起流程参数
20734
+ freeStartFlowParams: {}, //自由发起流程参数
20735
+ freeStartFlowNextNode: undefined,
20664
20736
  otherOrgDisabledObjId: [],
20665
20737
  currentOrgDisabledObjId: [],
20666
20738
  nextNodeCheckType: 'select',
@@ -20708,6 +20780,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20708
20780
  endFlowInfo: {},
20709
20781
  isCanFenyue: '0',
20710
20782
  appId: '',
20783
+ currentNodeIsCircularReadNode: false,
20711
20784
  multiple: false, //是否多选(true/false)
20712
20785
  readMultiple: true, //分阅用户是否多选(true/false)
20713
20786
  selectReadUserList: [], //选中分阅用户
@@ -20865,6 +20938,15 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20865
20938
  }
20866
20939
  },
20867
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
+ },
20868
20950
  freeStartFlowSuccess: function freeStartFlowSuccess() {
20869
20951
  this.showFreeStartFlow = false;
20870
20952
  this.$emit('success');
@@ -20934,7 +21016,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20934
21016
 
20935
21017
  //获取附件
20936
21018
  getFile: function getFile(ownId, code) {
20937
- var _this = this;
21019
+ var _this2 = this;
20938
21020
 
20939
21021
  var params = {
20940
21022
  url: api["A" /* getAdjunctFileInfos */],
@@ -20946,13 +21028,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20946
21028
  msg = res.msg;
20947
21029
 
20948
21030
  if (rCode == 0) {
20949
- results && (_this.fileNum = results.length);
21031
+ results && (_this2.fileNum = results.length);
20950
21032
  } else {
20951
- _this.$message.error(msg || '系统错误,请联系管理员!');
21033
+ _this2.$message.error(msg || '系统错误,请联系管理员!');
20952
21034
  }
20953
21035
  }).catch(function (err) {
20954
21036
  if (err.message && err.message !== 'canceled') {
20955
- _this.$message.error(err.message);
21037
+ _this2.$message.error(err.message);
20956
21038
  }
20957
21039
  });
20958
21040
  },
@@ -20999,7 +21081,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
20999
21081
  }
21000
21082
  },
21001
21083
  taskRead: function taskRead() {
21002
- var _this2 = this;
21084
+ var _this3 = this;
21003
21085
 
21004
21086
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
21005
21087
  if (!this.$refs.commonOpinions.validate()) return;
@@ -21009,8 +21091,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21009
21091
  cancelButtonText: '取消',
21010
21092
  type: 'warning'
21011
21093
  }).then(function () {
21012
- _this2.loading = util["a" /* default */].loading(_this2.$loading, '加载中...');
21013
- var _taskExamineInfo = _this2.taskExamineInfo,
21094
+ _this3.loading = util["a" /* default */].loading(_this3.$loading, '加载中...');
21095
+ var _taskExamineInfo = _this3.taskExamineInfo,
21014
21096
  businessId = _taskExamineInfo.businessId,
21015
21097
  appId = _taskExamineInfo.appId,
21016
21098
  processDefinitionId = _taskExamineInfo.processDefinitionId,
@@ -21021,7 +21103,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21021
21103
  appId: appId,
21022
21104
  processDefinitionId: processDefinitionId,
21023
21105
  pendingId: pendingId,
21024
- opinion: _this2.value,
21106
+ opinion: _this3.value,
21025
21107
  taskAction: 'complete'
21026
21108
  };
21027
21109
  util["a" /* default */].ajax({
@@ -21036,24 +21118,24 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21036
21118
  var status = res.status,
21037
21119
  message = res.message;
21038
21120
 
21039
- _this2.loading.close();
21121
+ _this3.loading.close();
21040
21122
  if (status === 'success') {
21041
- _this2.$message.success('提交成功');
21042
- _this2.$emit('success');
21123
+ _this3.$message.success('提交成功');
21124
+ _this3.$emit('success');
21043
21125
  } else {
21044
- _this2.$message.error(message || '系统错误,请联系管理员!');
21045
- _this2.$emit('error');
21126
+ _this3.$message.error(message || '系统错误,请联系管理员!');
21127
+ _this3.$emit('error');
21046
21128
  }
21047
21129
  }).catch(function (err) {
21048
- _this2.loading.close();
21130
+ _this3.loading.close();
21049
21131
  if (err.message && err.message !== 'canceled') {
21050
- _this2.$message.error(err.message);
21132
+ _this3.$message.error(err.message);
21051
21133
  }
21052
21134
  });
21053
21135
  }).catch(function () {});
21054
21136
  },
21055
21137
  getTaskReadFlow: function getTaskReadFlow() {
21056
- var _this3 = this;
21138
+ var _this4 = this;
21057
21139
 
21058
21140
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21059
21141
  util["a" /* default */].ajax({
@@ -21068,26 +21150,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21068
21150
  taskReadOpinionRequired = _res$data.taskReadOpinionRequired;
21069
21151
 
21070
21152
  if (status === 'success') {
21071
- _this3.taskExamineInfo = taskExamine;
21072
- _this3.taskReadOpinionRequired = taskReadOpinionRequired;
21073
- _this3.isCanFenyue = isCanFenyue;
21074
- if (_this3.nodeName) {
21075
- _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;
21076
21158
  }
21077
- _this3.getNodeType();
21159
+ _this4.getNodeType();
21078
21160
  } else {
21079
- _this3.$message.error(message || '系统错误,请联系管理员!');
21161
+ _this4.$message.error(message || '系统错误,请联系管理员!');
21080
21162
  }
21081
- _this3.loading.close();
21163
+ _this4.loading.close();
21082
21164
  }).catch(function (err) {
21083
- _this3.loading.close();
21165
+ _this4.loading.close();
21084
21166
  if (err.message && err.message !== 'canceled') {
21085
- _this3.$message.error(err.message);
21167
+ _this4.$message.error(err.message);
21086
21168
  }
21087
21169
  });
21088
21170
  },
21089
21171
  getUserInfo: function getUserInfo() {
21090
- var _this4 = this;
21172
+ var _this5 = this;
21091
21173
 
21092
21174
  var mainConfig = util["a" /* default */].getStorage('mainConfig');
21093
21175
  if (mainConfig) {
@@ -21098,14 +21180,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21098
21180
  data = res.data;
21099
21181
 
21100
21182
  if (status == 'success') {
21101
- _this4.userModel = data;
21183
+ _this5.userModel = data;
21102
21184
  } else {
21103
21185
  var msg = res.msg || '系统错误,请联系管理员!';
21104
- _this4.$message.error(msg);
21186
+ _this5.$message.error(msg);
21105
21187
  }
21106
21188
  }).catch(function (err) {
21107
21189
  if (err.message && err.message !== 'canceled') {
21108
- _this4.$message.error(err.message);
21190
+ _this5.$message.error(err.message);
21109
21191
  }
21110
21192
  });
21111
21193
  }
@@ -21125,7 +21207,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21125
21207
  }
21126
21208
  },
21127
21209
  getNodeType: function getNodeType() {
21128
- var _this5 = this;
21210
+ var _this6 = this;
21129
21211
 
21130
21212
  util["a" /* default */].ajax({
21131
21213
  url: api["u" /* findCodeValues */],
@@ -21138,33 +21220,33 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21138
21220
  data = res.data;
21139
21221
 
21140
21222
  if (status === 'success') {
21141
- _this5.newsList = data;
21223
+ _this6.newsList = data;
21142
21224
  }
21143
21225
  }).catch(function (err) {
21144
21226
  if (err.message && err.message !== 'canceled') {
21145
- _this5.$message.error(err.message);
21227
+ _this6.$message.error(err.message);
21146
21228
  }
21147
21229
  });
21148
21230
  },
21149
21231
 
21150
- /**
21151
- * saveInfo
21152
- * @desc:暂存
21153
- * @author liufan
21154
- * @date 2022年9月9日
21232
+ /**
21233
+ * saveInfo
21234
+ * @desc:暂存
21235
+ * @author liufan
21236
+ * @date 2022年9月9日
21155
21237
  **/
21156
21238
  saveInfo: function saveInfo(type, btn) {
21157
- var _this6 = this;
21239
+ var _this7 = this;
21158
21240
 
21159
21241
  if (this.isFlow) {
21160
21242
  if (!type) {
21161
21243
  if (btn && btn.before) {
21162
21244
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
21163
- _this6.$emit('save', _this6.businessIds);
21245
+ _this7.$emit('save', _this7.businessIds);
21164
21246
  }).catch(function (e) {});
21165
21247
  } else if (this.beforeSubmit != undefined) {
21166
21248
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
21167
- _this6.$emit('save', _this6.businessIds);
21249
+ _this7.$emit('save', _this7.businessIds);
21168
21250
  }).catch(function (e) {});
21169
21251
  } else {
21170
21252
  this.$emit('save', this.businessIds);
@@ -21173,13 +21255,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21173
21255
  } else {
21174
21256
  if (btn && btn.before && !type) {
21175
21257
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
21176
- _this6.saveFlowInfo();
21258
+ _this7.saveFlowInfo();
21177
21259
  }).catch(function (e) {});
21178
21260
  } else if (this.beforeSubmit == undefined && !type) {
21179
21261
  this.subFun(this.saveFlowInfo);
21180
21262
  } else if (!type && this.beforeSubmit != undefined) {
21181
21263
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
21182
- _this6.saveFlowInfo();
21264
+ _this7.saveFlowInfo();
21183
21265
  }).catch(function (e) {});
21184
21266
  } else {
21185
21267
  this.saveFlowInfo(type);
@@ -21187,7 +21269,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21187
21269
  }
21188
21270
  },
21189
21271
  saveFlowInfo: function saveFlowInfo(isSave) {
21190
- var _this7 = this;
21272
+ var _this8 = this;
21191
21273
 
21192
21274
  var params = {
21193
21275
  opinion: this.value,
@@ -21198,29 +21280,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21198
21280
  var status = res.status,
21199
21281
  message = res.message;
21200
21282
 
21201
- if (!isSave) _this7.loading.close();
21283
+ if (!isSave) _this8.loading.close();
21202
21284
  if (status == 'success') {
21203
21285
  // this.$message.success('暂存成功');
21204
- !isSave && _this7.$emit('save', _this7.businessIds);
21286
+ !isSave && _this8.$emit('save', _this8.businessIds);
21205
21287
  } else {
21206
- _this7.$message.error(message || '系统错误,请联系管理员!');
21288
+ _this8.$message.error(message || '系统错误,请联系管理员!');
21207
21289
  }
21208
21290
  }).catch(function (err) {
21209
- if (!isSave) _this7.loading.close();
21291
+ if (!isSave) _this8.loading.close();
21210
21292
  if (err.message && err.message !== 'canceled') {
21211
- _this7.$message.error(err.message);
21293
+ _this8.$message.error(err.message);
21212
21294
  }
21213
21295
  });
21214
21296
  },
21215
21297
 
21216
- /**
21217
- * rejectBtn
21218
- * @desc:点击驳回
21219
- * @author liufan
21220
- * @date 2022年5月25日
21298
+ /**
21299
+ * rejectBtn
21300
+ * @desc:点击驳回
21301
+ * @author liufan
21302
+ * @date 2022年5月25日
21221
21303
  **/
21222
21304
  rejectBtn: function rejectBtn() {
21223
- var _this8 = this;
21305
+ var _this9 = this;
21224
21306
 
21225
21307
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
21226
21308
  if (!this.value) {
@@ -21228,28 +21310,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21228
21310
  }
21229
21311
  if (this.beforeSubmit != undefined) {
21230
21312
  this.beforeSubmit(0).then(function (next) {
21231
- _this8.showReject = true;
21313
+ _this9.showReject = true;
21232
21314
  }).catch(function (e) {});
21233
21315
  } else {
21234
21316
  this.showReject = true;
21235
21317
  }
21236
21318
  },
21237
21319
 
21238
- /**
21239
- * taskReadBtn
21240
- * @desc:点击分阅
21241
- * @author liufan
21242
- * @date 2022年5月25日
21320
+ /**
21321
+ * taskReadBtn
21322
+ * @desc:点击分阅
21323
+ * @author liufan
21324
+ * @date 2022年5月25日
21243
21325
  **/
21244
21326
  taskReadBtn: function taskReadBtn() {
21245
- var _this9 = this;
21327
+ var _this10 = this;
21246
21328
 
21247
21329
  // return this.$message.warning('暂未开放!敬请期待');
21248
21330
  if (this.beforeSubmit != undefined) {
21249
21331
  this.beforeSubmit().then(function (next) {
21250
- if (_this9.value === '') _this9.value = _this9.nodeDefaultRejectOpinion;
21251
- _this9.taskReadType = 'create';
21252
- _this9.showTaskRead = true;
21332
+ if (_this10.value === '') _this10.value = _this10.nodeDefaultRejectOpinion;
21333
+ _this10.taskReadType = 'create';
21334
+ _this10.showTaskRead = true;
21253
21335
  }).catch(function (e) {});
21254
21336
  } else {
21255
21337
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -21258,14 +21340,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21258
21340
  }
21259
21341
  },
21260
21342
 
21261
- /**
21262
- * getFind
21263
- * @desc:获取通知方式
21264
- * @author liufan
21265
- * @date 2022年5月25日
21343
+ /**
21344
+ * getFind
21345
+ * @desc:获取通知方式
21346
+ * @author liufan
21347
+ * @date 2022年5月25日
21266
21348
  **/
21267
21349
  getFind: function getFind() {
21268
- var _this10 = this;
21350
+ var _this11 = this;
21269
21351
 
21270
21352
  util["a" /* default */].ajax({
21271
21353
  url: api["w" /* findSysCodes */]
@@ -21274,25 +21356,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21274
21356
  message = res.message;
21275
21357
 
21276
21358
  if (status === 'success') {
21277
- _this10.nextNode.notificationType = message.split(',');
21359
+ _this11.nextNode.notificationType = message.split(',');
21278
21360
  var arr = [];
21279
- _this10.newsList.map(function (item) {
21280
- _this10.nextNode.notificationType.map(function (x) {
21361
+ _this11.newsList.map(function (item) {
21362
+ _this11.nextNode.notificationType.map(function (x) {
21281
21363
  if (x == item.cciValue) {
21282
21364
  arr.push(x);
21283
21365
  }
21284
21366
  });
21285
21367
  });
21286
- _this10.nextNode.notificationType = arr;
21368
+ _this11.nextNode.notificationType = arr;
21287
21369
  }
21288
21370
  }).catch(function (err) {
21289
21371
  if (err.message && err.message !== 'canceled') {
21290
- _this10.$message.error(err.message);
21372
+ _this11.$message.error(err.message);
21291
21373
  }
21292
21374
  });
21293
21375
  },
21294
21376
  getFreeStartParams: function getFreeStartParams() {
21295
- var _this11 = this;
21377
+ var _this12 = this;
21296
21378
 
21297
21379
  var _endFlowInfo = this.endFlowInfo,
21298
21380
  businessId = _endFlowInfo.businessId,
@@ -21307,83 +21389,91 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21307
21389
  nodeId: nodeId
21308
21390
  }
21309
21391
  };
21392
+ this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21310
21393
  util["a" /* default */].ajax(param).then(function (res) {
21394
+ _this12.loading.close();
21311
21395
  if (res.rCode == 0 || res.status == 'success') {
21312
- _this11.freeStartFlowParams = res.results;
21313
- if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this11.subProcess('同意。', res.results.useScene);
21314
- if (!_this11.freeValid) return;
21315
- _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
+ }
21316
21406
  } else {
21317
- _this11.$message.error(res.message || '系统错误,请联系管理员!');
21407
+ _this12.$message.error(res.message || '系统错误,请联系管理员!');
21318
21408
  }
21319
21409
  });
21320
21410
  },
21321
21411
 
21322
- /**
21323
- * endFlows
21324
- * @desc:直接办结
21325
- * @author liufan
21326
- * @param {Object} res 直接办结数据
21327
- * @date 2022年5月25日
21412
+ /**
21413
+ * endFlows
21414
+ * @desc:直接办结
21415
+ * @author liufan
21416
+ * @param {Object} res 直接办结数据
21417
+ * @date 2022年5月25日
21328
21418
  **/
21329
21419
  endFlows: function endFlows(res) {
21330
- var _this12 = this;
21420
+ var _this13 = this;
21331
21421
 
21332
21422
  if (this.beforeSubmit != undefined) {
21333
21423
  this.beforeSubmit().then(function (next) {
21334
- _this12.saveEndFlows(res);
21424
+ _this13.saveEndFlows(res);
21335
21425
  }).catch(function (e) {});
21336
21426
  } else {
21337
21427
  this.saveEndFlows(res);
21338
21428
  }
21339
21429
  },
21340
21430
  saveEndFlows: function saveEndFlows(res) {
21341
- var _this13 = this;
21431
+ var _this14 = this;
21342
21432
 
21343
21433
  this.$confirm('确认' + res.value + '?').then(function () {
21344
21434
  var params = {
21345
21435
  url: api["t" /* endFlowHtml */],
21346
21436
  headers: { Accept: 'application/json,text/plain' },
21347
21437
  method: 'post',
21348
- data: mainvue_type_script_lang_js_extends({}, _this13.endFlowInfo, _this13.nextNode, {
21349
- opinion: _this13.value,
21438
+ data: mainvue_type_script_lang_js_extends({}, _this14.endFlowInfo, _this14.nextNode, {
21439
+ opinion: _this14.value,
21350
21440
  userId: util["a" /* default */].getStorage('userId'),
21351
- nextUserId: _this13.multiple ? _this13.nextNode.nextUserId.join(',') : _this13.nextNode.nextUserId,
21352
- addSignUserId: _this13.nextNode.addSignUserId.join(','),
21353
- customPresetUserJson: JSON.stringify(_this13.presetList),
21354
- presetUserJson: JSON.stringify(_this13.presetUserJson),
21355
- removeSignUserId: _this13.nextNode.removeSignUserId.join(','),
21356
- 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(',')
21357
21447
  })
21358
21448
  };
21359
- _this13.loading = util["a" /* default */].loading(_this13.$loading, '加载中...');
21449
+ _this14.loading = util["a" /* default */].loading(_this14.$loading, '加载中...');
21360
21450
  util["a" /* default */].ajax(params).then(function (res) {
21361
21451
  var status = res.status,
21362
21452
  message = res.message;
21363
21453
 
21364
- _this13.loading.close();
21454
+ _this14.loading.close();
21365
21455
  if (status === 'success') {
21366
- _this13.$message.success('提交成功');
21367
- _this13.$emit('success');
21456
+ _this14.$message.success('提交成功');
21457
+ _this14.$emit('success');
21368
21458
  } else {
21369
- _this13.$message.error(message || '系统错误,请联系管理员!');
21370
- _this13.$emit('error');
21459
+ _this14.$message.error(message || '系统错误,请联系管理员!');
21460
+ _this14.$emit('error');
21371
21461
  }
21372
21462
  }).catch(function (err) {
21373
- _this13.loading.close();
21463
+ _this14.loading.close();
21374
21464
  if (err.message && err.message !== 'canceled') {
21375
- _this13.$message.error(err.message);
21465
+ _this14.$message.error(err.message);
21376
21466
  }
21377
21467
  });
21378
21468
  }).catch(function (e) {});
21379
21469
  },
21380
21470
 
21381
- /**
21382
- * goView
21383
- * @desc:更多流程按钮操作
21384
- * @author liufan
21385
- * @param {Object} res 当前点击操作按钮数据
21386
- * @date 2022年5月25日
21471
+ /**
21472
+ * goView
21473
+ * @desc:更多流程按钮操作
21474
+ * @author liufan
21475
+ * @param {Object} res 当前点击操作按钮数据
21476
+ * @date 2022年5月25日
21387
21477
  **/
21388
21478
  goView: function goView(res) {
21389
21479
  // 驳回并办结:rejectAndEndHtml
@@ -21468,18 +21558,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21468
21558
  // isCanStartSubFlow
21469
21559
  },
21470
21560
 
21471
- /**
21472
- * toTakeAdvice
21473
- * @desc:征求意见
21474
- * @author liufan
21475
- * @date 2022年9月29日
21561
+ /**
21562
+ * toTakeAdvice
21563
+ * @desc:征求意见
21564
+ * @author liufan
21565
+ * @date 2022年9月29日
21476
21566
  **/
21477
21567
  toTakeAdvice: function toTakeAdvice(res) {
21478
- var _this14 = this;
21568
+ var _this15 = this;
21479
21569
 
21480
21570
  if (this.beforeSubmit != undefined) {
21481
21571
  this.beforeSubmit().then(function (next) {
21482
- _this14.saveToTakeAdvice(res);
21572
+ _this15.saveToTakeAdvice(res);
21483
21573
  }).catch(function (e) {});
21484
21574
  } else {
21485
21575
  this.saveToTakeAdvice(res);
@@ -21487,7 +21577,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21487
21577
  // return this.$message.warning('暂未开放!敬请期待');
21488
21578
  },
21489
21579
  saveToTakeAdvice: function saveToTakeAdvice(res) {
21490
- var _this15 = this;
21580
+ var _this16 = this;
21491
21581
 
21492
21582
  var params = {
21493
21583
  url: api["db" /* isCanStartSubFlow */],
@@ -21502,70 +21592,70 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21502
21592
  util["a" /* default */].ajax(params).then(function (res) {
21503
21593
  var message = res.message;
21504
21594
 
21505
- _this15.loading.close();
21595
+ _this16.loading.close();
21506
21596
  if (message == 'success') {
21507
- _this15.showTaskUnionExamine = true;
21597
+ _this16.showTaskUnionExamine = true;
21508
21598
  } else {
21509
- _this15.$message.error(message || '系统错误,请联系管理员!');
21599
+ _this16.$message.error(message || '系统错误,请联系管理员!');
21510
21600
  }
21511
21601
  }).catch(function (err) {
21512
- _this15.loading.close();
21602
+ _this16.loading.close();
21513
21603
  if (err.message && err.message !== 'canceled') {
21514
- _this15.$message.error(err.message);
21604
+ _this16.$message.error(err.message);
21515
21605
  }
21516
21606
  });
21517
21607
  },
21518
21608
 
21519
- /**
21520
- * toStartDraf
21521
- * @desc: 稿件递送、联合审核、复核
21522
- * @author liufan
21523
- * @date 2022年9月29日
21609
+ /**
21610
+ * toStartDraf
21611
+ * @desc: 稿件递送、联合审核、复核
21612
+ * @author liufan
21613
+ * @date 2022年9月29日
21524
21614
  **/
21525
21615
  toStartDraf: function toStartDraf(res) {
21526
- var _this16 = this;
21616
+ var _this17 = this;
21527
21617
 
21528
21618
  if (this.beforeSubmit != undefined) {
21529
21619
  this.beforeSubmit().then(function (next) {
21530
- _this16.showTaskUnionExamine = true;
21620
+ _this17.showTaskUnionExamine = true;
21531
21621
  }).catch(function (e) {});
21532
21622
  } else {
21533
21623
  this.showTaskUnionExamine = true;
21534
21624
  }
21535
21625
  },
21536
21626
 
21537
- /**
21538
- * toSendMsg
21539
- * @desc:核稿通知
21540
- * @author liufan
21541
- * @date 2022年9月29日
21627
+ /**
21628
+ * toSendMsg
21629
+ * @desc:核稿通知
21630
+ * @author liufan
21631
+ * @date 2022年9月29日
21542
21632
  **/
21543
21633
  toSendMsg: function toSendMsg(res) {
21544
- var _this17 = this;
21634
+ var _this18 = this;
21545
21635
 
21546
21636
  if (this.beforeSubmit != undefined) {
21547
21637
  this.beforeSubmit().then(function (next) {
21548
- _this17.showSendMsg = true;
21638
+ _this18.showSendMsg = true;
21549
21639
  }).catch(function (e) {});
21550
21640
  } else {
21551
21641
  this.showSendMsg = true;
21552
21642
  }
21553
21643
  },
21554
21644
 
21555
- /**
21556
- * toTaskReadAndEnd
21557
- * @desc:分阅并办结
21558
- * @author liufan
21559
- * @date 2022年9月29日
21645
+ /**
21646
+ * toTaskReadAndEnd
21647
+ * @desc:分阅并办结
21648
+ * @author liufan
21649
+ * @date 2022年9月29日
21560
21650
  **/
21561
21651
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
21562
- var _this18 = this;
21652
+ var _this19 = this;
21563
21653
 
21564
21654
  if (this.beforeSubmit != undefined) {
21565
21655
  this.beforeSubmit().then(function (next) {
21566
- if (_this18.value === '') _this18.value = _this18.nodeDefaultRejectOpinion;
21567
- _this18.taskReadType = 'taskReadAndEnd';
21568
- _this18.showTaskRead = true;
21656
+ if (_this19.value === '') _this19.value = _this19.nodeDefaultRejectOpinion;
21657
+ _this19.taskReadType = 'taskReadAndEnd';
21658
+ _this19.showTaskRead = true;
21569
21659
  }).catch(function (e) {});
21570
21660
  } else {
21571
21661
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -21574,28 +21664,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21574
21664
  }
21575
21665
  },
21576
21666
 
21577
- /**
21578
- * rejectAndEnd
21579
- * @desc:驳回并办结
21580
- * @author liufan
21581
- * @date 2022年9月29日
21667
+ /**
21668
+ * rejectAndEnd
21669
+ * @desc:驳回并办结
21670
+ * @author liufan
21671
+ * @date 2022年9月29日
21582
21672
  **/
21583
21673
  rejectAndEnd: function rejectAndEnd(res) {
21584
- var _this19 = this;
21674
+ var _this20 = this;
21585
21675
 
21586
21676
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
21587
21677
  if (!this.$refs.commonOpinions.validate()) return;
21588
21678
  }
21589
21679
  if (this.beforeSubmit != undefined) {
21590
21680
  this.beforeSubmit().then(function (next) {
21591
- _this19.saveRejectAndEnd(res);
21681
+ _this20.saveRejectAndEnd(res);
21592
21682
  }).catch(function (e) {});
21593
21683
  } else {
21594
21684
  this.saveRejectAndEnd(res);
21595
21685
  }
21596
21686
  },
21597
21687
  saveRejectAndEnd: function saveRejectAndEnd(res) {
21598
- var _this20 = this;
21688
+ var _this21 = this;
21599
21689
 
21600
21690
  this.$confirm('确认' + res.value + '?').then(function () {
21601
21691
  // return this.$message.warning('请填写意见');
@@ -21604,28 +21694,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21604
21694
  headers: { Accept: 'application/json,text/plain' },
21605
21695
  method: 'post',
21606
21696
  data: {
21607
- opinion: _this20.value,
21608
- pendingId: _this20.pendingId,
21697
+ opinion: _this21.value,
21698
+ pendingId: _this21.pendingId,
21609
21699
  isSinglePage: false
21610
21700
  }
21611
21701
  };
21612
- _this20.loading = util["a" /* default */].loading(_this20.$loading, '加载中...');
21702
+ _this21.loading = util["a" /* default */].loading(_this21.$loading, '加载中...');
21613
21703
  util["a" /* default */].ajax(params).then(function (res) {
21614
21704
  var status = res.status,
21615
21705
  message = res.message;
21616
21706
 
21617
- _this20.loading.close();
21707
+ _this21.loading.close();
21618
21708
  if (status === 'success') {
21619
- _this20.$message.success('提交成功');
21620
- _this20.$emit('success');
21709
+ _this21.$message.success('提交成功');
21710
+ _this21.$emit('success');
21621
21711
  } else {
21622
- _this20.$message.error(message || '系统错误,请联系管理员!');
21623
- _this20.$emit('error');
21712
+ _this21.$message.error(message || '系统错误,请联系管理员!');
21713
+ _this21.$emit('error');
21624
21714
  }
21625
21715
  }).catch(function (err) {
21626
- _this20.loading.close();
21716
+ _this21.loading.close();
21627
21717
  if (err.message && err.message !== 'canceled') {
21628
- _this20.$message.error(err.message);
21718
+ _this21.$message.error(err.message);
21629
21719
  }
21630
21720
  });
21631
21721
  }).catch(function () {
@@ -21633,19 +21723,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21633
21723
  });
21634
21724
  },
21635
21725
 
21636
- /**
21637
- * toTransfer
21638
- * @desc:转办
21639
- * @author liufan
21640
- * @date 2022年9月29日
21726
+ /**
21727
+ * toTransfer
21728
+ * @desc:转办
21729
+ * @author liufan
21730
+ * @date 2022年9月29日
21641
21731
  **/
21642
21732
  toTransfer: function toTransfer(res) {
21643
- var _this21 = this;
21733
+ var _this22 = this;
21644
21734
 
21645
21735
  if (this.beforeSubmit != undefined) {
21646
21736
  this.beforeSubmit(0).then(function (next) {
21647
- _this21.taskReadType = 'transfer';
21648
- _this21.showTaskRead = true;
21737
+ _this22.taskReadType = 'transfer';
21738
+ _this22.showTaskRead = true;
21649
21739
  }).catch(function (e) {});
21650
21740
  } else {
21651
21741
  this.taskReadType = 'transfer';
@@ -21653,14 +21743,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21653
21743
  }
21654
21744
  },
21655
21745
 
21656
- /**
21657
- * getNodeInfo
21658
- * @desc:获取节点信息
21659
- * @author liufan
21660
- * @date 2022年5月25日
21746
+ /**
21747
+ * getNodeInfo
21748
+ * @desc:获取节点信息
21749
+ * @author liufan
21750
+ * @date 2022年5月25日
21661
21751
  **/
21662
21752
  getNodeInfo: function getNodeInfo() {
21663
- var _this22 = this;
21753
+ var _this23 = this;
21664
21754
 
21665
21755
  var params = {
21666
21756
  processDefinitionId: this.nodeInfo.nextNode,
@@ -21675,44 +21765,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21675
21765
  message = res.message,
21676
21766
  data = res.data;
21677
21767
 
21678
- _this22.loading.close();
21768
+ _this23.loading.close();
21679
21769
  if (status === 'success') {
21680
- data.otherOrgDisabledObjId && (_this22.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
21681
- data.currentOrgDisabledObjId && (_this22.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
21770
+ data.otherOrgDisabledObjId && (_this23.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
21771
+ data.currentOrgDisabledObjId && (_this23.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
21682
21772
  if (data != null) {
21683
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) {
21684
- _this22.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21774
+ _this23.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21685
21775
  } else {
21686
- _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);
21687
21777
  }
21688
- _this22.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
21689
- _this22.isTaskread = data.nodeExtAttr.isTaskread;
21690
- _this22.isHandleExplain = data.nodeExtAttr.isHandleExplain;
21691
- _this22.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21692
- _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;
21693
21783
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
21694
- if (_this22.nodeType === 1 || _this22.nodeType === 2) {
21695
- _this22.isMainSubProcess === true ? _this22.isNodeShowProcess = true : _this22.isNodeShowProcess = false;
21696
- _this22.isMainSubProcess === true ? _this22.isMainSubProcess = true : _this22.isMainSubProcess = false;
21697
- _this22.isNextUser = false;
21698
- _this22.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
21699
- _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; //判断是否隐藏外单位
21700
21790
  } else {
21701
- _this22.isHideCurrentOrg = false;
21702
- _this22.isHideOtherOrg = false;
21703
- _this22.isNodeShowProcess = false;
21704
- _this22.isMainSubProcess = false;
21705
- _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;
21706
21796
  // this.isMainSubProcess === true
21707
21797
  // ? (this.isMainSubProcess = true)
21708
21798
  // : (this.isMainSubProcess = false);
21709
21799
  }
21710
- _this22.multiple ? _this22.nextNode.nextUserId = [] : _this22.nextNode.nextUserId = '';
21711
- 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) {
21712
21802
  data.nextUserList.map(function (item) {
21713
21803
  if (item.userId && item.username) {
21714
- _this22.nextNode.nextUserId.push(item.userId);
21715
- _this22.selectUserList.push({
21804
+ _this23.nextNode.nextUserId.push(item.userId);
21805
+ _this23.selectUserList.push({
21716
21806
  showname: item.username,
21717
21807
  showid: item.userId
21718
21808
  });
@@ -21721,50 +21811,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21721
21811
  }
21722
21812
  data.nextUserList.map(function (item) {
21723
21813
  if (item.userId && item.username) {
21724
- _this22.options.push({
21814
+ _this23.options.push({
21725
21815
  showname: item.username,
21726
21816
  showid: item.userId
21727
21817
  });
21728
21818
  }
21729
21819
  });
21730
21820
  if (data.nodeExtAttr.presetEdit != 0) {
21731
- _this22.radioList = _this22.options;
21821
+ _this23.radioList = _this23.options;
21732
21822
  }
21733
- if (!_this22.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
21734
- _this22.nextNode.nextUserId = data.nextUserList[0].userId;
21735
- _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({
21736
21826
  showname: data.nextUserList[0].username,
21737
21827
  showid: data.nextUserList[0].userId
21738
21828
  });
21739
21829
  }
21740
- _this22.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
21741
- _this22.isCustomUser = data.nodeExtAttr.isCustomUser;
21742
- _this22.presetEdit = data.nodeExtAttr.presetEdit;
21743
- _this22.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
21744
- _this22.handleMode = data.countersignaturetypeText;
21745
- 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 : '';
21746
21836
  }
21747
- _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);
21748
21838
  } else {
21749
- _this22.$message.error(message || '系统错误,请联系管理员!');
21839
+ _this23.$message.error(message || '系统错误,请联系管理员!');
21750
21840
  }
21751
21841
  }).catch(function (err) {
21752
- _this22.loading.close();
21842
+ _this23.loading.close();
21753
21843
  if (err.message && err.message !== 'canceled') {
21754
- _this22.$message.error(err.message);
21844
+ _this23.$message.error(err.message);
21755
21845
  }
21756
21846
  });
21757
21847
  },
21758
21848
 
21759
- /**
21760
- * selecNext
21761
- * @desc:下步节点变化时更新数据
21762
- * @author liufan
21763
- * @param {String} val 当前选中值
21764
- * @date 2022年5月25日
21849
+ /**
21850
+ * selecNext
21851
+ * @desc:下步节点变化时更新数据
21852
+ * @author liufan
21853
+ * @param {String} val 当前选中值
21854
+ * @date 2022年5月25日
21765
21855
  **/
21766
21856
  selecNext: function selecNext(val, type, isDef) {
21767
- var _this23 = this;
21857
+ var _this24 = this;
21768
21858
 
21769
21859
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21770
21860
  if (this.multiple) {
@@ -21795,16 +21885,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21795
21885
  this.operationList.forEach(function (item) {
21796
21886
  if (item.key === val) {
21797
21887
  if (!item.taskNodeList) {
21798
- _this23.nodeInfos = [];
21888
+ _this24.nodeInfos = [];
21799
21889
  } else {
21800
- _this23.nodeInfos = item.taskNodeList;
21890
+ _this24.nodeInfos = item.taskNodeList;
21801
21891
  }
21802
21892
  return;
21803
21893
  }
21804
21894
  });
21805
21895
  if (this.defaultNextNode) {
21806
21896
  var defaultNode = this.nodeInfos.filter(function (item) {
21807
- return item.nodeId == _this23.defaultNextNode;
21897
+ return item.nodeId == _this24.defaultNextNode;
21808
21898
  });
21809
21899
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
21810
21900
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -21870,11 +21960,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21870
21960
  if (isDef !== true) this.getNodeInfo();
21871
21961
  },
21872
21962
 
21873
- /**
21874
- * isMultiple
21875
- * @desc:是否多选
21876
- * @author liufan
21877
- * @date 2022年9月13日
21963
+ /**
21964
+ * isMultiple
21965
+ * @desc:是否多选
21966
+ * @author liufan
21967
+ * @date 2022年9月13日
21878
21968
  **/
21879
21969
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
21880
21970
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -21906,14 +21996,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21906
21996
  }
21907
21997
  },
21908
21998
 
21909
- /**
21910
- * getHedInfo
21911
- * @desc:获取审核页面数据
21912
- * @author liufan
21913
- * @date 2022年5月25日
21999
+ /**
22000
+ * getHedInfo
22001
+ * @desc:获取审核页面数据
22002
+ * @author liufan
22003
+ * @date 2022年5月25日
21914
22004
  **/
21915
22005
  getHedInfo: function getHedInfo() {
21916
- var _this24 = this;
22006
+ var _this25 = this;
21917
22007
 
21918
22008
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
21919
22009
  var params = {
@@ -21923,7 +22013,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21923
22013
  util["a" /* default */].ajax({ url: api["G" /* getHandleInfoHtml */], params: params }).then(function (res) {
21924
22014
  //pc返回数据
21925
22015
 
21926
- _this24.loading.close();
22016
+ _this25.loading.close();
21927
22017
  if (res.status === 'success') {
21928
22018
  var _res$data2 = res.data,
21929
22019
  nextNodeList = _res$data2.nextNodeList,
@@ -21954,205 +22044,206 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21954
22044
  taskButtonList = _res$data2.taskButtonList,
21955
22045
  isCanPreAddSign = _res$data2.isCanPreAddSign;
21956
22046
 
21957
- _this24.$emit('startTaskRead', res);
21958
- _this24.$emit('start-task-read', res);
21959
- _this24.currentOrgName = currentOrgName;
21960
- _this24.readOnlyNotificationType = readOnlyNotificationType;
21961
- _this24.isSpecial = isSpecial;
21962
- _this24.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
21963
- _this24.otherOrgName = otherOrgName;
21964
- _this24.isCanPreAddSign = isCanPreAddSign;
21965
- _this24.endFlowInfo.choiceOrgId = choiceOrgId;
21966
- _this24.endFlowInfo.choiceDeptId = choiceDeptId;
21967
- _this24.endFlowInfo.pendingId = _this24.pendingId;
21968
- _this24.attachedCode = attachedCode;
21969
- _this24.endFlowInfo.pOrgId = pOrgId;
21970
- _this24.canPresetRead = canPresetRead;
21971
- _this24.isCdjxjTaskHandle = isCdjxjTaskHandle;
21972
- nextNodeCheckType && (_this24.nextNodeCheckType = nextNodeCheckType);
21973
- _this24.operationList = taskOperations || [];
21974
- _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;
21975
22066
  if (canPresetRead) {
21976
22067
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
21977
22068
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
21978
22069
  ids.map(function (item, index) {
21979
- _this24.presetReadUserId.push({
22070
+ _this25.presetReadUserId.push({
21980
22071
  showid: item,
21981
22072
  showname: names[index]
21982
22073
  });
21983
- _this24.selectPresetUserList.push({
22074
+ _this25.selectPresetUserList.push({
21984
22075
  showid: item,
21985
22076
  showname: names[index]
21986
22077
  });
21987
- _this24.nextNode.presetReadUserId.push(item);
22078
+ _this25.nextNode.presetReadUserId.push(item);
21988
22079
  });
21989
22080
  }
21990
- if (!_this24.isFlow) _this24.getFile(_this24.pendingId, attachedCode);
22081
+ if (!_this25.isFlow) _this25.getFile(_this25.pendingId, attachedCode);
21991
22082
  if (nextNodeList && nextNodeList.length != 0) {
21992
- _this24.nextNodeList = nextNodeList;
22083
+ _this25.nextNodeList = nextNodeList;
21993
22084
  }
21994
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this24.removeUsers = canRemoveSignUserList;
22085
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this25.removeUsers = canRemoveSignUserList;
21995
22086
  if (taskOperations && taskOperations.length != 0) {
21996
22087
  taskOperations.map(function (item) {
21997
- if (item.key === 9) _this24.isReject = true;
22088
+ if (item.key === 9) _this25.isReject = true;
21998
22089
  if (item.isSelected) {
21999
- _this24.nodeInfos = [];
22000
- _this24.nextNode.nextOperate = item.key;
22090
+ _this25.nodeInfos = [];
22091
+ _this25.nextNode.nextOperate = item.key;
22001
22092
  if (item.taskNodeList != null) {
22002
- _this24.nodeInfos = item.taskNodeList;
22093
+ _this25.nodeInfos = item.taskNodeList;
22003
22094
  }
22004
22095
  }
22005
22096
  if (taskOperations.length == 1) {
22006
- _this24.nodeInfos = [];
22007
- _this24.nextNode.nextOperate = taskOperations[0].key;
22097
+ _this25.nodeInfos = [];
22098
+ _this25.nextNode.nextOperate = taskOperations[0].key;
22008
22099
  if (taskOperations[0].taskNodeList != null) {
22009
- _this24.nodeInfos = taskOperations[0].taskNodeList;
22100
+ _this25.nodeInfos = taskOperations[0].taskNodeList;
22010
22101
  }
22011
22102
  }
22012
22103
  });
22013
- _this24.selecNext(_this24.nextNode.nextOperate, true, true);
22104
+ _this25.selecNext(_this25.nextNode.nextOperate, true, true);
22014
22105
  }
22015
22106
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
22016
- _this24.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
22107
+ _this25.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
22017
22108
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
22018
22109
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
22019
22110
  notice.map(function (x) {
22020
- _this24.nodeFixedOpinionSelectList.push({ content: x });
22111
+ _this25.nodeFixedOpinionSelectList.push({ content: x });
22021
22112
  });
22022
22113
  }
22023
- _this24.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
22024
- _this24.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
22025
- _this24.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
22026
- _this24.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
22027
- _this24.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
22028
- _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;
22029
22120
  // this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
22030
- _this24.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
22121
+ _this25.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
22031
22122
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
22032
- var defaultNode = _this24.nodeInfos.filter(function (item) {
22123
+ var defaultNode = _this25.nodeInfos.filter(function (item) {
22033
22124
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
22034
22125
  });
22035
- if (_this24.nodeInfos.length > 0 && defaultNode.length == 0) {
22036
- _this24.nextNode.nextNodeId = _this24.nodeInfos[0].nodeId;
22126
+ if (_this25.nodeInfos.length > 0 && defaultNode.length == 0) {
22127
+ _this25.nextNode.nextNodeId = _this25.nodeInfos[0].nodeId;
22037
22128
  } else {
22038
- _this24.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
22129
+ _this25.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
22039
22130
  }
22040
- } else if (_this24.nodeInfos.length > 0) {
22041
- _this24.nextNode.nextNodeId = _this24.nodeInfos[0].nodeId;
22131
+ } else if (_this25.nodeInfos.length > 0) {
22132
+ _this25.nextNode.nextNodeId = _this25.nodeInfos[0].nodeId;
22042
22133
  }
22043
- _this24.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
22134
+ _this25.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
22044
22135
  if (nodeInfoMap.nodeExtAttr.submitText) {
22045
- _this24.btnList.map(function (x) {
22136
+ _this25.btnList.map(function (x) {
22046
22137
  if (x.event === 'sub') {
22047
22138
  x.text = nodeInfoMap.nodeExtAttr.submitText;
22048
22139
  }
22049
22140
  });
22050
22141
  }
22051
22142
  }
22052
- _this24.choiceOrgId = choiceOrgId;
22053
- _this24.choiceDeptId = choiceDeptId;
22054
- _this24.pOrgId = pOrgId;
22143
+ _this25.choiceOrgId = choiceOrgId;
22144
+ _this25.choiceDeptId = choiceDeptId;
22145
+ _this25.pOrgId = pOrgId;
22055
22146
  if (res.data && res.data.isEndUserTask != undefined) {
22056
- _this24.isEndUserTask = res.data.isEndUserTask;
22147
+ _this25.isEndUserTask = res.data.isEndUserTask;
22057
22148
  }
22058
22149
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
22059
- _this24.nodeInfo.nextNode = taskExamine.processDefinitionId;
22060
- _this24.NodeName = taskExamine.nodeName;
22061
- _this24.taskId = taskExamine.taskId;
22062
- _this24.businessIds = taskExamine.businessId;
22063
- _this24.appId = taskExamine.appId;
22064
- _this24.taskExamineInfo = taskExamine;
22065
- _this24.taskExamineInfo.choiceOrgId = choiceOrgId;
22066
- _this24.taskExamineInfo.choiceDeptId = choiceDeptId;
22067
- _this24.endFlowInfo.processType = taskExamine.processType;
22068
- _this24.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
22069
- _this24.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
22070
- _this24.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
22071
- _this24.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22072
- _this24.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
22073
- _this24.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22074
- _this24.nextNode.isReadDealReply = taskExamine.isReadDealReply;
22075
- _this24.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
22076
- _this24.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
22077
- _this24.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
22078
- _this24.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
22079
- _this24.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
22080
- _this24.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
22081
- _this24.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
22082
- _this24.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
22083
- _this24.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
22084
- _this24.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
22085
- _this24.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
22086
- _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;
22087
22178
  // this.endFlowInfo.isReadDealReply =
22088
22179
  // taskExamine.isReadDealReplybusinessId;
22089
- _this24.endFlowInfo.appId = taskExamine.appId;
22090
- _this24.endFlowInfo.businessId = taskExamine.businessId;
22091
- _this24.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
22092
- _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;
22093
22184
  }
22094
- if (_this24.nodeName) {
22095
- _this24.NodeName = _this24.nodeName;
22185
+ if (_this25.nodeName) {
22186
+ _this25.NodeName = _this25.nodeName;
22096
22187
  }
22097
- _this24.isCanAddSign = isCanAddSign;
22098
- _this24.processObj = res.data;
22099
- if (_this24.isCanAddSign) {
22100
- _this24.nextNode.isAddSign = '2';
22188
+ _this25.isCanAddSign = isCanAddSign;
22189
+ _this25.processObj = res.data;
22190
+ if (_this25.isCanAddSign) {
22191
+ _this25.nextNode.isAddSign = '2';
22101
22192
  }
22102
- _this24.isCanRemoveSign = isCanRemoveSign;
22103
- if (_this24.isCanRemoveSign) {
22104
- _this24.nextNode.isRemoveSign = '2';
22193
+ _this25.isCanRemoveSign = isCanRemoveSign;
22194
+ if (_this25.isCanRemoveSign) {
22195
+ _this25.nextNode.isRemoveSign = '2';
22105
22196
  }
22106
22197
 
22107
- if (!_this24.isOpinionRequired) {
22108
- _this24.isOpinionRequired = 0;
22198
+ if (!_this25.isOpinionRequired) {
22199
+ _this25.isOpinionRequired = 0;
22109
22200
  }
22110
22201
  // opinion && (this.value = opinion);
22111
- _this24.nextNode.notificationMsg = defaultNotificationMessage;
22112
- _this24.moreList = [];
22202
+ _this25.nextNode.notificationMsg = defaultNotificationMessage;
22203
+ _this25.moreList = [];
22113
22204
  if (taskButtonList && taskButtonList.length != 0) {
22114
22205
  taskButtonList.map(function (item) {
22115
22206
  if (item.fun === 'reject()') {
22116
- _this24.rejectObj = item;
22207
+ _this25.rejectObj = item;
22117
22208
  } else if (item.fun === 'toStartTaskRead()') {
22118
- _this24.pointsReadingObj = item;
22209
+ _this25.pointsReadingObj = item;
22119
22210
  } else {
22120
- _this24.moreList.push(item);
22211
+ _this25.moreList.push(item);
22121
22212
  }
22122
22213
  });
22123
22214
  }
22124
- _this24.isMainSubProcess = res.data.isMainSubProcess == 'true';
22125
- _this24.isCustomPreset = isCustomPreset;
22126
- _this24.isPreset = isPreset;
22127
- _this24.presetTaskNodeMap = presetTaskNodeMap;
22128
- _this24.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
22129
- _this24.getFind();
22130
-
22131
- _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();
22132
22223
  } else {
22133
22224
  if (res.status === 'taskCompleted') {
22134
- _this24.$emit('shrink', true);
22135
- _this24.shrinkAbled = true;
22136
- _this24.$message.warning(res.message || '系统错误,请联系管理员!');
22225
+ _this25.$emit('shrink', true);
22226
+ _this25.shrinkAbled = true;
22227
+ _this25.$message.warning(res.message || '系统错误,请联系管理员!');
22137
22228
  } else {
22138
- _this24.$message.error(res.message || '系统错误,请联系管理员!');
22229
+ _this25.$message.error(res.message || '系统错误,请联系管理员!');
22139
22230
  }
22140
22231
  }
22141
22232
  }).catch(function (err) {
22142
- _this24.loading.close();
22233
+ _this25.loading.close();
22143
22234
  if (err.message && err.message !== 'canceled') {
22144
- _this24.$message.error(err.message);
22235
+ _this25.$message.error(err.message);
22145
22236
  }
22146
22237
  });
22147
22238
  },
22148
22239
 
22149
- /**
22150
- * closeProcess
22151
- * @desc:关闭弹窗
22152
- * @author liufan
22153
- * @param {boolean} val 当前是否办理流程
22154
- * @param {String} type 当前点击的弹窗类型
22155
- * @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日
22156
22247
  **/
22157
22248
  closeProcess: function closeProcess(val, type, closeParent) {
22158
22249
  if (closeParent) {
@@ -22160,28 +22251,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22160
22251
  } else {
22161
22252
  this[type] = false;
22162
22253
  }
22254
+ if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
22255
+ this[type] = false;
22256
+ return;
22257
+ }
22163
22258
  if (val == 'taskReadAndEnd' || val == true && type != 'taskRead' || val == 'transfer') {
22164
22259
  this.$emit('success');
22165
22260
  }
22166
22261
  },
22167
22262
 
22168
- /**
22169
- * selectChange
22170
- * @desc:常用语选择
22171
- * @author liufan
22172
- * @param {String} val 选中值
22173
- * @date 2022年5月25日
22263
+ /**
22264
+ * selectChange
22265
+ * @desc:常用语选择
22266
+ * @author liufan
22267
+ * @param {String} val 选中值
22268
+ * @date 2022年5月25日
22174
22269
  **/
22175
22270
  selectChange: function selectChange(val) {
22176
22271
  this.value = val;
22177
22272
  },
22178
22273
 
22179
- /**
22180
- * upDate
22181
- * @desc:修改常用语
22182
- * @author liufan
22183
- * @param {Object} val 修改值
22184
- * @date 2022年5月25日
22274
+ /**
22275
+ * upDate
22276
+ * @desc:修改常用语
22277
+ * @author liufan
22278
+ * @param {Object} val 修改值
22279
+ * @date 2022年5月25日
22185
22280
  **/
22186
22281
  upDate: function upDate(val) {
22187
22282
  this.FormData.id = val.id;
@@ -22189,14 +22284,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22189
22284
  },
22190
22285
 
22191
22286
 
22192
- /**
22193
- * getProcess
22194
- * @desc:获取选择流程
22195
- * @author liufan
22196
- * @date 2022年5月25日
22287
+ /**
22288
+ * getProcess
22289
+ * @desc:获取选择流程
22290
+ * @author liufan
22291
+ * @date 2022年5月25日
22197
22292
  **/
22198
22293
  getProcess: function getProcess() {
22199
- var _this25 = this;
22294
+ var _this26 = this;
22200
22295
 
22201
22296
  var params = mainvue_type_script_lang_js_extends({
22202
22297
  businessId: this.businessId,
@@ -22211,48 +22306,48 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22211
22306
  message = res.message,
22212
22307
  data = res.data;
22213
22308
 
22214
- _this25.loading.close();
22309
+ _this26.loading.close();
22215
22310
  if (status === 'success') {
22216
- _this25.isStartFlowChartView = data.isStartFlowChartView;
22311
+ _this26.isStartFlowChartView = data.isStartFlowChartView;
22217
22312
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
22218
- _this25.$message.error('流程不存在或未关联对应流程!');
22313
+ _this26.$message.error('流程不存在或未关联对应流程!');
22219
22314
  } else {
22220
- _this25.nodeInfo.option = data.definitionList;
22221
- _this25.nodeInfo.nextNode = data.definitionList.filter(function (item) {
22222
- 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;
22223
22318
  });
22224
- if (_this25.nodeInfo.nextNode.length) {
22225
- _this25.nodeInfo.nextNode = _this25.nodeInfo.nextNode[0].processDefId;
22319
+ if (_this26.nodeInfo.nextNode.length) {
22320
+ _this26.nodeInfo.nextNode = _this26.nodeInfo.nextNode[0].processDefId;
22226
22321
  } else {
22227
- if (data.definitionList.length == 1) {
22228
- _this25.nodeInfo.nextNode = data.definitionList[0].processDefId;
22322
+ if (data.definitionList.length != 0) {
22323
+ _this26.nodeInfo.nextNode = data.definitionList[0].processDefId;
22229
22324
  } else {
22230
- _this25.nodeInfo.nextNode = '';
22325
+ _this26.nodeInfo.nextNode = '';
22231
22326
  }
22232
22327
  }
22233
- if (_this25.nodeInfo.nextNode) {
22234
- _this25.handleChange(_this25.nodeInfo.nextNode);
22328
+ if (_this26.nodeInfo.nextNode) {
22329
+ _this26.handleChange(_this26.nodeInfo.nextNode);
22235
22330
  }
22236
22331
  }
22237
22332
  } else {
22238
- _this25.$message.error(message || '系统错误,请联系管理员!');
22333
+ _this26.$message.error(message || '系统错误,请联系管理员!');
22239
22334
  }
22240
22335
  }).catch(function (err) {
22241
- _this25.loading.close();
22336
+ _this26.loading.close();
22242
22337
  if (err.message && err.message !== 'canceled') {
22243
- _this25.$message.error(err.message);
22338
+ _this26.$message.error(err.message);
22244
22339
  }
22245
22340
  });
22246
22341
  },
22247
22342
 
22248
- /**
22249
- * getPendedhistoryList
22250
- * @desc:获取流程列表
22251
- * @author liufan
22252
- * @date 2022年5月25日
22343
+ /**
22344
+ * getPendedhistoryList
22345
+ * @desc:获取流程列表
22346
+ * @author liufan
22347
+ * @date 2022年5月25日
22253
22348
  **/
22254
22349
  getPendedhistoryList: function getPendedhistoryList() {
22255
- var _this26 = this;
22350
+ var _this27 = this;
22256
22351
 
22257
22352
  var params = {
22258
22353
  apprecordId: this.businessIds,
@@ -22265,55 +22360,54 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22265
22360
  results = res.results;
22266
22361
 
22267
22362
  if (!rCode) {
22268
- _this26.nextNode.nextUserId = [];
22269
- _this26.showNews = false;
22270
- _this26.nextNode.notificationType = [];
22271
- _this26.pendingId = results[results.length - 1].attachId;
22272
- _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();
22273
22368
  } else {
22274
- _this26.$message.error(msg || '系统错误,请联系管理员!');
22369
+ _this27.$message.error(msg || '系统错误,请联系管理员!');
22275
22370
  }
22276
22371
  }).catch(function (err) {
22277
22372
  if (err.message && err.message !== 'canceled') {
22278
- _this26.$message.error(err.message);
22373
+ _this27.$message.error(err.message);
22279
22374
  }
22280
22375
  });
22281
22376
  },
22282
22377
 
22283
22378
  // 提交流程
22284
- /**
22285
- * subProcess
22286
- * @desc:提交流程
22287
- * @author liufan
22288
- * @param {String} formName 当前form表单ref值
22289
- * @date 2022年5月25日
22379
+ /**
22380
+ * subProcess
22381
+ * @desc:提交流程
22382
+ * @author liufan
22383
+ * @param {String} formName 当前form表单ref值
22384
+ * @date 2022年5月25日
22290
22385
  **/
22291
22386
  subProcess: function subProcess(val, type) {
22292
- var _this27 = this;
22387
+ var _this28 = this;
22293
22388
 
22294
22389
  return this.$refs['nextNode'].validate(function (valid) {
22295
22390
  if (valid) {
22296
- if (_this27.isSubmitButtonShowAgreeAndDisagree == 1) {
22297
- _this27.value = _this27.value.replace(RegExp('不同意。', 'g'), '');
22298
- _this27.value = _this27.value.replace(RegExp('同意。', 'g'), '');
22299
- _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;
22300
22395
  }
22301
- console.log(112);
22302
- if (!_this27.validInfo()) {
22303
- _this27.freeValid = false;
22396
+ if (!_this28.validInfo()) {
22397
+ _this28.freeValid = false;
22304
22398
  return;
22305
22399
  } else {
22306
- _this27.freeValid = true;
22400
+ _this28.freeValid = true;
22307
22401
  }
22308
22402
  if (type == 'multiInsMidwayWithSubmitScene') {
22309
- _this27.sendData(type);
22403
+ _this28.sendData(type);
22310
22404
  return;
22311
22405
  }
22312
- if (_this27.beforeSubmit == undefined) {
22313
- _this27.subFun(_this27.sendData);
22406
+ if (_this28.beforeSubmit == undefined) {
22407
+ _this28.subFun(_this28.sendData);
22314
22408
  } else {
22315
- _this27.beforeSubmit(1).then(function (next) {
22316
- _this27.sendData();
22409
+ _this28.beforeSubmit(1).then(function (next) {
22410
+ _this28.sendData();
22317
22411
  }).catch(function (e) {});
22318
22412
  }
22319
22413
  }
@@ -22343,7 +22437,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22343
22437
  return false;
22344
22438
  }
22345
22439
  if (!this.value && this.isOpinionRequired === 1) {
22346
- console.log(1);
22347
22440
  this.$message.warning('请选择输入审批意见');
22348
22441
  return false;
22349
22442
  }
@@ -22351,70 +22444,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22351
22444
  this.$message.warning('\u8BF7\u9009\u62E9' + (this.currentOrgName || '本单位'));
22352
22445
  return false;
22353
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
+ }
22354
22451
  return true;
22355
22452
  },
22356
22453
  sendData: function sendData(freetype) {
22357
- var _this28 = this;
22454
+ var _this29 = this;
22358
22455
 
22359
22456
  this.$refs['nextNode'].validate(function () {
22360
22457
  var _ref2 = mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
22361
- 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;
22362
22459
  return regenerator_default.a.wrap(function _callee$(_context) {
22363
22460
  while (1) {
22364
22461
  switch (_context.prev = _context.next) {
22365
22462
  case 0:
22366
22463
  if (!valid) {
22367
- _context.next = 47;
22464
+ _context.next = 48;
22368
22465
  break;
22369
22466
  }
22370
22467
 
22371
- if (!_this28.isFlow) {
22468
+ if (!_this29.isFlow) {
22372
22469
  _context.next = 3;
22373
22470
  break;
22374
22471
  }
22375
22472
 
22376
- return _context.abrupt('return', _this28.handleVisible = true);
22473
+ return _context.abrupt('return', _this29.handleVisible = true);
22377
22474
 
22378
22475
  case 3:
22379
22476
  nextUserId = [];
22380
22477
 
22381
- if (_this28.multiple) {
22382
- _this28.nextNode.nextUserId && _this28.nextNode.nextUserId.map(function (item) {
22478
+ if (_this29.multiple) {
22479
+ _this29.nextNode.nextUserId && _this29.nextNode.nextUserId.map(function (item) {
22383
22480
  return nextUserId.push(item);
22384
22481
  });
22385
22482
  }
22386
22483
  addSignUserId = [];
22387
22484
 
22388
- if (_this28.isCanAddSign && _this28.nextNode.isAddSign == '1') {
22389
- _this28.nextNode.addSignUserId.map(function (item) {
22485
+ if (_this29.isCanAddSign && _this29.nextNode.isAddSign == '1') {
22486
+ _this29.nextNode.addSignUserId.map(function (item) {
22390
22487
  addSignUserId.push(item);
22391
22488
  });
22392
22489
  }
22393
22490
  removeSignUserId = [];
22394
22491
 
22395
- if (_this28.isCanRemoveSign && _this28.nextNode.isRemoveSign == '1') {
22396
- _this28.nextNode.removeSignUserId.map(function (item) {
22492
+ if (_this29.isCanRemoveSign && _this29.nextNode.isRemoveSign == '1') {
22493
+ _this29.nextNode.removeSignUserId.map(function (item) {
22397
22494
  removeSignUserId.push(item);
22398
22495
  });
22399
22496
  }
22400
22497
  str = '';
22401
22498
 
22402
- if (_this28.value) {
22403
- str = _this28.value.replace(/\s+/g, '');
22499
+ if (_this29.value) {
22500
+ str = _this29.value.replace(/\s+/g, '');
22404
22501
  }
22405
- if ((!_this28.value || str === '') && _this28.nodeDefaultSubmitOpinion) {
22406
- _this28.value = _this28.nodeDefaultSubmitOpinion;
22502
+ if ((!_this29.value || str === '') && _this29.nodeDefaultSubmitOpinion) {
22503
+ _this29.value = _this29.nodeDefaultSubmitOpinion;
22407
22504
  }
22408
- if (!_this28.isSpecial) {
22409
- delete _this28.nextNode.nextOperate;
22410
- delete _this28.nextNode.nextNodeId;
22505
+ if (!_this29.isSpecial) {
22506
+ delete _this29.nextNode.nextOperate;
22507
+ delete _this29.nextNode.nextNodeId;
22411
22508
  }
22412
- if (_this28.nextNode.nextOperate === 9) {
22413
- _this28.nextNode.isReturnRejectNode = 1;
22414
- _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;
22415
22512
  }
22416
- if (_this28.nextNode.nextOperate != 0 && _this28.nextNode.nextOperate != 1) {
22417
- delete _this28.nextNode.nextNodeId;
22513
+ if (_this29.nextNode.nextOperate != 0 && _this29.nextNode.nextOperate != 1) {
22514
+ delete _this29.nextNode.nextNodeId;
22418
22515
  }
22419
22516
 
22420
22517
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
@@ -22423,40 +22520,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22423
22520
  }
22424
22521
 
22425
22522
  _context.next = 18;
22426
- return _this28.saveInfo('subMit');
22523
+ return _this29.saveInfo('subMit');
22427
22524
 
22428
22525
  case 18:
22429
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
22526
+ _this29.loading = util["a" /* default */].loading(_this29.$loading, '加载中...');
22430
22527
 
22431
22528
  case 19:
22432
22529
  notificationType = '';
22433
22530
 
22434
- notificationType = _this28.nextNode.notificationType.join(',');
22531
+ notificationType = _this29.nextNode.notificationType.join(',');
22435
22532
  addSignUserId = addSignUserId.join(',');
22436
22533
  removeSignUserId = removeSignUserId.join(',');
22437
- if (!_this28.isCanPreAddSign || _this28.nextNode.isAddSign != '1') {
22438
- delete _this28.nextNode.addSignMode;
22534
+ if (!_this29.isCanPreAddSign || _this29.nextNode.isAddSign != '1') {
22535
+ delete _this29.nextNode.addSignMode;
22439
22536
  }
22440
- params = mainvue_type_script_lang_js_extends({}, _this28.nextNode, {
22441
- pendingId: _this28.pendingId,
22442
- 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,
22443
22540
  userId: util["a" /* default */].getStorage('userId'),
22444
- nextUserId: _this28.multiple ? nextUserId.join(',') : _this28.nextNode.nextUserId,
22541
+ nextUserId: _this29.multiple ? nextUserId.join(',') : _this29.nextNode.nextUserId,
22445
22542
  addSignUserId: addSignUserId,
22446
- customPresetUserJson: JSON.stringify(_this28.presetList),
22447
- presetUserJson: JSON.stringify(_this28.presetUserJson),
22543
+ customPresetUserJson: JSON.stringify(_this29.presetList),
22544
+ presetUserJson: JSON.stringify(_this29.presetUserJson),
22448
22545
  removeSignUserId: removeSignUserId,
22449
- nextReadUserId: _this28.readMultiple ? _this28.mixReadList && _this28.mixReadList.join('|') : _this28.nextNode.nextReadUserId,
22450
- nextOrgId: !_this28.isShowNextUser ? _this28.multiple ? _this28.mixOrgIdList && _this28.mixOrgIdList.join('|') : _this28.nextNode.nextOrgId : '',
22451
- 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(','),
22452
22549
  notificationType: notificationType
22453
22550
  });
22454
22551
 
22455
- if (_this28.activeNames != '1') delete params.customPresetUserJson;
22456
- if (_this28.nextNode.isRemoveSign != '1') {
22552
+ if (_this29.activeNames != '1') delete params.customPresetUserJson;
22553
+ if (_this29.nextNode.isRemoveSign != '1') {
22457
22554
  delete params.removeSignUserId;
22458
22555
  }
22459
- if (_this28.nextNode.isAddSign != '1') {
22556
+ if (_this29.nextNode.isAddSign != '1') {
22460
22557
  delete params.addSignUserId;
22461
22558
  }
22462
22559
 
@@ -22465,12 +22562,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22465
22562
  break;
22466
22563
  }
22467
22564
 
22468
- _this28.taskParams = params;
22565
+ _this29.taskParams = params;
22469
22566
  return _context.abrupt('return');
22470
22567
 
22471
22568
  case 31:
22472
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '提交中...');
22473
- 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;
22474
22571
 
22475
22572
  params.isEndUserTask = isEndUserTask;
22476
22573
  params.choiceOrgId = choiceOrgId;
@@ -22483,34 +22580,36 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22483
22580
  params.isSubFlow = taskExamineInfo.isSubFlow;
22484
22581
  params.nodeId = taskExamineInfo.nodeId;
22485
22582
  params.needRetrialAuth = needRetrialAuth;
22583
+ params.taskHandleSubmitMode = currentNodeIsCircularReadNode ? 'circularReadMode' : undefined;
22584
+ // params.orgRoleCode="5f5c8e900dc6433fb5c7b3bcc1a81319"
22486
22585
  return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Cb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
22487
22586
  var status = res.status,
22488
22587
  message = res.message;
22489
22588
 
22490
- _this28.loading.close();
22589
+ _this29.loading.close();
22491
22590
  if (status === 'success') {
22492
- _this28.$message.success('提交成功');
22493
- _this28.$emit('success');
22591
+ _this29.$message.success('提交成功');
22592
+ _this29.$emit('success');
22494
22593
  } else {
22495
- _this28.$message.error(message || '系统错误,请联系管理员!');
22496
- _this28.$emit('error');
22594
+ _this29.$message.error(message || '系统错误,请联系管理员!');
22595
+ _this29.$emit('error');
22497
22596
  }
22498
22597
  }).catch(function (err) {
22499
- _this28.loading.close();
22598
+ _this29.loading.close();
22500
22599
  if (err.message && err.message !== 'canceled') {
22501
- _this28.$message.error(err.message);
22600
+ _this29.$message.error(err.message);
22502
22601
  }
22503
22602
  }));
22504
22603
 
22505
- case 47:
22604
+ case 48:
22506
22605
  return _context.abrupt('return', false);
22507
22606
 
22508
- case 48:
22607
+ case 49:
22509
22608
  case 'end':
22510
22609
  return _context.stop();
22511
22610
  }
22512
22611
  }
22513
- }, _callee, _this28);
22612
+ }, _callee, _this29);
22514
22613
  }));
22515
22614
 
22516
22615
  return function (_x) {
@@ -22521,6 +22620,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22521
22620
 
22522
22621
  // 单位选择完回调
22523
22622
  disposeAppUnit: function disposeAppUnit(res, type) {
22623
+ console.log(res, type, 'res');
22524
22624
  var label = type.substring(0, type.lastIndexOf('Select'));
22525
22625
  this.nextNode[label + 'Name'] = '';
22526
22626
  res.options && (this[type] = res.options);
@@ -22546,8 +22646,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22546
22646
  }
22547
22647
  }
22548
22648
  // this.nextNode[label + 'Name'] = obj.enterprise?;
22549
- this.nextNode[label + 'SerialId'] = res.nextUser.join(',');
22550
- 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
+ }
22551
22653
  this.getsubProcessColumns();
22552
22654
  }
22553
22655
  }