eoss-ui 0.6.83 → 0.6.85

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 (82) hide show
  1. package/lib/button-group.js +105 -93
  2. package/lib/button.js +105 -93
  3. package/lib/calogin.js +105 -93
  4. package/lib/checkbox-group.js +105 -93
  5. package/lib/data-table-form.js +105 -93
  6. package/lib/data-table.js +105 -93
  7. package/lib/date-picker.js +105 -93
  8. package/lib/dialog.js +105 -93
  9. package/lib/eoss-ui.common.js +540 -460
  10. package/lib/flow-group.js +112 -95
  11. package/lib/flow-list.js +105 -93
  12. package/lib/flow.js +309 -151
  13. package/lib/form.js +216 -264
  14. package/lib/handle-user.js +105 -93
  15. package/lib/handler.js +105 -93
  16. package/lib/icon.js +105 -93
  17. package/lib/icons.js +1 -1
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +105 -93
  20. package/lib/input.js +105 -93
  21. package/lib/login.js +112 -97
  22. package/lib/main.js +105 -93
  23. package/lib/nav.js +105 -93
  24. package/lib/page.js +105 -93
  25. package/lib/pagination.js +105 -93
  26. package/lib/player.js +105 -93
  27. package/lib/qr-code.js +105 -93
  28. package/lib/radio-group.js +105 -93
  29. package/lib/retrial-auth.js +105 -93
  30. package/lib/select-ganged.js +105 -93
  31. package/lib/select.js +105 -93
  32. package/lib/selector-panel.js +105 -93
  33. package/lib/selector.js +123 -99
  34. package/lib/sizer.js +105 -93
  35. package/lib/steps.js +105 -93
  36. package/lib/switch.js +105 -93
  37. package/lib/table-form.js +164 -190
  38. package/lib/tabs.js +105 -93
  39. package/lib/theme-chalk/base.css +1 -1
  40. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  41. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  42. package/lib/theme-chalk/icon.css +1 -1
  43. package/lib/theme-chalk/index.css +1 -1
  44. package/lib/theme-chalk/main.css +1 -1
  45. package/lib/theme-chalk/menu.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/theme-chalk/sizer.css +1 -1
  48. package/lib/theme-chalk/upload.css +1 -1
  49. package/lib/tips.js +105 -93
  50. package/lib/tree-group.js +105 -93
  51. package/lib/tree.js +105 -93
  52. package/lib/upload.js +105 -93
  53. package/lib/utils/util.js +105 -93
  54. package/lib/wujie.js +105 -93
  55. package/lib/wxlogin.js +105 -93
  56. package/package.json +1 -1
  57. package/packages/flow/src/component/taskUnionExamine.vue +18 -6
  58. package/packages/flow/src/main.vue +79 -24
  59. package/packages/flow/src/selectUser.vue +22 -8
  60. package/packages/flow/src/startTaskRead.vue +7 -0
  61. package/packages/flow/src/supervise.vue +5 -2
  62. package/packages/flow-group/src/main.vue +4 -0
  63. package/packages/form/src/main.vue +84 -72
  64. package/packages/form/src/table.vue +42 -36
  65. package/packages/icons/src/icon.json +1 -1
  66. package/packages/login/src/main.vue +5 -8
  67. package/packages/selector/src/main.vue +20 -4
  68. package/packages/theme-chalk/lib/base.css +1 -1
  69. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  70. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  71. package/packages/theme-chalk/lib/icon.css +1 -1
  72. package/packages/theme-chalk/lib/index.css +1 -1
  73. package/packages/theme-chalk/lib/main.css +1 -1
  74. package/packages/theme-chalk/lib/menu.css +1 -1
  75. package/packages/theme-chalk/lib/simplicity.css +1 -1
  76. package/packages/theme-chalk/lib/sizer.css +1 -1
  77. package/packages/theme-chalk/lib/upload.css +1 -1
  78. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  79. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  80. package/packages/theme-chalk/src/icon.scss +12 -0
  81. package/src/index.js +1 -1
  82. package/src/utils/util.js +141 -129
package/lib/flow.js CHANGED
@@ -257,99 +257,7 @@ var ajax = function ajax(_ref) {
257
257
  }
258
258
  }
259
259
  if (response.status === 200) {
260
- if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
- var href = '';
263
- try {
264
- href = win.top.location.href;
265
- } catch (error) {
266
- href = win.location.href;
267
- }
268
- if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
269
- var remind = sessionStorage.getItem('remind');
270
- if (!remind) {
271
- clearTimeout(loginMsg);
272
- loginMsg = setTimeout(function () {
273
- sessionStorage.setItem('remind', 1);
274
- eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
275
- confirmButtonText: '确定',
276
- closeOnClickModal: false,
277
- type: 'warning'
278
- } : {
279
- confirmButtonText: '确定',
280
- cancelButtonText: '取消',
281
- closeOnClickModal: false,
282
- type: 'warning'
283
- }).then(function () {
284
- try {
285
- var loginPage = getStorage('login') || getStorage('loginPage');
286
- if (loginPage) {
287
- var src = void 0;
288
- if (!startWith(loginPage, ['http', '/'], true)) {
289
- var pathname = win.top.location.pathname;
290
- if (pathname !== '/') {
291
- pathname = pathname.split('/');
292
- pathname.splice(pathname.length - 1);
293
- pathname = pathname.join('/');
294
- src = pathname + '/' + loginPage.replace('./', '');
295
- } else {
296
- src = pathname + loginPage.replace('./', '');
297
- }
298
- } else {
299
- src = loginPage;
300
- }
301
- win.top.location.href = src;
302
- } else if (win.top.location.href.indexOf('main.html') > -1) {
303
- win.top.location.href = './login.html';
304
- } else {
305
- var hash = win.top.location.hash;
306
- if (hash) {
307
- var len = win.top.location.href.indexOf(hash);
308
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
309
- } else {
310
- win.top.location.href = '/login.html';
311
- }
312
- }
313
- } catch (error) {
314
- win.postMessage({ type: 1 }, '*');
315
- }
316
- }).catch(function (e) {
317
- sessionStorage.removeItem('remind');
318
- });
319
- }, 2000);
320
- }
321
- }
322
- } else if (response.data.rCode === 61) {
323
- clearTimeout(initAuth);
324
- initAuth = setTimeout(function () {
325
- Object(eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"])({
326
- title: '请进行二次鉴权',
327
- closeOnClickModal: false,
328
- closeOnPressEscape: false,
329
- showConfirmButton: false,
330
- dangerouslyUseHTMLString: true,
331
- scroll: false,
332
- customClass: 'es-retrial-auth-msg',
333
- render: function render(h, msgBox) {
334
- return h('es-retrial-auth', {
335
- ref: 'auth',
336
- props: {
337
- reload: response.data.results.reload || response.data.results.refresh,
338
- group: response.data.results.retrialAuthGroupIds,
339
- type: response.data.results.retrialAuthType,
340
- msgBox: msgBox
341
- }
342
- });
343
- },
344
- callback: function callback(res, obj) {
345
- obj.$children.forEach(function (item) {
346
- item.clearTimeouts && item.clearTimeouts();
347
- return;
348
- });
349
- }
350
- });
351
- }, 1000);
352
- }
260
+ responses(response.data);
353
261
  // eslint-disable-next-line no-undef
354
262
  return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
355
263
  }
@@ -2870,6 +2778,109 @@ var replenish = function replenish(_ref15) {
2870
2778
  return data;
2871
2779
  };
2872
2780
 
2781
+ /**
2782
+ * responses
2783
+ * @desc:状态码响应
2784
+ * @author huangbo
2785
+ * @date 2022年5月7日
2786
+ * @param {object} [data] - 数字或字符串型数字
2787
+ **/
2788
+ var responses = function responses(data) {
2789
+ if (data.rCode === 64 || data.rCode === 65 || data.rCode === 67 || data.rCode === 69) {
2790
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
2791
+ var href = '';
2792
+ try {
2793
+ href = win.top.location.href;
2794
+ } catch (error) {
2795
+ href = win.location.href;
2796
+ }
2797
+ if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
2798
+ var remind = sessionStorage.getItem('remind');
2799
+ if (!remind) {
2800
+ clearTimeout(loginMsg);
2801
+ loginMsg = setTimeout(function () {
2802
+ sessionStorage.setItem('remind', 1);
2803
+ eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].confirm(data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', data.rCode === 69 ? {
2804
+ confirmButtonText: '确定',
2805
+ closeOnClickModal: false,
2806
+ type: 'warning'
2807
+ } : {
2808
+ confirmButtonText: '确定',
2809
+ cancelButtonText: '取消',
2810
+ closeOnClickModal: false,
2811
+ type: 'warning'
2812
+ }).then(function () {
2813
+ try {
2814
+ var loginPage = getStorage('login') || getStorage('loginPage');
2815
+ if (loginPage) {
2816
+ var src = void 0;
2817
+ if (!startWith(loginPage, ['http', '/'], true)) {
2818
+ var pathname = win.top.location.pathname;
2819
+ if (pathname !== '/') {
2820
+ pathname = pathname.split('/');
2821
+ pathname.splice(pathname.length - 1);
2822
+ pathname = pathname.join('/');
2823
+ src = pathname + '/' + loginPage.replace('./', '');
2824
+ } else {
2825
+ src = pathname + loginPage.replace('./', '');
2826
+ }
2827
+ } else {
2828
+ src = loginPage;
2829
+ }
2830
+ win.top.location.href = src;
2831
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
2832
+ win.top.location.href = './login.html';
2833
+ } else {
2834
+ var hash = win.top.location.hash;
2835
+ if (hash) {
2836
+ var len = win.top.location.href.indexOf(hash);
2837
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
2838
+ } else {
2839
+ win.top.location.href = '/login.html';
2840
+ }
2841
+ }
2842
+ } catch (error) {
2843
+ win.postMessage({ type: 1 }, '*');
2844
+ }
2845
+ }).catch(function (e) {
2846
+ sessionStorage.removeItem('remind');
2847
+ });
2848
+ }, 2000);
2849
+ }
2850
+ }
2851
+ } else if (data.rCode === 61) {
2852
+ clearTimeout(initAuth);
2853
+ initAuth = setTimeout(function () {
2854
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"])({
2855
+ title: '请进行二次鉴权',
2856
+ closeOnClickModal: false,
2857
+ closeOnPressEscape: false,
2858
+ showConfirmButton: false,
2859
+ dangerouslyUseHTMLString: true,
2860
+ scroll: false,
2861
+ customClass: 'es-retrial-auth-msg',
2862
+ render: function render(h, msgBox) {
2863
+ return h('es-retrial-auth', {
2864
+ ref: 'auth',
2865
+ props: {
2866
+ reload: data.results.reload || data.results.refresh,
2867
+ group: data.results.retrialAuthGroupIds,
2868
+ type: data.results.retrialAuthType,
2869
+ msgBox: msgBox
2870
+ }
2871
+ });
2872
+ },
2873
+ callback: function callback(res, obj) {
2874
+ obj.$children.forEach(function (item) {
2875
+ item.clearTimeouts && item.clearTimeouts();
2876
+ return;
2877
+ });
2878
+ }
2879
+ });
2880
+ }, 1000);
2881
+ }
2882
+ };
2883
+
2873
2884
  /**
2874
2885
  * rgbToHsv
2875
2886
  * @desc:rgb转化成hsv
@@ -3526,6 +3537,7 @@ var watermark = function watermark(option) {
3526
3537
  receiveMessage: receiveMessage,
3527
3538
  removeStorage: removeStorage,
3528
3539
  replenish: replenish,
3540
+ responses: responses,
3529
3541
  rgbToHsv: rgbToHsv,
3530
3542
  rmbToCapital: rmbToCapital,
3531
3543
  sendMessage: sendMessage,
@@ -4469,7 +4481,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4469
4481
  // ESM COMPAT FLAG
4470
4482
  __webpack_require__.r(__webpack_exports__);
4471
4483
 
4472
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=35f5b354&
4484
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=439fd8c6&
4473
4485
  var render = function () {
4474
4486
  var _vm = this
4475
4487
  var _h = _vm.$createElement
@@ -4720,6 +4732,7 @@ var render = function () {
4720
4732
  selectorConfig: _vm.selectorConfig,
4721
4733
  resetAppId: _vm.resetAppId,
4722
4734
  taskExamine: _vm.taskExamineInfo,
4735
+ subParams: _vm.subParams,
4723
4736
  "news-info": _vm.nextNode.notificationMsg,
4724
4737
  },
4725
4738
  on: {
@@ -4732,6 +4745,7 @@ var render = function () {
4732
4745
  ? _c("Supervise", {
4733
4746
  attrs: {
4734
4747
  businessId: _vm.businessId,
4748
+ appId: _vm.resetAppId,
4735
4749
  simpleTips: _vm.simpleTips,
4736
4750
  },
4737
4751
  on: {
@@ -6440,6 +6454,54 @@ var render = function () {
6440
6454
  ],
6441
6455
  1
6442
6456
  ),
6457
+ _vm.isEndMessage
6458
+ ? _c(
6459
+ "el-form",
6460
+ {
6461
+ ref: "nextNode",
6462
+ staticClass: "demo-dynamic",
6463
+ staticStyle: { padding: "0px 8px" },
6464
+ attrs: {
6465
+ model: _vm.isFlow ? _vm.nodeInfo : _vm.nextNode,
6466
+ "label-width":
6467
+ _vm.startFlowPageEmbeddedIntoStartFlowIndex
6468
+ ? "100px"
6469
+ : "120px",
6470
+ "label-position": _vm.formLabelPosition,
6471
+ },
6472
+ },
6473
+ [
6474
+ _c(
6475
+ "el-form-item",
6476
+ {
6477
+ attrs: {
6478
+ prop: "nextItemHandleDescription",
6479
+ label: "办结意见",
6480
+ },
6481
+ },
6482
+ [
6483
+ _c("el-input", {
6484
+ attrs: {
6485
+ placeholder: "请输入办结意见",
6486
+ type: "textarea",
6487
+ autosize: { minRows: 2 },
6488
+ },
6489
+ on: { change: _vm.handleEndMessageChange },
6490
+ model: {
6491
+ value: _vm.endMessage,
6492
+ callback: function ($$v) {
6493
+ _vm.endMessage = $$v
6494
+ },
6495
+ expression: "endMessage",
6496
+ },
6497
+ }),
6498
+ ],
6499
+ 1
6500
+ ),
6501
+ ],
6502
+ 1
6503
+ )
6504
+ : _vm._e(),
6443
6505
  _vm.newTypeCode != "fenyue" && !_vm.shrink
6444
6506
  ? _c(
6445
6507
  "div",
@@ -6477,18 +6539,20 @@ var render = function () {
6477
6539
  },
6478
6540
  [_vm._v("不同意")]
6479
6541
  ),
6480
- _c(
6481
- "el-button",
6482
- {
6483
- staticClass: "es-button-agree-save",
6484
- on: {
6485
- click: function ($event) {
6486
- _vm.saveInfo()
6542
+ !_vm.isHideTemporarySave
6543
+ ? _c(
6544
+ "el-button",
6545
+ {
6546
+ staticClass: "es-button-agree-save",
6547
+ on: {
6548
+ click: function ($event) {
6549
+ _vm.saveInfo()
6550
+ },
6551
+ },
6487
6552
  },
6488
- },
6489
- },
6490
- [_vm._v("暂存")]
6491
- ),
6553
+ [_vm._v("暂存")]
6554
+ )
6555
+ : _vm._e(),
6492
6556
  ],
6493
6557
  1
6494
6558
  )
@@ -6502,7 +6566,7 @@ var render = function () {
6502
6566
  { staticClass: "es-user-defined" },
6503
6567
  [
6504
6568
  _vm._l(
6505
- _vm.hideBtn
6569
+ _vm.hideBtn || _vm.isHideTemporarySave
6506
6570
  ? _vm.btnList.slice(0, 1)
6507
6571
  : _vm.btnList,
6508
6572
  function (item) {
@@ -7103,6 +7167,7 @@ var render = function () {
7103
7167
  type: _vm.taskReadType,
7104
7168
  selectorConfig: _vm.selectorConfig,
7105
7169
  simpleTips: _vm.simpleTips,
7170
+ subParams: _vm.subParams,
7106
7171
  taskExamine: _vm.taskExamineInfo,
7107
7172
  "news-info": _vm.nextNode.notificationMsg,
7108
7173
  },
@@ -7290,7 +7355,7 @@ var staticRenderFns = []
7290
7355
  render._withStripped = true
7291
7356
 
7292
7357
 
7293
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=35f5b354&
7358
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=439fd8c6&
7294
7359
 
7295
7360
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7296
7361
  var regenerator_ = __webpack_require__(4);
@@ -9107,8 +9172,8 @@ processFormvue_type_template_id_09ba35c6_render._withStripped = true
9107
9172
 
9108
9173
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=09ba35c6&
9109
9174
 
9110
- // 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=2f6c6827&
9111
- var selectUservue_type_template_id_2f6c6827_render = function () {
9175
+ // 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=3588d66f&
9176
+ var selectUservue_type_template_id_3588d66f_render = function () {
9112
9177
  var _vm = this
9113
9178
  var _h = _vm.$createElement
9114
9179
  var _c = _vm._self._c || _h
@@ -9212,7 +9277,8 @@ var selectUservue_type_template_id_2f6c6827_render = function () {
9212
9277
  {
9213
9278
  class:
9214
9279
  _vm.isCustomUser &&
9215
- _vm.isCurrentNodeForbiddenChangeCandidate == 0
9280
+ _vm.isCurrentNodeForbiddenChangeCandidate == 0 &&
9281
+ !_vm.isUnionSeal
9216
9282
  ? ""
9217
9283
  : "no-icon",
9218
9284
  attrs: {
@@ -9222,10 +9288,12 @@ var selectUservue_type_template_id_2f6c6827_render = function () {
9222
9288
  title: _vm.title,
9223
9289
  max: "5",
9224
9290
  mix: _vm.mix,
9291
+ min: _vm.isUnionSeal ? 1 : 0,
9225
9292
  disabled:
9226
9293
  !_vm.isCustomUser ||
9227
9294
  _vm.isCurrentNodeForbiddenChangeCandidate == 1,
9228
- filterable: Boolean(_vm.isCustomUser),
9295
+ filterable: Boolean(_vm.isCustomUser && !_vm.isUnionSeal),
9296
+ select: _vm.isUnionSeal == false,
9229
9297
  where: _vm.newWhere,
9230
9298
  multiple: _vm.newMultiple,
9231
9299
  param: Object.assign({}, _vm.newParams, { info: "no" }),
@@ -9253,11 +9321,11 @@ var selectUservue_type_template_id_2f6c6827_render = function () {
9253
9321
  2
9254
9322
  )
9255
9323
  }
9256
- var selectUservue_type_template_id_2f6c6827_staticRenderFns = []
9257
- selectUservue_type_template_id_2f6c6827_render._withStripped = true
9324
+ var selectUservue_type_template_id_3588d66f_staticRenderFns = []
9325
+ selectUservue_type_template_id_3588d66f_render._withStripped = true
9258
9326
 
9259
9327
 
9260
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=2f6c6827&
9328
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3588d66f&
9261
9329
 
9262
9330
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
9263
9331
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -9354,6 +9422,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9354
9422
  //
9355
9423
  //
9356
9424
  //
9425
+ //
9426
+ //
9427
+ //
9428
+ //
9357
9429
 
9358
9430
 
9359
9431
 
@@ -9367,6 +9439,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9367
9439
  tabs: {
9368
9440
  type: Object
9369
9441
  },
9442
+ isUnionSeal: {
9443
+ type: Boolean,
9444
+ default: false
9445
+ },
9370
9446
  nextUser: {
9371
9447
  default: function _default() {
9372
9448
  return [];
@@ -9464,7 +9540,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9464
9540
 
9465
9541
  computed: {
9466
9542
  newWhere: function newWhere() {
9467
- return _extends({ mid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId + '-org-1', filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId }, this.where);
9543
+ return _extends({
9544
+ mid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId + '-org-1',
9545
+ filid: JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId
9546
+ }, this.where);
9468
9547
  }
9469
9548
  },
9470
9549
  watch: {
@@ -9740,8 +9819,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9740
9819
 
9741
9820
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
9742
9821
  src_selectUservue_type_script_lang_js_,
9743
- selectUservue_type_template_id_2f6c6827_render,
9744
- selectUservue_type_template_id_2f6c6827_staticRenderFns,
9822
+ selectUservue_type_template_id_3588d66f_render,
9823
+ selectUservue_type_template_id_3588d66f_staticRenderFns,
9745
9824
  false,
9746
9825
  null,
9747
9826
  null,
@@ -13196,8 +13275,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
13196
13275
  )
13197
13276
 
13198
13277
  /* harmony default export */ var processReject = (processReject_component.exports);
13199
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=4ba9d2c0&
13200
- var startTaskReadvue_type_template_id_4ba9d2c0_render = function () {
13278
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=7b879ee0&
13279
+ var startTaskReadvue_type_template_id_7b879ee0_render = function () {
13201
13280
  var _vm = this
13202
13281
  var _h = _vm.$createElement
13203
13282
  var _c = _vm._self._c || _h
@@ -13622,11 +13701,11 @@ var startTaskReadvue_type_template_id_4ba9d2c0_render = function () {
13622
13701
  1
13623
13702
  )
13624
13703
  }
13625
- var startTaskReadvue_type_template_id_4ba9d2c0_staticRenderFns = []
13626
- startTaskReadvue_type_template_id_4ba9d2c0_render._withStripped = true
13704
+ var startTaskReadvue_type_template_id_7b879ee0_staticRenderFns = []
13705
+ startTaskReadvue_type_template_id_7b879ee0_render._withStripped = true
13627
13706
 
13628
13707
 
13629
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=4ba9d2c0&
13708
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=7b879ee0&
13630
13709
 
13631
13710
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
13632
13711
  var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -13820,6 +13899,10 @@ var startTaskReadvue_type_script_lang_js_components;
13820
13899
  selectorConfig: { type: [Object, undefined], default: undefined },
13821
13900
  param: { type: Object, default: function _default() {} },
13822
13901
  taskExamine: { type: Object, default: function _default() {} },
13902
+ subParams: {
13903
+ type: [Object, undefined],
13904
+ default: undefined
13905
+ },
13823
13906
  readParams: {
13824
13907
  type: [Object, undefined],
13825
13908
  default: undefined
@@ -14252,6 +14335,9 @@ var startTaskReadvue_type_script_lang_js_components;
14252
14335
  if (_this8.readParams) {
14253
14336
  params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.readParams);
14254
14337
  }
14338
+ if (_this8.subParams) {
14339
+ params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
14340
+ }
14255
14341
  util["a" /* default */].ajax({
14256
14342
  url: api["Nb" /* taskReadHtml */],
14257
14343
  params: { taskAction: _this8.type },
@@ -14335,8 +14421,8 @@ var startTaskReadvue_type_script_lang_js_components;
14335
14421
 
14336
14422
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
14337
14423
  src_startTaskReadvue_type_script_lang_js_,
14338
- startTaskReadvue_type_template_id_4ba9d2c0_render,
14339
- startTaskReadvue_type_template_id_4ba9d2c0_staticRenderFns,
14424
+ startTaskReadvue_type_template_id_7b879ee0_render,
14425
+ startTaskReadvue_type_template_id_7b879ee0_staticRenderFns,
14340
14426
  false,
14341
14427
  null,
14342
14428
  null,
@@ -15684,8 +15770,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
15684
15770
  )
15685
15771
 
15686
15772
  /* harmony default export */ var src_reset = (reset_component.exports);
15687
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=ea4335d6&
15688
- var taskUnionExaminevue_type_template_id_ea4335d6_render = function () {
15773
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=97551c4a&
15774
+ var taskUnionExaminevue_type_template_id_97551c4a_render = function () {
15689
15775
  var _vm = this
15690
15776
  var _h = _vm.$createElement
15691
15777
  var _c = _vm._self._c || _h
@@ -15759,6 +15845,8 @@ var taskUnionExaminevue_type_template_id_ea4335d6_render = function () {
15759
15845
  : _vm.infoList.nextCurrentOrgObj,
15760
15846
  multiple: _vm.newMultiple,
15761
15847
  mix: _vm.currentMix,
15848
+ isUnionSeal: _vm.type == "unionSeal",
15849
+ selectUserList: _vm.unionSealData || [],
15762
15850
  types:
15763
15851
  _vm.type == "takeAdvice"
15764
15852
  ? _vm.currentOrgTabs.length > 0
@@ -15768,7 +15856,9 @@ var taskUnionExaminevue_type_template_id_ea4335d6_render = function () {
15768
15856
  ? ["enterprise", "employee"]
15769
15857
  : ["enterprise"],
15770
15858
  params:
15771
- _vm.type == "startDraf" ? _vm.otherParams : _vm.params,
15859
+ _vm.type == "startDraf" || _vm.type == "unionExamine"
15860
+ ? _vm.otherParams
15861
+ : _vm.params,
15772
15862
  tabs: _vm.currentOrgTabsParam,
15773
15863
  disabled: _vm.disabled,
15774
15864
  onlyName: _vm.onlyName,
@@ -15940,11 +16030,11 @@ var taskUnionExaminevue_type_template_id_ea4335d6_render = function () {
15940
16030
  1
15941
16031
  )
15942
16032
  }
15943
- var taskUnionExaminevue_type_template_id_ea4335d6_staticRenderFns = []
15944
- taskUnionExaminevue_type_template_id_ea4335d6_render._withStripped = true
16033
+ var taskUnionExaminevue_type_template_id_97551c4a_staticRenderFns = []
16034
+ taskUnionExaminevue_type_template_id_97551c4a_render._withStripped = true
15945
16035
 
15946
16036
 
15947
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=ea4335d6&
16037
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=97551c4a&
15948
16038
 
15949
16039
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
15950
16040
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -16079,6 +16169,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
16079
16169
  //
16080
16170
  //
16081
16171
  //
16172
+ //
16173
+ //
16082
16174
 
16083
16175
 
16084
16176
 
@@ -16112,6 +16204,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
16112
16204
  opinion: ''
16113
16205
  },
16114
16206
  onlyName: '',
16207
+ unionSealData: [],
16115
16208
  currentOrgTabs: [],
16116
16209
  foreignOrgTabs: [],
16117
16210
  foreignOrgTabsParam: {},
@@ -16261,10 +16354,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
16261
16354
  isHideCurrentOrg = _res$data2$nodeInfoMa.isHideCurrentOrg,
16262
16355
  isOpinionRequired = _res$data2$nodeInfoMa.isOpinionRequired;
16263
16356
 
16264
- console.log(otherOrgDisabledObjId, 'otherOrgDisabledObjId');
16265
16357
  if (otherOrgDisabledObjId) {
16266
16358
  _this3.otherOrgDisabledObjId = otherOrgDisabledObjId.split(',');
16267
- console.log(_this3.otherOrgDisabledObjId, otherOrgDisabledObjId.split(','));
16268
16359
  }
16269
16360
  if (res.data.customizedConfig) {
16270
16361
  if (res.data.customizedConfig.currentOrgSelectorCustomized) {
@@ -16309,8 +16400,18 @@ var taskUnionExaminevue_type_script_lang_js_components;
16309
16400
  }
16310
16401
  _this3.isOpinionRequired = isOpinionRequired;
16311
16402
  if (_this3.type == 'unionSeal') {
16312
- _this3.onlyName = unionDispatchOrgName;
16313
- _this3.infoList.nextOtherOrgObj.push(unionDispatchOrgId);
16403
+ var names = unionDispatchOrgName.split(',');
16404
+ var ids = unionDispatchOrgId.split(',');
16405
+ names.map(function (x, i) {
16406
+ if (x) {
16407
+ _this3.unionSealData.push({
16408
+ showname: x,
16409
+ showid: ids[i]
16410
+ });
16411
+ }
16412
+ });
16413
+ // this.onlyName = unionDispatchOrgName;
16414
+ // this.infoList.nextOtherOrgObj.push(unionDispatchOrgId);
16314
16415
  }
16315
16416
  if (_this3.type == 'twoOfficesDispatch') {
16316
16417
  _this3.onlyName = orgNames;
@@ -16369,7 +16470,9 @@ var taskUnionExaminevue_type_script_lang_js_components;
16369
16470
  data: {
16370
16471
  opinion: opinion,
16371
16472
  pendingId: pendingId,
16372
- nextOtherOrgObj: Array.isArray(nextOtherOrgObj) ? nextOtherOrgObj.join(',') : nextOtherOrgObj,
16473
+ nextOtherOrgObj: this.type == 'unionSeal' ? this.unionSealData.map(function (x) {
16474
+ return x.showid;
16475
+ }).join(',') : Array.isArray(nextOtherOrgObj) ? nextOtherOrgObj.join(',') : nextOtherOrgObj,
16373
16476
  nextCurrentOrgObj: Array.isArray(nextCurrentOrgObj) ? nextCurrentOrgObj.join(',') : nextCurrentOrgObj,
16374
16477
  notificationMsg: noticeInfo,
16375
16478
  notificationType: noticeType.join(','),
@@ -16515,8 +16618,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
16515
16618
 
16516
16619
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
16517
16620
  component_taskUnionExaminevue_type_script_lang_js_,
16518
- taskUnionExaminevue_type_template_id_ea4335d6_render,
16519
- taskUnionExaminevue_type_template_id_ea4335d6_staticRenderFns,
16621
+ taskUnionExaminevue_type_template_id_97551c4a_render,
16622
+ taskUnionExaminevue_type_template_id_97551c4a_staticRenderFns,
16520
16623
  false,
16521
16624
  null,
16522
16625
  null,
@@ -21326,8 +21429,8 @@ var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
21326
21429
  )
21327
21430
 
21328
21431
  /* harmony default export */ var freeStartFlow = (freeStartFlow_component.exports);
21329
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=b84cd288&
21330
- var supervisevue_type_template_id_b84cd288_render = function () {
21432
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=5fbd4d48&
21433
+ var supervisevue_type_template_id_5fbd4d48_render = function () {
21331
21434
  var _vm = this
21332
21435
  var _h = _vm.$createElement
21333
21436
  var _c = _vm._self._c || _h
@@ -21480,11 +21583,11 @@ var supervisevue_type_template_id_b84cd288_render = function () {
21480
21583
  1
21481
21584
  )
21482
21585
  }
21483
- var supervisevue_type_template_id_b84cd288_staticRenderFns = []
21484
- supervisevue_type_template_id_b84cd288_render._withStripped = true
21586
+ var supervisevue_type_template_id_5fbd4d48_staticRenderFns = []
21587
+ supervisevue_type_template_id_5fbd4d48_render._withStripped = true
21485
21588
 
21486
21589
 
21487
- // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=b84cd288&
21590
+ // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=5fbd4d48&
21488
21591
 
21489
21592
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=script&lang=js&
21490
21593
  var supervisevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -21561,7 +21664,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21561
21664
  businessId: {
21562
21665
  type: String,
21563
21666
  default: ''
21564
- }
21667
+ },
21668
+ appId: { type: String, default: '' }
21565
21669
  },
21566
21670
  data: function data() {
21567
21671
  return {
@@ -21600,7 +21704,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21600
21704
  urgeUserIds: pendingUserIds,
21601
21705
  notificationType: noticeType.join(','),
21602
21706
  notificationMessage: notifyMessage,
21603
- businessId: this.businessId
21707
+ businessId: this.businessId,
21708
+ appId: this.appId
21604
21709
  }
21605
21710
  };
21606
21711
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
@@ -21622,6 +21727,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21622
21727
  url: api["hc" /* toTaskSupervise */],
21623
21728
  params: {
21624
21729
  businessId: this.businessId,
21730
+ appId: this.appId,
21625
21731
  userId: util["a" /* default */].getStorage('userId')
21626
21732
  }
21627
21733
  }).then(function (res) {
@@ -21652,8 +21758,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21652
21758
 
21653
21759
  var supervise_component = Object(componentNormalizer["a" /* default */])(
21654
21760
  src_supervisevue_type_script_lang_js_,
21655
- supervisevue_type_template_id_b84cd288_render,
21656
- supervisevue_type_template_id_b84cd288_staticRenderFns,
21761
+ supervisevue_type_template_id_5fbd4d48_render,
21762
+ supervisevue_type_template_id_5fbd4d48_staticRenderFns,
21657
21763
  false,
21658
21764
  null,
21659
21765
  null,
@@ -23325,6 +23431,35 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23325
23431
  //
23326
23432
  //
23327
23433
  //
23434
+ //
23435
+ //
23436
+ //
23437
+ //
23438
+ //
23439
+ //
23440
+ //
23441
+ //
23442
+ //
23443
+ //
23444
+ //
23445
+ //
23446
+ //
23447
+ //
23448
+ //
23449
+ //
23450
+ //
23451
+ //
23452
+ //
23453
+ //
23454
+ //
23455
+ //
23456
+ //
23457
+ //
23458
+ //
23459
+ //
23460
+ //
23461
+ //
23462
+ //
23328
23463
 
23329
23464
 
23330
23465
 
@@ -23401,7 +23536,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23401
23536
  rows: {
23402
23537
  type: [String, Number],
23403
23538
  default: 10
23404
- }
23539
+ },
23540
+ isEndMessage: { type: Boolean, default: false }
23405
23541
  },
23406
23542
  data: function data() {
23407
23543
  var _ref;
@@ -23409,6 +23545,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23409
23545
  return _ref = {
23410
23546
  styles: {},
23411
23547
  optionsKey: 0,
23548
+ endMessage: '',
23549
+ isHideTemporarySave: false,
23550
+ oldNextOperate: '',
23412
23551
  taskOperationShiftedNodeList: null,
23413
23552
  currentNodeEnableItemHandleDescription: false,
23414
23553
  startFlowPageEmbeddedIntoStartFlowIndex: false,
@@ -23679,6 +23818,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23679
23818
  }
23680
23819
  },
23681
23820
  methods: {
23821
+ handleEndMessageChange: function handleEndMessageChange() {
23822
+ this.$emit('endMessageChange', this.endMessage);
23823
+ },
23682
23824
  getInfo: function getInfo() {
23683
23825
  if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
23684
23826
  this.getNodeType();
@@ -23703,6 +23845,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23703
23845
  };
23704
23846
  util["a" /* default */].ajax(params).then(function (res) {
23705
23847
  if (res.status == 'success') {
23848
+ _this.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
23706
23849
  _this.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
23707
23850
  _this.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
23708
23851
 
@@ -24379,7 +24522,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24379
24522
  } else if (res.fun === 'toUnionSeal()') {
24380
24523
  // 联合用印
24381
24524
  this.flowType = 'unionSeal';
24382
- this.flowDisabled = true;
24525
+ this.flowDisabled = false;
24383
24526
  this.flowTitle = res.value;
24384
24527
  this.toStartDraf(res);
24385
24528
  } else if (res.fun == 'toTwoOfficesDispatch()') {
@@ -24717,6 +24860,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24717
24860
  } else {
24718
24861
  this.nextNode.nextUserId = '';
24719
24862
  }
24863
+ if (isNextNode) {
24864
+ this.oldNextOperate = this.operationList.filter(function (x) {
24865
+ return x.key == val;
24866
+ })[0].nextOperate;
24867
+ } else {
24868
+ this.oldNextOperate = '';
24869
+ }
24720
24870
  this.options = [];
24721
24871
  this.selectUserList = [];
24722
24872
  this.radioList = [];
@@ -24924,9 +25074,15 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24924
25074
  _this27.taskOperationShiftedNodeList = [];
24925
25075
  taskOperationShiftedNodeList.map(function (x) {
24926
25076
  _this27.taskOperationShiftedNodeList.push(x.nodeId);
24927
- taskOperations.push({ key: x.nodeId, value: x.nodeName, isNextNode: true });
25077
+ taskOperations.push({
25078
+ key: x.nodeId,
25079
+ value: x.nodeName,
25080
+ nextOperate: x.nextOperate,
25081
+ isNextNode: true
25082
+ });
24928
25083
  });
24929
25084
  }
25085
+ _this27.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
24930
25086
  _this27.pendingItemHandleDescription = pendingItemHandleDescription;
24931
25087
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
24932
25088
  _this27.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
@@ -25497,11 +25653,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25497
25653
  delete _this33.nextNode.nextOperate;
25498
25654
  delete _this33.nextNode.nextNodeId;
25499
25655
  }
25500
- if (_this33.nextNode.nextOperate === 9) {
25656
+ if (_this33.nextNode.nextOperate === 9 || _this33.oldNextOperate == 9) {
25501
25657
  _this33.nextNode.isReturnRejectNode = 1;
25502
25658
  _this33.nextNode.processDefinitionId = _this33.processObj.taskExamine.processDefinitionId;
25503
25659
  }
25504
- if (_this33.nextNode.nextOperate != 0 && _this33.nextNode.nextOperate != 1) {
25660
+ if (_this33.nextNode.nextOperate != 0 && _this33.nextNode.nextOperate != 1 && _this33.oldNextOperate === '' || _this33.oldNextOperate !== '' && _this33.oldNextOperate != 0 && _this33.oldNextOperate != 1) {
25505
25661
  delete _this33.nextNode.nextNodeId;
25506
25662
  }
25507
25663
 
@@ -25525,7 +25681,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25525
25681
  if (!_this33.isCanPreAddSign || _this33.nextNode.isAddSign != '1') {
25526
25682
  delete _this33.nextNode.addSignMode;
25527
25683
  }
25684
+
25528
25685
  params = mainvue_type_script_lang_js_extends({}, _this33.nextNode, {
25686
+ nextOperate: _this33.oldNextOperate !== '' ? _this33.oldNextOperate : _this33.nextNode.nextOperate,
25529
25687
  pendingId: _this33.pendingId,
25530
25688
  opinion: _this33.isForceDisplayDefaultOptionForPrefix && !_this33.value.startsWith(_this33.nodeDefaultSubmitOpinion) ? _this33.nodeDefaultSubmitOpinion + _this33.value : _this33.value,
25531
25689
  userId: util["a" /* default */].getStorage('userId'),