eoss-ui 0.8.4 → 0.8.6

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 (144) hide show
  1. package/lib/button-group.js +64 -57
  2. package/lib/button.js +64 -57
  3. package/lib/calogin.js +107 -69
  4. package/lib/checkbox-group.js +64 -57
  5. package/lib/data-table-form.js +64 -57
  6. package/lib/data-table.js +64 -57
  7. package/lib/date-picker.js +64 -57
  8. package/lib/dialog.js +64 -57
  9. package/lib/eoss-ui.common.js +631 -582
  10. package/lib/flow-group.js +64 -57
  11. package/lib/flow-list.js +160 -153
  12. package/lib/flow.js +465 -444
  13. package/lib/form.js +64 -57
  14. package/lib/handle-user.js +64 -57
  15. package/lib/handler.js +64 -57
  16. package/lib/icon.js +64 -57
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +64 -57
  19. package/lib/input.js +64 -57
  20. package/lib/login.js +64 -57
  21. package/lib/main.js +86 -78
  22. package/lib/nav.js +64 -57
  23. package/lib/page.js +64 -57
  24. package/lib/pagination.js +64 -57
  25. package/lib/player.js +64 -57
  26. package/lib/qr-code.js +64 -57
  27. package/lib/radio-group.js +64 -57
  28. package/lib/retrial-auth.js +64 -57
  29. package/lib/select-ganged.js +64 -57
  30. package/lib/select.js +64 -57
  31. package/lib/selector-panel.js +64 -57
  32. package/lib/selector.js +64 -57
  33. package/lib/sizer.js +64 -57
  34. package/lib/steps.js +64 -57
  35. package/lib/switch.js +64 -57
  36. package/lib/table-form.js +64 -57
  37. package/lib/tabs.js +64 -57
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +64 -57
  41. package/lib/tree-group.js +64 -57
  42. package/lib/tree.js +64 -57
  43. package/lib/upload.js +64 -57
  44. package/lib/utils/util.js +64 -57
  45. package/lib/wujie.js +64 -57
  46. package/lib/wxlogin.js +64 -57
  47. package/package.json +1 -1
  48. package/packages/.DS_Store +0 -0
  49. package/packages/button-group/src/main.vue +346 -346
  50. package/packages/calogin/.DS_Store +0 -0
  51. package/packages/calogin/src/main.vue +412 -412
  52. package/packages/calogin/src/plugin.js +3 -3
  53. package/packages/clients/src/main.vue +151 -151
  54. package/packages/date-picker/.DS_Store +0 -0
  55. package/packages/date-picker/src/.DS_Store +0 -0
  56. package/packages/dialog/.DS_Store +0 -0
  57. package/packages/flow/.DS_Store +0 -0
  58. package/packages/flow/src/.DS_Store +0 -0
  59. package/packages/flow/src/component/Circulate.vue +417 -417
  60. package/packages/flow/src/component/CommonOpinions.vue +376 -376
  61. package/packages/flow/src/component/CustomPreset.vue +324 -324
  62. package/packages/flow/src/component/FileList.vue +97 -97
  63. package/packages/flow/src/component/Preset.vue +257 -257
  64. package/packages/flow/src/component/SendMsg.vue +242 -242
  65. package/packages/flow/src/component/SortFlow.vue +110 -110
  66. package/packages/flow/src/component/taskUnionExamine.vue +761 -761
  67. package/packages/flow/src/form.vue +123 -123
  68. package/packages/flow/src/freeStartFlow.vue +2855 -2855
  69. package/packages/flow/src/processForm.vue +1711 -1680
  70. package/packages/flow/src/processReject.vue +309 -309
  71. package/packages/flow/src/reset.vue +946 -946
  72. package/packages/flow/src/startTaskRead.vue +695 -695
  73. package/packages/flow/src/supervise.vue +159 -159
  74. package/packages/flow/src/table.vue +58 -58
  75. package/packages/flow-list/.DS_Store +0 -0
  76. package/packages/flow-list/src/main.vue +2337 -2337
  77. package/packages/form/.DS_Store +0 -0
  78. package/packages/form/src/main.vue +3901 -3901
  79. package/packages/form/src/table.vue +1512 -1512
  80. package/packages/icon/.DS_Store +0 -0
  81. package/packages/icon/src/main.vue +104 -104
  82. package/packages/login/.DS_Store +0 -0
  83. package/packages/login/src/resetPassword.vue +557 -557
  84. package/packages/main/.DS_Store +0 -0
  85. package/packages/main/src/.DS_Store +0 -0
  86. package/packages/main/src/main.vue +1 -1
  87. package/packages/main/src/public/online.vue +89 -89
  88. package/packages/main/src/public/search.vue +464 -464
  89. package/packages/main/src/public/settings.vue +273 -273
  90. package/packages/main/src/simplicity/apps.vue +388 -388
  91. package/packages/main/src/simplicity/avatar.vue +82 -82
  92. package/packages/main/src/simplicity/handler.vue +158 -158
  93. package/packages/main/src/simplicity/menu-list.vue +135 -135
  94. package/packages/main/src/simplicity/message.vue +293 -293
  95. package/packages/main/src/simplicity/notice.vue +222 -222
  96. package/packages/main/src/simplicity/sub-menu.vue +276 -276
  97. package/packages/main/src/simplicity/user.vue +259 -259
  98. package/packages/main/src/simplicityTop/apps.vue +388 -388
  99. package/packages/main/src/simplicityTop/avatar.vue +82 -82
  100. package/packages/main/src/simplicityTop/handler.vue +215 -215
  101. package/packages/main/src/simplicityTop/index.vue +6 -5
  102. package/packages/main/src/simplicityTop/lists.vue +84 -84
  103. package/packages/main/src/simplicityTop/menu-list.vue +135 -135
  104. package/packages/main/src/simplicityTop/message.vue +293 -293
  105. package/packages/main/src/simplicityTop/notice.vue +222 -222
  106. package/packages/main/src/simplicityTop/router-page.vue +45 -45
  107. package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
  108. package/packages/main/src/simplicityTop/user.vue +259 -259
  109. package/packages/menu/.DS_Store +0 -0
  110. package/packages/menu/src/main.vue +595 -595
  111. package/packages/nav/src/main.vue +351 -351
  112. package/packages/select/.DS_Store +0 -0
  113. package/packages/selector/.DS_Store +0 -0
  114. package/packages/selector/src/main.vue +761 -761
  115. package/packages/selector-panel/.DS_Store +0 -0
  116. package/packages/selector-panel/src/main.vue +1036 -1036
  117. package/packages/selector-panel/src/selection.vue +174 -174
  118. package/packages/switch/src/main.vue +170 -170
  119. package/packages/theme-chalk/lib/index.css +1 -1
  120. package/packages/theme-chalk/lib/login.css +1 -1
  121. package/packages/theme-chalk/src/.DS_Store +0 -0
  122. package/packages/theme-chalk/src/data-table.scss +297 -297
  123. package/packages/theme-chalk/src/flow-list.scss +55 -55
  124. package/packages/theme-chalk/src/flow.scss +373 -373
  125. package/packages/theme-chalk/src/form.scss +501 -501
  126. package/packages/theme-chalk/src/handler.scss +148 -148
  127. package/packages/theme-chalk/src/icon.scss +3452 -3452
  128. package/packages/theme-chalk/src/login.scss +1006 -1006
  129. package/packages/theme-chalk/src/main.scss +664 -664
  130. package/packages/theme-chalk/src/menu.scss +224 -224
  131. package/packages/theme-chalk/src/selector.scss +114 -114
  132. package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
  133. package/packages/theme-chalk/src/simplicity.scss +1403 -1403
  134. package/packages/theme-chalk/src/tree.scss +165 -165
  135. package/packages/theme-chalk/src/upload.scss +172 -172
  136. package/packages/tips/src/main.vue +141 -141
  137. package/packages/upload/.DS_Store +0 -0
  138. package/packages/wujie/src/main.vue +146 -146
  139. package/src/.DS_Store +0 -0
  140. package/src/config/api.js +348 -348
  141. package/src/index.js +163 -163
  142. package/src/utils/.DS_Store +0 -0
  143. package/src/utils/rules.js +18 -18
  144. package/src/utils/util.js +54 -48
package/lib/flow.js CHANGED
@@ -825,6 +825,7 @@ var busEmit = function busEmit(that, _ref3) {
825
825
  args = _ref3.args,
826
826
  opener = _ref3.opener;
827
827
 
828
+ var winTop = getWinTop();
828
829
  if (opener) {
829
830
  var source = opener.source,
830
831
  origin = opener.origin;
@@ -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
  }
@@ -1081,9 +1082,10 @@ var delUrlParam = function delUrlParam(_ref4) {
1081
1082
  var url = _ref4.url,
1082
1083
  key = _ref4.key;
1083
1084
 
1085
+ var winTop = getWinTop();
1084
1086
  var pUrl = '';
1085
1087
  try {
1086
- pUrl = win.top.location.href;
1088
+ pUrl = winTop.location.href;
1087
1089
  } catch (error) {
1088
1090
  pUrl = win.location.href;
1089
1091
  }
@@ -2511,18 +2513,20 @@ var isLogined = function () {
2511
2513
  cookie = _ref11.cookie,
2512
2514
  loginPage = _ref11.loginPage,
2513
2515
  redirect = _ref11.redirect;
2514
- var quit, pathname, path, token, loadingInstance, referrerUrl;
2516
+ var winTop, quit, pathname, path, token, loadingInstance, referrerUrl;
2515
2517
  return regenerator_default.a.wrap(function _callee$(_context) {
2516
2518
  while (1) {
2517
2519
  switch (_context.prev = _context.next) {
2518
2520
  case 0:
2521
+ winTop = getWinTop();
2522
+
2519
2523
  if (cookie === undefined) {
2520
2524
  cookie = getParams({ name: 'cookie' });
2521
2525
  }
2522
2526
  quit = getParams('quit') || getParams('logout');
2523
2527
 
2524
2528
  if (!quit) {
2525
- _context.next = 5;
2529
+ _context.next = 6;
2526
2530
  break;
2527
2531
  }
2528
2532
 
@@ -2533,11 +2537,11 @@ var isLogined = function () {
2533
2537
  }).catch(function () {});
2534
2538
  return _context.abrupt('return');
2535
2539
 
2536
- case 5:
2540
+ case 6:
2537
2541
  pathname = '';
2538
2542
 
2539
2543
  try {
2540
- pathname = win.top.location.pathname;
2544
+ pathname = winTop.location.pathname;
2541
2545
  } catch (error) {
2542
2546
  pathname = win.location.pathname;
2543
2547
  }
@@ -2563,17 +2567,17 @@ var isLogined = function () {
2563
2567
  // eslint-disable-next-line eqeqeq
2564
2568
 
2565
2569
  if (!(token || cookie == true || cookie == 1)) {
2566
- _context.next = 13;
2570
+ _context.next = 14;
2567
2571
  break;
2568
2572
  }
2569
2573
 
2570
2574
  next && next();
2571
- _context.next = 20;
2575
+ _context.next = 21;
2572
2576
  break;
2573
2577
 
2574
- case 13:
2578
+ case 14:
2575
2579
  if (!(!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType'))) {
2576
- _context.next = 19;
2580
+ _context.next = 20;
2577
2581
  break;
2578
2582
  }
2579
2583
 
@@ -2582,7 +2586,7 @@ var isLogined = function () {
2582
2586
  spinner: 'el-icon-loading',
2583
2587
  background: 'rgba(0, 0, 0, 0.65)'
2584
2588
  });
2585
- _context.next = 17;
2589
+ _context.next = 18;
2586
2590
  return util_ajax({
2587
2591
  method: 'post',
2588
2592
  url: api["b" /* authCenter */],
@@ -2603,12 +2607,12 @@ var isLogined = function () {
2603
2607
  });
2604
2608
  try {
2605
2609
  var url = delUrlParam({
2606
- url: win.top.location.href,
2610
+ url: winTop.location.href,
2607
2611
  key: ['serverId', 'authType', 'code', 'sessionId']
2608
2612
  });
2609
- win.top.location.href = url;
2613
+ winTop.location.href = url;
2610
2614
  setTimeout(function () {
2611
- win.top.location.reload();
2615
+ winTop.location.reload();
2612
2616
  }, 200);
2613
2617
  } catch (error) {
2614
2618
  var _url2 = delUrlParam({
@@ -2627,8 +2631,8 @@ var isLogined = function () {
2627
2631
  break;
2628
2632
  case 3:
2629
2633
  try {
2630
- var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
2631
- win.top.location.href = href;
2634
+ var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(winTop.location.href));
2635
+ winTop.location.href = href;
2632
2636
  } catch (error) {
2633
2637
  var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.location.href));
2634
2638
  win.location.href = _href;
@@ -2642,18 +2646,18 @@ var isLogined = function () {
2642
2646
  sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
2643
2647
  try {
2644
2648
  if (loginPage) {
2645
- win.top.location.replace(loginPage);
2649
+ winTop.location.replace(loginPage);
2646
2650
  } else if (document.referrer) {
2647
2651
  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';
2652
+ if (referrerUrl.host !== winTop.location.host) {
2653
+ winTop.location.replace(document.referrer);
2654
+ } 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) {
2655
+ winTop.location.href = './login.html';
2652
2656
  } else {
2653
2657
  next('/login');
2654
2658
  }
2655
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2656
- win.top.location.href = './login.html';
2659
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2660
+ winTop.location.href = './login.html';
2657
2661
  } else {
2658
2662
  next('/login');
2659
2663
  }
@@ -2672,18 +2676,18 @@ var isLogined = function () {
2672
2676
  callback: function callback() {
2673
2677
  try {
2674
2678
  if (loginPage) {
2675
- win.top.location.replace(loginPage);
2679
+ winTop.location.replace(loginPage);
2676
2680
  } else if (document.referrer) {
2677
2681
  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';
2682
+ if (referrerUrl.host !== winTop.location.host) {
2683
+ winTop.location.replace(document.referrer);
2684
+ } 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) {
2685
+ winTop.location.href = './login.html';
2682
2686
  } else {
2683
2687
  next('/login');
2684
2688
  }
2685
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2686
- win.top.location.href = './login.html';
2689
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2690
+ winTop.location.href = './login.html';
2687
2691
  } else {
2688
2692
  next('/login');
2689
2693
  }
@@ -2698,11 +2702,11 @@ var isLogined = function () {
2698
2702
  loadingInstance.close();
2699
2703
  });
2700
2704
 
2701
- case 17:
2702
- _context.next = 20;
2705
+ case 18:
2706
+ _context.next = 21;
2703
2707
  break;
2704
2708
 
2705
- case 19:
2709
+ case 20:
2706
2710
  if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2707
2711
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2708
2712
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2712,19 +2716,19 @@ var isLogined = function () {
2712
2716
  } else {
2713
2717
  try {
2714
2718
  if (loginPage) {
2715
- win.top.location.replace(loginPage);
2719
+ winTop.location.replace(loginPage);
2716
2720
  } else if (document.referrer) {
2717
2721
  referrerUrl = new URL(document.referrer);
2718
2722
 
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';
2723
+ if (referrerUrl.host !== winTop.location.host) {
2724
+ winTop.location.replace(document.referrer);
2725
+ } 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) {
2726
+ winTop.location.href = './login.html';
2723
2727
  } else {
2724
2728
  next('/login');
2725
2729
  }
2726
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2727
- win.top.location.href = './login.html';
2730
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
2731
+ winTop.location.href = './login.html';
2728
2732
  } else {
2729
2733
  next('/login');
2730
2734
  }
@@ -2733,7 +2737,7 @@ var isLogined = function () {
2733
2737
  }
2734
2738
  }
2735
2739
 
2736
- case 20:
2740
+ case 21:
2737
2741
  case 'end':
2738
2742
  return _context.stop();
2739
2743
  }
@@ -2851,12 +2855,13 @@ var loadJs = function loadJs(_ref13) {
2851
2855
  * @param {String} [text] - 显示的文本内容
2852
2856
  **/
2853
2857
  var util_loading = function loading($loading, res) {
2858
+ var winTop = getWinTop();
2854
2859
  if (!$loading) {
2855
2860
  $loading = external_eoss_element_["Loading"].service;
2856
2861
  }
2857
2862
  if (isObject(res)) {
2858
2863
  var config = extend({}, {
2859
- target: win.top.document.body,
2864
+ target: winTop.document.body,
2860
2865
  fullscreen: true,
2861
2866
  background: 'rgba(0, 0, 0, 0.65)',
2862
2867
  spinner: 'el-icon-loading',
@@ -2865,7 +2870,7 @@ var util_loading = function loading($loading, res) {
2865
2870
  return $loading(config);
2866
2871
  } else {
2867
2872
  var _loading = $loading({
2868
- target: win.top.document.body,
2873
+ target: winTop.document.body,
2869
2874
  fullscreen: true,
2870
2875
  background: 'rgba(0, 0, 0, 0.65)',
2871
2876
  spinner: 'el-icon-loading',
@@ -3007,11 +3012,12 @@ var replenish = function replenish(_ref15) {
3007
3012
  * @param {object} [data] - 数字或字符串型数字
3008
3013
  **/
3009
3014
  var util_responses = function responses(data) {
3015
+ var winTop = getWinTop();
3010
3016
  if (data.rCode === 64 || data.rCode === 65 || data.rCode === 67 || data.rCode === 69) {
3011
3017
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
3012
3018
  var href = '';
3013
3019
  try {
3014
- href = win.top.location.href;
3020
+ href = winTop.location.href;
3015
3021
  } catch (error) {
3016
3022
  href = win.location.href;
3017
3023
  }
@@ -3036,7 +3042,7 @@ var util_responses = function responses(data) {
3036
3042
  if (loginPage) {
3037
3043
  var src = void 0;
3038
3044
  if (!startWith(loginPage, ['http', '/'], true)) {
3039
- var pathname = win.top.location.pathname;
3045
+ var pathname = winTop.location.pathname;
3040
3046
  if (pathname !== '/') {
3041
3047
  pathname = pathname.split('/');
3042
3048
  pathname.splice(pathname.length - 1);
@@ -3048,16 +3054,16 @@ var util_responses = function responses(data) {
3048
3054
  } else {
3049
3055
  src = loginPage;
3050
3056
  }
3051
- win.top.location.href = src;
3052
- } else if (win.top.location.href.indexOf('main.html') > -1) {
3053
- win.top.location.href = './login.html';
3057
+ winTop.location.href = src;
3058
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
3059
+ winTop.location.href = './login.html';
3054
3060
  } else {
3055
- var hash = win.top.location.hash;
3061
+ var hash = winTop.location.hash;
3056
3062
  if (hash) {
3057
- var len = win.top.location.href.indexOf(hash);
3058
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
3063
+ var len = winTop.location.href.indexOf(hash);
3064
+ winTop.location.href = win.location.href.slice(0, len) + '#/login';
3059
3065
  } else {
3060
- win.top.location.href = '/login.html';
3066
+ winTop.location.href = '/login.html';
3061
3067
  }
3062
3068
  }
3063
3069
  } catch (error) {
@@ -3875,10 +3881,11 @@ var removeCookie = function removeCookie(key) {
3875
3881
  };
3876
3882
 
3877
3883
  var winTopOpen = function winTopOpen(config) {
3884
+ var winTop = getWinTop();
3878
3885
  if (isIE) {
3879
- if (win.top !== win.self) {
3886
+ if (winTop !== win.self) {
3880
3887
  try {
3881
- win.top.windowOpen(config);
3888
+ winTop.windowOpen(config);
3882
3889
  } catch (error) {
3883
3890
  win.postMessage({ method: 'windowOpen', query: config }, '*');
3884
3891
  }
@@ -8718,21 +8725,21 @@ var _components;
8718
8725
  return validSate;
8719
8726
  },
8720
8727
 
8721
- /**
8722
- * changeOpinion
8723
- * @desc:监听意见变化
8724
- * @author liufan
8725
- * @date 2022年10月28日
8728
+ /**
8729
+ * changeOpinion
8730
+ * @desc:监听意见变化
8731
+ * @author liufan
8732
+ * @date 2022年10月28日
8726
8733
  **/
8727
8734
  changeOpinion: function changeOpinion() {
8728
8735
  this.$emit('change', this.form.value);
8729
8736
  },
8730
8737
 
8731
- /**
8732
- * getCommonOpion
8733
- * @desc:获取意见
8734
- * @author liufan
8735
- * @date 2022年5月25日
8738
+ /**
8739
+ * getCommonOpion
8740
+ * @desc:获取意见
8741
+ * @author liufan
8742
+ * @date 2022年5月25日
8736
8743
  **/
8737
8744
  getCommonOpion: function getCommonOpion() {
8738
8745
  var _this = this;
@@ -8761,24 +8768,24 @@ var _components;
8761
8768
  });
8762
8769
  },
8763
8770
 
8764
- /**
8765
- * upDate
8766
- * @desc:修改常用语
8767
- * @author liufan
8768
- * @param {Object} val 修改值
8769
- * @date 2022年5月25日
8771
+ /**
8772
+ * upDate
8773
+ * @desc:修改常用语
8774
+ * @author liufan
8775
+ * @param {Object} val 修改值
8776
+ * @date 2022年5月25日
8770
8777
  **/
8771
8778
  upDate: function upDate(val) {
8772
8779
  this.FormData.id = val.id;
8773
8780
  this.addVisible = true;
8774
8781
  },
8775
8782
 
8776
- /**
8777
- * selectChange
8778
- * @desc:常用语选择
8779
- * @author liufan
8780
- * @param {String} val 选中值
8781
- * @date 2022年5月25日
8783
+ /**
8784
+ * selectChange
8785
+ * @desc:常用语选择
8786
+ * @author liufan
8787
+ * @param {String} val 选中值
8788
+ * @date 2022年5月25日
8782
8789
  **/
8783
8790
  selectChange: function selectChange(val) {
8784
8791
  var _this2 = this;
@@ -8797,12 +8804,12 @@ var _components;
8797
8804
  });
8798
8805
  },
8799
8806
 
8800
- /**
8801
- * del
8802
- * @desc:删除常用语
8803
- * @author liufan
8804
- * @param {Object} val 删除的数据
8805
- * @date 2022年5月25日
8807
+ /**
8808
+ * del
8809
+ * @desc:删除常用语
8810
+ * @author liufan
8811
+ * @param {Object} val 删除的数据
8812
+ * @date 2022年5月25日
8806
8813
  **/
8807
8814
  del: function del(val) {
8808
8815
  var _this3 = this;
@@ -8844,12 +8851,12 @@ var _components;
8844
8851
  }).catch(function (e) {});
8845
8852
  },
8846
8853
 
8847
- /**
8848
- * submit
8849
- * @desc:新增/编辑意见保存
8850
- * @author liufan
8851
- * @param {Object} val 保存数据
8852
- * @date 2022年5月25日
8854
+ /**
8855
+ * submit
8856
+ * @desc:新增/编辑意见保存
8857
+ * @author liufan
8858
+ * @param {Object} val 保存数据
8859
+ * @date 2022年5月25日
8853
8860
  **/
8854
8861
  submit: function submit(val) {
8855
8862
  var _this4 = this;
@@ -8914,8 +8921,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
8914
8921
  )
8915
8922
 
8916
8923
  /* 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 () {
8924
+ // 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&
8925
+ var processFormvue_type_template_id_6df91879_render = function () {
8919
8926
  var _vm = this
8920
8927
  var _h = _vm.$createElement
8921
8928
  var _c = _vm._self._c || _h
@@ -9743,11 +9750,11 @@ var processFormvue_type_template_id_80a2c5c2_render = function () {
9743
9750
  1
9744
9751
  )
9745
9752
  }
9746
- var processFormvue_type_template_id_80a2c5c2_staticRenderFns = []
9747
- processFormvue_type_template_id_80a2c5c2_render._withStripped = true
9753
+ var processFormvue_type_template_id_6df91879_staticRenderFns = []
9754
+ processFormvue_type_template_id_6df91879_render._withStripped = true
9748
9755
 
9749
9756
 
9750
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=80a2c5c2&
9757
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=6df91879&
9751
9758
 
9752
9759
  // 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
9760
  var selectUservue_type_template_id_5424da0a_render = function () {
@@ -11864,7 +11871,10 @@ var processFormvue_type_script_lang_js_components;
11864
11871
  nextCurrentOrgObjSelect: [],
11865
11872
  isHideCurrentOrg: false,
11866
11873
  isHideOtherOrg: false,
11867
- currentOrgSelectorParams: { filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId, only_filid: true },
11874
+ currentOrgSelectorParams: {
11875
+ filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId,
11876
+ only_filid: true
11877
+ },
11868
11878
  foreignOrgSelectorParams: { filid: 'all', nofilid: 1 },
11869
11879
  nextNode: {
11870
11880
  nodeName: '',
@@ -12099,6 +12109,8 @@ var processFormvue_type_script_lang_js_components;
12099
12109
  }
12100
12110
  },
12101
12111
  selecNext: function selecNext(val) {
12112
+ var _this3 = this;
12113
+
12102
12114
  this.nextNode.nextUser = [];
12103
12115
  this.options = [];
12104
12116
  this.selectUserList = [];
@@ -12110,7 +12122,11 @@ var processFormvue_type_script_lang_js_components;
12110
12122
  }
12111
12123
  this.nextNode.nodeInfo = this.operationList[val].list;
12112
12124
  if (this.nextNode.nodeInfo.length > 0) {
12113
- this.nextNode.nextNode = this.defaultNextNode || this.nextNode.nodeInfo[0].nodeId;
12125
+ var defaultNodeData = this.nextNode.nodeInfo.filter(function (x) {
12126
+ return x.nodeId == _this3.defaultNextNode;
12127
+ });
12128
+ length;
12129
+ this.nextNode.nextNode = defaultNodeData.length > 0 ? this.defaultNextNode : this.nextNode.nodeInfo[0].nodeId;
12114
12130
  }
12115
12131
  this.getNodeInfos();
12116
12132
  },
@@ -12185,7 +12201,7 @@ var processFormvue_type_script_lang_js_components;
12185
12201
  this.getsubProcessColumns();
12186
12202
  },
12187
12203
  getNodeType: function getNodeType() {
12188
- var _this3 = this;
12204
+ var _this4 = this;
12189
12205
 
12190
12206
  util["a" /* default */].ajax({
12191
12207
  url: api["B" /* findCodeValues */],
@@ -12198,23 +12214,23 @@ var processFormvue_type_script_lang_js_components;
12198
12214
  data = res.data;
12199
12215
 
12200
12216
  if (status === 'success') {
12201
- _this3.nextNode.noticeList = data;
12217
+ _this4.nextNode.noticeList = data;
12202
12218
  }
12203
12219
  }).catch(function (err) {
12204
- if (_this3.showBtn) {
12205
- _this3.loading = false;
12220
+ if (_this4.showBtn) {
12221
+ _this4.loading = false;
12206
12222
  } else {
12207
- _this3.allLoading.close();
12223
+ _this4.allLoading.close();
12208
12224
  }
12209
12225
  if (err.message && err.message !== 'canceled') {
12210
- _this3.$message.error(err.message);
12226
+ _this4.$message.error(err.message);
12211
12227
  }
12212
12228
  });
12213
12229
  },
12214
12230
 
12215
12231
  //获取通知信息
12216
12232
  getMessage: function getMessage() {
12217
- var _this4 = this;
12233
+ var _this5 = this;
12218
12234
 
12219
12235
  var params = {
12220
12236
  processDefinitionId: this.processDefinitionId,
@@ -12226,21 +12242,21 @@ var processFormvue_type_script_lang_js_components;
12226
12242
  }
12227
12243
  util["a" /* default */].ajax({ url: api["W" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
12228
12244
  if (res.status === 'success') {
12229
- if (!_this4.showBtn) {
12230
- _this4.oldMessage = res.message;
12231
- _this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
12245
+ if (!_this5.showBtn) {
12246
+ _this5.oldMessage = res.message;
12247
+ _this5.nextNode.noticeInfo = res.message.replace('{title}', _this5.formTitle);
12232
12248
  } else {
12233
- _this4.nextNode.noticeInfo = res.message;
12249
+ _this5.nextNode.noticeInfo = res.message;
12234
12250
  }
12235
12251
  }
12236
12252
  }).catch(function (err) {
12237
- if (_this4.showBtn) {
12238
- _this4.loading = false;
12253
+ if (_this5.showBtn) {
12254
+ _this5.loading = false;
12239
12255
  } else {
12240
- _this4.allLoading.close();
12256
+ _this5.allLoading.close();
12241
12257
  }
12242
12258
  if (err.message && err.message !== 'canceled') {
12243
- _this4.$message.error(err.message);
12259
+ _this5.$message.error(err.message);
12244
12260
  }
12245
12261
  });
12246
12262
  },
@@ -12250,11 +12266,11 @@ var processFormvue_type_script_lang_js_components;
12250
12266
  this.saveProcess(formName);
12251
12267
  },
12252
12268
  saveProcess: function saveProcess(formName) {
12253
- var _this5 = this;
12269
+ var _this6 = this;
12254
12270
 
12255
12271
  this.$refs[formName].validate(function (valid) {
12256
12272
  if (valid) {
12257
- var _nextNode = _this5.nextNode,
12273
+ var _nextNode = _this6.nextNode,
12258
12274
  nextNode = _nextNode.nextNode,
12259
12275
  nextUser = _nextNode.nextUser,
12260
12276
  noticeInfo = _nextNode.noticeInfo,
@@ -12271,31 +12287,31 @@ var processFormvue_type_script_lang_js_components;
12271
12287
  // return this.$message.warning('请选择通知方式');
12272
12288
  // }
12273
12289
 
12274
- if (_this5.isShowNextUser) {
12275
- if ((nextUser == '' || _this5.multiple && nextUser.length == 0) && !_this5.isHideCurrentOrg && !_this5.isHideOtherOrg) {
12276
- return _this5.$message.warning('请选择下步办理人');
12290
+ if (_this6.isShowNextUser) {
12291
+ if ((nextUser == '' || _this6.multiple && nextUser.length == 0) && !_this6.isHideCurrentOrg && !_this6.isHideOtherOrg) {
12292
+ return _this6.$message.warning('请选择下步办理人');
12277
12293
  }
12278
12294
  } else {
12279
- if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
12280
- return _this5.$message.warning('请选择办理对象');
12295
+ if (nextOrgId == '' || _this6.multiple && nextOrgId.length == 0) {
12296
+ return _this6.$message.warning('请选择办理对象');
12281
12297
  }
12282
12298
  }
12283
- if ((_this5.isHideOtherOrg || _this5.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
12284
- return _this5.$message.warning('请选择办理对象');
12299
+ if ((_this6.isHideOtherOrg || _this6.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
12300
+ return _this6.$message.warning('请选择办理对象');
12285
12301
  }
12286
- if (_this5.isCancelSecondConfirmationType) {
12287
- _this5.$confirm('确认提交吗?', '提示', {
12302
+ if (_this6.isCancelSecondConfirmationType) {
12303
+ _this6.$confirm('确认提交吗?', '提示', {
12288
12304
  confirmButtonText: '确定',
12289
12305
  cancelButtonText: '取消',
12290
12306
  type: 'warning'
12291
12307
  }).then(function () {
12292
- if (_this5.showBtn) {
12293
- _this5.loading = true;
12308
+ if (_this6.showBtn) {
12309
+ _this6.loading = true;
12294
12310
  } else {
12295
- _this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
12311
+ _this6.allLoading = util["a" /* default */].loading(_this6.$loading, '加载中...');
12296
12312
  }
12297
12313
  var newNextUser = [];
12298
- if (_this5.multiple) {
12314
+ if (_this6.multiple) {
12299
12315
  nextUser && nextUser.map(function (item) {
12300
12316
  return newNextUser.push(item);
12301
12317
  });
@@ -12305,108 +12321,108 @@ var processFormvue_type_script_lang_js_components;
12305
12321
  newNoticeType = noticeType.join(',');
12306
12322
  }
12307
12323
  var params = {
12308
- processDefinitionId: _this5.processDefinitionId,
12309
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
12324
+ processDefinitionId: _this6.processDefinitionId,
12325
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
12310
12326
  nextNodeId: nextNode,
12311
- businessId: _this5.businessId,
12327
+ businessId: _this6.businessId,
12312
12328
  notificationType: newNoticeType,
12313
12329
  userId: util["a" /* default */].getStorage('userId'),
12314
12330
  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 : '',
12331
+ customPresetUserJson: JSON.stringify(_this6.presetList),
12332
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
12333
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
12334
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
12319
12335
  handleExplain: handleExplain,
12320
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
12321
- opinion: _this5.newOpinion || newOpinion
12336
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
12337
+ opinion: _this6.newOpinion || newOpinion
12322
12338
  };
12323
- if (_this5.enableCustomLimitTimeSetting) {
12339
+ if (_this6.enableCustomLimitTimeSetting) {
12324
12340
  params.customLimitTime = customLimitTime;
12325
12341
  if (!customLimitTime) {
12326
- _this5.$message.warning('请选择或输入限时办理的天数');
12327
- _this5.nextNode.customLimitTime = '';
12342
+ _this6.$message.warning('请选择或输入限时办理的天数');
12343
+ _this6.nextNode.customLimitTime = '';
12328
12344
  return;
12329
12345
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
12330
- _this5.$message.warning('请输入正确的天数');
12331
- _this5.nextNode.customLimitTime = '';
12346
+ _this6.$message.warning('请输入正确的天数');
12347
+ _this6.nextNode.customLimitTime = '';
12332
12348
  return;
12333
12349
  }
12334
12350
  }
12335
- if (_this5.isHideCurrentOrg) {
12351
+ if (_this6.isHideCurrentOrg) {
12336
12352
  params.nextCurrentOrgObj = nextCurrentOrgObj;
12337
12353
  }
12338
- if (_this5.isHideOtherOrg) {
12354
+ if (_this6.isHideOtherOrg) {
12339
12355
  params.nextOtherOrgObj = nextOtherOrgObj;
12340
12356
  }
12341
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
12342
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
12357
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
12358
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
12343
12359
  var newParm = {};
12344
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
12360
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
12345
12361
  newParm.startFlowParamJson = params;
12346
12362
  // newParm.startFlowParamJson.businessId = this.id; //this.id
12347
12363
  newParm.startFlowParamJson.taskExamineParam = {
12348
- startFlowFirstNodeName: _this5.taskExamineParam
12364
+ startFlowFirstNodeName: _this6.taskExamineParam
12349
12365
  };
12350
12366
  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(',') : '';
12367
+ for (var key in _this6.taskParams) {
12368
+ if (Array.isArray(_this6.taskParams[key])) {
12369
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
12354
12370
  }
12355
12371
  }
12356
12372
 
12357
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
12358
- if (_this5.formType == 'readTransfer') {
12373
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
12374
+ if (_this6.formType == 'readTransfer') {
12359
12375
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
12360
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
12376
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
12361
12377
  delete newParm.copyHistory;
12362
12378
  delete newParm.startFlowParamJson;
12363
12379
  delete newParm.submitTaskParamJson;
12364
12380
  }
12365
12381
  params = newParm;
12366
12382
  }
12367
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
12368
- params.pendingId = _this5.pendingId;
12383
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
12384
+ params.pendingId = _this6.pendingId;
12369
12385
  delete params.businessId;
12370
12386
  }
12371
12387
  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 */],
12388
+ url: _this6.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this6.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this6.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12373
12389
  method: 'post',
12374
12390
  data: params
12375
12391
  }).then(function (res) {
12376
12392
  var status = res.status,
12377
12393
  message = res.message;
12378
12394
 
12379
- if (_this5.showBtn) {
12380
- _this5.loading = false;
12395
+ if (_this6.showBtn) {
12396
+ _this6.loading = false;
12381
12397
  } else {
12382
- _this5.allLoading.close();
12398
+ _this6.allLoading.close();
12383
12399
  }
12384
12400
  if (status === 'success' || res.rCode == 0) {
12385
- _this5.quit(true);
12386
- _this5.simpleTips && _this5.$message.success('操作成功');
12401
+ _this6.quit(true);
12402
+ _this6.simpleTips && _this6.$message.success('操作成功');
12387
12403
  } else {
12388
- _this5.$message.error(message || '系统错误,请联系管理员!');
12404
+ _this6.$message.error(message || '系统错误,请联系管理员!');
12389
12405
  }
12390
12406
  }).catch(function (err) {
12391
- if (_this5.showBtn) {
12392
- _this5.loading = false;
12407
+ if (_this6.showBtn) {
12408
+ _this6.loading = false;
12393
12409
  } else {
12394
- _this5.allLoading.close();
12410
+ _this6.allLoading.close();
12395
12411
  }
12396
12412
  if (err.message && err.message !== 'canceled') {
12397
- _this5.$message.error(err.message);
12413
+ _this6.$message.error(err.message);
12398
12414
  }
12399
12415
  });
12400
12416
  });
12401
12417
  return;
12402
12418
  }
12403
- if (_this5.showBtn) {
12404
- _this5.loading = true;
12419
+ if (_this6.showBtn) {
12420
+ _this6.loading = true;
12405
12421
  } else {
12406
- _this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
12422
+ _this6.allLoading = util["a" /* default */].loading(_this6.$loading, '加载中...');
12407
12423
  }
12408
12424
  var newNextUser = [];
12409
- if (_this5.multiple) {
12425
+ if (_this6.multiple) {
12410
12426
  nextUser && nextUser.map(function (item) {
12411
12427
  return newNextUser.push(item);
12412
12428
  });
@@ -12416,96 +12432,96 @@ var processFormvue_type_script_lang_js_components;
12416
12432
  newNoticeType = noticeType.join(',');
12417
12433
  }
12418
12434
  var params = {
12419
- processDefinitionId: _this5.processDefinitionId,
12420
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
12435
+ processDefinitionId: _this6.processDefinitionId,
12436
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
12421
12437
  nextNodeId: nextNode,
12422
- businessId: _this5.businessId,
12438
+ businessId: _this6.businessId,
12423
12439
  notificationType: newNoticeType,
12424
12440
  userId: util["a" /* default */].getStorage('userId'),
12425
12441
  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 : '',
12442
+ customPresetUserJson: JSON.stringify(_this6.presetList),
12443
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
12444
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
12445
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
12430
12446
  handleExplain: handleExplain,
12431
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
12432
- opinion: _this5.newOpinion || newOpinion
12447
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
12448
+ opinion: _this6.newOpinion || newOpinion
12433
12449
  };
12434
- if (_this5.enableCustomLimitTimeSetting) {
12450
+ if (_this6.enableCustomLimitTimeSetting) {
12435
12451
  params.customLimitTime = customLimitTime;
12436
12452
  if (!customLimitTime) {
12437
- _this5.$message.warning('请选择或输入限时办理的天数');
12438
- _this5.nextNode.customLimitTime = '';
12453
+ _this6.$message.warning('请选择或输入限时办理的天数');
12454
+ _this6.nextNode.customLimitTime = '';
12439
12455
  return;
12440
12456
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
12441
- _this5.$message.warning('请输入正确的天数');
12442
- _this5.nextNode.customLimitTime = '';
12457
+ _this6.$message.warning('请输入正确的天数');
12458
+ _this6.nextNode.customLimitTime = '';
12443
12459
  return;
12444
12460
  }
12445
12461
  }
12446
- if (_this5.isHideCurrentOrg) {
12462
+ if (_this6.isHideCurrentOrg) {
12447
12463
  params.nextCurrentOrgObj = nextCurrentOrgObj;
12448
12464
  }
12449
- if (_this5.isHideOtherOrg) {
12465
+ if (_this6.isHideOtherOrg) {
12450
12466
  params.nextOtherOrgObj = nextOtherOrgObj;
12451
12467
  }
12452
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
12453
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
12468
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
12469
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
12454
12470
  var newParm = {};
12455
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
12471
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
12456
12472
  newParm.startFlowParamJson = params;
12457
12473
  // newParm.startFlowParamJson.businessId = this.id; //this.id
12458
12474
  newParm.startFlowParamJson.taskExamineParam = {
12459
- startFlowFirstNodeName: _this5.taskExamineParam
12475
+ startFlowFirstNodeName: _this6.taskExamineParam
12460
12476
  };
12461
12477
  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(',') : '';
12478
+ for (var key in _this6.taskParams) {
12479
+ if (Array.isArray(_this6.taskParams[key])) {
12480
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
12465
12481
  }
12466
12482
  }
12467
12483
 
12468
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
12469
- if (_this5.formType == 'readTransfer') {
12484
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
12485
+ if (_this6.formType == 'readTransfer') {
12470
12486
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
12471
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
12487
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
12472
12488
  delete newParm.copyHistory;
12473
12489
  delete newParm.startFlowParamJson;
12474
12490
  delete newParm.submitTaskParamJson;
12475
12491
  }
12476
12492
  params = newParm;
12477
12493
  }
12478
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
12479
- params.pendingId = _this5.pendingId;
12494
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
12495
+ params.pendingId = _this6.pendingId;
12480
12496
  delete params.businessId;
12481
12497
  }
12482
12498
  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 */],
12499
+ url: _this6.isFreeStartFlow ? api["H" /* freeStartFlowWithSubmitTask */] : _this6.formType == 'readTransfer' ? api["Yb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this6.copyHistory ? api["G" /* freeStartFlow */] : api["Lb" /* register */],
12484
12500
  method: 'post',
12485
12501
  data: params
12486
12502
  }).then(function (res) {
12487
12503
  var status = res.status,
12488
12504
  message = res.message;
12489
12505
 
12490
- if (_this5.showBtn) {
12491
- _this5.loading = false;
12506
+ if (_this6.showBtn) {
12507
+ _this6.loading = false;
12492
12508
  } else {
12493
- _this5.allLoading.close();
12509
+ _this6.allLoading.close();
12494
12510
  }
12495
12511
  if (status === 'success' || res.rCode == 0) {
12496
- _this5.quit(true);
12497
- _this5.simpleTips && _this5.$message.success('操作成功');
12512
+ _this6.quit(true);
12513
+ _this6.simpleTips && _this6.$message.success('操作成功');
12498
12514
  } else {
12499
- _this5.$message.error(message || '系统错误,请联系管理员!');
12515
+ _this6.$message.error(message || '系统错误,请联系管理员!');
12500
12516
  }
12501
12517
  }).catch(function (err) {
12502
- if (_this5.showBtn) {
12503
- _this5.loading = false;
12518
+ if (_this6.showBtn) {
12519
+ _this6.loading = false;
12504
12520
  } else {
12505
- _this5.allLoading.close();
12521
+ _this6.allLoading.close();
12506
12522
  }
12507
12523
  if (err.message && err.message !== 'canceled') {
12508
- _this5.$message.error(err.message);
12524
+ _this6.$message.error(err.message);
12509
12525
  }
12510
12526
  });
12511
12527
  } else {
@@ -12514,7 +12530,7 @@ var processFormvue_type_script_lang_js_components;
12514
12530
  });
12515
12531
  },
12516
12532
  getNodeInfos: function getNodeInfos(nodeId, index) {
12517
- var _this6 = this;
12533
+ var _this7 = this;
12518
12534
 
12519
12535
  var params = {
12520
12536
  processDefinitionId: this.processDefinitionId,
@@ -12532,83 +12548,82 @@ var processFormvue_type_script_lang_js_components;
12532
12548
  countersignaturetypeText = _res$data.countersignaturetypeText,
12533
12549
  countersignaturetypeCode = _res$data.countersignaturetypeCode;
12534
12550
 
12535
- if (_this6.showBtn) {
12536
- _this6.loading = false;
12551
+ if (_this7.showBtn) {
12552
+ _this7.loading = false;
12537
12553
  } else {
12538
- _this6.allLoading.close();
12554
+ _this7.allLoading.close();
12539
12555
  }
12540
12556
  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 + '';
12557
+ _this7.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
12558
+ _this7.nextNode.userInfo = nextUserList;
12559
+ _this7.countersignaturetypeCode = countersignaturetypeCode;
12560
+ _this7.nextNode.countersignaturetypeText = countersignaturetypeText;
12561
+ _this7.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
12562
+ if (_this7.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
12563
+ _this7.nextNode.customLimitTime = _this7.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
12548
12564
  }
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; //是否默认选中
12565
+ _this7.isTaskread = nodeExtAttr.isTaskread;
12566
+ _this7.isHandleExplain = nodeExtAttr.isHandleExplain;
12567
+ _this7.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
12568
+ _this7.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
12569
+ _this7.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
12554
12570
  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);
12571
+ _this7.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
12556
12572
  } else {
12557
- var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
12573
+ var _isMultiple = _this7.isMultiple(nodeExtAttr.userSelectionType),
12558
12574
  multiple = _isMultiple.multiple,
12559
12575
  _params = _isMultiple.params;
12560
12576
 
12561
- _this6.multiple = multiple;
12562
- _this6.params = _params;
12577
+ _this7.multiple = multiple;
12578
+ _this7.params = _params;
12563
12579
  }
12564
12580
  // this.isReadMultiple(nodeExtAttr.userSelectionType);
12565
12581
  if (nodeExtAttr.nodeType === 1 || nodeExtAttr.nodeType === 2) {
12566
-
12567
- _this6.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
12568
- _this6.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
12582
+ _this7.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
12583
+ _this7.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
12569
12584
  } else {
12570
- _this6.isHideCurrentOrg = false;
12571
- _this6.isHideOtherOrg = false;
12585
+ _this7.isHideCurrentOrg = false;
12586
+ _this7.isHideOtherOrg = false;
12572
12587
  }
12573
12588
  nextUserList.map(function (item) {
12574
- if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
12575
- _this6.nextNode.nextUser.push(item.userId);
12576
- _this6.selectUserList.push({
12589
+ if (_this7.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
12590
+ _this7.nextNode.nextUser.push(item.userId);
12591
+ _this7.selectUserList.push({
12577
12592
  showname: item.username,
12578
12593
  showid: item.userId
12579
12594
  });
12580
12595
  }
12581
12596
 
12582
- _this6.options.push({
12597
+ _this7.options.push({
12583
12598
  showname: item.username,
12584
12599
  showid: item.userId
12585
12600
  });
12586
12601
  });
12587
- if (_this6.multiple) {
12588
- _this6.nextNode.nextReadUserId = [];
12602
+ if (_this7.multiple) {
12603
+ _this7.nextNode.nextReadUserId = [];
12589
12604
  } else {
12590
- _this6.nextNode.nextReadUserId = '';
12605
+ _this7.nextNode.nextReadUserId = '';
12591
12606
  }
12592
- if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
12593
- _this6.nextNode.nextUser = nextUserList[0].userId;
12594
- _this6.selectUserList.push({
12607
+ if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this7.multiple) {
12608
+ _this7.nextNode.nextUser = nextUserList[0].userId;
12609
+ _this7.selectUserList.push({
12595
12610
  showname: nextUserList[0].username,
12596
12611
  showid: nextUserList[0].userId
12597
12612
  });
12598
12613
  }
12599
- _this6.radioList = _this6.options;
12614
+ _this7.radioList = _this7.options;
12600
12615
  } else {
12601
- _this6.$message.error(message || '系统错误,请联系管理员!');
12616
+ _this7.$message.error(message || '系统错误,请联系管理员!');
12602
12617
  }
12603
- nodeId && _this6.$refs.selectUser[index].changeInfo();
12618
+ nodeId && _this7.$refs.selectUser[index].changeInfo();
12604
12619
  }).catch(function (err) {
12605
- if (_this6.showBtn) {
12606
- _this6.loading = false;
12620
+ if (_this7.showBtn) {
12621
+ _this7.loading = false;
12607
12622
  } else {
12608
- _this6.allLoading.close();
12623
+ _this7.allLoading.close();
12609
12624
  }
12610
12625
  if (err.message && err.message !== 'canceled') {
12611
- _this6.$message.error(err.message);
12626
+ _this7.$message.error(err.message);
12612
12627
  }
12613
12628
  });
12614
12629
  },
@@ -12631,7 +12646,7 @@ var processFormvue_type_script_lang_js_components;
12631
12646
  this.$emit('cancel', false);
12632
12647
  },
12633
12648
  getFind: function getFind() {
12634
- var _this7 = this;
12649
+ var _this8 = this;
12635
12650
 
12636
12651
  util["a" /* default */].ajax({
12637
12652
  url: api["D" /* findSysCodes */]
@@ -12640,36 +12655,36 @@ var processFormvue_type_script_lang_js_components;
12640
12655
  message = res.message;
12641
12656
 
12642
12657
  if (status === 'success') {
12643
- _this7.nextNode.noticeType = message.split(',');
12658
+ _this8.nextNode.noticeType = message.split(',');
12644
12659
  var arr = [];
12645
- _this7.nextNode.noticeList.map(function (item) {
12646
- _this7.nextNode.noticeType.map(function (x) {
12660
+ _this8.nextNode.noticeList.map(function (item) {
12661
+ _this8.nextNode.noticeType.map(function (x) {
12647
12662
  if (x == item.cciValue) {
12648
12663
  arr.push(x);
12649
12664
  }
12650
12665
  });
12651
12666
  });
12652
- _this7.nextNode.noticeType = arr;
12667
+ _this8.nextNode.noticeType = arr;
12653
12668
  } else {
12654
- _this7.$message.error(message || '系统错误,请联系管理员!');
12669
+ _this8.$message.error(message || '系统错误,请联系管理员!');
12655
12670
  }
12656
12671
  }).catch(function (err) {
12657
- if (_this7.showBtn) {
12658
- _this7.loading = false;
12672
+ if (_this8.showBtn) {
12673
+ _this8.loading = false;
12659
12674
  } else {
12660
- _this7.allLoading.close();
12675
+ _this8.allLoading.close();
12661
12676
  }
12662
12677
  if (err.message && err.message !== 'canceled') {
12663
- _this7.$message.error(err.message);
12678
+ _this8.$message.error(err.message);
12664
12679
  }
12665
12680
  });
12666
12681
  },
12667
12682
 
12668
- /**
12669
- * isMultiple
12670
- * @desc:是否多选
12671
- * @author liufan
12672
- * @date 2022年9月13日
12683
+ /**
12684
+ * isMultiple
12685
+ * @desc:是否多选
12686
+ * @author liufan
12687
+ * @date 2022年9月13日
12673
12688
  **/
12674
12689
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
12675
12690
  var multiple = false;
@@ -12703,7 +12718,7 @@ var processFormvue_type_script_lang_js_components;
12703
12718
  return { multiple: multiple, params: params };
12704
12719
  },
12705
12720
  getStartFlow: function getStartFlow(processId) {
12706
- var _this8 = this;
12721
+ var _this9 = this;
12707
12722
 
12708
12723
  if (!processId) {
12709
12724
  return false;
@@ -12720,7 +12735,7 @@ var processFormvue_type_script_lang_js_components;
12720
12735
  businessId: this.businessId
12721
12736
  };
12722
12737
  if (!this.shwowBtn) {
12723
- params.taskAction = "toStartFlowWithoutTempSave";
12738
+ params.taskAction = 'toStartFlowWithoutTempSave';
12724
12739
  }
12725
12740
  // 获取节点
12726
12741
  util["a" /* default */].ajax({ url: api["sc" /* toStartFlow */], params: params }).then(function (res) {
@@ -12730,98 +12745,104 @@ var processFormvue_type_script_lang_js_components;
12730
12745
  data = res.data;
12731
12746
 
12732
12747
  if (status == 'success') {
12733
- data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
12748
+ data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this9.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
12734
12749
  confirmButtonText: '确定',
12735
12750
  cancelButtonText: '取消',
12736
12751
  type: 'warning'
12737
12752
  }).then(function () {}).catch(function () {
12738
- _this8.quit();
12753
+ _this9.quit();
12739
12754
  });
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 = [
12755
+ data.nextNodeCheckType && (_this9.nextNodeCheckType = data.nextNodeCheckType);
12756
+ data.nextOperateCheckType && (_this9.nextOperateCheckType = data.nextOperateCheckType);
12757
+ _this9.customPresetHintMessage = data.customPresetHintMessage;
12758
+ _this9.readOnlyNotificationType = data.readOnlyNotificationType;
12759
+ _this9.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
12760
+ _this9.nextNode.nodeInfo = data.nextNodeList;
12761
+ _this9.nextNode.nextNode = data.nextNodeList[0].nodeId;
12762
+ _this9.isPreset = data.isPreset;
12763
+ _this9.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
12764
+ _this9.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
12765
+ _this9.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
12766
+ _this9.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
12767
+ if (_this9.isChooseNextNode == 1) {
12768
+ _this9.operationList = [
12754
12769
  // { key: 0, value: '默认', list: [] },
12755
12770
  { key: 1, value: '自定义', list: [] }];
12756
12771
  if (data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1) {
12757
- _this8.operationList.unshift({ key: 0, value: '默认', list: [] });
12772
+ _this9.operationList.unshift({
12773
+ key: 0,
12774
+ value: '默认',
12775
+ list: data.nextNodeList
12776
+ });
12758
12777
  }
12759
12778
  var arr = [];
12760
12779
  for (var key in data.taskNodeMap) {
12761
12780
  arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
12762
12781
  }
12763
12782
  // 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) {
12783
+ _this9.operationList[data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1 ? 1 : 0].list = arr;
12784
+ if (_this9.isHideDefaultOperation != 1) {
12785
+ _this9.nextNode.nextOperate = 0;
12786
+ _this9.nextNode.nodeInfo = _this9.operationList[0].list;
12787
+ if (_this9.nextNode.nodeInfo.length > 0) {
12769
12788
  var defaultNodeData = data.nextNodeList.filter(function (x) {
12770
- return x.nodeId == _this8.defaultNextNode;
12789
+ return x.nodeId == _this9.defaultNextNode;
12771
12790
  });
12772
- _this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
12791
+ _this9.nextNode.nextNode = defaultNodeData.length > 0 ? _this9.defaultNextNode : data.nextNodeList[0].nodeId;
12773
12792
  }
12774
- } else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
12793
+ }
12794
+ if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
12775
12795
  // 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;
12796
+ _this9.nextNode.nextOperate = 1;
12797
+ _this9.nextNode.nodeInfo = _this9.operationList[_this9.isHideDefaultOperation != 1 ? 1 : 0].list;
12798
+
12799
+ if (_this9.nextNode.nodeInfo.length > 0) {
12800
+ var _defaultNodeData = _this9.nextNode.nodeInfo.filter(function (x) {
12801
+ return x.nodeId == _this9.defaultNextNode;
12781
12802
  });
12782
- _this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
12803
+ _this9.nextNode.nextNode = _defaultNodeData.length > 0 ? _this9.defaultNextNode : _this9.nextNode.nodeInfo[0].nodeId;
12783
12804
  }
12784
12805
  }
12785
12806
  }
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);
12807
+ _this9.isCustomPreset = data.isCustomPreset;
12808
+ _this9.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
12809
+ _this9.presetTaskNodeMap = data.presetTaskNodeMap;
12810
+ _this9.isSinglePage = data.taskExamine.isSinglePage;
12811
+ _this9.isSinglePage && (_this9.nextNode.opinion = data.taskExamine.opinion);
12791
12812
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
12792
- _this8.nextNode.nodeName = data.taskExamine.nodeName;
12793
- _this8.canPresetRead = data.canPresetRead;
12813
+ _this9.nextNode.nodeName = data.taskExamine.nodeName;
12814
+ _this9.canPresetRead = data.canPresetRead;
12794
12815
  if (data.canPresetRead) {
12795
12816
  var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
12796
12817
  var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
12797
12818
  ids.map(function (item, index) {
12798
- _this8.presetReadUserId.push({
12819
+ _this9.presetReadUserId.push({
12799
12820
  showid: item,
12800
12821
  showname: names[index]
12801
12822
  });
12802
- _this8.selectPresetUserList.push({
12823
+ _this9.selectPresetUserList.push({
12803
12824
  showid: item,
12804
12825
  showname: names[index]
12805
12826
  });
12806
- _this8.nextNode.presetReadUserId.push(item);
12827
+ _this9.nextNode.presetReadUserId.push(item);
12807
12828
  });
12808
12829
  }
12809
- _this8.getNodeInfos();
12830
+ _this9.getNodeInfos();
12810
12831
  // this.getPresetFlowInfo();
12811
- _this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
12812
- _this8.getFind();
12813
- _this8.getMessage();
12832
+ _this9.isCustomPreset && _this9.$refs.customPreset.getPresetFlowInfo(_this9.nextNode.nextNode);
12833
+ _this9.getFind();
12834
+ _this9.getMessage();
12814
12835
  } else {
12815
- _this8.$message.error(message || '系统错误,请联系管理员!');
12836
+ _this9.$message.error(message || '系统错误,请联系管理员!');
12816
12837
  }
12817
12838
  }).catch(function (err) {
12818
- if (_this8.showBtn) {
12819
- _this8.loading = false;
12839
+ if (_this9.showBtn) {
12840
+ _this9.loading = false;
12820
12841
  } else {
12821
- _this8.allLoading.close();
12842
+ _this9.allLoading.close();
12822
12843
  }
12823
12844
  if (err.message && err.message !== 'canceled') {
12824
- _this8.$message.error(err.message);
12845
+ _this9.$message.error(err.message);
12825
12846
  }
12826
12847
  });
12827
12848
  }
@@ -12839,8 +12860,8 @@ var processFormvue_type_script_lang_js_components;
12839
12860
 
12840
12861
  var processForm_component = Object(componentNormalizer["a" /* default */])(
12841
12862
  src_processFormvue_type_script_lang_js_,
12842
- processFormvue_type_template_id_80a2c5c2_render,
12843
- processFormvue_type_template_id_80a2c5c2_staticRenderFns,
12863
+ processFormvue_type_template_id_6df91879_render,
12864
+ processFormvue_type_template_id_6df91879_staticRenderFns,
12844
12865
  false,
12845
12866
  null,
12846
12867
  null,
@@ -16727,11 +16748,11 @@ var resetvue_type_script_lang_js_components;
16727
16748
  });
16728
16749
  },
16729
16750
 
16730
- /**
16731
- * isMultiple
16732
- * @desc:是否多选
16733
- * @author liufan
16734
- * @date 2022年9月13日
16751
+ /**
16752
+ * isMultiple
16753
+ * @desc:是否多选
16754
+ * @author liufan
16755
+ * @date 2022年9月13日
16735
16756
  **/
16736
16757
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
16737
16758
  var multiple = false;
@@ -21320,11 +21341,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21320
21341
  });
21321
21342
  },
21322
21343
 
21323
- /**
21324
- * saveInfo
21325
- * @desc:暂存
21326
- * @author liufan
21327
- * @date 2022年9月9日
21344
+ /**
21345
+ * saveInfo
21346
+ * @desc:暂存
21347
+ * @author liufan
21348
+ * @date 2022年9月9日
21328
21349
  **/
21329
21350
  saveInfo: function saveInfo(type, btn) {
21330
21351
  var _this6 = this;
@@ -21386,11 +21407,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21386
21407
  });
21387
21408
  },
21388
21409
 
21389
- /**
21390
- * rejectBtn
21391
- * @desc:点击驳回
21392
- * @author liufan
21393
- * @date 2022年5月25日
21410
+ /**
21411
+ * rejectBtn
21412
+ * @desc:点击驳回
21413
+ * @author liufan
21414
+ * @date 2022年5月25日
21394
21415
  **/
21395
21416
  rejectBtn: function rejectBtn() {
21396
21417
  var _this8 = this;
@@ -21408,11 +21429,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21408
21429
  }
21409
21430
  },
21410
21431
 
21411
- /**
21412
- * taskReadBtn
21413
- * @desc:点击分阅
21414
- * @author liufan
21415
- * @date 2022年5月25日
21432
+ /**
21433
+ * taskReadBtn
21434
+ * @desc:点击分阅
21435
+ * @author liufan
21436
+ * @date 2022年5月25日
21416
21437
  **/
21417
21438
  taskReadBtn: function taskReadBtn() {
21418
21439
  var _this9 = this;
@@ -21431,11 +21452,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21431
21452
  }
21432
21453
  },
21433
21454
 
21434
- /**
21435
- * getFind
21436
- * @desc:获取通知方式
21437
- * @author liufan
21438
- * @date 2022年5月25日
21455
+ /**
21456
+ * getFind
21457
+ * @desc:获取通知方式
21458
+ * @author liufan
21459
+ * @date 2022年5月25日
21439
21460
  **/
21440
21461
  getFind: function getFind() {
21441
21462
  var _this10 = this;
@@ -21490,12 +21511,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21490
21511
  });
21491
21512
  },
21492
21513
 
21493
- /**
21494
- * endFlows
21495
- * @desc:直接办结
21496
- * @author liufan
21497
- * @param {Object} res 直接办结数据
21498
- * @date 2022年5月25日
21514
+ /**
21515
+ * endFlows
21516
+ * @desc:直接办结
21517
+ * @author liufan
21518
+ * @param {Object} res 直接办结数据
21519
+ * @date 2022年5月25日
21499
21520
  **/
21500
21521
  endFlows: function endFlows(res) {
21501
21522
  var _this12 = this;
@@ -21549,12 +21570,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21549
21570
  }).catch(function (e) {});
21550
21571
  },
21551
21572
 
21552
- /**
21553
- * goView
21554
- * @desc:更多流程按钮操作
21555
- * @author liufan
21556
- * @param {Object} res 当前点击操作按钮数据
21557
- * @date 2022年5月25日
21573
+ /**
21574
+ * goView
21575
+ * @desc:更多流程按钮操作
21576
+ * @author liufan
21577
+ * @param {Object} res 当前点击操作按钮数据
21578
+ * @date 2022年5月25日
21558
21579
  **/
21559
21580
  goView: function goView(res) {
21560
21581
  // 驳回并办结:rejectAndEndHtml
@@ -21639,11 +21660,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21639
21660
  // isCanStartSubFlow
21640
21661
  },
21641
21662
 
21642
- /**
21643
- * toTakeAdvice
21644
- * @desc:征求意见
21645
- * @author liufan
21646
- * @date 2022年9月29日
21663
+ /**
21664
+ * toTakeAdvice
21665
+ * @desc:征求意见
21666
+ * @author liufan
21667
+ * @date 2022年9月29日
21647
21668
  **/
21648
21669
  toTakeAdvice: function toTakeAdvice(res) {
21649
21670
  var _this14 = this;
@@ -21687,11 +21708,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21687
21708
  });
21688
21709
  },
21689
21710
 
21690
- /**
21691
- * toStartDraf
21692
- * @desc: 稿件递送、联合审核、复核
21693
- * @author liufan
21694
- * @date 2022年9月29日
21711
+ /**
21712
+ * toStartDraf
21713
+ * @desc: 稿件递送、联合审核、复核
21714
+ * @author liufan
21715
+ * @date 2022年9月29日
21695
21716
  **/
21696
21717
  toStartDraf: function toStartDraf(res) {
21697
21718
  var _this16 = this;
@@ -21705,11 +21726,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21705
21726
  }
21706
21727
  },
21707
21728
 
21708
- /**
21709
- * toSendMsg
21710
- * @desc:核稿通知
21711
- * @author liufan
21712
- * @date 2022年9月29日
21729
+ /**
21730
+ * toSendMsg
21731
+ * @desc:核稿通知
21732
+ * @author liufan
21733
+ * @date 2022年9月29日
21713
21734
  **/
21714
21735
  toSendMsg: function toSendMsg(res) {
21715
21736
  var _this17 = this;
@@ -21723,11 +21744,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21723
21744
  }
21724
21745
  },
21725
21746
 
21726
- /**
21727
- * toTaskReadAndEnd
21728
- * @desc:分阅并办结
21729
- * @author liufan
21730
- * @date 2022年9月29日
21747
+ /**
21748
+ * toTaskReadAndEnd
21749
+ * @desc:分阅并办结
21750
+ * @author liufan
21751
+ * @date 2022年9月29日
21731
21752
  **/
21732
21753
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
21733
21754
  var _this18 = this;
@@ -21745,11 +21766,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21745
21766
  }
21746
21767
  },
21747
21768
 
21748
- /**
21749
- * rejectAndEnd
21750
- * @desc:驳回并办结
21751
- * @author liufan
21752
- * @date 2022年9月29日
21769
+ /**
21770
+ * rejectAndEnd
21771
+ * @desc:驳回并办结
21772
+ * @author liufan
21773
+ * @date 2022年9月29日
21753
21774
  **/
21754
21775
  rejectAndEnd: function rejectAndEnd(res) {
21755
21776
  var _this19 = this;
@@ -21804,11 +21825,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21804
21825
  });
21805
21826
  },
21806
21827
 
21807
- /**
21808
- * toTransfer
21809
- * @desc:转办
21810
- * @author liufan
21811
- * @date 2022年9月29日
21828
+ /**
21829
+ * toTransfer
21830
+ * @desc:转办
21831
+ * @author liufan
21832
+ * @date 2022年9月29日
21812
21833
  **/
21813
21834
  toTransfer: function toTransfer(res) {
21814
21835
  var _this21 = this;
@@ -21824,11 +21845,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21824
21845
  }
21825
21846
  },
21826
21847
 
21827
- /**
21828
- * getNodeInfo
21829
- * @desc:获取节点信息
21830
- * @author liufan
21831
- * @date 2022年5月25日
21848
+ /**
21849
+ * getNodeInfo
21850
+ * @desc:获取节点信息
21851
+ * @author liufan
21852
+ * @date 2022年5月25日
21832
21853
  **/
21833
21854
  getNodeInfo: function getNodeInfo() {
21834
21855
  var _this22 = this;
@@ -21927,12 +21948,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21927
21948
  });
21928
21949
  },
21929
21950
 
21930
- /**
21931
- * selecNext
21932
- * @desc:下步节点变化时更新数据
21933
- * @author liufan
21934
- * @param {String} val 当前选中值
21935
- * @date 2022年5月25日
21951
+ /**
21952
+ * selecNext
21953
+ * @desc:下步节点变化时更新数据
21954
+ * @author liufan
21955
+ * @param {String} val 当前选中值
21956
+ * @date 2022年5月25日
21936
21957
  **/
21937
21958
  selecNext: function selecNext(val, type, isDef) {
21938
21959
  var _this23 = this;
@@ -22041,11 +22062,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22041
22062
  if (isDef !== true) this.getNodeInfo();
22042
22063
  },
22043
22064
 
22044
- /**
22045
- * isMultiple
22046
- * @desc:是否多选
22047
- * @author liufan
22048
- * @date 2022年9月13日
22065
+ /**
22066
+ * isMultiple
22067
+ * @desc:是否多选
22068
+ * @author liufan
22069
+ * @date 2022年9月13日
22049
22070
  **/
22050
22071
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
22051
22072
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -22077,11 +22098,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22077
22098
  }
22078
22099
  },
22079
22100
 
22080
- /**
22081
- * getHedInfo
22082
- * @desc:获取审核页面数据
22083
- * @author liufan
22084
- * @date 2022年5月25日
22101
+ /**
22102
+ * getHedInfo
22103
+ * @desc:获取审核页面数据
22104
+ * @author liufan
22105
+ * @date 2022年5月25日
22085
22106
  **/
22086
22107
  getHedInfo: function getHedInfo() {
22087
22108
  var _this24 = this;
@@ -22317,13 +22338,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22317
22338
  });
22318
22339
  },
22319
22340
 
22320
- /**
22321
- * closeProcess
22322
- * @desc:关闭弹窗
22323
- * @author liufan
22324
- * @param {boolean} val 当前是否办理流程
22325
- * @param {String} type 当前点击的弹窗类型
22326
- * @date 2022年5月25日
22341
+ /**
22342
+ * closeProcess
22343
+ * @desc:关闭弹窗
22344
+ * @author liufan
22345
+ * @param {boolean} val 当前是否办理流程
22346
+ * @param {String} type 当前点击的弹窗类型
22347
+ * @date 2022年5月25日
22327
22348
  **/
22328
22349
  closeProcess: function closeProcess(val, type, closeParent) {
22329
22350
  if (closeParent) {
@@ -22340,23 +22361,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22340
22361
  }
22341
22362
  },
22342
22363
 
22343
- /**
22344
- * selectChange
22345
- * @desc:常用语选择
22346
- * @author liufan
22347
- * @param {String} val 选中值
22348
- * @date 2022年5月25日
22364
+ /**
22365
+ * selectChange
22366
+ * @desc:常用语选择
22367
+ * @author liufan
22368
+ * @param {String} val 选中值
22369
+ * @date 2022年5月25日
22349
22370
  **/
22350
22371
  selectChange: function selectChange(val) {
22351
22372
  this.value = val;
22352
22373
  },
22353
22374
 
22354
- /**
22355
- * upDate
22356
- * @desc:修改常用语
22357
- * @author liufan
22358
- * @param {Object} val 修改值
22359
- * @date 2022年5月25日
22375
+ /**
22376
+ * upDate
22377
+ * @desc:修改常用语
22378
+ * @author liufan
22379
+ * @param {Object} val 修改值
22380
+ * @date 2022年5月25日
22360
22381
  **/
22361
22382
  upDate: function upDate(val) {
22362
22383
  this.FormData.id = val.id;
@@ -22364,11 +22385,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22364
22385
  },
22365
22386
 
22366
22387
 
22367
- /**
22368
- * getProcess
22369
- * @desc:获取选择流程
22370
- * @author liufan
22371
- * @date 2022年5月25日
22388
+ /**
22389
+ * getProcess
22390
+ * @desc:获取选择流程
22391
+ * @author liufan
22392
+ * @date 2022年5月25日
22372
22393
  **/
22373
22394
  getProcess: function getProcess() {
22374
22395
  var _this25 = this;
@@ -22422,11 +22443,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22422
22443
  });
22423
22444
  },
22424
22445
 
22425
- /**
22426
- * getPendedhistoryList
22427
- * @desc:获取流程列表
22428
- * @author liufan
22429
- * @date 2022年5月25日
22446
+ /**
22447
+ * getPendedhistoryList
22448
+ * @desc:获取流程列表
22449
+ * @author liufan
22450
+ * @date 2022年5月25日
22430
22451
  **/
22431
22452
  getPendedhistoryList: function getPendedhistoryList() {
22432
22453
  var _this26 = this;
@@ -22458,12 +22479,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22458
22479
  },
22459
22480
 
22460
22481
  // 提交流程
22461
- /**
22462
- * subProcess
22463
- * @desc:提交流程
22464
- * @author liufan
22465
- * @param {String} formName 当前form表单ref值
22466
- * @date 2022年5月25日
22482
+ /**
22483
+ * subProcess
22484
+ * @desc:提交流程
22485
+ * @author liufan
22486
+ * @param {String} formName 当前form表单ref值
22487
+ * @date 2022年5月25日
22467
22488
  **/
22468
22489
  subProcess: function subProcess(val) {
22469
22490
  var _this27 = this;