eoss-ui 0.8.4 → 0.8.5

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 (271) hide show
  1. package/lib/button-group.js +46 -45
  2. package/lib/button.js +46 -45
  3. package/lib/calogin.js +322 -290
  4. package/lib/checkbox-group.js +46 -45
  5. package/lib/data-table-form.js +46 -45
  6. package/lib/data-table.js +46 -45
  7. package/lib/date-picker.js +46 -45
  8. package/lib/dialog.js +46 -45
  9. package/lib/eoss-ui.common.js +997 -954
  10. package/lib/flow-group.js +46 -45
  11. package/lib/flow-list.js +46 -45
  12. package/lib/flow.js +403 -388
  13. package/lib/form.js +46 -45
  14. package/lib/handle-user.js +46 -45
  15. package/lib/handler.js +46 -45
  16. package/lib/icon.js +46 -45
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +46 -45
  19. package/lib/input.js +46 -45
  20. package/lib/login.js +46 -45
  21. package/lib/main.js +346 -344
  22. package/lib/nav.js +46 -45
  23. package/lib/page.js +46 -45
  24. package/lib/pagination.js +46 -45
  25. package/lib/player.js +46 -45
  26. package/lib/qr-code.js +59 -58
  27. package/lib/radio-group.js +46 -45
  28. package/lib/retrial-auth.js +46 -45
  29. package/lib/select-ganged.js +46 -45
  30. package/lib/select.js +46 -45
  31. package/lib/selector-panel.js +46 -45
  32. package/lib/selector.js +46 -45
  33. package/lib/sizer.js +46 -45
  34. package/lib/steps.js +46 -45
  35. package/lib/switch.js +46 -45
  36. package/lib/table-form.js +46 -45
  37. package/lib/tabs.js +46 -45
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +46 -45
  41. package/lib/tree-group.js +46 -45
  42. package/lib/tree.js +46 -45
  43. package/lib/upload.js +46 -45
  44. package/lib/utils/util.js +46 -45
  45. package/lib/wujie.js +46 -45
  46. package/lib/wxlogin.js +46 -45
  47. package/package.json +1 -1
  48. package/packages/button/index.js +5 -5
  49. package/packages/button/src/main.vue +418 -418
  50. package/packages/button-group/index.js +5 -5
  51. package/packages/calendar/index.js +5 -5
  52. package/packages/calogin/index.js +5 -5
  53. package/packages/calogin/src/plugin.js +915 -915
  54. package/packages/card/index.js +5 -5
  55. package/packages/card/src/main.vue +156 -156
  56. package/packages/cascader/index.js +5 -5
  57. package/packages/cascader/src/main.vue +168 -168
  58. package/packages/checkbox-group/index.js +5 -5
  59. package/packages/checkbox-group/src/main.vue +333 -333
  60. package/packages/clients/index.js +5 -5
  61. package/packages/data-table/index.js +5 -5
  62. package/packages/data-table/src/children.vue +46 -46
  63. package/packages/data-table/src/main.vue +1876 -1876
  64. package/packages/data-table/src/sizer.vue +195 -195
  65. package/packages/data-table-form/index.js +5 -5
  66. package/packages/data-table-form/src/checkbox.vue +101 -101
  67. package/packages/data-table-form/src/colgroup.vue +17 -17
  68. package/packages/data-table-form/src/main.vue +181 -181
  69. package/packages/data-table-form/src/radio.vue +65 -65
  70. package/packages/data-table-form/src/table.vue +233 -233
  71. package/packages/data-table-form/src/tbody.vue +336 -336
  72. package/packages/data-table-form/src/thead.vue +68 -68
  73. package/packages/date-picker/index.js +5 -5
  74. package/packages/date-picker/src/main.vue +236 -236
  75. package/packages/dialog/index.js +5 -5
  76. package/packages/enable-drag/index.js +5 -5
  77. package/packages/enterprise/index.js +5 -5
  78. package/packages/enterprise/src/main.vue +66 -66
  79. package/packages/error-page/index.js +5 -5
  80. package/packages/error-page/src/main.vue +44 -44
  81. package/packages/flow/index.js +5 -5
  82. package/packages/flow/src/component/FreeCirculation.vue +245 -245
  83. package/packages/flow/src/component/TimeLimit.vue +190 -190
  84. package/packages/flow/src/main.vue +4165 -4165
  85. package/packages/flow/src/processForm.vue +259 -228
  86. package/packages/flow-group/index.js +5 -5
  87. package/packages/flow-group/src/main.vue +750 -750
  88. package/packages/flow-list/index.js +5 -5
  89. package/packages/form/index.js +5 -5
  90. package/packages/handle-user/index.js +5 -5
  91. package/packages/handle-user/src/main.vue +137 -137
  92. package/packages/handler/index.js +5 -5
  93. package/packages/handler/src/main.vue +499 -499
  94. package/packages/icon/index.js +5 -5
  95. package/packages/icons/index.js +5 -5
  96. package/packages/icons/src/main.vue +81 -81
  97. package/packages/input/index.js +5 -5
  98. package/packages/input/src/main.vue +356 -356
  99. package/packages/input-number/index.js +5 -5
  100. package/packages/input-number/src/main.vue +106 -106
  101. package/packages/label/index.js +5 -5
  102. package/packages/label/src/main.vue +457 -457
  103. package/packages/layout/index.js +5 -5
  104. package/packages/layout/src/item.vue +152 -152
  105. package/packages/layout/src/main.vue +31 -31
  106. package/packages/login/index.js +5 -5
  107. package/packages/login/src/main.vue +2088 -2088
  108. package/packages/main/index.js +5 -5
  109. package/packages/main/src/default/message.vue +249 -249
  110. package/packages/main/src/default/notice.vue +157 -157
  111. package/packages/main/src/default/userinfo.vue +513 -513
  112. package/packages/main/src/main.vue +1 -1
  113. package/packages/main/src/simplicity/index.vue +2335 -2335
  114. package/packages/main/src/simplicity/lists.vue +84 -84
  115. package/packages/main/src/simplicity/router-page.vue +45 -45
  116. package/packages/main/src/simplicity/userinfo.vue +408 -408
  117. package/packages/main/src/simplicityTop/index.vue +2626 -2625
  118. package/packages/main/src/simplicityTop/userinfo.vue +408 -408
  119. package/packages/menu/index.js +5 -5
  120. package/packages/nav/index.js +5 -5
  121. package/packages/notify/index.js +5 -5
  122. package/packages/notify/src/main.vue +538 -538
  123. package/packages/page/index.js +5 -5
  124. package/packages/page/src/main.vue +167 -167
  125. package/packages/pagination/index.js +5 -5
  126. package/packages/pagination/src/main.vue +96 -96
  127. package/packages/player/index.js +5 -5
  128. package/packages/player/src/main.vue +194 -194
  129. package/packages/qr-code/index.js +5 -5
  130. package/packages/qr-code/src/main.vue +170 -170
  131. package/packages/radio-group/index.js +6 -6
  132. package/packages/radio-group/src/main.vue +319 -319
  133. package/packages/retrial-auth/index.js +5 -5
  134. package/packages/retrial-auth/src/main.vue +299 -299
  135. package/packages/select/index.js +5 -5
  136. package/packages/select-ganged/index.js +5 -5
  137. package/packages/select-ganged/src/main.vue +724 -724
  138. package/packages/selector/index.js +5 -5
  139. package/packages/selector-panel/index.js +5 -5
  140. package/packages/selector-panel/src/tree.vue +129 -129
  141. package/packages/sizer/index.js +5 -5
  142. package/packages/sizer/src/main.vue +254 -254
  143. package/packages/steps/index.js +5 -5
  144. package/packages/steps/src/main.vue +181 -181
  145. package/packages/switch/index.js +5 -5
  146. package/packages/table-form/index.js +5 -5
  147. package/packages/tabs/index.js +5 -5
  148. package/packages/tabs/src/main.vue +788 -788
  149. package/packages/tabs-panel/index.js +5 -5
  150. package/packages/tabs-panel/src/main.vue +29 -29
  151. package/packages/theme-chalk/gulpfile.js +25 -0
  152. package/packages/theme-chalk/src/base.scss +261 -261
  153. package/packages/theme-chalk/src/button-group.scss +176 -176
  154. package/packages/theme-chalk/src/button.scss +24 -24
  155. package/packages/theme-chalk/src/calendar.scss +113 -113
  156. package/packages/theme-chalk/src/card.scss +99 -99
  157. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  158. package/packages/theme-chalk/src/clients.scss +87 -87
  159. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  160. package/packages/theme-chalk/src/date-picker.scss +7 -7
  161. package/packages/theme-chalk/src/dialog.scss +77 -77
  162. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  163. package/packages/theme-chalk/src/enterprise.scss +5 -5
  164. package/packages/theme-chalk/src/error-page.scss +18 -18
  165. package/packages/theme-chalk/src/flow-group.scss +110 -110
  166. package/packages/theme-chalk/src/handle-user.scss +40 -40
  167. package/packages/theme-chalk/src/icons.scss +99 -99
  168. package/packages/theme-chalk/src/input.scss +9 -9
  169. package/packages/theme-chalk/src/label.scss +24 -24
  170. package/packages/theme-chalk/src/layout.scss +46 -46
  171. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  172. package/packages/theme-chalk/src/nav.scss +111 -111
  173. package/packages/theme-chalk/src/page.scss +3 -3
  174. package/packages/theme-chalk/src/pagination.scss +29 -29
  175. package/packages/theme-chalk/src/player.scss +9 -9
  176. package/packages/theme-chalk/src/qr-code.scss +17 -17
  177. package/packages/theme-chalk/src/radio-group.scss +9 -9
  178. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  179. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  180. package/packages/theme-chalk/src/select.scss +8 -8
  181. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  182. package/packages/theme-chalk/src/sizer.scss +36 -36
  183. package/packages/theme-chalk/src/steps.scss +88 -88
  184. package/packages/theme-chalk/src/switch.scss +3 -3
  185. package/packages/theme-chalk/src/table-form.scss +1 -1
  186. package/packages/theme-chalk/src/tabs.scss +87 -87
  187. package/packages/theme-chalk/src/tips.scss +7 -7
  188. package/packages/theme-chalk/src/toolbar.scss +179 -179
  189. package/packages/theme-chalk/src/tree-group.scss +72 -72
  190. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  191. package/packages/tips/index.js +5 -5
  192. package/packages/toolbar/index.js +5 -5
  193. package/packages/toolbar/src/main.vue +430 -430
  194. package/packages/tree/index.js +5 -5
  195. package/packages/tree-group/index.js +5 -5
  196. package/packages/upload/index.js +5 -5
  197. package/packages/upload/src/main.vue +1344 -1344
  198. package/packages/upload/src/picture.js +15 -15
  199. package/packages/wujie/index.js +5 -5
  200. package/packages/wxlogin/index.js +5 -5
  201. package/packages/wxlogin/src/main.vue +128 -128
  202. package/src/config/image.js +2 -2
  203. package/src/index.js +1 -1
  204. package/src/utils/bus.js +3 -3
  205. package/src/utils/date-util.js +312 -312
  206. package/src/utils/http.js +50 -50
  207. package/src/utils/store.js +21 -21
  208. package/src/utils/util.js +49 -48
  209. package/src/utils/webSocket.js +107 -107
  210. package/packages/theme-chalk/lib/base.css +0 -1
  211. package/packages/theme-chalk/lib/button-group.css +0 -1
  212. package/packages/theme-chalk/lib/button.css +0 -1
  213. package/packages/theme-chalk/lib/calendar.css +0 -1
  214. package/packages/theme-chalk/lib/calogin.css +0 -0
  215. package/packages/theme-chalk/lib/card.css +0 -1
  216. package/packages/theme-chalk/lib/cascader.css +0 -0
  217. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  218. package/packages/theme-chalk/lib/clients.css +0 -1
  219. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  220. package/packages/theme-chalk/lib/data-table.css +0 -1
  221. package/packages/theme-chalk/lib/date-picker.css +0 -1
  222. package/packages/theme-chalk/lib/dialog.css +0 -1
  223. package/packages/theme-chalk/lib/enable-drag.css +0 -1
  224. package/packages/theme-chalk/lib/enterprise.css +0 -1
  225. package/packages/theme-chalk/lib/error-page.css +0 -1
  226. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  227. package/packages/theme-chalk/lib/flow-group.css +0 -1
  228. package/packages/theme-chalk/lib/flow-list.css +0 -1
  229. package/packages/theme-chalk/lib/flow.css +0 -1
  230. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  231. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  232. package/packages/theme-chalk/lib/form.css +0 -1
  233. package/packages/theme-chalk/lib/handle-user.css +0 -1
  234. package/packages/theme-chalk/lib/handler.css +0 -1
  235. package/packages/theme-chalk/lib/icon.css +0 -1
  236. package/packages/theme-chalk/lib/icons.css +0 -1
  237. package/packages/theme-chalk/lib/index.css +0 -1
  238. package/packages/theme-chalk/lib/input-number.css +0 -0
  239. package/packages/theme-chalk/lib/input.css +0 -1
  240. package/packages/theme-chalk/lib/label.css +0 -1
  241. package/packages/theme-chalk/lib/layout.css +0 -1
  242. package/packages/theme-chalk/lib/login.css +0 -1
  243. package/packages/theme-chalk/lib/main.css +0 -1
  244. package/packages/theme-chalk/lib/menu.css +0 -1
  245. package/packages/theme-chalk/lib/nav.css +0 -1
  246. package/packages/theme-chalk/lib/notify.css +0 -0
  247. package/packages/theme-chalk/lib/page.css +0 -1
  248. package/packages/theme-chalk/lib/pagination.css +0 -1
  249. package/packages/theme-chalk/lib/player.css +0 -1
  250. package/packages/theme-chalk/lib/qr-code.css +0 -1
  251. package/packages/theme-chalk/lib/radio-group.css +0 -1
  252. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  253. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  254. package/packages/theme-chalk/lib/select.css +0 -1
  255. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  256. package/packages/theme-chalk/lib/selector.css +0 -1
  257. package/packages/theme-chalk/lib/simplicity-top.css +0 -1
  258. package/packages/theme-chalk/lib/simplicity.css +0 -1
  259. package/packages/theme-chalk/lib/sizer.css +0 -1
  260. package/packages/theme-chalk/lib/steps.css +0 -1
  261. package/packages/theme-chalk/lib/switch.css +0 -1
  262. package/packages/theme-chalk/lib/table-form.css +0 -0
  263. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  264. package/packages/theme-chalk/lib/tabs.css +0 -1
  265. package/packages/theme-chalk/lib/tips.css +0 -1
  266. package/packages/theme-chalk/lib/toolbar.css +0 -1
  267. package/packages/theme-chalk/lib/tree-group.css +0 -1
  268. package/packages/theme-chalk/lib/tree.css +0 -1
  269. package/packages/theme-chalk/lib/upload.css +0 -1
  270. package/packages/theme-chalk/lib/wujie.css +0 -0
  271. package/packages/theme-chalk/lib/wxlogin.css +0 -1
package/lib/flow.js CHANGED
@@ -286,6 +286,7 @@ var lodash = __webpack_require__(12);
286
286
 
287
287
 
288
288
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
289
+ var winTop = getWinTop();
289
290
  var isIE = /MSIE|Trident/.test(navigator.userAgent);
290
291
  var parser = new external_ua_parser_js_["UAParser"]();
291
292
  var $hueStep = 2;
@@ -833,19 +834,19 @@ var busEmit = function busEmit(that, _ref3) {
833
834
  return;
834
835
  }
835
836
  if (isIE) {
836
- if (win.top !== win.self) {
837
- win.top.postMessage({ method: method, query: args, args: args }, '*');
837
+ if (winTop !== win.self) {
838
+ winTop.postMessage({ method: method, query: args, args: args }, '*');
838
839
  return;
839
840
  }
840
841
  var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
841
842
  bus && (Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args));
842
843
  } else {
843
- if (win.top !== win.self) {
844
+ if (winTop !== win.self) {
844
845
  var _bus2 = win.$wujie ? win.$wujie.bus : null;
845
846
  if (_bus2) {
846
847
  Array.isArray(args) ? _bus2.$emit.apply(_bus2, [method].concat(args)) : _bus2.$emit(method, args);
847
848
  } else {
848
- win.top.postMessage({ method: method, query: args, args: args }, '*');
849
+ winTop.postMessage({ method: method, query: args, args: args }, '*');
849
850
  }
850
851
  return;
851
852
  }
@@ -1083,7 +1084,7 @@ var delUrlParam = function delUrlParam(_ref4) {
1083
1084
 
1084
1085
  var pUrl = '';
1085
1086
  try {
1086
- pUrl = win.top.location.href;
1087
+ pUrl = winTop.location.href;
1087
1088
  } catch (error) {
1088
1089
  pUrl = win.location.href;
1089
1090
  }
@@ -2537,7 +2538,7 @@ var isLogined = function () {
2537
2538
  pathname = '';
2538
2539
 
2539
2540
  try {
2540
- pathname = win.top.location.pathname;
2541
+ pathname = winTop.location.pathname;
2541
2542
  } catch (error) {
2542
2543
  pathname = win.location.pathname;
2543
2544
  }
@@ -2603,12 +2604,12 @@ var isLogined = function () {
2603
2604
  });
2604
2605
  try {
2605
2606
  var url = delUrlParam({
2606
- url: win.top.location.href,
2607
+ url: winTop.location.href,
2607
2608
  key: ['serverId', 'authType', 'code', 'sessionId']
2608
2609
  });
2609
- win.top.location.href = url;
2610
+ winTop.location.href = url;
2610
2611
  setTimeout(function () {
2611
- win.top.location.reload();
2612
+ winTop.location.reload();
2612
2613
  }, 200);
2613
2614
  } catch (error) {
2614
2615
  var _url2 = delUrlParam({
@@ -2627,8 +2628,8 @@ var isLogined = function () {
2627
2628
  break;
2628
2629
  case 3:
2629
2630
  try {
2630
- var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
2631
- win.top.location.href = href;
2631
+ var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(winTop.location.href));
2632
+ winTop.location.href = href;
2632
2633
  } catch (error) {
2633
2634
  var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.location.href));
2634
2635
  win.location.href = _href;
@@ -2642,18 +2643,18 @@ var isLogined = function () {
2642
2643
  sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
2643
2644
  try {
2644
2645
  if (loginPage) {
2645
- win.top.location.replace(loginPage);
2646
+ winTop.location.replace(loginPage);
2646
2647
  } else if (document.referrer) {
2647
2648
  var referrerUrl = new URL(document.referrer);
2648
- if (referrerUrl.host !== win.top.location.host) {
2649
- win.top.location.replace(document.referrer);
2650
- } else if (win.top.location.href.indexOf('main.html') > -1 || win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2651
- win.top.location.href = './login.html';
2649
+ if (referrerUrl.host !== winTop.location.host) {
2650
+ winTop.location.replace(document.referrer);
2651
+ } else if (winTop.location.href.indexOf('main.html') > -1 || winTop.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2652
+ winTop.location.href = './login.html';
2652
2653
  } else {
2653
2654
  next('/login');
2654
2655
  }
2655
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2656
- win.top.location.href = './login.html';
2656
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2657
+ winTop.location.href = './login.html';
2657
2658
  } else {
2658
2659
  next('/login');
2659
2660
  }
@@ -2672,18 +2673,18 @@ var isLogined = function () {
2672
2673
  callback: function callback() {
2673
2674
  try {
2674
2675
  if (loginPage) {
2675
- win.top.location.replace(loginPage);
2676
+ winTop.location.replace(loginPage);
2676
2677
  } else if (document.referrer) {
2677
2678
  var referrerUrl = new URL(document.referrer);
2678
- if (referrerUrl.host !== win.top.location.host) {
2679
- win.top.location.replace(document.referrer);
2680
- } else if (win.top.location.href.indexOf('main.html') > -1 || win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2681
- win.top.location.href = './login.html';
2679
+ if (referrerUrl.host !== winTop.location.host) {
2680
+ winTop.location.replace(document.referrer);
2681
+ } else if (winTop.location.href.indexOf('main.html') > -1 || winTop.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2682
+ winTop.location.href = './login.html';
2682
2683
  } else {
2683
2684
  next('/login');
2684
2685
  }
2685
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2686
- win.top.location.href = './login.html';
2686
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2687
+ winTop.location.href = './login.html';
2687
2688
  } else {
2688
2689
  next('/login');
2689
2690
  }
@@ -2712,19 +2713,19 @@ var isLogined = function () {
2712
2713
  } else {
2713
2714
  try {
2714
2715
  if (loginPage) {
2715
- win.top.location.replace(loginPage);
2716
+ winTop.location.replace(loginPage);
2716
2717
  } else if (document.referrer) {
2717
2718
  referrerUrl = new URL(document.referrer);
2718
2719
 
2719
- if (referrerUrl.host !== win.top.location.host) {
2720
- win.top.location.replace(document.referrer);
2721
- } else if (win.top.location.href.indexOf('main.html') > -1 || win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2722
- win.top.location.href = './login.html';
2720
+ if (referrerUrl.host !== winTop.location.host) {
2721
+ winTop.location.replace(document.referrer);
2722
+ } else if (winTop.location.href.indexOf('main.html') > -1 || winTop.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
2723
+ winTop.location.href = './login.html';
2723
2724
  } else {
2724
2725
  next('/login');
2725
2726
  }
2726
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2727
- win.top.location.href = './login.html';
2727
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2728
+ winTop.location.href = './login.html';
2728
2729
  } else {
2729
2730
  next('/login');
2730
2731
  }
@@ -2856,7 +2857,7 @@ var util_loading = function loading($loading, res) {
2856
2857
  }
2857
2858
  if (isObject(res)) {
2858
2859
  var config = extend({}, {
2859
- target: win.top.document.body,
2860
+ target: winTop.document.body,
2860
2861
  fullscreen: true,
2861
2862
  background: 'rgba(0, 0, 0, 0.65)',
2862
2863
  spinner: 'el-icon-loading',
@@ -2865,7 +2866,7 @@ var util_loading = function loading($loading, res) {
2865
2866
  return $loading(config);
2866
2867
  } else {
2867
2868
  var _loading = $loading({
2868
- target: win.top.document.body,
2869
+ target: winTop.document.body,
2869
2870
  fullscreen: true,
2870
2871
  background: 'rgba(0, 0, 0, 0.65)',
2871
2872
  spinner: 'el-icon-loading',
@@ -3011,7 +3012,7 @@ var util_responses = function responses(data) {
3011
3012
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
3012
3013
  var href = '';
3013
3014
  try {
3014
- href = win.top.location.href;
3015
+ href = winTop.location.href;
3015
3016
  } catch (error) {
3016
3017
  href = win.location.href;
3017
3018
  }
@@ -3036,7 +3037,7 @@ var util_responses = function responses(data) {
3036
3037
  if (loginPage) {
3037
3038
  var src = void 0;
3038
3039
  if (!startWith(loginPage, ['http', '/'], true)) {
3039
- var pathname = win.top.location.pathname;
3040
+ var pathname = winTop.location.pathname;
3040
3041
  if (pathname !== '/') {
3041
3042
  pathname = pathname.split('/');
3042
3043
  pathname.splice(pathname.length - 1);
@@ -3048,16 +3049,16 @@ var util_responses = function responses(data) {
3048
3049
  } else {
3049
3050
  src = loginPage;
3050
3051
  }
3051
- win.top.location.href = src;
3052
- } else if (win.top.location.href.indexOf('main.html') > -1) {
3053
- win.top.location.href = './login.html';
3052
+ winTop.location.href = src;
3053
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
3054
+ winTop.location.href = './login.html';
3054
3055
  } else {
3055
- var hash = win.top.location.hash;
3056
+ var hash = winTop.location.hash;
3056
3057
  if (hash) {
3057
- var len = win.top.location.href.indexOf(hash);
3058
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
3058
+ var len = winTop.location.href.indexOf(hash);
3059
+ winTop.location.href = win.location.href.slice(0, len) + '#/login';
3059
3060
  } else {
3060
- win.top.location.href = '/login.html';
3061
+ winTop.location.href = '/login.html';
3061
3062
  }
3062
3063
  }
3063
3064
  } catch (error) {
@@ -3876,9 +3877,9 @@ var removeCookie = function removeCookie(key) {
3876
3877
 
3877
3878
  var winTopOpen = function winTopOpen(config) {
3878
3879
  if (isIE) {
3879
- if (win.top !== win.self) {
3880
+ if (winTop !== win.self) {
3880
3881
  try {
3881
- win.top.windowOpen(config);
3882
+ winTop.windowOpen(config);
3882
3883
  } catch (error) {
3883
3884
  win.postMessage({ method: 'windowOpen', query: config }, '*');
3884
3885
  }
@@ -8914,8 +8915,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
8914
8915
  )
8915
8916
 
8916
8917
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
8917
- // 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=80a2c5c2&
8918
- var processFormvue_type_template_id_80a2c5c2_render = function () {
8918
+ // 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=6df91879&
8919
+ var processFormvue_type_template_id_6df91879_render = function () {
8919
8920
  var _vm = this
8920
8921
  var _h = _vm.$createElement
8921
8922
  var _c = _vm._self._c || _h
@@ -9743,11 +9744,11 @@ var processFormvue_type_template_id_80a2c5c2_render = function () {
9743
9744
  1
9744
9745
  )
9745
9746
  }
9746
- var processFormvue_type_template_id_80a2c5c2_staticRenderFns = []
9747
- processFormvue_type_template_id_80a2c5c2_render._withStripped = true
9747
+ var processFormvue_type_template_id_6df91879_staticRenderFns = []
9748
+ processFormvue_type_template_id_6df91879_render._withStripped = true
9748
9749
 
9749
9750
 
9750
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=80a2c5c2&
9751
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=6df91879&
9751
9752
 
9752
9753
  // 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=5424da0a&
9753
9754
  var selectUservue_type_template_id_5424da0a_render = function () {
@@ -11864,7 +11865,10 @@ var processFormvue_type_script_lang_js_components;
11864
11865
  nextCurrentOrgObjSelect: [],
11865
11866
  isHideCurrentOrg: false,
11866
11867
  isHideOtherOrg: false,
11867
- currentOrgSelectorParams: { filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId, only_filid: true },
11868
+ currentOrgSelectorParams: {
11869
+ filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId,
11870
+ only_filid: true
11871
+ },
11868
11872
  foreignOrgSelectorParams: { filid: 'all', nofilid: 1 },
11869
11873
  nextNode: {
11870
11874
  nodeName: '',
@@ -12099,6 +12103,8 @@ var processFormvue_type_script_lang_js_components;
12099
12103
  }
12100
12104
  },
12101
12105
  selecNext: function selecNext(val) {
12106
+ var _this3 = this;
12107
+
12102
12108
  this.nextNode.nextUser = [];
12103
12109
  this.options = [];
12104
12110
  this.selectUserList = [];
@@ -12110,7 +12116,11 @@ var processFormvue_type_script_lang_js_components;
12110
12116
  }
12111
12117
  this.nextNode.nodeInfo = this.operationList[val].list;
12112
12118
  if (this.nextNode.nodeInfo.length > 0) {
12113
- this.nextNode.nextNode = this.defaultNextNode || this.nextNode.nodeInfo[0].nodeId;
12119
+ var defaultNodeData = this.nextNode.nodeInfo.filter(function (x) {
12120
+ return x.nodeId == _this3.defaultNextNode;
12121
+ });
12122
+ length;
12123
+ this.nextNode.nextNode = defaultNodeData.length > 0 ? this.defaultNextNode : this.nextNode.nodeInfo[0].nodeId;
12114
12124
  }
12115
12125
  this.getNodeInfos();
12116
12126
  },
@@ -12185,7 +12195,7 @@ var processFormvue_type_script_lang_js_components;
12185
12195
  this.getsubProcessColumns();
12186
12196
  },
12187
12197
  getNodeType: function getNodeType() {
12188
- var _this3 = this;
12198
+ var _this4 = this;
12189
12199
 
12190
12200
  util["a" /* default */].ajax({
12191
12201
  url: api["B" /* findCodeValues */],
@@ -12198,23 +12208,23 @@ var processFormvue_type_script_lang_js_components;
12198
12208
  data = res.data;
12199
12209
 
12200
12210
  if (status === 'success') {
12201
- _this3.nextNode.noticeList = data;
12211
+ _this4.nextNode.noticeList = data;
12202
12212
  }
12203
12213
  }).catch(function (err) {
12204
- if (_this3.showBtn) {
12205
- _this3.loading = false;
12214
+ if (_this4.showBtn) {
12215
+ _this4.loading = false;
12206
12216
  } else {
12207
- _this3.allLoading.close();
12217
+ _this4.allLoading.close();
12208
12218
  }
12209
12219
  if (err.message && err.message !== 'canceled') {
12210
- _this3.$message.error(err.message);
12220
+ _this4.$message.error(err.message);
12211
12221
  }
12212
12222
  });
12213
12223
  },
12214
12224
 
12215
12225
  //获取通知信息
12216
12226
  getMessage: function getMessage() {
12217
- var _this4 = this;
12227
+ var _this5 = this;
12218
12228
 
12219
12229
  var params = {
12220
12230
  processDefinitionId: this.processDefinitionId,
@@ -12226,21 +12236,21 @@ var processFormvue_type_script_lang_js_components;
12226
12236
  }
12227
12237
  util["a" /* default */].ajax({ url: api["W" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
12228
12238
  if (res.status === 'success') {
12229
- if (!_this4.showBtn) {
12230
- _this4.oldMessage = res.message;
12231
- _this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
12239
+ if (!_this5.showBtn) {
12240
+ _this5.oldMessage = res.message;
12241
+ _this5.nextNode.noticeInfo = res.message.replace('{title}', _this5.formTitle);
12232
12242
  } else {
12233
- _this4.nextNode.noticeInfo = res.message;
12243
+ _this5.nextNode.noticeInfo = res.message;
12234
12244
  }
12235
12245
  }
12236
12246
  }).catch(function (err) {
12237
- if (_this4.showBtn) {
12238
- _this4.loading = false;
12247
+ if (_this5.showBtn) {
12248
+ _this5.loading = false;
12239
12249
  } else {
12240
- _this4.allLoading.close();
12250
+ _this5.allLoading.close();
12241
12251
  }
12242
12252
  if (err.message && err.message !== 'canceled') {
12243
- _this4.$message.error(err.message);
12253
+ _this5.$message.error(err.message);
12244
12254
  }
12245
12255
  });
12246
12256
  },
@@ -12250,11 +12260,11 @@ var processFormvue_type_script_lang_js_components;
12250
12260
  this.saveProcess(formName);
12251
12261
  },
12252
12262
  saveProcess: function saveProcess(formName) {
12253
- var _this5 = this;
12263
+ var _this6 = this;
12254
12264
 
12255
12265
  this.$refs[formName].validate(function (valid) {
12256
12266
  if (valid) {
12257
- var _nextNode = _this5.nextNode,
12267
+ var _nextNode = _this6.nextNode,
12258
12268
  nextNode = _nextNode.nextNode,
12259
12269
  nextUser = _nextNode.nextUser,
12260
12270
  noticeInfo = _nextNode.noticeInfo,
@@ -12271,31 +12281,31 @@ var processFormvue_type_script_lang_js_components;
12271
12281
  // return this.$message.warning('请选择通知方式');
12272
12282
  // }
12273
12283
 
12274
- if (_this5.isShowNextUser) {
12275
- if ((nextUser == '' || _this5.multiple && nextUser.length == 0) && !_this5.isHideCurrentOrg && !_this5.isHideOtherOrg) {
12276
- return _this5.$message.warning('请选择下步办理人');
12284
+ if (_this6.isShowNextUser) {
12285
+ if ((nextUser == '' || _this6.multiple && nextUser.length == 0) && !_this6.isHideCurrentOrg && !_this6.isHideOtherOrg) {
12286
+ return _this6.$message.warning('请选择下步办理人');
12277
12287
  }
12278
12288
  } else {
12279
- if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
12280
- return _this5.$message.warning('请选择办理对象');
12289
+ if (nextOrgId == '' || _this6.multiple && nextOrgId.length == 0) {
12290
+ return _this6.$message.warning('请选择办理对象');
12281
12291
  }
12282
12292
  }
12283
- if ((_this5.isHideOtherOrg || _this5.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
12284
- return _this5.$message.warning('请选择办理对象');
12293
+ if ((_this6.isHideOtherOrg || _this6.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
12294
+ return _this6.$message.warning('请选择办理对象');
12285
12295
  }
12286
- if (_this5.isCancelSecondConfirmationType) {
12287
- _this5.$confirm('确认提交吗?', '提示', {
12296
+ if (_this6.isCancelSecondConfirmationType) {
12297
+ _this6.$confirm('确认提交吗?', '提示', {
12288
12298
  confirmButtonText: '确定',
12289
12299
  cancelButtonText: '取消',
12290
12300
  type: 'warning'
12291
12301
  }).then(function () {
12292
- if (_this5.showBtn) {
12293
- _this5.loading = true;
12302
+ if (_this6.showBtn) {
12303
+ _this6.loading = true;
12294
12304
  } else {
12295
- _this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
12305
+ _this6.allLoading = util["a" /* default */].loading(_this6.$loading, '加载中...');
12296
12306
  }
12297
12307
  var newNextUser = [];
12298
- if (_this5.multiple) {
12308
+ if (_this6.multiple) {
12299
12309
  nextUser && nextUser.map(function (item) {
12300
12310
  return newNextUser.push(item);
12301
12311
  });
@@ -12305,108 +12315,108 @@ var processFormvue_type_script_lang_js_components;
12305
12315
  newNoticeType = noticeType.join(',');
12306
12316
  }
12307
12317
  var params = {
12308
- processDefinitionId: _this5.processDefinitionId,
12309
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
12318
+ processDefinitionId: _this6.processDefinitionId,
12319
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
12310
12320
  nextNodeId: nextNode,
12311
- businessId: _this5.businessId,
12321
+ businessId: _this6.businessId,
12312
12322
  notificationType: newNoticeType,
12313
12323
  userId: util["a" /* default */].getStorage('userId'),
12314
12324
  notificationMsg: noticeInfo,
12315
- customPresetUserJson: JSON.stringify(_this5.presetList),
12316
- presetUserJson: JSON.stringify(_this5.presetUserJson),
12317
- nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
12318
- nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
12325
+ customPresetUserJson: JSON.stringify(_this6.presetList),
12326
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
12327
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
12328
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
12319
12329
  handleExplain: handleExplain,
12320
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
12321
- opinion: _this5.newOpinion || newOpinion
12330
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
12331
+ opinion: _this6.newOpinion || newOpinion
12322
12332
  };
12323
- if (_this5.enableCustomLimitTimeSetting) {
12333
+ if (_this6.enableCustomLimitTimeSetting) {
12324
12334
  params.customLimitTime = customLimitTime;
12325
12335
  if (!customLimitTime) {
12326
- _this5.$message.warning('请选择或输入限时办理的天数');
12327
- _this5.nextNode.customLimitTime = '';
12336
+ _this6.$message.warning('请选择或输入限时办理的天数');
12337
+ _this6.nextNode.customLimitTime = '';
12328
12338
  return;
12329
12339
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
12330
- _this5.$message.warning('请输入正确的天数');
12331
- _this5.nextNode.customLimitTime = '';
12340
+ _this6.$message.warning('请输入正确的天数');
12341
+ _this6.nextNode.customLimitTime = '';
12332
12342
  return;
12333
12343
  }
12334
12344
  }
12335
- if (_this5.isHideCurrentOrg) {
12345
+ if (_this6.isHideCurrentOrg) {
12336
12346
  params.nextCurrentOrgObj = nextCurrentOrgObj;
12337
12347
  }
12338
- if (_this5.isHideOtherOrg) {
12348
+ if (_this6.isHideOtherOrg) {
12339
12349
  params.nextOtherOrgObj = nextOtherOrgObj;
12340
12350
  }
12341
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
12342
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
12351
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
12352
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
12343
12353
  var newParm = {};
12344
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
12354
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
12345
12355
  newParm.startFlowParamJson = params;
12346
12356
  // newParm.startFlowParamJson.businessId = this.id; //this.id
12347
12357
  newParm.startFlowParamJson.taskExamineParam = {
12348
- startFlowFirstNodeName: _this5.taskExamineParam
12358
+ startFlowFirstNodeName: _this6.taskExamineParam
12349
12359
  };
12350
12360
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
12351
- for (var key in _this5.taskParams) {
12352
- if (Array.isArray(_this5.taskParams[key])) {
12353
- _this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
12361
+ for (var key in _this6.taskParams) {
12362
+ if (Array.isArray(_this6.taskParams[key])) {
12363
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
12354
12364
  }
12355
12365
  }
12356
12366
 
12357
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
12358
- if (_this5.formType == 'readTransfer') {
12367
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
12368
+ if (_this6.formType == 'readTransfer') {
12359
12369
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
12360
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
12370
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
12361
12371
  delete newParm.copyHistory;
12362
12372
  delete newParm.startFlowParamJson;
12363
12373
  delete newParm.submitTaskParamJson;
12364
12374
  }
12365
12375
  params = newParm;
12366
12376
  }
12367
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
12368
- params.pendingId = _this5.pendingId;
12377
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
12378
+ params.pendingId = _this6.pendingId;
12369
12379
  delete params.businessId;
12370
12380
  }
12371
12381
  util["a" /* default */].ajax({
12372
- url: _this5.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12382
+ url: _this6.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this6.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this6.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12373
12383
  method: 'post',
12374
12384
  data: params
12375
12385
  }).then(function (res) {
12376
12386
  var status = res.status,
12377
12387
  message = res.message;
12378
12388
 
12379
- if (_this5.showBtn) {
12380
- _this5.loading = false;
12389
+ if (_this6.showBtn) {
12390
+ _this6.loading = false;
12381
12391
  } else {
12382
- _this5.allLoading.close();
12392
+ _this6.allLoading.close();
12383
12393
  }
12384
12394
  if (status === 'success' || res.rCode == 0) {
12385
- _this5.quit(true);
12386
- _this5.simpleTips && _this5.$message.success('操作成功');
12395
+ _this6.quit(true);
12396
+ _this6.simpleTips && _this6.$message.success('操作成功');
12387
12397
  } else {
12388
- _this5.$message.error(message || '系统错误,请联系管理员!');
12398
+ _this6.$message.error(message || '系统错误,请联系管理员!');
12389
12399
  }
12390
12400
  }).catch(function (err) {
12391
- if (_this5.showBtn) {
12392
- _this5.loading = false;
12401
+ if (_this6.showBtn) {
12402
+ _this6.loading = false;
12393
12403
  } else {
12394
- _this5.allLoading.close();
12404
+ _this6.allLoading.close();
12395
12405
  }
12396
12406
  if (err.message && err.message !== 'canceled') {
12397
- _this5.$message.error(err.message);
12407
+ _this6.$message.error(err.message);
12398
12408
  }
12399
12409
  });
12400
12410
  });
12401
12411
  return;
12402
12412
  }
12403
- if (_this5.showBtn) {
12404
- _this5.loading = true;
12413
+ if (_this6.showBtn) {
12414
+ _this6.loading = true;
12405
12415
  } else {
12406
- _this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
12416
+ _this6.allLoading = util["a" /* default */].loading(_this6.$loading, '加载中...');
12407
12417
  }
12408
12418
  var newNextUser = [];
12409
- if (_this5.multiple) {
12419
+ if (_this6.multiple) {
12410
12420
  nextUser && nextUser.map(function (item) {
12411
12421
  return newNextUser.push(item);
12412
12422
  });
@@ -12416,96 +12426,96 @@ var processFormvue_type_script_lang_js_components;
12416
12426
  newNoticeType = noticeType.join(',');
12417
12427
  }
12418
12428
  var params = {
12419
- processDefinitionId: _this5.processDefinitionId,
12420
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
12429
+ processDefinitionId: _this6.processDefinitionId,
12430
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
12421
12431
  nextNodeId: nextNode,
12422
- businessId: _this5.businessId,
12432
+ businessId: _this6.businessId,
12423
12433
  notificationType: newNoticeType,
12424
12434
  userId: util["a" /* default */].getStorage('userId'),
12425
12435
  notificationMsg: noticeInfo,
12426
- customPresetUserJson: JSON.stringify(_this5.presetList),
12427
- presetUserJson: JSON.stringify(_this5.presetUserJson),
12428
- nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
12429
- nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
12436
+ customPresetUserJson: JSON.stringify(_this6.presetList),
12437
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
12438
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
12439
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
12430
12440
  handleExplain: handleExplain,
12431
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
12432
- opinion: _this5.newOpinion || newOpinion
12441
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
12442
+ opinion: _this6.newOpinion || newOpinion
12433
12443
  };
12434
- if (_this5.enableCustomLimitTimeSetting) {
12444
+ if (_this6.enableCustomLimitTimeSetting) {
12435
12445
  params.customLimitTime = customLimitTime;
12436
12446
  if (!customLimitTime) {
12437
- _this5.$message.warning('请选择或输入限时办理的天数');
12438
- _this5.nextNode.customLimitTime = '';
12447
+ _this6.$message.warning('请选择或输入限时办理的天数');
12448
+ _this6.nextNode.customLimitTime = '';
12439
12449
  return;
12440
12450
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
12441
- _this5.$message.warning('请输入正确的天数');
12442
- _this5.nextNode.customLimitTime = '';
12451
+ _this6.$message.warning('请输入正确的天数');
12452
+ _this6.nextNode.customLimitTime = '';
12443
12453
  return;
12444
12454
  }
12445
12455
  }
12446
- if (_this5.isHideCurrentOrg) {
12456
+ if (_this6.isHideCurrentOrg) {
12447
12457
  params.nextCurrentOrgObj = nextCurrentOrgObj;
12448
12458
  }
12449
- if (_this5.isHideOtherOrg) {
12459
+ if (_this6.isHideOtherOrg) {
12450
12460
  params.nextOtherOrgObj = nextOtherOrgObj;
12451
12461
  }
12452
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
12453
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
12462
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
12463
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
12454
12464
  var newParm = {};
12455
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
12465
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
12456
12466
  newParm.startFlowParamJson = params;
12457
12467
  // newParm.startFlowParamJson.businessId = this.id; //this.id
12458
12468
  newParm.startFlowParamJson.taskExamineParam = {
12459
- startFlowFirstNodeName: _this5.taskExamineParam
12469
+ startFlowFirstNodeName: _this6.taskExamineParam
12460
12470
  };
12461
12471
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
12462
- for (var key in _this5.taskParams) {
12463
- if (Array.isArray(_this5.taskParams[key])) {
12464
- _this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
12472
+ for (var key in _this6.taskParams) {
12473
+ if (Array.isArray(_this6.taskParams[key])) {
12474
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
12465
12475
  }
12466
12476
  }
12467
12477
 
12468
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
12469
- if (_this5.formType == 'readTransfer') {
12478
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
12479
+ if (_this6.formType == 'readTransfer') {
12470
12480
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
12471
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
12481
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
12472
12482
  delete newParm.copyHistory;
12473
12483
  delete newParm.startFlowParamJson;
12474
12484
  delete newParm.submitTaskParamJson;
12475
12485
  }
12476
12486
  params = newParm;
12477
12487
  }
12478
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
12479
- params.pendingId = _this5.pendingId;
12488
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
12489
+ params.pendingId = _this6.pendingId;
12480
12490
  delete params.businessId;
12481
12491
  }
12482
12492
  util["a" /* default */].ajax({
12483
- url: _this5.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12493
+ url: _this6.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this6.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this6.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12484
12494
  method: 'post',
12485
12495
  data: params
12486
12496
  }).then(function (res) {
12487
12497
  var status = res.status,
12488
12498
  message = res.message;
12489
12499
 
12490
- if (_this5.showBtn) {
12491
- _this5.loading = false;
12500
+ if (_this6.showBtn) {
12501
+ _this6.loading = false;
12492
12502
  } else {
12493
- _this5.allLoading.close();
12503
+ _this6.allLoading.close();
12494
12504
  }
12495
12505
  if (status === 'success' || res.rCode == 0) {
12496
- _this5.quit(true);
12497
- _this5.simpleTips && _this5.$message.success('操作成功');
12506
+ _this6.quit(true);
12507
+ _this6.simpleTips && _this6.$message.success('操作成功');
12498
12508
  } else {
12499
- _this5.$message.error(message || '系统错误,请联系管理员!');
12509
+ _this6.$message.error(message || '系统错误,请联系管理员!');
12500
12510
  }
12501
12511
  }).catch(function (err) {
12502
- if (_this5.showBtn) {
12503
- _this5.loading = false;
12512
+ if (_this6.showBtn) {
12513
+ _this6.loading = false;
12504
12514
  } else {
12505
- _this5.allLoading.close();
12515
+ _this6.allLoading.close();
12506
12516
  }
12507
12517
  if (err.message && err.message !== 'canceled') {
12508
- _this5.$message.error(err.message);
12518
+ _this6.$message.error(err.message);
12509
12519
  }
12510
12520
  });
12511
12521
  } else {
@@ -12514,7 +12524,7 @@ var processFormvue_type_script_lang_js_components;
12514
12524
  });
12515
12525
  },
12516
12526
  getNodeInfos: function getNodeInfos(nodeId, index) {
12517
- var _this6 = this;
12527
+ var _this7 = this;
12518
12528
 
12519
12529
  var params = {
12520
12530
  processDefinitionId: this.processDefinitionId,
@@ -12532,83 +12542,82 @@ var processFormvue_type_script_lang_js_components;
12532
12542
  countersignaturetypeText = _res$data.countersignaturetypeText,
12533
12543
  countersignaturetypeCode = _res$data.countersignaturetypeCode;
12534
12544
 
12535
- if (_this6.showBtn) {
12536
- _this6.loading = false;
12545
+ if (_this7.showBtn) {
12546
+ _this7.loading = false;
12537
12547
  } else {
12538
- _this6.allLoading.close();
12548
+ _this7.allLoading.close();
12539
12549
  }
12540
12550
  if (status === 'success') {
12541
- _this6.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
12542
- _this6.nextNode.userInfo = nextUserList;
12543
- _this6.countersignaturetypeCode = countersignaturetypeCode;
12544
- _this6.nextNode.countersignaturetypeText = countersignaturetypeText;
12545
- _this6.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
12546
- if (_this6.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
12547
- _this6.nextNode.customLimitTime = _this6.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
12551
+ _this7.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
12552
+ _this7.nextNode.userInfo = nextUserList;
12553
+ _this7.countersignaturetypeCode = countersignaturetypeCode;
12554
+ _this7.nextNode.countersignaturetypeText = countersignaturetypeText;
12555
+ _this7.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
12556
+ if (_this7.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
12557
+ _this7.nextNode.customLimitTime = _this7.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
12548
12558
  }
12549
- _this6.isTaskread = nodeExtAttr.isTaskread;
12550
- _this6.isHandleExplain = nodeExtAttr.isHandleExplain;
12551
- _this6.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
12552
- _this6.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
12553
- _this6.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
12559
+ _this7.isTaskread = nodeExtAttr.isTaskread;
12560
+ _this7.isHandleExplain = nodeExtAttr.isHandleExplain;
12561
+ _this7.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
12562
+ _this7.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
12563
+ _this7.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
12554
12564
  if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
12555
- _this6.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
12565
+ _this7.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
12556
12566
  } else {
12557
- var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
12567
+ var _isMultiple = _this7.isMultiple(nodeExtAttr.userSelectionType),
12558
12568
  multiple = _isMultiple.multiple,
12559
12569
  _params = _isMultiple.params;
12560
12570
 
12561
- _this6.multiple = multiple;
12562
- _this6.params = _params;
12571
+ _this7.multiple = multiple;
12572
+ _this7.params = _params;
12563
12573
  }
12564
12574
  // this.isReadMultiple(nodeExtAttr.userSelectionType);
12565
12575
  if (nodeExtAttr.nodeType === 1 || nodeExtAttr.nodeType === 2) {
12566
-
12567
- _this6.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
12568
- _this6.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
12576
+ _this7.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
12577
+ _this7.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
12569
12578
  } else {
12570
- _this6.isHideCurrentOrg = false;
12571
- _this6.isHideOtherOrg = false;
12579
+ _this7.isHideCurrentOrg = false;
12580
+ _this7.isHideOtherOrg = false;
12572
12581
  }
12573
12582
  nextUserList.map(function (item) {
12574
- if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
12575
- _this6.nextNode.nextUser.push(item.userId);
12576
- _this6.selectUserList.push({
12583
+ if (_this7.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
12584
+ _this7.nextNode.nextUser.push(item.userId);
12585
+ _this7.selectUserList.push({
12577
12586
  showname: item.username,
12578
12587
  showid: item.userId
12579
12588
  });
12580
12589
  }
12581
12590
 
12582
- _this6.options.push({
12591
+ _this7.options.push({
12583
12592
  showname: item.username,
12584
12593
  showid: item.userId
12585
12594
  });
12586
12595
  });
12587
- if (_this6.multiple) {
12588
- _this6.nextNode.nextReadUserId = [];
12596
+ if (_this7.multiple) {
12597
+ _this7.nextNode.nextReadUserId = [];
12589
12598
  } else {
12590
- _this6.nextNode.nextReadUserId = '';
12599
+ _this7.nextNode.nextReadUserId = '';
12591
12600
  }
12592
- if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
12593
- _this6.nextNode.nextUser = nextUserList[0].userId;
12594
- _this6.selectUserList.push({
12601
+ if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this7.multiple) {
12602
+ _this7.nextNode.nextUser = nextUserList[0].userId;
12603
+ _this7.selectUserList.push({
12595
12604
  showname: nextUserList[0].username,
12596
12605
  showid: nextUserList[0].userId
12597
12606
  });
12598
12607
  }
12599
- _this6.radioList = _this6.options;
12608
+ _this7.radioList = _this7.options;
12600
12609
  } else {
12601
- _this6.$message.error(message || '系统错误,请联系管理员!');
12610
+ _this7.$message.error(message || '系统错误,请联系管理员!');
12602
12611
  }
12603
- nodeId && _this6.$refs.selectUser[index].changeInfo();
12612
+ nodeId && _this7.$refs.selectUser[index].changeInfo();
12604
12613
  }).catch(function (err) {
12605
- if (_this6.showBtn) {
12606
- _this6.loading = false;
12614
+ if (_this7.showBtn) {
12615
+ _this7.loading = false;
12607
12616
  } else {
12608
- _this6.allLoading.close();
12617
+ _this7.allLoading.close();
12609
12618
  }
12610
12619
  if (err.message && err.message !== 'canceled') {
12611
- _this6.$message.error(err.message);
12620
+ _this7.$message.error(err.message);
12612
12621
  }
12613
12622
  });
12614
12623
  },
@@ -12631,7 +12640,7 @@ var processFormvue_type_script_lang_js_components;
12631
12640
  this.$emit('cancel', false);
12632
12641
  },
12633
12642
  getFind: function getFind() {
12634
- var _this7 = this;
12643
+ var _this8 = this;
12635
12644
 
12636
12645
  util["a" /* default */].ajax({
12637
12646
  url: api["D" /* findSysCodes */]
@@ -12640,27 +12649,27 @@ var processFormvue_type_script_lang_js_components;
12640
12649
  message = res.message;
12641
12650
 
12642
12651
  if (status === 'success') {
12643
- _this7.nextNode.noticeType = message.split(',');
12652
+ _this8.nextNode.noticeType = message.split(',');
12644
12653
  var arr = [];
12645
- _this7.nextNode.noticeList.map(function (item) {
12646
- _this7.nextNode.noticeType.map(function (x) {
12654
+ _this8.nextNode.noticeList.map(function (item) {
12655
+ _this8.nextNode.noticeType.map(function (x) {
12647
12656
  if (x == item.cciValue) {
12648
12657
  arr.push(x);
12649
12658
  }
12650
12659
  });
12651
12660
  });
12652
- _this7.nextNode.noticeType = arr;
12661
+ _this8.nextNode.noticeType = arr;
12653
12662
  } else {
12654
- _this7.$message.error(message || '系统错误,请联系管理员!');
12663
+ _this8.$message.error(message || '系统错误,请联系管理员!');
12655
12664
  }
12656
12665
  }).catch(function (err) {
12657
- if (_this7.showBtn) {
12658
- _this7.loading = false;
12666
+ if (_this8.showBtn) {
12667
+ _this8.loading = false;
12659
12668
  } else {
12660
- _this7.allLoading.close();
12669
+ _this8.allLoading.close();
12661
12670
  }
12662
12671
  if (err.message && err.message !== 'canceled') {
12663
- _this7.$message.error(err.message);
12672
+ _this8.$message.error(err.message);
12664
12673
  }
12665
12674
  });
12666
12675
  },
@@ -12703,7 +12712,7 @@ var processFormvue_type_script_lang_js_components;
12703
12712
  return { multiple: multiple, params: params };
12704
12713
  },
12705
12714
  getStartFlow: function getStartFlow(processId) {
12706
- var _this8 = this;
12715
+ var _this9 = this;
12707
12716
 
12708
12717
  if (!processId) {
12709
12718
  return false;
@@ -12720,7 +12729,7 @@ var processFormvue_type_script_lang_js_components;
12720
12729
  businessId: this.businessId
12721
12730
  };
12722
12731
  if (!this.shwowBtn) {
12723
- params.taskAction = "toStartFlowWithoutTempSave";
12732
+ params.taskAction = 'toStartFlowWithoutTempSave';
12724
12733
  }
12725
12734
  // 获取节点
12726
12735
  util["a" /* default */].ajax({ url: api["sc" /* toStartFlow */], params: params }).then(function (res) {
@@ -12730,98 +12739,104 @@ var processFormvue_type_script_lang_js_components;
12730
12739
  data = res.data;
12731
12740
 
12732
12741
  if (status == 'success') {
12733
- data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
12742
+ data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this9.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
12734
12743
  confirmButtonText: '确定',
12735
12744
  cancelButtonText: '取消',
12736
12745
  type: 'warning'
12737
12746
  }).then(function () {}).catch(function () {
12738
- _this8.quit();
12747
+ _this9.quit();
12739
12748
  });
12740
- data.nextNodeCheckType && (_this8.nextNodeCheckType = data.nextNodeCheckType);
12741
- data.nextOperateCheckType && (_this8.nextOperateCheckType = data.nextOperateCheckType);
12742
- _this8.customPresetHintMessage = data.customPresetHintMessage;
12743
- _this8.readOnlyNotificationType = data.readOnlyNotificationType;
12744
- _this8.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
12745
- _this8.nextNode.nodeInfo = data.nextNodeList;
12746
- _this8.nextNode.nextNode = data.nextNodeList[0].nodeId;
12747
- _this8.isPreset = data.isPreset;
12748
- _this8.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
12749
- _this8.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
12750
- _this8.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
12751
- _this8.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
12752
- if (_this8.isChooseNextNode == 1) {
12753
- _this8.operationList = [
12749
+ data.nextNodeCheckType && (_this9.nextNodeCheckType = data.nextNodeCheckType);
12750
+ data.nextOperateCheckType && (_this9.nextOperateCheckType = data.nextOperateCheckType);
12751
+ _this9.customPresetHintMessage = data.customPresetHintMessage;
12752
+ _this9.readOnlyNotificationType = data.readOnlyNotificationType;
12753
+ _this9.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
12754
+ _this9.nextNode.nodeInfo = data.nextNodeList;
12755
+ _this9.nextNode.nextNode = data.nextNodeList[0].nodeId;
12756
+ _this9.isPreset = data.isPreset;
12757
+ _this9.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
12758
+ _this9.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
12759
+ _this9.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
12760
+ _this9.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
12761
+ if (_this9.isChooseNextNode == 1) {
12762
+ _this9.operationList = [
12754
12763
  // { key: 0, value: '默认', list: [] },
12755
12764
  { key: 1, value: '自定义', list: [] }];
12756
12765
  if (data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1) {
12757
- _this8.operationList.unshift({ key: 0, value: '默认', list: [] });
12766
+ _this9.operationList.unshift({
12767
+ key: 0,
12768
+ value: '默认',
12769
+ list: data.nextNodeList
12770
+ });
12758
12771
  }
12759
12772
  var arr = [];
12760
12773
  for (var key in data.taskNodeMap) {
12761
12774
  arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
12762
12775
  }
12763
12776
  // this.operationList[0].list = data.nextNodeList;
12764
- _this8.operationList[0].list = arr;
12765
- if (_this8.isHideDefaultOperation != 1) {
12766
- _this8.nextNode.nextOperate = 0;
12767
- _this8.nextNode.nodeInfo = _this8.operationList[0].list;
12768
- if (_this8.nextNode.nodeInfo.length > 0) {
12777
+ _this9.operationList[data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1 ? 1 : 0].list = arr;
12778
+ if (_this9.isHideDefaultOperation != 1) {
12779
+ _this9.nextNode.nextOperate = 0;
12780
+ _this9.nextNode.nodeInfo = _this9.operationList[0].list;
12781
+ if (_this9.nextNode.nodeInfo.length > 0) {
12769
12782
  var defaultNodeData = data.nextNodeList.filter(function (x) {
12770
- return x.nodeId == _this8.defaultNextNode;
12783
+ return x.nodeId == _this9.defaultNextNode;
12771
12784
  });
12772
- _this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
12785
+ _this9.nextNode.nextNode = defaultNodeData.length > 0 ? _this9.defaultNextNode : data.nextNodeList[0].nodeId;
12773
12786
  }
12774
- } else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
12787
+ }
12788
+ if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
12775
12789
  // this.nextNode.nodeInfo = data.nextNodeList
12776
- _this8.nextNode.nextOperate = 1;
12777
- _this8.nextNode.nodeInfo = _this8.operationList[0].list;
12778
- if (_this8.nextNode.nodeInfo.length > 0) {
12779
- var _defaultNodeData = data.nextNodeList.filter(function (x) {
12780
- return x.nodeId == _this8.defaultNextNode;
12790
+ _this9.nextNode.nextOperate = 1;
12791
+ _this9.nextNode.nodeInfo = _this9.operationList[_this9.isHideDefaultOperation != 1 ? 1 : 0].list;
12792
+
12793
+ if (_this9.nextNode.nodeInfo.length > 0) {
12794
+ var _defaultNodeData = _this9.nextNode.nodeInfo.filter(function (x) {
12795
+ return x.nodeId == _this9.defaultNextNode;
12781
12796
  });
12782
- _this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
12797
+ _this9.nextNode.nextNode = _defaultNodeData.length > 0 ? _this9.defaultNextNode : _this9.nextNode.nodeInfo[0].nodeId;
12783
12798
  }
12784
12799
  }
12785
12800
  }
12786
- _this8.isCustomPreset = data.isCustomPreset;
12787
- _this8.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
12788
- _this8.presetTaskNodeMap = data.presetTaskNodeMap;
12789
- _this8.isSinglePage = data.taskExamine.isSinglePage;
12790
- _this8.isSinglePage && (_this8.nextNode.opinion = data.taskExamine.opinion);
12801
+ _this9.isCustomPreset = data.isCustomPreset;
12802
+ _this9.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
12803
+ _this9.presetTaskNodeMap = data.presetTaskNodeMap;
12804
+ _this9.isSinglePage = data.taskExamine.isSinglePage;
12805
+ _this9.isSinglePage && (_this9.nextNode.opinion = data.taskExamine.opinion);
12791
12806
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
12792
- _this8.nextNode.nodeName = data.taskExamine.nodeName;
12793
- _this8.canPresetRead = data.canPresetRead;
12807
+ _this9.nextNode.nodeName = data.taskExamine.nodeName;
12808
+ _this9.canPresetRead = data.canPresetRead;
12794
12809
  if (data.canPresetRead) {
12795
12810
  var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
12796
12811
  var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
12797
12812
  ids.map(function (item, index) {
12798
- _this8.presetReadUserId.push({
12813
+ _this9.presetReadUserId.push({
12799
12814
  showid: item,
12800
12815
  showname: names[index]
12801
12816
  });
12802
- _this8.selectPresetUserList.push({
12817
+ _this9.selectPresetUserList.push({
12803
12818
  showid: item,
12804
12819
  showname: names[index]
12805
12820
  });
12806
- _this8.nextNode.presetReadUserId.push(item);
12821
+ _this9.nextNode.presetReadUserId.push(item);
12807
12822
  });
12808
12823
  }
12809
- _this8.getNodeInfos();
12824
+ _this9.getNodeInfos();
12810
12825
  // this.getPresetFlowInfo();
12811
- _this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
12812
- _this8.getFind();
12813
- _this8.getMessage();
12826
+ _this9.isCustomPreset && _this9.$refs.customPreset.getPresetFlowInfo(_this9.nextNode.nextNode);
12827
+ _this9.getFind();
12828
+ _this9.getMessage();
12814
12829
  } else {
12815
- _this8.$message.error(message || '系统错误,请联系管理员!');
12830
+ _this9.$message.error(message || '系统错误,请联系管理员!');
12816
12831
  }
12817
12832
  }).catch(function (err) {
12818
- if (_this8.showBtn) {
12819
- _this8.loading = false;
12833
+ if (_this9.showBtn) {
12834
+ _this9.loading = false;
12820
12835
  } else {
12821
- _this8.allLoading.close();
12836
+ _this9.allLoading.close();
12822
12837
  }
12823
12838
  if (err.message && err.message !== 'canceled') {
12824
- _this8.$message.error(err.message);
12839
+ _this9.$message.error(err.message);
12825
12840
  }
12826
12841
  });
12827
12842
  }
@@ -12839,8 +12854,8 @@ var processFormvue_type_script_lang_js_components;
12839
12854
 
12840
12855
  var processForm_component = Object(componentNormalizer["a" /* default */])(
12841
12856
  src_processFormvue_type_script_lang_js_,
12842
- processFormvue_type_template_id_80a2c5c2_render,
12843
- processFormvue_type_template_id_80a2c5c2_staticRenderFns,
12857
+ processFormvue_type_template_id_6df91879_render,
12858
+ processFormvue_type_template_id_6df91879_staticRenderFns,
12844
12859
  false,
12845
12860
  null,
12846
12861
  null,
@@ -26370,11 +26385,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26370
26385
  });
26371
26386
  },
26372
26387
 
26373
- /**
26374
- * saveInfo
26375
- * @desc:暂存
26376
- * @author liufan
26377
- * @date 2022年9月9日
26388
+ /**
26389
+ * saveInfo
26390
+ * @desc:暂存
26391
+ * @author liufan
26392
+ * @date 2022年9月9日
26378
26393
  **/
26379
26394
  saveInfo: function saveInfo(type, btn) {
26380
26395
  var _this13 = this;
@@ -26436,11 +26451,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26436
26451
  });
26437
26452
  },
26438
26453
 
26439
- /**
26440
- * rejectBtn
26441
- * @desc:点击驳回
26442
- * @author liufan
26443
- * @date 2022年5月25日
26454
+ /**
26455
+ * rejectBtn
26456
+ * @desc:点击驳回
26457
+ * @author liufan
26458
+ * @date 2022年5月25日
26444
26459
  **/
26445
26460
  rejectBtn: function rejectBtn() {
26446
26461
  var _this15 = this;
@@ -26458,11 +26473,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26458
26473
  }
26459
26474
  },
26460
26475
 
26461
- /**
26462
- * taskReadBtn
26463
- * @desc:点击分阅
26464
- * @author liufan
26465
- * @date 2022年5月25日
26476
+ /**
26477
+ * taskReadBtn
26478
+ * @desc:点击分阅
26479
+ * @author liufan
26480
+ * @date 2022年5月25日
26466
26481
  **/
26467
26482
  taskReadBtn: function taskReadBtn() {
26468
26483
  var _this16 = this;
@@ -26481,11 +26496,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26481
26496
  }
26482
26497
  },
26483
26498
 
26484
- /**
26485
- * getFind
26486
- * @desc:获取通知方式
26487
- * @author liufan
26488
- * @date 2022年5月25日
26499
+ /**
26500
+ * getFind
26501
+ * @desc:获取通知方式
26502
+ * @author liufan
26503
+ * @date 2022年5月25日
26489
26504
  **/
26490
26505
  getFind: function getFind() {
26491
26506
  var _this17 = this;
@@ -26551,12 +26566,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26551
26566
  });
26552
26567
  },
26553
26568
 
26554
- /**
26555
- * endFlows
26556
- * @desc:直接办结
26557
- * @author liufan
26558
- * @param {Object} res 直接办结数据
26559
- * @date 2022年5月25日
26569
+ /**
26570
+ * endFlows
26571
+ * @desc:直接办结
26572
+ * @author liufan
26573
+ * @param {Object} res 直接办结数据
26574
+ * @date 2022年5月25日
26560
26575
  **/
26561
26576
  endFlows: function endFlows(res) {
26562
26577
  var _this19 = this;
@@ -26611,12 +26626,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26611
26626
  }).catch(function (e) {});
26612
26627
  },
26613
26628
 
26614
- /**
26615
- * goView
26616
- * @desc:更多流程按钮操作
26617
- * @author liufan
26618
- * @param {Object} res 当前点击操作按钮数据
26619
- * @date 2022年5月25日
26629
+ /**
26630
+ * goView
26631
+ * @desc:更多流程按钮操作
26632
+ * @author liufan
26633
+ * @param {Object} res 当前点击操作按钮数据
26634
+ * @date 2022年5月25日
26620
26635
  **/
26621
26636
  goView: function goView(res) {
26622
26637
  // 驳回并办结:rejectAndEndHtml
@@ -26703,11 +26718,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26703
26718
  // isCanStartSubFlow
26704
26719
  },
26705
26720
 
26706
- /**
26707
- * toTakeAdvice
26708
- * @desc:征求意见
26709
- * @author liufan
26710
- * @date 2022年9月29日
26721
+ /**
26722
+ * toTakeAdvice
26723
+ * @desc:征求意见
26724
+ * @author liufan
26725
+ * @date 2022年9月29日
26711
26726
  **/
26712
26727
  toTakeAdvice: function toTakeAdvice(res) {
26713
26728
  var _this21 = this;
@@ -26751,11 +26766,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26751
26766
  });
26752
26767
  },
26753
26768
 
26754
- /**
26755
- * toStartDraf
26756
- * @desc: 稿件递送、联合审核、复核
26757
- * @author liufan
26758
- * @date 2022年9月29日
26769
+ /**
26770
+ * toStartDraf
26771
+ * @desc: 稿件递送、联合审核、复核
26772
+ * @author liufan
26773
+ * @date 2022年9月29日
26759
26774
  **/
26760
26775
  toStartDraf: function toStartDraf(res) {
26761
26776
  var _this23 = this;
@@ -26769,11 +26784,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26769
26784
  }
26770
26785
  },
26771
26786
 
26772
- /**
26773
- * toSendMsg
26774
- * @desc:核稿通知
26775
- * @author liufan
26776
- * @date 2022年9月29日
26787
+ /**
26788
+ * toSendMsg
26789
+ * @desc:核稿通知
26790
+ * @author liufan
26791
+ * @date 2022年9月29日
26777
26792
  **/
26778
26793
  toSendMsg: function toSendMsg(res) {
26779
26794
  var _this24 = this;
@@ -26787,11 +26802,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26787
26802
  }
26788
26803
  },
26789
26804
 
26790
- /**
26791
- * toTaskReadAndEnd
26792
- * @desc:分阅并办结
26793
- * @author liufan
26794
- * @date 2022年9月29日
26805
+ /**
26806
+ * toTaskReadAndEnd
26807
+ * @desc:分阅并办结
26808
+ * @author liufan
26809
+ * @date 2022年9月29日
26795
26810
  **/
26796
26811
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
26797
26812
  var _this25 = this;
@@ -26809,11 +26824,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26809
26824
  }
26810
26825
  },
26811
26826
 
26812
- /**
26813
- * rejectAndEnd
26814
- * @desc:驳回并办结
26815
- * @author liufan
26816
- * @date 2022年9月29日
26827
+ /**
26828
+ * rejectAndEnd
26829
+ * @desc:驳回并办结
26830
+ * @author liufan
26831
+ * @date 2022年9月29日
26817
26832
  **/
26818
26833
  rejectAndEnd: function rejectAndEnd(res) {
26819
26834
  var _this26 = this;
@@ -26869,11 +26884,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26869
26884
  });
26870
26885
  },
26871
26886
 
26872
- /**
26873
- * toTransfer
26874
- * @desc:转办
26875
- * @author liufan
26876
- * @date 2022年9月29日
26887
+ /**
26888
+ * toTransfer
26889
+ * @desc:转办
26890
+ * @author liufan
26891
+ * @date 2022年9月29日
26877
26892
  **/
26878
26893
  toTransfer: function toTransfer(res) {
26879
26894
  var _this28 = this;
@@ -26892,11 +26907,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26892
26907
  this.nextNode.customLimitTime = val;
26893
26908
  },
26894
26909
 
26895
- /**
26896
- * getNodeInfo
26897
- * @desc:获取节点信息
26898
- * @author liufan
26899
- * @date 2022年5月25日
26910
+ /**
26911
+ * getNodeInfo
26912
+ * @desc:获取节点信息
26913
+ * @author liufan
26914
+ * @date 2022年5月25日
26900
26915
  **/
26901
26916
  getNodeInfo: function getNodeInfo() {
26902
26917
  var _this29 = this;
@@ -27007,12 +27022,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27007
27022
  });
27008
27023
  },
27009
27024
 
27010
- /**
27011
- * selecNext
27012
- * @desc:下步节点变化时更新数据
27013
- * @author liufan
27014
- * @param {String} val 当前选中值
27015
- * @date 2022年5月25日
27025
+ /**
27026
+ * selecNext
27027
+ * @desc:下步节点变化时更新数据
27028
+ * @author liufan
27029
+ * @param {String} val 当前选中值
27030
+ * @date 2022年5月25日
27016
27031
  **/
27017
27032
  selecNext: function selecNext(val, type, isDef) {
27018
27033
  var _this30 = this;
@@ -27152,11 +27167,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27152
27167
  }
27153
27168
  },
27154
27169
 
27155
- /**
27156
- * isMultiple
27157
- * @desc:是否多选
27158
- * @author liufan
27159
- * @date 2022年9月13日
27170
+ /**
27171
+ * isMultiple
27172
+ * @desc:是否多选
27173
+ * @author liufan
27174
+ * @date 2022年9月13日
27160
27175
  **/
27161
27176
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
27162
27177
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -27188,11 +27203,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27188
27203
  }
27189
27204
  },
27190
27205
 
27191
- /**
27192
- * getHedInfo
27193
- * @desc:获取审核页面数据
27194
- * @author liufan
27195
- * @date 2022年5月25日
27206
+ /**
27207
+ * getHedInfo
27208
+ * @desc:获取审核页面数据
27209
+ * @author liufan
27210
+ * @date 2022年5月25日
27196
27211
  **/
27197
27212
  getHedInfo: function getHedInfo() {
27198
27213
  var _this31 = this;
@@ -27508,13 +27523,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27508
27523
  });
27509
27524
  },
27510
27525
 
27511
- /**
27512
- * closeProcess
27513
- * @desc:关闭弹窗
27514
- * @author liufan
27515
- * @param {boolean} val 当前是否办理流程
27516
- * @param {String} type 当前点击的弹窗类型
27517
- * @date 2022年5月25日
27526
+ /**
27527
+ * closeProcess
27528
+ * @desc:关闭弹窗
27529
+ * @author liufan
27530
+ * @param {boolean} val 当前是否办理流程
27531
+ * @param {String} type 当前点击的弹窗类型
27532
+ * @date 2022年5月25日
27518
27533
  **/
27519
27534
  closeProcess: function closeProcess(val, type, closeParent) {
27520
27535
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -27534,23 +27549,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27534
27549
  }
27535
27550
  },
27536
27551
 
27537
- /**
27538
- * selectChange
27539
- * @desc:常用语选择
27540
- * @author liufan
27541
- * @param {String} val 选中值
27542
- * @date 2022年5月25日
27552
+ /**
27553
+ * selectChange
27554
+ * @desc:常用语选择
27555
+ * @author liufan
27556
+ * @param {String} val 选中值
27557
+ * @date 2022年5月25日
27543
27558
  **/
27544
27559
  selectChange: function selectChange(val) {
27545
27560
  this.value = val;
27546
27561
  },
27547
27562
 
27548
- /**
27549
- * upDate
27550
- * @desc:修改常用语
27551
- * @author liufan
27552
- * @param {Object} val 修改值
27553
- * @date 2022年5月25日
27563
+ /**
27564
+ * upDate
27565
+ * @desc:修改常用语
27566
+ * @author liufan
27567
+ * @param {Object} val 修改值
27568
+ * @date 2022年5月25日
27554
27569
  **/
27555
27570
  upDate: function upDate(val) {
27556
27571
  this.FormData.id = val.id;
@@ -27558,11 +27573,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27558
27573
  },
27559
27574
 
27560
27575
 
27561
- /**
27562
- * getProcess
27563
- * @desc:获取选择流程
27564
- * @author liufan
27565
- * @date 2022年5月25日
27576
+ /**
27577
+ * getProcess
27578
+ * @desc:获取选择流程
27579
+ * @author liufan
27580
+ * @date 2022年5月25日
27566
27581
  **/
27567
27582
  getProcess: function getProcess(val) {
27568
27583
  var _this32 = this;
@@ -27622,11 +27637,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27622
27637
  });
27623
27638
  },
27624
27639
 
27625
- /**
27626
- * getPendedhistoryList
27627
- * @desc:获取流程列表
27628
- * @author liufan
27629
- * @date 2022年5月25日
27640
+ /**
27641
+ * getPendedhistoryList
27642
+ * @desc:获取流程列表
27643
+ * @author liufan
27644
+ * @date 2022年5月25日
27630
27645
  **/
27631
27646
  getPendedhistoryList: function getPendedhistoryList() {
27632
27647
  var _this33 = this;
@@ -27697,12 +27712,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27697
27712
  beforeSubProcess: function beforeSubProcess() {},
27698
27713
 
27699
27714
  // 提交流程
27700
- /**
27701
- * subProcess
27702
- * @desc:提交流程
27703
- * @author liufan
27704
- * @param {String} formName 当前form表单ref值
27705
- * @date 2022年5月25日
27715
+ /**
27716
+ * subProcess
27717
+ * @desc:提交流程
27718
+ * @author liufan
27719
+ * @param {String} formName 当前form表单ref值
27720
+ * @date 2022年5月25日
27706
27721
  **/
27707
27722
  subProcess: function subProcess(val, type) {
27708
27723
  var _this35 = this;