eoss-ui 0.8.3 → 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 (52) hide show
  1. package/lib/button-group.js +46 -45
  2. package/lib/button.js +46 -45
  3. package/lib/calogin.js +89 -57
  4. package/lib/checkbox-group.js +46 -45
  5. package/lib/data-table-form.js +46 -45
  6. package/lib/data-table.js +95 -69
  7. package/lib/date-picker.js +46 -45
  8. package/lib/dialog.js +46 -45
  9. package/lib/eoss-ui.common.js +401 -333
  10. package/lib/flow-group.js +46 -45
  11. package/lib/flow-list.js +46 -45
  12. package/lib/flow.js +285 -270
  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 +63 -61
  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 +46 -45
  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/tips.js +46 -45
  39. package/lib/tree-group.js +46 -45
  40. package/lib/tree.js +46 -45
  41. package/lib/upload.js +46 -45
  42. package/lib/utils/util.js +46 -45
  43. package/lib/wujie.js +46 -45
  44. package/lib/wxlogin.js +46 -45
  45. package/package.json +1 -1
  46. package/packages/calogin/src/plugin.js +3 -3
  47. package/packages/data-table/src/main.vue +49 -20
  48. package/packages/flow/src/processForm.vue +259 -228
  49. package/packages/main/src/main.vue +1 -1
  50. package/packages/main/src/simplicityTop/index.vue +6 -5
  51. package/src/index.js +1 -1
  52. package/src/utils/util.js +49 -48
@@ -1025,7 +1025,7 @@ var rejectAndEnd = flowPendingPrefix + '/task/taskHandle/rejectAndEnd.dhtml';
1025
1025
  // 核稿通知
1026
1026
  var toSendMsg = '/bpm/bpmBackend/toSendMsgIndex';
1027
1027
  // 核稿通知提交
1028
- var sendMsg = flowPendingPrefix + '/task/taskHandle/sendMsg.dhtml';
1028
+ var api_sendMsg = flowPendingPrefix + '/task/taskHandle/sendMsg.dhtml';
1029
1029
  // 直接办结
1030
1030
  var endFlowHtml = flowPendingPrefix + '/task/taskHandle/endFlow.dhtml';
1031
1031
  // 获取用户信息
@@ -1356,6 +1356,7 @@ var lodash = __webpack_require__(21);
1356
1356
 
1357
1357
 
1358
1358
  var util_win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
1359
+ var winTop = getWinTop();
1359
1360
  var isIE = /MSIE|Trident/.test(navigator.userAgent);
1360
1361
  var parser = new external_ua_parser_js_["UAParser"]();
1361
1362
  var $hueStep = 2;
@@ -1903,19 +1904,19 @@ var util_busEmit = function busEmit(that, _ref3) {
1903
1904
  return;
1904
1905
  }
1905
1906
  if (isIE) {
1906
- if (util_win.top !== util_win.self) {
1907
- util_win.top.postMessage({ method: method, query: args, args: args }, '*');
1907
+ if (winTop !== util_win.self) {
1908
+ winTop.postMessage({ method: method, query: args, args: args }, '*');
1908
1909
  return;
1909
1910
  }
1910
1911
  var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
1911
1912
  bus && (Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args));
1912
1913
  } else {
1913
- if (util_win.top !== util_win.self) {
1914
+ if (winTop !== util_win.self) {
1914
1915
  var _bus2 = util_win.$wujie ? util_win.$wujie.bus : null;
1915
1916
  if (_bus2) {
1916
1917
  Array.isArray(args) ? _bus2.$emit.apply(_bus2, [method].concat(args)) : _bus2.$emit(method, args);
1917
1918
  } else {
1918
- util_win.top.postMessage({ method: method, query: args, args: args }, '*');
1919
+ winTop.postMessage({ method: method, query: args, args: args }, '*');
1919
1920
  }
1920
1921
  return;
1921
1922
  }
@@ -2153,7 +2154,7 @@ var delUrlParam = function delUrlParam(_ref4) {
2153
2154
 
2154
2155
  var pUrl = '';
2155
2156
  try {
2156
- pUrl = util_win.top.location.href;
2157
+ pUrl = winTop.location.href;
2157
2158
  } catch (error) {
2158
2159
  pUrl = util_win.location.href;
2159
2160
  }
@@ -3607,7 +3608,7 @@ var util_isLogined = function () {
3607
3608
  pathname = '';
3608
3609
 
3609
3610
  try {
3610
- pathname = util_win.top.location.pathname;
3611
+ pathname = winTop.location.pathname;
3611
3612
  } catch (error) {
3612
3613
  pathname = util_win.location.pathname;
3613
3614
  }
@@ -3673,12 +3674,12 @@ var util_isLogined = function () {
3673
3674
  });
3674
3675
  try {
3675
3676
  var url = delUrlParam({
3676
- url: util_win.top.location.href,
3677
+ url: winTop.location.href,
3677
3678
  key: ['serverId', 'authType', 'code', 'sessionId']
3678
3679
  });
3679
- util_win.top.location.href = url;
3680
+ winTop.location.href = url;
3680
3681
  setTimeout(function () {
3681
- util_win.top.location.reload();
3682
+ winTop.location.reload();
3682
3683
  }, 200);
3683
3684
  } catch (error) {
3684
3685
  var _url2 = delUrlParam({
@@ -3697,8 +3698,8 @@ var util_isLogined = function () {
3697
3698
  break;
3698
3699
  case 3:
3699
3700
  try {
3700
- var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(util_win.top.location.href));
3701
- util_win.top.location.href = href;
3701
+ var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(winTop.location.href));
3702
+ winTop.location.href = href;
3702
3703
  } catch (error) {
3703
3704
  var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(util_win.location.href));
3704
3705
  util_win.location.href = _href;
@@ -3712,18 +3713,18 @@ var util_isLogined = function () {
3712
3713
  sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
3713
3714
  try {
3714
3715
  if (loginPage) {
3715
- util_win.top.location.replace(loginPage);
3716
+ winTop.location.replace(loginPage);
3716
3717
  } else if (document.referrer) {
3717
3718
  var referrerUrl = new URL(document.referrer);
3718
- if (referrerUrl.host !== util_win.top.location.host) {
3719
- util_win.top.location.replace(document.referrer);
3720
- } else if (util_win.top.location.href.indexOf('main.html') > -1 || util_win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
3721
- util_win.top.location.href = './login.html';
3719
+ if (referrerUrl.host !== winTop.location.host) {
3720
+ winTop.location.replace(document.referrer);
3721
+ } 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) {
3722
+ winTop.location.href = './login.html';
3722
3723
  } else {
3723
3724
  next('/login');
3724
3725
  }
3725
- } else if (util_win.top.location.href.indexOf('main.html') > -1) {
3726
- util_win.top.location.href = './login.html';
3726
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
3727
+ winTop.location.href = './login.html';
3727
3728
  } else {
3728
3729
  next('/login');
3729
3730
  }
@@ -3742,18 +3743,18 @@ var util_isLogined = function () {
3742
3743
  callback: function callback() {
3743
3744
  try {
3744
3745
  if (loginPage) {
3745
- util_win.top.location.replace(loginPage);
3746
+ winTop.location.replace(loginPage);
3746
3747
  } else if (document.referrer) {
3747
3748
  var referrerUrl = new URL(document.referrer);
3748
- if (referrerUrl.host !== util_win.top.location.host) {
3749
- util_win.top.location.replace(document.referrer);
3750
- } else if (util_win.top.location.href.indexOf('main.html') > -1 || util_win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
3751
- util_win.top.location.href = './login.html';
3749
+ if (referrerUrl.host !== winTop.location.host) {
3750
+ winTop.location.replace(document.referrer);
3751
+ } 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) {
3752
+ winTop.location.href = './login.html';
3752
3753
  } else {
3753
3754
  next('/login');
3754
3755
  }
3755
- } else if (util_win.top.location.href.indexOf('main.html') > -1) {
3756
- util_win.top.location.href = './login.html';
3756
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
3757
+ winTop.location.href = './login.html';
3757
3758
  } else {
3758
3759
  next('/login');
3759
3760
  }
@@ -3782,19 +3783,19 @@ var util_isLogined = function () {
3782
3783
  } else {
3783
3784
  try {
3784
3785
  if (loginPage) {
3785
- util_win.top.location.replace(loginPage);
3786
+ winTop.location.replace(loginPage);
3786
3787
  } else if (document.referrer) {
3787
3788
  referrerUrl = new URL(document.referrer);
3788
3789
 
3789
- if (referrerUrl.host !== util_win.top.location.host) {
3790
- util_win.top.location.replace(document.referrer);
3791
- } else if (util_win.top.location.href.indexOf('main.html') > -1 || util_win.top.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
3792
- util_win.top.location.href = './login.html';
3790
+ if (referrerUrl.host !== winTop.location.host) {
3791
+ winTop.location.replace(document.referrer);
3792
+ } 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) {
3793
+ winTop.location.href = './login.html';
3793
3794
  } else {
3794
3795
  next('/login');
3795
3796
  }
3796
- } else if (util_win.top.location.href.indexOf('main.html') > -1) {
3797
- util_win.top.location.href = './login.html';
3797
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
3798
+ winTop.location.href = './login.html';
3798
3799
  } else {
3799
3800
  next('/login');
3800
3801
  }
@@ -3926,7 +3927,7 @@ var util_loading = function loading($loading, res) {
3926
3927
  }
3927
3928
  if (util_isObject(res)) {
3928
3929
  var config = extend({}, {
3929
- target: util_win.top.document.body,
3930
+ target: winTop.document.body,
3930
3931
  fullscreen: true,
3931
3932
  background: 'rgba(0, 0, 0, 0.65)',
3932
3933
  spinner: 'el-icon-loading',
@@ -3935,7 +3936,7 @@ var util_loading = function loading($loading, res) {
3935
3936
  return $loading(config);
3936
3937
  } else {
3937
3938
  var _loading = $loading({
3938
- target: util_win.top.document.body,
3939
+ target: winTop.document.body,
3939
3940
  fullscreen: true,
3940
3941
  background: 'rgba(0, 0, 0, 0.65)',
3941
3942
  spinner: 'el-icon-loading',
@@ -4081,7 +4082,7 @@ var util_responses = function responses(data) {
4081
4082
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
4082
4083
  var href = '';
4083
4084
  try {
4084
- href = util_win.top.location.href;
4085
+ href = winTop.location.href;
4085
4086
  } catch (error) {
4086
4087
  href = util_win.location.href;
4087
4088
  }
@@ -4106,7 +4107,7 @@ var util_responses = function responses(data) {
4106
4107
  if (loginPage) {
4107
4108
  var src = void 0;
4108
4109
  if (!startWith(loginPage, ['http', '/'], true)) {
4109
- var pathname = util_win.top.location.pathname;
4110
+ var pathname = winTop.location.pathname;
4110
4111
  if (pathname !== '/') {
4111
4112
  pathname = pathname.split('/');
4112
4113
  pathname.splice(pathname.length - 1);
@@ -4118,16 +4119,16 @@ var util_responses = function responses(data) {
4118
4119
  } else {
4119
4120
  src = loginPage;
4120
4121
  }
4121
- util_win.top.location.href = src;
4122
- } else if (util_win.top.location.href.indexOf('main.html') > -1) {
4123
- util_win.top.location.href = './login.html';
4122
+ winTop.location.href = src;
4123
+ } else if (winTop.location.href.indexOf('main.html') > -1) {
4124
+ winTop.location.href = './login.html';
4124
4125
  } else {
4125
- var hash = util_win.top.location.hash;
4126
+ var hash = winTop.location.hash;
4126
4127
  if (hash) {
4127
- var len = util_win.top.location.href.indexOf(hash);
4128
- util_win.top.location.href = util_win.location.href.slice(0, len) + '#/login';
4128
+ var len = winTop.location.href.indexOf(hash);
4129
+ winTop.location.href = util_win.location.href.slice(0, len) + '#/login';
4129
4130
  } else {
4130
- util_win.top.location.href = '/login.html';
4131
+ winTop.location.href = '/login.html';
4131
4132
  }
4132
4133
  }
4133
4134
  } catch (error) {
@@ -4946,9 +4947,9 @@ var removeCookie = function removeCookie(key) {
4946
4947
 
4947
4948
  var winTopOpen = function winTopOpen(config) {
4948
4949
  if (isIE) {
4949
- if (util_win.top !== util_win.self) {
4950
+ if (winTop !== util_win.self) {
4950
4951
  try {
4951
- util_win.top.windowOpen(config);
4952
+ winTop.windowOpen(config);
4952
4953
  } catch (error) {
4953
4954
  util_win.postMessage({ method: 'windowOpen', query: config }, '*');
4954
4955
  }
@@ -6898,14 +6899,18 @@ mainvue_type_template_id_4a913332_scoped_true_render._withStripped = true
6898
6899
  // CONCATENATED MODULE: ./packages/calogin/src/main.vue?vue&type=template&id=4a913332&scoped=true&
6899
6900
 
6900
6901
  // CONCATENATED MODULE: ./packages/calogin/src/plugin.js
6902
+
6903
+
6901
6904
  var plugin_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
6902
6905
 
6906
+ function plugin_asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
6907
+
6903
6908
  function plugin_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6904
6909
 
6905
6910
  /**
6906
6911
  * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6907
6912
  */
6908
- var CA_ExtInterface = function () {
6913
+ var plugin_CA_ExtInterface = function () {
6909
6914
  function CA_ExtInterface() {
6910
6915
  plugin_classCallCheck(this, CA_ExtInterface);
6911
6916
 
@@ -6971,11 +6976,34 @@ var CA_ExtInterface = function () {
6971
6976
  */
6972
6977
 
6973
6978
 
6974
- CA_ExtInterface.prototype.sendAndWaitMessageEx = function sendAndWaitMessageEx(operatorCmd, sendMsg) {
6975
- this.checkSessionWSURL();
6976
- var strSendMsg = operatorCmd + ':' + sendMsg;
6977
- return this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg);
6978
- };
6979
+ CA_ExtInterface.prototype.sendAndWaitMessageEx = function () {
6980
+ var _ref = plugin_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(operatorCmd, sendMsg) {
6981
+ var strSendMsg;
6982
+ return regenerator_default.a.wrap(function _callee$(_context) {
6983
+ while (1) {
6984
+ switch (_context.prev = _context.next) {
6985
+ case 0:
6986
+ _context.next = 2;
6987
+ return this.checkSessionWSURL();
6988
+
6989
+ case 2:
6990
+ strSendMsg = operatorCmd + ':' + sendMsg;
6991
+ return _context.abrupt('return', this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg));
6992
+
6993
+ case 4:
6994
+ case 'end':
6995
+ return _context.stop();
6996
+ }
6997
+ }
6998
+ }, _callee, this);
6999
+ }));
7000
+
7001
+ function sendAndWaitMessageEx(_x, _x2) {
7002
+ return _ref.apply(this, arguments);
7003
+ }
7004
+
7005
+ return sendAndWaitMessageEx;
7006
+ }();
6979
7007
 
6980
7008
  /**
6981
7009
  * 发送消息并等待响应
@@ -6996,13 +7024,13 @@ var CA_ExtInterface = function () {
6996
7024
  globalXmlHttpRequest.setRequestHeader('Content-Type', 'text/plain;charset=UTF-8');
6997
7025
  globalXmlHttpRequest.send(sendMsg);
6998
7026
  ResultMsg = globalXmlHttpRequest.responseText;
7027
+ return ResultMsg;
6999
7028
  } catch (e) {
7000
7029
  this.currentSessionWSURL = '';
7001
7030
  if (this.options.onError) {
7002
7031
  this.options.onError.call(undefined, e);
7003
7032
  }
7004
7033
  }
7005
- return ResultMsg;
7006
7034
  };
7007
7035
 
7008
7036
  /**
@@ -7765,12 +7793,12 @@ var CA_ExtInterface = function () {
7765
7793
  */
7766
7794
 
7767
7795
 
7768
- CA_ExtInterface.prototype.getMessage = function getMessage(_ref) {
7796
+ CA_ExtInterface.prototype.getMessage = function getMessage(_ref2) {
7769
7797
  var _this = this;
7770
7798
 
7771
- var action = _ref.action,
7772
- _ref$params = _ref.params,
7773
- params = _ref$params === undefined ? [] : _ref$params;
7799
+ var action = _ref2.action,
7800
+ _ref2$params = _ref2.params,
7801
+ params = _ref2$params === undefined ? [] : _ref2$params;
7774
7802
 
7775
7803
  return new Promise(function (resolve, reject) {
7776
7804
  var obj = JSON.stringify({
@@ -7932,7 +7960,7 @@ var CA_ExtInterface = function () {
7932
7960
  return CA_ExtInterface;
7933
7961
  }();
7934
7962
 
7935
- var caPlugin = new CA_ExtInterface();
7963
+ var caPlugin = new plugin_CA_ExtInterface();
7936
7964
  /* harmony default export */ var src_plugin = (caPlugin);
7937
7965
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/calogin/src/main.vue?vue&type=script&lang=js&
7938
7966
  //
@@ -9799,8 +9827,8 @@ clients_src_main.install = function (Vue) {
9799
9827
  };
9800
9828
 
9801
9829
  /* harmony default export */ var clients = (clients_src_main);
9802
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=d5922368&
9803
- var mainvue_type_template_id_d5922368_render = function () {
9830
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=339d1ec1&
9831
+ var mainvue_type_template_id_339d1ec1_render = function () {
9804
9832
  var _vm = this
9805
9833
  var _h = _vm.$createElement
9806
9834
  var _c = _vm._self._c || _h
@@ -10201,11 +10229,11 @@ var mainvue_type_template_id_d5922368_render = function () {
10201
10229
  1
10202
10230
  )
10203
10231
  }
10204
- var mainvue_type_template_id_d5922368_staticRenderFns = []
10205
- mainvue_type_template_id_d5922368_render._withStripped = true
10232
+ var mainvue_type_template_id_339d1ec1_staticRenderFns = []
10233
+ mainvue_type_template_id_339d1ec1_render._withStripped = true
10206
10234
 
10207
10235
 
10208
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=d5922368&
10236
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=339d1ec1&
10209
10237
 
10210
10238
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=d07af914&
10211
10239
  var childrenvue_type_template_id_d07af914_render = function () {
@@ -12635,6 +12663,7 @@ var pageView = utils_util.getParams('pageView');
12635
12663
  default: false
12636
12664
  },
12637
12665
  readonly: Boolean,
12666
+ allowToolbar: Boolean,
12638
12667
  url: {
12639
12668
  type: String,
12640
12669
  default: ''
@@ -13040,27 +13069,51 @@ var pageView = utils_util.getParams('pageView');
13040
13069
  },
13041
13070
  showToolbar: function showToolbar() {
13042
13071
  if (this.readonly) {
13043
- return false;
13044
- }
13045
- if (typeof this.toolbar === 'boolean') {
13046
- if (this.toolbar) {
13047
- this.toolbars = [{
13048
- type: 'search',
13049
- contents: [{
13050
- type: 'text',
13051
- name: 'keyword',
13052
- placeholder: '请输入关键字'
13053
- }]
13054
- }];
13072
+ if (this.allowToolbar) {
13073
+ if (typeof this.toolbar === 'boolean') {
13074
+ if (this.toolbar) {
13075
+ this.toolbars = [{
13076
+ type: 'search',
13077
+ contents: [{
13078
+ type: 'text',
13079
+ name: 'keyword',
13080
+ placeholder: '请输入关键字'
13081
+ }]
13082
+ }];
13083
+ }
13084
+ return this.toolbar;
13085
+ } else if (Array.isArray(this.toolbar)) {
13086
+ this.toolbars = this.toolbar;
13087
+ return true;
13088
+ } else {
13089
+ this.toolbars = this.toolbar.contents;
13090
+ this.toolbarEvents = this.toolbar.events || {};
13091
+ return true;
13092
+ }
13093
+ } else {
13094
+ return false;
13055
13095
  }
13056
- return this.toolbar;
13057
- } else if (Array.isArray(this.toolbar)) {
13058
- this.toolbars = this.toolbar;
13059
- return true;
13060
13096
  } else {
13061
- this.toolbars = this.toolbar.contents;
13062
- this.toolbarEvents = this.toolbar.events || {};
13063
- return true;
13097
+ if (typeof this.toolbar === 'boolean') {
13098
+ if (this.toolbar) {
13099
+ this.toolbars = [{
13100
+ type: 'search',
13101
+ contents: [{
13102
+ type: 'text',
13103
+ name: 'keyword',
13104
+ placeholder: '请输入关键字'
13105
+ }]
13106
+ }];
13107
+ }
13108
+ return this.toolbar;
13109
+ } else if (Array.isArray(this.toolbar)) {
13110
+ this.toolbars = this.toolbar;
13111
+ return true;
13112
+ } else {
13113
+ this.toolbars = this.toolbar.contents;
13114
+ this.toolbarEvents = this.toolbar.events || {};
13115
+ return true;
13116
+ }
13064
13117
  }
13065
13118
  },
13066
13119
 
@@ -14099,8 +14152,8 @@ var pageView = utils_util.getParams('pageView');
14099
14152
 
14100
14153
  var data_table_src_main_component = normalizeComponent(
14101
14154
  packages_data_table_src_mainvue_type_script_lang_js_,
14102
- mainvue_type_template_id_d5922368_render,
14103
- mainvue_type_template_id_d5922368_staticRenderFns,
14155
+ mainvue_type_template_id_339d1ec1_render,
14156
+ mainvue_type_template_id_339d1ec1_staticRenderFns,
14104
14157
  false,
14105
14158
  null,
14106
14159
  null,
@@ -32427,8 +32480,8 @@ var CommonOpinions_component = normalizeComponent(
32427
32480
  )
32428
32481
 
32429
32482
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
32430
- // 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&
32431
- var processFormvue_type_template_id_80a2c5c2_render = function () {
32483
+ // 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&
32484
+ var processFormvue_type_template_id_6df91879_render = function () {
32432
32485
  var _vm = this
32433
32486
  var _h = _vm.$createElement
32434
32487
  var _c = _vm._self._c || _h
@@ -33256,11 +33309,11 @@ var processFormvue_type_template_id_80a2c5c2_render = function () {
33256
33309
  1
33257
33310
  )
33258
33311
  }
33259
- var processFormvue_type_template_id_80a2c5c2_staticRenderFns = []
33260
- processFormvue_type_template_id_80a2c5c2_render._withStripped = true
33312
+ var processFormvue_type_template_id_6df91879_staticRenderFns = []
33313
+ processFormvue_type_template_id_6df91879_render._withStripped = true
33261
33314
 
33262
33315
 
33263
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=80a2c5c2&
33316
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=6df91879&
33264
33317
 
33265
33318
  // 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&
33266
33319
  var selectUservue_type_template_id_5424da0a_render = function () {
@@ -35377,7 +35430,10 @@ var processFormvue_type_script_lang_js_components;
35377
35430
  nextCurrentOrgObjSelect: [],
35378
35431
  isHideCurrentOrg: false,
35379
35432
  isHideOtherOrg: false,
35380
- currentOrgSelectorParams: { filid: JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId, only_filid: true },
35433
+ currentOrgSelectorParams: {
35434
+ filid: JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId,
35435
+ only_filid: true
35436
+ },
35381
35437
  foreignOrgSelectorParams: { filid: 'all', nofilid: 1 },
35382
35438
  nextNode: {
35383
35439
  nodeName: '',
@@ -35612,6 +35668,8 @@ var processFormvue_type_script_lang_js_components;
35612
35668
  }
35613
35669
  },
35614
35670
  selecNext: function selecNext(val) {
35671
+ var _this3 = this;
35672
+
35615
35673
  this.nextNode.nextUser = [];
35616
35674
  this.options = [];
35617
35675
  this.selectUserList = [];
@@ -35623,7 +35681,11 @@ var processFormvue_type_script_lang_js_components;
35623
35681
  }
35624
35682
  this.nextNode.nodeInfo = this.operationList[val].list;
35625
35683
  if (this.nextNode.nodeInfo.length > 0) {
35626
- this.nextNode.nextNode = this.defaultNextNode || this.nextNode.nodeInfo[0].nodeId;
35684
+ var defaultNodeData = this.nextNode.nodeInfo.filter(function (x) {
35685
+ return x.nodeId == _this3.defaultNextNode;
35686
+ });
35687
+ length;
35688
+ this.nextNode.nextNode = defaultNodeData.length > 0 ? this.defaultNextNode : this.nextNode.nodeInfo[0].nodeId;
35627
35689
  }
35628
35690
  this.getNodeInfos();
35629
35691
  },
@@ -35698,7 +35760,7 @@ var processFormvue_type_script_lang_js_components;
35698
35760
  this.getsubProcessColumns();
35699
35761
  },
35700
35762
  getNodeType: function getNodeType() {
35701
- var _this3 = this;
35763
+ var _this4 = this;
35702
35764
 
35703
35765
  utils_util.ajax({
35704
35766
  url: findCodeValues,
@@ -35711,23 +35773,23 @@ var processFormvue_type_script_lang_js_components;
35711
35773
  data = res.data;
35712
35774
 
35713
35775
  if (status === 'success') {
35714
- _this3.nextNode.noticeList = data;
35776
+ _this4.nextNode.noticeList = data;
35715
35777
  }
35716
35778
  }).catch(function (err) {
35717
- if (_this3.showBtn) {
35718
- _this3.loading = false;
35779
+ if (_this4.showBtn) {
35780
+ _this4.loading = false;
35719
35781
  } else {
35720
- _this3.allLoading.close();
35782
+ _this4.allLoading.close();
35721
35783
  }
35722
35784
  if (err.message && err.message !== 'canceled') {
35723
- _this3.$message.error(err.message);
35785
+ _this4.$message.error(err.message);
35724
35786
  }
35725
35787
  });
35726
35788
  },
35727
35789
 
35728
35790
  //获取通知信息
35729
35791
  getMessage: function getMessage() {
35730
- var _this4 = this;
35792
+ var _this5 = this;
35731
35793
 
35732
35794
  var params = {
35733
35795
  processDefinitionId: this.processDefinitionId,
@@ -35739,21 +35801,21 @@ var processFormvue_type_script_lang_js_components;
35739
35801
  }
35740
35802
  utils_util.ajax({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
35741
35803
  if (res.status === 'success') {
35742
- if (!_this4.showBtn) {
35743
- _this4.oldMessage = res.message;
35744
- _this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
35804
+ if (!_this5.showBtn) {
35805
+ _this5.oldMessage = res.message;
35806
+ _this5.nextNode.noticeInfo = res.message.replace('{title}', _this5.formTitle);
35745
35807
  } else {
35746
- _this4.nextNode.noticeInfo = res.message;
35808
+ _this5.nextNode.noticeInfo = res.message;
35747
35809
  }
35748
35810
  }
35749
35811
  }).catch(function (err) {
35750
- if (_this4.showBtn) {
35751
- _this4.loading = false;
35812
+ if (_this5.showBtn) {
35813
+ _this5.loading = false;
35752
35814
  } else {
35753
- _this4.allLoading.close();
35815
+ _this5.allLoading.close();
35754
35816
  }
35755
35817
  if (err.message && err.message !== 'canceled') {
35756
- _this4.$message.error(err.message);
35818
+ _this5.$message.error(err.message);
35757
35819
  }
35758
35820
  });
35759
35821
  },
@@ -35763,11 +35825,11 @@ var processFormvue_type_script_lang_js_components;
35763
35825
  this.saveProcess(formName);
35764
35826
  },
35765
35827
  saveProcess: function saveProcess(formName) {
35766
- var _this5 = this;
35828
+ var _this6 = this;
35767
35829
 
35768
35830
  this.$refs[formName].validate(function (valid) {
35769
35831
  if (valid) {
35770
- var _nextNode = _this5.nextNode,
35832
+ var _nextNode = _this6.nextNode,
35771
35833
  nextNode = _nextNode.nextNode,
35772
35834
  nextUser = _nextNode.nextUser,
35773
35835
  noticeInfo = _nextNode.noticeInfo,
@@ -35784,31 +35846,31 @@ var processFormvue_type_script_lang_js_components;
35784
35846
  // return this.$message.warning('请选择通知方式');
35785
35847
  // }
35786
35848
 
35787
- if (_this5.isShowNextUser) {
35788
- if ((nextUser == '' || _this5.multiple && nextUser.length == 0) && !_this5.isHideCurrentOrg && !_this5.isHideOtherOrg) {
35789
- return _this5.$message.warning('请选择下步办理人');
35849
+ if (_this6.isShowNextUser) {
35850
+ if ((nextUser == '' || _this6.multiple && nextUser.length == 0) && !_this6.isHideCurrentOrg && !_this6.isHideOtherOrg) {
35851
+ return _this6.$message.warning('请选择下步办理人');
35790
35852
  }
35791
35853
  } else {
35792
- if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
35793
- return _this5.$message.warning('请选择办理对象');
35854
+ if (nextOrgId == '' || _this6.multiple && nextOrgId.length == 0) {
35855
+ return _this6.$message.warning('请选择办理对象');
35794
35856
  }
35795
35857
  }
35796
- if ((_this5.isHideOtherOrg || _this5.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
35797
- return _this5.$message.warning('请选择办理对象');
35858
+ if ((_this6.isHideOtherOrg || _this6.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
35859
+ return _this6.$message.warning('请选择办理对象');
35798
35860
  }
35799
- if (_this5.isCancelSecondConfirmationType) {
35800
- _this5.$confirm('确认提交吗?', '提示', {
35861
+ if (_this6.isCancelSecondConfirmationType) {
35862
+ _this6.$confirm('确认提交吗?', '提示', {
35801
35863
  confirmButtonText: '确定',
35802
35864
  cancelButtonText: '取消',
35803
35865
  type: 'warning'
35804
35866
  }).then(function () {
35805
- if (_this5.showBtn) {
35806
- _this5.loading = true;
35867
+ if (_this6.showBtn) {
35868
+ _this6.loading = true;
35807
35869
  } else {
35808
- _this5.allLoading = utils_util.loading(_this5.$loading, '加载中...');
35870
+ _this6.allLoading = utils_util.loading(_this6.$loading, '加载中...');
35809
35871
  }
35810
35872
  var newNextUser = [];
35811
- if (_this5.multiple) {
35873
+ if (_this6.multiple) {
35812
35874
  nextUser && nextUser.map(function (item) {
35813
35875
  return newNextUser.push(item);
35814
35876
  });
@@ -35818,108 +35880,108 @@ var processFormvue_type_script_lang_js_components;
35818
35880
  newNoticeType = noticeType.join(',');
35819
35881
  }
35820
35882
  var params = {
35821
- processDefinitionId: _this5.processDefinitionId,
35822
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
35883
+ processDefinitionId: _this6.processDefinitionId,
35884
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
35823
35885
  nextNodeId: nextNode,
35824
- businessId: _this5.businessId,
35886
+ businessId: _this6.businessId,
35825
35887
  notificationType: newNoticeType,
35826
35888
  userId: utils_util.getStorage('userId'),
35827
35889
  notificationMsg: noticeInfo,
35828
- customPresetUserJson: JSON.stringify(_this5.presetList),
35829
- presetUserJson: JSON.stringify(_this5.presetUserJson),
35830
- nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
35831
- nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
35890
+ customPresetUserJson: JSON.stringify(_this6.presetList),
35891
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
35892
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
35893
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
35832
35894
  handleExplain: handleExplain,
35833
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
35834
- opinion: _this5.newOpinion || newOpinion
35895
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
35896
+ opinion: _this6.newOpinion || newOpinion
35835
35897
  };
35836
- if (_this5.enableCustomLimitTimeSetting) {
35898
+ if (_this6.enableCustomLimitTimeSetting) {
35837
35899
  params.customLimitTime = customLimitTime;
35838
35900
  if (!customLimitTime) {
35839
- _this5.$message.warning('请选择或输入限时办理的天数');
35840
- _this5.nextNode.customLimitTime = '';
35901
+ _this6.$message.warning('请选择或输入限时办理的天数');
35902
+ _this6.nextNode.customLimitTime = '';
35841
35903
  return;
35842
35904
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
35843
- _this5.$message.warning('请输入正确的天数');
35844
- _this5.nextNode.customLimitTime = '';
35905
+ _this6.$message.warning('请输入正确的天数');
35906
+ _this6.nextNode.customLimitTime = '';
35845
35907
  return;
35846
35908
  }
35847
35909
  }
35848
- if (_this5.isHideCurrentOrg) {
35910
+ if (_this6.isHideCurrentOrg) {
35849
35911
  params.nextCurrentOrgObj = nextCurrentOrgObj;
35850
35912
  }
35851
- if (_this5.isHideOtherOrg) {
35913
+ if (_this6.isHideOtherOrg) {
35852
35914
  params.nextOtherOrgObj = nextOtherOrgObj;
35853
35915
  }
35854
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
35855
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
35916
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
35917
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
35856
35918
  var newParm = {};
35857
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
35919
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
35858
35920
  newParm.startFlowParamJson = params;
35859
35921
  // newParm.startFlowParamJson.businessId = this.id; //this.id
35860
35922
  newParm.startFlowParamJson.taskExamineParam = {
35861
- startFlowFirstNodeName: _this5.taskExamineParam
35923
+ startFlowFirstNodeName: _this6.taskExamineParam
35862
35924
  };
35863
35925
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
35864
- for (var key in _this5.taskParams) {
35865
- if (Array.isArray(_this5.taskParams[key])) {
35866
- _this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
35926
+ for (var key in _this6.taskParams) {
35927
+ if (Array.isArray(_this6.taskParams[key])) {
35928
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
35867
35929
  }
35868
35930
  }
35869
35931
 
35870
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
35871
- if (_this5.formType == 'readTransfer') {
35932
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
35933
+ if (_this6.formType == 'readTransfer') {
35872
35934
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
35873
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
35935
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
35874
35936
  delete newParm.copyHistory;
35875
35937
  delete newParm.startFlowParamJson;
35876
35938
  delete newParm.submitTaskParamJson;
35877
35939
  }
35878
35940
  params = newParm;
35879
35941
  }
35880
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
35881
- params.pendingId = _this5.pendingId;
35942
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
35943
+ params.pendingId = _this6.pendingId;
35882
35944
  delete params.businessId;
35883
35945
  }
35884
35946
  utils_util.ajax({
35885
- url: _this5.isFreeStartFlow ? freeStartFlowWithSubmitTask : _this5.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : _this5.copyHistory ? freeStartFlow : register,
35947
+ url: _this6.isFreeStartFlow ? freeStartFlowWithSubmitTask : _this6.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : _this6.copyHistory ? freeStartFlow : register,
35886
35948
  method: 'post',
35887
35949
  data: params
35888
35950
  }).then(function (res) {
35889
35951
  var status = res.status,
35890
35952
  message = res.message;
35891
35953
 
35892
- if (_this5.showBtn) {
35893
- _this5.loading = false;
35954
+ if (_this6.showBtn) {
35955
+ _this6.loading = false;
35894
35956
  } else {
35895
- _this5.allLoading.close();
35957
+ _this6.allLoading.close();
35896
35958
  }
35897
35959
  if (status === 'success' || res.rCode == 0) {
35898
- _this5.quit(true);
35899
- _this5.simpleTips && _this5.$message.success('操作成功');
35960
+ _this6.quit(true);
35961
+ _this6.simpleTips && _this6.$message.success('操作成功');
35900
35962
  } else {
35901
- _this5.$message.error(message || '系统错误,请联系管理员!');
35963
+ _this6.$message.error(message || '系统错误,请联系管理员!');
35902
35964
  }
35903
35965
  }).catch(function (err) {
35904
- if (_this5.showBtn) {
35905
- _this5.loading = false;
35966
+ if (_this6.showBtn) {
35967
+ _this6.loading = false;
35906
35968
  } else {
35907
- _this5.allLoading.close();
35969
+ _this6.allLoading.close();
35908
35970
  }
35909
35971
  if (err.message && err.message !== 'canceled') {
35910
- _this5.$message.error(err.message);
35972
+ _this6.$message.error(err.message);
35911
35973
  }
35912
35974
  });
35913
35975
  });
35914
35976
  return;
35915
35977
  }
35916
- if (_this5.showBtn) {
35917
- _this5.loading = true;
35978
+ if (_this6.showBtn) {
35979
+ _this6.loading = true;
35918
35980
  } else {
35919
- _this5.allLoading = utils_util.loading(_this5.$loading, '加载中...');
35981
+ _this6.allLoading = utils_util.loading(_this6.$loading, '加载中...');
35920
35982
  }
35921
35983
  var newNextUser = [];
35922
- if (_this5.multiple) {
35984
+ if (_this6.multiple) {
35923
35985
  nextUser && nextUser.map(function (item) {
35924
35986
  return newNextUser.push(item);
35925
35987
  });
@@ -35929,96 +35991,96 @@ var processFormvue_type_script_lang_js_components;
35929
35991
  newNoticeType = noticeType.join(',');
35930
35992
  }
35931
35993
  var params = {
35932
- processDefinitionId: _this5.processDefinitionId,
35933
- nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
35994
+ processDefinitionId: _this6.processDefinitionId,
35995
+ nextUserId: _this6.multiple ? newNextUser.join(',') : nextUser,
35934
35996
  nextNodeId: nextNode,
35935
- businessId: _this5.businessId,
35997
+ businessId: _this6.businessId,
35936
35998
  notificationType: newNoticeType,
35937
35999
  userId: utils_util.getStorage('userId'),
35938
36000
  notificationMsg: noticeInfo,
35939
- customPresetUserJson: JSON.stringify(_this5.presetList),
35940
- presetUserJson: JSON.stringify(_this5.presetUserJson),
35941
- nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
35942
- nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
36001
+ customPresetUserJson: JSON.stringify(_this6.presetList),
36002
+ presetUserJson: JSON.stringify(_this6.presetUserJson),
36003
+ nextReadUserId: _this6.readMultiple ? _this6.mixReadList && _this6.mixReadList.join('|') : nextReadUserId,
36004
+ nextOrgId: !_this6.isShowNextUser ? _this6.multiple ? _this6.mixOrgIdList && _this6.mixOrgIdList.join('|') : nextOrgId : '',
35943
36005
  handleExplain: handleExplain,
35944
- presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
35945
- opinion: _this5.newOpinion || newOpinion
36006
+ presetReadUserId: _this6.mixPresetList && _this6.mixPresetList.length > 0 ? _this6.mixPresetList.join('|') : presetReadUserId.join(','),
36007
+ opinion: _this6.newOpinion || newOpinion
35946
36008
  };
35947
- if (_this5.enableCustomLimitTimeSetting) {
36009
+ if (_this6.enableCustomLimitTimeSetting) {
35948
36010
  params.customLimitTime = customLimitTime;
35949
36011
  if (!customLimitTime) {
35950
- _this5.$message.warning('请选择或输入限时办理的天数');
35951
- _this5.nextNode.customLimitTime = '';
36012
+ _this6.$message.warning('请选择或输入限时办理的天数');
36013
+ _this6.nextNode.customLimitTime = '';
35952
36014
  return;
35953
36015
  } else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
35954
- _this5.$message.warning('请输入正确的天数');
35955
- _this5.nextNode.customLimitTime = '';
36016
+ _this6.$message.warning('请输入正确的天数');
36017
+ _this6.nextNode.customLimitTime = '';
35956
36018
  return;
35957
36019
  }
35958
36020
  }
35959
- if (_this5.isHideCurrentOrg) {
36021
+ if (_this6.isHideCurrentOrg) {
35960
36022
  params.nextCurrentOrgObj = nextCurrentOrgObj;
35961
36023
  }
35962
- if (_this5.isHideOtherOrg) {
36024
+ if (_this6.isHideOtherOrg) {
35963
36025
  params.nextOtherOrgObj = nextOtherOrgObj;
35964
36026
  }
35965
- if (_this5.activeNames != '1') delete params.customPresetUserJson;
35966
- if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
36027
+ if (_this6.activeNames != '1') delete params.customPresetUserJson;
36028
+ if (_this6.isFreeStartFlow || _this6.formType === 'readTransfer') {
35967
36029
  var newParm = {};
35968
- newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
36030
+ newParm.copyHistory = _this6.copyHistory === 'needCopyPendedHistory';
35969
36031
  newParm.startFlowParamJson = params;
35970
36032
  // newParm.startFlowParamJson.businessId = this.id; //this.id
35971
36033
  newParm.startFlowParamJson.taskExamineParam = {
35972
- startFlowFirstNodeName: _this5.taskExamineParam
36034
+ startFlowFirstNodeName: _this6.taskExamineParam
35973
36035
  };
35974
36036
  newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
35975
- for (var key in _this5.taskParams) {
35976
- if (Array.isArray(_this5.taskParams[key])) {
35977
- _this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
36037
+ for (var key in _this6.taskParams) {
36038
+ if (Array.isArray(_this6.taskParams[key])) {
36039
+ _this6.taskParams[key] = _this6.taskParams[key].length > 0 ? _this6.taskParams[key].join(',') : '';
35978
36040
  }
35979
36041
  }
35980
36042
 
35981
- newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
35982
- if (_this5.formType == 'readTransfer') {
36043
+ newParm.submitTaskParamJson = JSON.stringify(_this6.taskParams);
36044
+ if (_this6.formType == 'readTransfer') {
35983
36045
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
35984
- newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
36046
+ newParm.taskReadEndParamJson = JSON.stringify(_this6.taskParams);
35985
36047
  delete newParm.copyHistory;
35986
36048
  delete newParm.startFlowParamJson;
35987
36049
  delete newParm.submitTaskParamJson;
35988
36050
  }
35989
36051
  params = newParm;
35990
36052
  }
35991
- if (_this5.copyHistory && !_this5.isFreeStartFlow) {
35992
- params.pendingId = _this5.pendingId;
36053
+ if (_this6.copyHistory && !_this6.isFreeStartFlow) {
36054
+ params.pendingId = _this6.pendingId;
35993
36055
  delete params.businessId;
35994
36056
  }
35995
36057
  utils_util.ajax({
35996
- url: _this5.isFreeStartFlow ? freeStartFlowWithSubmitTask : _this5.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : _this5.copyHistory ? freeStartFlow : register,
36058
+ url: _this6.isFreeStartFlow ? freeStartFlowWithSubmitTask : _this6.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : _this6.copyHistory ? freeStartFlow : register,
35997
36059
  method: 'post',
35998
36060
  data: params
35999
36061
  }).then(function (res) {
36000
36062
  var status = res.status,
36001
36063
  message = res.message;
36002
36064
 
36003
- if (_this5.showBtn) {
36004
- _this5.loading = false;
36065
+ if (_this6.showBtn) {
36066
+ _this6.loading = false;
36005
36067
  } else {
36006
- _this5.allLoading.close();
36068
+ _this6.allLoading.close();
36007
36069
  }
36008
36070
  if (status === 'success' || res.rCode == 0) {
36009
- _this5.quit(true);
36010
- _this5.simpleTips && _this5.$message.success('操作成功');
36071
+ _this6.quit(true);
36072
+ _this6.simpleTips && _this6.$message.success('操作成功');
36011
36073
  } else {
36012
- _this5.$message.error(message || '系统错误,请联系管理员!');
36074
+ _this6.$message.error(message || '系统错误,请联系管理员!');
36013
36075
  }
36014
36076
  }).catch(function (err) {
36015
- if (_this5.showBtn) {
36016
- _this5.loading = false;
36077
+ if (_this6.showBtn) {
36078
+ _this6.loading = false;
36017
36079
  } else {
36018
- _this5.allLoading.close();
36080
+ _this6.allLoading.close();
36019
36081
  }
36020
36082
  if (err.message && err.message !== 'canceled') {
36021
- _this5.$message.error(err.message);
36083
+ _this6.$message.error(err.message);
36022
36084
  }
36023
36085
  });
36024
36086
  } else {
@@ -36027,7 +36089,7 @@ var processFormvue_type_script_lang_js_components;
36027
36089
  });
36028
36090
  },
36029
36091
  getNodeInfos: function getNodeInfos(nodeId, index) {
36030
- var _this6 = this;
36092
+ var _this7 = this;
36031
36093
 
36032
36094
  var params = {
36033
36095
  processDefinitionId: this.processDefinitionId,
@@ -36045,83 +36107,82 @@ var processFormvue_type_script_lang_js_components;
36045
36107
  countersignaturetypeText = _res$data.countersignaturetypeText,
36046
36108
  countersignaturetypeCode = _res$data.countersignaturetypeCode;
36047
36109
 
36048
- if (_this6.showBtn) {
36049
- _this6.loading = false;
36110
+ if (_this7.showBtn) {
36111
+ _this7.loading = false;
36050
36112
  } else {
36051
- _this6.allLoading.close();
36113
+ _this7.allLoading.close();
36052
36114
  }
36053
36115
  if (status === 'success') {
36054
- _this6.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
36055
- _this6.nextNode.userInfo = nextUserList;
36056
- _this6.countersignaturetypeCode = countersignaturetypeCode;
36057
- _this6.nextNode.countersignaturetypeText = countersignaturetypeText;
36058
- _this6.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
36059
- if (_this6.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
36060
- _this6.nextNode.customLimitTime = _this6.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
36061
- }
36062
- _this6.isTaskread = nodeExtAttr.isTaskread;
36063
- _this6.isHandleExplain = nodeExtAttr.isHandleExplain;
36064
- _this6.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
36065
- _this6.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
36066
- _this6.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
36116
+ _this7.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
36117
+ _this7.nextNode.userInfo = nextUserList;
36118
+ _this7.countersignaturetypeCode = countersignaturetypeCode;
36119
+ _this7.nextNode.countersignaturetypeText = countersignaturetypeText;
36120
+ _this7.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
36121
+ if (_this7.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
36122
+ _this7.nextNode.customLimitTime = _this7.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
36123
+ }
36124
+ _this7.isTaskread = nodeExtAttr.isTaskread;
36125
+ _this7.isHandleExplain = nodeExtAttr.isHandleExplain;
36126
+ _this7.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
36127
+ _this7.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
36128
+ _this7.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
36067
36129
  if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
36068
- _this6.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
36130
+ _this7.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
36069
36131
  } else {
36070
- var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
36132
+ var _isMultiple = _this7.isMultiple(nodeExtAttr.userSelectionType),
36071
36133
  multiple = _isMultiple.multiple,
36072
36134
  _params = _isMultiple.params;
36073
36135
 
36074
- _this6.multiple = multiple;
36075
- _this6.params = _params;
36136
+ _this7.multiple = multiple;
36137
+ _this7.params = _params;
36076
36138
  }
36077
36139
  // this.isReadMultiple(nodeExtAttr.userSelectionType);
36078
36140
  if (nodeExtAttr.nodeType === 1 || nodeExtAttr.nodeType === 2) {
36079
-
36080
- _this6.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
36081
- _this6.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
36141
+ _this7.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
36142
+ _this7.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
36082
36143
  } else {
36083
- _this6.isHideCurrentOrg = false;
36084
- _this6.isHideOtherOrg = false;
36144
+ _this7.isHideCurrentOrg = false;
36145
+ _this7.isHideOtherOrg = false;
36085
36146
  }
36086
36147
  nextUserList.map(function (item) {
36087
- if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
36088
- _this6.nextNode.nextUser.push(item.userId);
36089
- _this6.selectUserList.push({
36148
+ if (_this7.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
36149
+ _this7.nextNode.nextUser.push(item.userId);
36150
+ _this7.selectUserList.push({
36090
36151
  showname: item.username,
36091
36152
  showid: item.userId
36092
36153
  });
36093
36154
  }
36094
36155
 
36095
- _this6.options.push({
36156
+ _this7.options.push({
36096
36157
  showname: item.username,
36097
36158
  showid: item.userId
36098
36159
  });
36099
36160
  });
36100
- if (_this6.multiple) {
36101
- _this6.nextNode.nextReadUserId = [];
36161
+ if (_this7.multiple) {
36162
+ _this7.nextNode.nextReadUserId = [];
36102
36163
  } else {
36103
- _this6.nextNode.nextReadUserId = '';
36164
+ _this7.nextNode.nextReadUserId = '';
36104
36165
  }
36105
- if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
36106
- _this6.nextNode.nextUser = nextUserList[0].userId;
36107
- _this6.selectUserList.push({
36166
+ if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this7.multiple) {
36167
+ _this7.nextNode.nextUser = nextUserList[0].userId;
36168
+ _this7.selectUserList.push({
36108
36169
  showname: nextUserList[0].username,
36109
36170
  showid: nextUserList[0].userId
36110
36171
  });
36111
36172
  }
36112
- _this6.radioList = _this6.options;
36173
+ _this7.radioList = _this7.options;
36113
36174
  } else {
36114
- _this6.$message.error(message || '系统错误,请联系管理员!');
36175
+ _this7.$message.error(message || '系统错误,请联系管理员!');
36115
36176
  }
36116
- nodeId && _this6.$refs.selectUser[index].changeInfo();
36177
+ nodeId && _this7.$refs.selectUser[index].changeInfo();
36117
36178
  }).catch(function (err) {
36118
- if (_this6.showBtn) {
36119
- _this6.loading = false;
36179
+ if (_this7.showBtn) {
36180
+ _this7.loading = false;
36120
36181
  } else {
36121
- _this6.allLoading.close();
36182
+ _this7.allLoading.close();
36122
36183
  }
36123
36184
  if (err.message && err.message !== 'canceled') {
36124
- _this6.$message.error(err.message);
36185
+ _this7.$message.error(err.message);
36125
36186
  }
36126
36187
  });
36127
36188
  },
@@ -36144,7 +36205,7 @@ var processFormvue_type_script_lang_js_components;
36144
36205
  this.$emit('cancel', false);
36145
36206
  },
36146
36207
  getFind: function getFind() {
36147
- var _this7 = this;
36208
+ var _this8 = this;
36148
36209
 
36149
36210
  utils_util.ajax({
36150
36211
  url: findSysCodes
@@ -36153,27 +36214,27 @@ var processFormvue_type_script_lang_js_components;
36153
36214
  message = res.message;
36154
36215
 
36155
36216
  if (status === 'success') {
36156
- _this7.nextNode.noticeType = message.split(',');
36217
+ _this8.nextNode.noticeType = message.split(',');
36157
36218
  var arr = [];
36158
- _this7.nextNode.noticeList.map(function (item) {
36159
- _this7.nextNode.noticeType.map(function (x) {
36219
+ _this8.nextNode.noticeList.map(function (item) {
36220
+ _this8.nextNode.noticeType.map(function (x) {
36160
36221
  if (x == item.cciValue) {
36161
36222
  arr.push(x);
36162
36223
  }
36163
36224
  });
36164
36225
  });
36165
- _this7.nextNode.noticeType = arr;
36226
+ _this8.nextNode.noticeType = arr;
36166
36227
  } else {
36167
- _this7.$message.error(message || '系统错误,请联系管理员!');
36228
+ _this8.$message.error(message || '系统错误,请联系管理员!');
36168
36229
  }
36169
36230
  }).catch(function (err) {
36170
- if (_this7.showBtn) {
36171
- _this7.loading = false;
36231
+ if (_this8.showBtn) {
36232
+ _this8.loading = false;
36172
36233
  } else {
36173
- _this7.allLoading.close();
36234
+ _this8.allLoading.close();
36174
36235
  }
36175
36236
  if (err.message && err.message !== 'canceled') {
36176
- _this7.$message.error(err.message);
36237
+ _this8.$message.error(err.message);
36177
36238
  }
36178
36239
  });
36179
36240
  },
@@ -36216,7 +36277,7 @@ var processFormvue_type_script_lang_js_components;
36216
36277
  return { multiple: multiple, params: params };
36217
36278
  },
36218
36279
  getStartFlow: function getStartFlow(processId) {
36219
- var _this8 = this;
36280
+ var _this9 = this;
36220
36281
 
36221
36282
  if (!processId) {
36222
36283
  return false;
@@ -36233,7 +36294,7 @@ var processFormvue_type_script_lang_js_components;
36233
36294
  businessId: this.businessId
36234
36295
  };
36235
36296
  if (!this.shwowBtn) {
36236
- params.taskAction = "toStartFlowWithoutTempSave";
36297
+ params.taskAction = 'toStartFlowWithoutTempSave';
36237
36298
  }
36238
36299
  // 获取节点
36239
36300
  utils_util.ajax({ url: toStartFlow, params: params }).then(function (res) {
@@ -36243,98 +36304,104 @@ var processFormvue_type_script_lang_js_components;
36243
36304
  data = res.data;
36244
36305
 
36245
36306
  if (status == 'success') {
36246
- data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
36307
+ data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this9.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
36247
36308
  confirmButtonText: '确定',
36248
36309
  cancelButtonText: '取消',
36249
36310
  type: 'warning'
36250
36311
  }).then(function () {}).catch(function () {
36251
- _this8.quit();
36312
+ _this9.quit();
36252
36313
  });
36253
- data.nextNodeCheckType && (_this8.nextNodeCheckType = data.nextNodeCheckType);
36254
- data.nextOperateCheckType && (_this8.nextOperateCheckType = data.nextOperateCheckType);
36255
- _this8.customPresetHintMessage = data.customPresetHintMessage;
36256
- _this8.readOnlyNotificationType = data.readOnlyNotificationType;
36257
- _this8.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
36258
- _this8.nextNode.nodeInfo = data.nextNodeList;
36259
- _this8.nextNode.nextNode = data.nextNodeList[0].nodeId;
36260
- _this8.isPreset = data.isPreset;
36261
- _this8.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
36262
- _this8.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
36263
- _this8.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
36264
- _this8.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
36265
- if (_this8.isChooseNextNode == 1) {
36266
- _this8.operationList = [
36314
+ data.nextNodeCheckType && (_this9.nextNodeCheckType = data.nextNodeCheckType);
36315
+ data.nextOperateCheckType && (_this9.nextOperateCheckType = data.nextOperateCheckType);
36316
+ _this9.customPresetHintMessage = data.customPresetHintMessage;
36317
+ _this9.readOnlyNotificationType = data.readOnlyNotificationType;
36318
+ _this9.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
36319
+ _this9.nextNode.nodeInfo = data.nextNodeList;
36320
+ _this9.nextNode.nextNode = data.nextNodeList[0].nodeId;
36321
+ _this9.isPreset = data.isPreset;
36322
+ _this9.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
36323
+ _this9.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
36324
+ _this9.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
36325
+ _this9.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
36326
+ if (_this9.isChooseNextNode == 1) {
36327
+ _this9.operationList = [
36267
36328
  // { key: 0, value: '默认', list: [] },
36268
36329
  { key: 1, value: '自定义', list: [] }];
36269
36330
  if (data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1) {
36270
- _this8.operationList.unshift({ key: 0, value: '默认', list: [] });
36331
+ _this9.operationList.unshift({
36332
+ key: 0,
36333
+ value: '默认',
36334
+ list: data.nextNodeList
36335
+ });
36271
36336
  }
36272
36337
  var arr = [];
36273
36338
  for (var key in data.taskNodeMap) {
36274
36339
  arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
36275
36340
  }
36276
36341
  // this.operationList[0].list = data.nextNodeList;
36277
- _this8.operationList[0].list = arr;
36278
- if (_this8.isHideDefaultOperation != 1) {
36279
- _this8.nextNode.nextOperate = 0;
36280
- _this8.nextNode.nodeInfo = _this8.operationList[0].list;
36281
- if (_this8.nextNode.nodeInfo.length > 0) {
36342
+ _this9.operationList[data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1 ? 1 : 0].list = arr;
36343
+ if (_this9.isHideDefaultOperation != 1) {
36344
+ _this9.nextNode.nextOperate = 0;
36345
+ _this9.nextNode.nodeInfo = _this9.operationList[0].list;
36346
+ if (_this9.nextNode.nodeInfo.length > 0) {
36282
36347
  var defaultNodeData = data.nextNodeList.filter(function (x) {
36283
- return x.nodeId == _this8.defaultNextNode;
36348
+ return x.nodeId == _this9.defaultNextNode;
36284
36349
  });
36285
- _this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
36350
+ _this9.nextNode.nextNode = defaultNodeData.length > 0 ? _this9.defaultNextNode : data.nextNodeList[0].nodeId;
36286
36351
  }
36287
- } else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
36352
+ }
36353
+ if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
36288
36354
  // this.nextNode.nodeInfo = data.nextNodeList
36289
- _this8.nextNode.nextOperate = 1;
36290
- _this8.nextNode.nodeInfo = _this8.operationList[0].list;
36291
- if (_this8.nextNode.nodeInfo.length > 0) {
36292
- var _defaultNodeData = data.nextNodeList.filter(function (x) {
36293
- return x.nodeId == _this8.defaultNextNode;
36355
+ _this9.nextNode.nextOperate = 1;
36356
+ _this9.nextNode.nodeInfo = _this9.operationList[_this9.isHideDefaultOperation != 1 ? 1 : 0].list;
36357
+
36358
+ if (_this9.nextNode.nodeInfo.length > 0) {
36359
+ var _defaultNodeData = _this9.nextNode.nodeInfo.filter(function (x) {
36360
+ return x.nodeId == _this9.defaultNextNode;
36294
36361
  });
36295
- _this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
36362
+ _this9.nextNode.nextNode = _defaultNodeData.length > 0 ? _this9.defaultNextNode : _this9.nextNode.nodeInfo[0].nodeId;
36296
36363
  }
36297
36364
  }
36298
36365
  }
36299
- _this8.isCustomPreset = data.isCustomPreset;
36300
- _this8.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
36301
- _this8.presetTaskNodeMap = data.presetTaskNodeMap;
36302
- _this8.isSinglePage = data.taskExamine.isSinglePage;
36303
- _this8.isSinglePage && (_this8.nextNode.opinion = data.taskExamine.opinion);
36366
+ _this9.isCustomPreset = data.isCustomPreset;
36367
+ _this9.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
36368
+ _this9.presetTaskNodeMap = data.presetTaskNodeMap;
36369
+ _this9.isSinglePage = data.taskExamine.isSinglePage;
36370
+ _this9.isSinglePage && (_this9.nextNode.opinion = data.taskExamine.opinion);
36304
36371
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
36305
- _this8.nextNode.nodeName = data.taskExamine.nodeName;
36306
- _this8.canPresetRead = data.canPresetRead;
36372
+ _this9.nextNode.nodeName = data.taskExamine.nodeName;
36373
+ _this9.canPresetRead = data.canPresetRead;
36307
36374
  if (data.canPresetRead) {
36308
36375
  var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
36309
36376
  var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
36310
36377
  ids.map(function (item, index) {
36311
- _this8.presetReadUserId.push({
36378
+ _this9.presetReadUserId.push({
36312
36379
  showid: item,
36313
36380
  showname: names[index]
36314
36381
  });
36315
- _this8.selectPresetUserList.push({
36382
+ _this9.selectPresetUserList.push({
36316
36383
  showid: item,
36317
36384
  showname: names[index]
36318
36385
  });
36319
- _this8.nextNode.presetReadUserId.push(item);
36386
+ _this9.nextNode.presetReadUserId.push(item);
36320
36387
  });
36321
36388
  }
36322
- _this8.getNodeInfos();
36389
+ _this9.getNodeInfos();
36323
36390
  // this.getPresetFlowInfo();
36324
- _this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
36325
- _this8.getFind();
36326
- _this8.getMessage();
36391
+ _this9.isCustomPreset && _this9.$refs.customPreset.getPresetFlowInfo(_this9.nextNode.nextNode);
36392
+ _this9.getFind();
36393
+ _this9.getMessage();
36327
36394
  } else {
36328
- _this8.$message.error(message || '系统错误,请联系管理员!');
36395
+ _this9.$message.error(message || '系统错误,请联系管理员!');
36329
36396
  }
36330
36397
  }).catch(function (err) {
36331
- if (_this8.showBtn) {
36332
- _this8.loading = false;
36398
+ if (_this9.showBtn) {
36399
+ _this9.loading = false;
36333
36400
  } else {
36334
- _this8.allLoading.close();
36401
+ _this9.allLoading.close();
36335
36402
  }
36336
36403
  if (err.message && err.message !== 'canceled') {
36337
- _this8.$message.error(err.message);
36404
+ _this9.$message.error(err.message);
36338
36405
  }
36339
36406
  });
36340
36407
  }
@@ -36352,8 +36419,8 @@ var processFormvue_type_script_lang_js_components;
36352
36419
 
36353
36420
  var processForm_component = normalizeComponent(
36354
36421
  src_processFormvue_type_script_lang_js_,
36355
- processFormvue_type_template_id_80a2c5c2_render,
36356
- processFormvue_type_template_id_80a2c5c2_staticRenderFns,
36422
+ processFormvue_type_template_id_6df91879_render,
36423
+ processFormvue_type_template_id_6df91879_staticRenderFns,
36357
36424
  false,
36358
36425
  null,
36359
36426
  null,
@@ -36885,7 +36952,7 @@ SendMsgvue_type_template_id_9779cf84_render._withStripped = true
36885
36952
  notificationType = _sendInfo.notificationType;
36886
36953
 
36887
36954
  var params = {
36888
- url: sendMsg,
36955
+ url: api_sendMsg,
36889
36956
  headers: { Accept: 'application/json,text/plain' },
36890
36957
  method: 'post',
36891
36958
  data: {
@@ -62980,8 +63047,8 @@ login_src_main.install = function (Vue) {
62980
63047
  };
62981
63048
 
62982
63049
  /* harmony default export */ var login = (login_src_main);
62983
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=3dbf95b9&
62984
- var mainvue_type_template_id_3dbf95b9_render = function () {
63050
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=b3cc50dc&
63051
+ var mainvue_type_template_id_b3cc50dc_render = function () {
62985
63052
  var _vm = this
62986
63053
  var _h = _vm.$createElement
62987
63054
  var _c = _vm._self._c || _h
@@ -63127,11 +63194,11 @@ var mainvue_type_template_id_3dbf95b9_render = function () {
63127
63194
  )
63128
63195
  : _vm._e()
63129
63196
  }
63130
- var mainvue_type_template_id_3dbf95b9_staticRenderFns = []
63131
- mainvue_type_template_id_3dbf95b9_render._withStripped = true
63197
+ var mainvue_type_template_id_b3cc50dc_staticRenderFns = []
63198
+ mainvue_type_template_id_b3cc50dc_render._withStripped = true
63132
63199
 
63133
63200
 
63134
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=3dbf95b9&
63201
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=b3cc50dc&
63135
63202
 
63136
63203
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=8605940a&scoped=true&
63137
63204
  var simplicityvue_type_template_id_8605940a_scoped_true_render = function () {
@@ -71774,8 +71841,8 @@ var simplicity_component = normalizeComponent(
71774
71841
  )
71775
71842
 
71776
71843
  /* harmony default export */ var simplicity = (simplicity_component.exports);
71777
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=5fe5b776&scoped=true&
71778
- var simplicityTopvue_type_template_id_5fe5b776_scoped_true_render = function () {
71844
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=bb63a666&scoped=true&
71845
+ var simplicityTopvue_type_template_id_bb63a666_scoped_true_render = function () {
71779
71846
  var _vm = this
71780
71847
  var _h = _vm.$createElement
71781
71848
  var _c = _vm._self._c || _h
@@ -72342,11 +72409,11 @@ var simplicityTopvue_type_template_id_5fe5b776_scoped_true_render = function ()
72342
72409
  1
72343
72410
  )
72344
72411
  }
72345
- var simplicityTopvue_type_template_id_5fe5b776_scoped_true_staticRenderFns = []
72346
- simplicityTopvue_type_template_id_5fe5b776_scoped_true_render._withStripped = true
72412
+ var simplicityTopvue_type_template_id_bb63a666_scoped_true_staticRenderFns = []
72413
+ simplicityTopvue_type_template_id_bb63a666_scoped_true_render._withStripped = true
72347
72414
 
72348
72415
 
72349
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=5fe5b776&scoped=true&
72416
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=bb63a666&scoped=true&
72350
72417
 
72351
72418
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/avatar.vue?vue&type=template&id=30391b69&scoped=true&
72352
72419
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -75222,6 +75289,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
75222
75289
  },
75223
75290
  data: function data() {
75224
75291
  return {
75292
+ winTop: utils_util.getWinTop(),
75225
75293
  appCodes: 'indexUrl',
75226
75294
  tabActiveName: '',
75227
75295
  count: 0,
@@ -75643,7 +75711,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
75643
75711
  },
75644
75712
  mounted: function mounted() {
75645
75713
  // this.handleListener();
75646
- window.top.jumpMenu = window.top.jumpTopMenu = this.handleSelect;
75714
+ window.jumpMenu = this.wintop.jumpTopMenu = this.handleSelect;
75647
75715
  this.queryChildMenuData();
75648
75716
  },
75649
75717
 
@@ -76545,8 +76613,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76545
76613
  if (tips) {
76546
76614
  for (var key in tips) {
76547
76615
  if (key == 'pcHandlePendingCount' || key == 'pcReadPendingCount') {
76548
- if (_this14.appCodes == 'indexUrl' && window.top.refreshList) {
76549
- window.top.refreshList(key);
76616
+ if (_this14.appCodes == 'indexUrl' && _this14.wintop.refreshList) {
76617
+ _this14.wintop.refreshList(key);
76550
76618
  }
76551
76619
  if (_this14.appCodes == 'wdtxpengding_make') {
76552
76620
  _this14.handleRefresh(1);
@@ -76687,8 +76755,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76687
76755
  this.getNums();
76688
76756
  }
76689
76757
  // console.log(arg, 'arg');
76690
- if (window.top.refreshList) {
76691
- window.top.refreshList();
76758
+ if (this.wintop.refreshList) {
76759
+ this.wintop.refreshList();
76692
76760
  }
76693
76761
  if (arg != undefined) {
76694
76762
  var tab = this.currentPage;
@@ -77217,11 +77285,11 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77217
77285
 
77218
77286
  var simplicityTop_component = normalizeComponent(
77219
77287
  src_simplicityTopvue_type_script_lang_js_,
77220
- simplicityTopvue_type_template_id_5fe5b776_scoped_true_render,
77221
- simplicityTopvue_type_template_id_5fe5b776_scoped_true_staticRenderFns,
77288
+ simplicityTopvue_type_template_id_bb63a666_scoped_true_render,
77289
+ simplicityTopvue_type_template_id_bb63a666_scoped_true_staticRenderFns,
77222
77290
  false,
77223
77291
  null,
77224
- "5fe5b776",
77292
+ "bb63a666",
77225
77293
  null
77226
77294
 
77227
77295
  )
@@ -81526,7 +81594,7 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81526
81594
  // 重新加载页面,刷新布局风格配置信息
81527
81595
  // 如果不刷新,会导致事件绑定出现问题,导致事件丢失
81528
81596
  if (this.changeThemeReload) {
81529
- window.top.location.reload();
81597
+ window.location.reload();
81530
81598
  return;
81531
81599
  }
81532
81600
 
@@ -81891,8 +81959,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81891
81959
 
81892
81960
  var main_src_main_component = normalizeComponent(
81893
81961
  packages_main_src_mainvue_type_script_lang_js_,
81894
- mainvue_type_template_id_3dbf95b9_render,
81895
- mainvue_type_template_id_3dbf95b9_staticRenderFns,
81962
+ mainvue_type_template_id_b3cc50dc_render,
81963
+ mainvue_type_template_id_b3cc50dc_staticRenderFns,
81896
81964
  false,
81897
81965
  null,
81898
81966
  null,
@@ -102630,7 +102698,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102630
102698
  }
102631
102699
 
102632
102700
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102633
- version: '0.8.3',
102701
+ version: '0.8.5',
102634
102702
  install: install,
102635
102703
  Button: packages_button,
102636
102704
  ButtonGroup: button_group,