eoss-ui 0.7.10 → 0.7.11

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 (55) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/calogin.js +1 -1
  4. package/lib/checkbox-group.js +1 -1
  5. package/lib/config/api.js +1 -1
  6. package/lib/data-table-form.js +1 -1
  7. package/lib/data-table.js +1 -1
  8. package/lib/date-picker.js +1 -1
  9. package/lib/dialog.js +1 -1
  10. package/lib/eoss-ui.common.js +486 -464
  11. package/lib/flow-group.js +1 -1
  12. package/lib/flow-list.js +1 -1
  13. package/lib/flow.js +455 -439
  14. package/lib/form.js +9 -5
  15. package/lib/handle-user.js +1 -1
  16. package/lib/handler.js +1 -1
  17. package/lib/icon.js +1 -1
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +1 -1
  20. package/lib/input.js +1 -1
  21. package/lib/login.js +1 -1
  22. package/lib/main.js +10 -8
  23. package/lib/nav.js +1 -1
  24. package/lib/notify.js +1 -1
  25. package/lib/page.js +1 -1
  26. package/lib/pagination.js +1 -1
  27. package/lib/player.js +1 -1
  28. package/lib/qr-code.js +1 -1
  29. package/lib/radio-group.js +1 -1
  30. package/lib/retrial-auth.js +1 -1
  31. package/lib/select-ganged.js +1 -1
  32. package/lib/select.js +1 -1
  33. package/lib/selector-panel.js +1 -1
  34. package/lib/selector.js +1 -1
  35. package/lib/sizer.js +1 -1
  36. package/lib/steps.js +1 -1
  37. package/lib/switch.js +1 -1
  38. package/lib/table-form.js +1 -1
  39. package/lib/tabs.js +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +1 -1
  43. package/lib/upload.js +1 -1
  44. package/lib/wujie.js +1 -1
  45. package/lib/wxlogin.js +1 -1
  46. package/package.json +1 -1
  47. package/packages/flow/src/component/taskUnionExamine.vue +1 -0
  48. package/packages/flow/src/main.vue +10 -2
  49. package/packages/flow/src/selectUser.vue +5 -1
  50. package/packages/flow/src/startTaskRead.vue +1 -0
  51. package/packages/flow/src/supervise.vue +4 -4
  52. package/packages/form/src/main.vue +6 -2
  53. package/packages/main/src/simplicity/userinfo.vue +1 -0
  54. package/src/config/api.js +1 -1
  55. package/src/index.js +1 -1
package/lib/flow.js CHANGED
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
3717
3717
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3718
3718
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3720
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3720
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3721
3721
  // 登录
3722
3722
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3723
3723
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -4485,7 +4485,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4485
4485
  // ESM COMPAT FLAG
4486
4486
  __webpack_require__.r(__webpack_exports__);
4487
4487
 
4488
- // 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=1bceff87&
4488
+ // 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=2db06a0a&
4489
4489
  var render = function () {
4490
4490
  var _vm = this
4491
4491
  var _h = _vm.$createElement
@@ -7376,7 +7376,7 @@ var staticRenderFns = []
7376
7376
  render._withStripped = true
7377
7377
 
7378
7378
 
7379
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=1bceff87&
7379
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2db06a0a&
7380
7380
 
7381
7381
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7382
7382
  var regenerator_ = __webpack_require__(4);
@@ -9193,8 +9193,8 @@ processFormvue_type_template_id_e536b88e_render._withStripped = true
9193
9193
 
9194
9194
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
9195
9195
 
9196
- // 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=3d8ca42d&
9197
- var selectUservue_type_template_id_3d8ca42d_render = function () {
9196
+ // 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=4750588e&
9197
+ var selectUservue_type_template_id_4750588e_render = function () {
9198
9198
  var _vm = this
9199
9199
  var _h = _vm.$createElement
9200
9200
  var _c = _vm._self._c || _h
@@ -9308,7 +9308,7 @@ var selectUservue_type_template_id_3d8ca42d_render = function () {
9308
9308
  tabs: _vm.tabs,
9309
9309
  title: _vm.title,
9310
9310
  classify: _vm.classify,
9311
- "collapse-tags": 2,
9311
+ "collapse-tags": _vm.selectorTags,
9312
9312
  mix: _vm.mix,
9313
9313
  min: _vm.isUnionSeal ? 1 : 0,
9314
9314
  disabled:
@@ -9347,11 +9347,11 @@ var selectUservue_type_template_id_3d8ca42d_render = function () {
9347
9347
  2
9348
9348
  )
9349
9349
  }
9350
- var selectUservue_type_template_id_3d8ca42d_staticRenderFns = []
9351
- selectUservue_type_template_id_3d8ca42d_render._withStripped = true
9350
+ var selectUservue_type_template_id_4750588e_staticRenderFns = []
9351
+ selectUservue_type_template_id_4750588e_render._withStripped = true
9352
9352
 
9353
9353
 
9354
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3d8ca42d&
9354
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4750588e&
9355
9355
 
9356
9356
  // 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&
9357
9357
  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; };
@@ -9491,6 +9491,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9491
9491
  type: Boolean,
9492
9492
  default: false
9493
9493
  },
9494
+ selectorTags: {
9495
+ type: [Number, undefined],
9496
+ default: 2
9497
+ },
9494
9498
  isCustomUser: { type: Number, default: 1 },
9495
9499
  isCurrentNodeForbiddenChangeCandidate: { type: Number, default: 0 },
9496
9500
  options: {
@@ -9851,8 +9855,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
9851
9855
 
9852
9856
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
9853
9857
  src_selectUservue_type_script_lang_js_,
9854
- selectUservue_type_template_id_3d8ca42d_render,
9855
- selectUservue_type_template_id_3d8ca42d_staticRenderFns,
9858
+ selectUservue_type_template_id_4750588e_render,
9859
+ selectUservue_type_template_id_4750588e_staticRenderFns,
9856
9860
  false,
9857
9861
  null,
9858
9862
  null,
@@ -13382,8 +13386,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
13382
13386
  )
13383
13387
 
13384
13388
  /* harmony default export */ var processReject = (processReject_component.exports);
13385
- // 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=8c622104&
13386
- var startTaskReadvue_type_template_id_8c622104_render = function () {
13389
+ // 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=094580c3&
13390
+ var startTaskReadvue_type_template_id_094580c3_render = function () {
13387
13391
  var _vm = this
13388
13392
  var _h = _vm.$createElement
13389
13393
  var _c = _vm._self._c || _h
@@ -13399,6 +13403,7 @@ var startTaskReadvue_type_template_id_8c622104_render = function () {
13399
13403
  },
13400
13404
  ],
13401
13405
  staticClass: "task-read",
13406
+ style: "height: " + (_vm.typeCode == "read" ? "100%" : "unset") + ";",
13402
13407
  attrs: {
13403
13408
  "element-loading-text": "加载中...",
13404
13409
  "element-loading-spinner": "el-icon-loading",
@@ -13804,11 +13809,11 @@ var startTaskReadvue_type_template_id_8c622104_render = function () {
13804
13809
  1
13805
13810
  )
13806
13811
  }
13807
- var startTaskReadvue_type_template_id_8c622104_staticRenderFns = []
13808
- startTaskReadvue_type_template_id_8c622104_render._withStripped = true
13812
+ var startTaskReadvue_type_template_id_094580c3_staticRenderFns = []
13813
+ startTaskReadvue_type_template_id_094580c3_render._withStripped = true
13809
13814
 
13810
13815
 
13811
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=8c622104&
13816
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=094580c3&
13812
13817
 
13813
13818
  // 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&
13814
13819
  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; };
@@ -13985,6 +13990,7 @@ var startTaskReadvue_type_script_lang_js_components;
13985
13990
  //
13986
13991
  //
13987
13992
  //
13993
+ //
13988
13994
 
13989
13995
 
13990
13996
 
@@ -14531,8 +14537,8 @@ var startTaskReadvue_type_script_lang_js_components;
14531
14537
 
14532
14538
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
14533
14539
  src_startTaskReadvue_type_script_lang_js_,
14534
- startTaskReadvue_type_template_id_8c622104_render,
14535
- startTaskReadvue_type_template_id_8c622104_staticRenderFns,
14540
+ startTaskReadvue_type_template_id_094580c3_render,
14541
+ startTaskReadvue_type_template_id_094580c3_staticRenderFns,
14536
14542
  false,
14537
14543
  null,
14538
14544
  null,
@@ -15943,8 +15949,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
15943
15949
  )
15944
15950
 
15945
15951
  /* harmony default export */ var src_reset = (reset_component.exports);
15946
- // 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=7cff7406&
15947
- var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
15952
+ // 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=6c2affc4&
15953
+ var taskUnionExaminevue_type_template_id_6c2affc4_render = function () {
15948
15954
  var _vm = this
15949
15955
  var _h = _vm.$createElement
15950
15956
  var _c = _vm._self._c || _h
@@ -16017,6 +16023,7 @@ var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
16017
16023
  ? _vm.infoList.nextOtherOrgObj
16018
16024
  : _vm.infoList.nextCurrentOrgObj,
16019
16025
  multiple: _vm.newMultiple,
16026
+ selectorTags: 0,
16020
16027
  mix: _vm.currentMix,
16021
16028
  isUnionSeal: _vm.type == "unionSeal",
16022
16029
  selectUserList: _vm.unionSealData || [],
@@ -16201,11 +16208,11 @@ var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
16201
16208
  1
16202
16209
  )
16203
16210
  }
16204
- var taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns = []
16205
- taskUnionExaminevue_type_template_id_7cff7406_render._withStripped = true
16211
+ var taskUnionExaminevue_type_template_id_6c2affc4_staticRenderFns = []
16212
+ taskUnionExaminevue_type_template_id_6c2affc4_render._withStripped = true
16206
16213
 
16207
16214
 
16208
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=7cff7406&
16215
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=6c2affc4&
16209
16216
 
16210
16217
  // 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&
16211
16218
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -16343,6 +16350,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
16343
16350
  //
16344
16351
  //
16345
16352
  //
16353
+ //
16346
16354
 
16347
16355
 
16348
16356
 
@@ -16791,8 +16799,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
16791
16799
 
16792
16800
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
16793
16801
  component_taskUnionExaminevue_type_script_lang_js_,
16794
- taskUnionExaminevue_type_template_id_7cff7406_render,
16795
- taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns,
16802
+ taskUnionExaminevue_type_template_id_6c2affc4_render,
16803
+ taskUnionExaminevue_type_template_id_6c2affc4_staticRenderFns,
16796
16804
  false,
16797
16805
  null,
16798
16806
  null,
@@ -21603,8 +21611,8 @@ var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
21603
21611
  )
21604
21612
 
21605
21613
  /* harmony default export */ var freeStartFlow = (freeStartFlow_component.exports);
21606
- // 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=8ef7a708&
21607
- var supervisevue_type_template_id_8ef7a708_render = function () {
21614
+ // 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=f11b91cc&
21615
+ var supervisevue_type_template_id_f11b91cc_render = function () {
21608
21616
  var _vm = this
21609
21617
  var _h = _vm.$createElement
21610
21618
  var _c = _vm._self._c || _h
@@ -21777,11 +21785,11 @@ var supervisevue_type_template_id_8ef7a708_render = function () {
21777
21785
  1
21778
21786
  )
21779
21787
  }
21780
- var supervisevue_type_template_id_8ef7a708_staticRenderFns = []
21781
- supervisevue_type_template_id_8ef7a708_render._withStripped = true
21788
+ var supervisevue_type_template_id_f11b91cc_staticRenderFns = []
21789
+ supervisevue_type_template_id_f11b91cc_render._withStripped = true
21782
21790
 
21783
21791
 
21784
- // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=8ef7a708&
21792
+ // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=f11b91cc&
21785
21793
 
21786
21794
  // 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&
21787
21795
  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; };
@@ -21878,10 +21886,10 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21878
21886
  subProcess: function subProcess() {
21879
21887
  var _this = this;
21880
21888
 
21881
- // if (this.nextNode.noticeType.length == 0) {
21882
- // this.$message.warning('请选择通知方式');
21883
- // return;
21884
- // }
21889
+ if (this.nextNode.noticeType.length == 0) {
21890
+ this.$message.warning('请选择通知方式');
21891
+ return;
21892
+ }
21885
21893
  if (this.nextNode.noticeType.length != 0 && !this.nextNode.notifyMessage) {
21886
21894
  this.$message.warning('请填写通知消息内容');
21887
21895
  return;
@@ -21959,8 +21967,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21959
21967
 
21960
21968
  var supervise_component = Object(componentNormalizer["a" /* default */])(
21961
21969
  src_supervisevue_type_script_lang_js_,
21962
- supervisevue_type_template_id_8ef7a708_render,
21963
- supervisevue_type_template_id_8ef7a708_staticRenderFns,
21970
+ supervisevue_type_template_id_f11b91cc_render,
21971
+ supervisevue_type_template_id_f11b91cc_staticRenderFns,
21964
21972
  false,
21965
21973
  null,
21966
21974
  null,
@@ -24128,10 +24136,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24128
24136
  }
24129
24137
  },
24130
24138
  handleClickCirculate: function handleClickCirculate() {
24131
- this.$refs.circulate.subMit();
24139
+ var _this2 = this;
24140
+
24141
+ if (this.beforeSubmit == undefined) {
24142
+ this.$refs.circulate.subMit();
24143
+ } else {
24144
+ this.beforeSubmit(1).then(function (next) {
24145
+ _this2.$refs.circulate.subMit();
24146
+ }).catch(function (e) {});
24147
+ }
24132
24148
  },
24133
24149
  getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
24134
- var _this2 = this;
24150
+ var _this3 = this;
24135
24151
 
24136
24152
  var params = {
24137
24153
  url: api["R" /* getNodeInfoForStart */],
@@ -24139,9 +24155,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24139
24155
  };
24140
24156
  util["a" /* default */].ajax(params).then(function (res) {
24141
24157
  if (res.status == 'success') {
24142
- _this2.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
24143
- _this2.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
24144
- _this2.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
24158
+ _this3.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
24159
+ _this3.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
24160
+ _this3.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
24145
24161
 
24146
24162
  // if (this.directCreateCircularReadWhenFlowStarted) {
24147
24163
  // this.nodeInfo.option.map((item) => {
@@ -24152,8 +24168,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24152
24168
  // item.disabled = false;
24153
24169
  // });
24154
24170
  // }
24155
- _this2.optionsKey++;
24156
- _this2.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
24171
+ _this3.optionsKey++;
24172
+ _this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
24157
24173
  }
24158
24174
  });
24159
24175
  },
@@ -24190,12 +24206,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24190
24206
  this.handleVisible = true;
24191
24207
  },
24192
24208
  showMessage: function showMessage() {
24193
- var _this3 = this;
24209
+ var _this4 = this;
24194
24210
 
24195
24211
  this.showNews = !this.showNews;
24196
24212
  if (!this.showNews) return;
24197
24213
  this.$nextTick(function () {
24198
- _this3.$refs.esContent.scrollTop += _this3.$refs.messagebox.clientHeight;
24214
+ _this4.$refs.esContent.scrollTop += _this4.$refs.messagebox.clientHeight;
24199
24215
  });
24200
24216
  },
24201
24217
  freeStartFlowSuccess: function freeStartFlowSuccess() {
@@ -24269,7 +24285,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24269
24285
 
24270
24286
  //获取附件
24271
24287
  getFile: function getFile(ownId, code) {
24272
- var _this4 = this;
24288
+ var _this5 = this;
24273
24289
 
24274
24290
  var params = {
24275
24291
  url: api["H" /* getAdjunctFileInfos */],
@@ -24281,13 +24297,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24281
24297
  msg = res.msg;
24282
24298
 
24283
24299
  if (rCode == 0) {
24284
- results && (_this4.fileNum = results.length);
24300
+ results && (_this5.fileNum = results.length);
24285
24301
  } else {
24286
- _this4.$message.error(msg || '系统错误,请联系管理员!');
24302
+ _this5.$message.error(msg || '系统错误,请联系管理员!');
24287
24303
  }
24288
24304
  }).catch(function (err) {
24289
24305
  if (err.message && err.message !== 'canceled') {
24290
- _this4.$message.error(err.message);
24306
+ _this5.$message.error(err.message);
24291
24307
  }
24292
24308
  });
24293
24309
  },
@@ -24334,7 +24350,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24334
24350
  }
24335
24351
  },
24336
24352
  taskRead: function taskRead() {
24337
- var _this5 = this;
24353
+ var _this6 = this;
24338
24354
 
24339
24355
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
24340
24356
  if (!this.$refs.commonOpinions.validate()) return;
@@ -24344,8 +24360,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24344
24360
  cancelButtonText: '取消',
24345
24361
  type: 'warning'
24346
24362
  }).then(function () {
24347
- _this5.loading = util["a" /* default */].loading(_this5.$loading, '加载中...');
24348
- var _taskExamineInfo2 = _this5.taskExamineInfo,
24363
+ _this6.loading = util["a" /* default */].loading(_this6.$loading, '加载中...');
24364
+ var _taskExamineInfo2 = _this6.taskExamineInfo,
24349
24365
  businessId = _taskExamineInfo2.businessId,
24350
24366
  appId = _taskExamineInfo2.appId,
24351
24367
  processDefinitionId = _taskExamineInfo2.processDefinitionId,
@@ -24356,7 +24372,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24356
24372
  appId: appId,
24357
24373
  processDefinitionId: processDefinitionId,
24358
24374
  pendingId: pendingId,
24359
- opinion: _this5.value,
24375
+ opinion: _this6.value,
24360
24376
  taskAction: 'complete'
24361
24377
  };
24362
24378
  util["a" /* default */].ajax({
@@ -24371,25 +24387,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24371
24387
  var status = res.status,
24372
24388
  message = res.message;
24373
24389
 
24374
- _this5.loading.close();
24390
+ _this6.loading.close();
24375
24391
  if (status === 'success') {
24376
- _this5.flowSuccess();
24392
+ _this6.flowSuccess();
24377
24393
  // this.$message.success('提交成功');
24378
24394
  // this.$emit('success');
24379
24395
  } else {
24380
- _this5.$message.error(message || '系统错误,请联系管理员!');
24381
- _this5.$emit('error');
24396
+ _this6.$message.error(message || '系统错误,请联系管理员!');
24397
+ _this6.$emit('error');
24382
24398
  }
24383
24399
  }).catch(function (err) {
24384
- _this5.loading.close();
24400
+ _this6.loading.close();
24385
24401
  if (err.message && err.message !== 'canceled') {
24386
- _this5.$message.error(err.message);
24402
+ _this6.$message.error(err.message);
24387
24403
  }
24388
24404
  });
24389
24405
  }).catch(function () {});
24390
24406
  },
24391
24407
  validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
24392
- var _this6 = this;
24408
+ var _this7 = this;
24393
24409
 
24394
24410
  var params = {
24395
24411
  url: api["d" /* checkBusinessIdStartedReadTransferHandle */],
@@ -24400,14 +24416,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24400
24416
  }
24401
24417
  };
24402
24418
  util["a" /* default */].ajax(params).then(function (res) {
24403
- _this6.loading.close();
24419
+ _this7.loading.close();
24404
24420
  if (res.rCode == 0) {
24405
- _this6.readTransferHandleDisabled = !res.results.canReadTransferHandle;
24421
+ _this7.readTransferHandleDisabled = !res.results.canReadTransferHandle;
24406
24422
  }
24407
24423
  });
24408
24424
  },
24409
24425
  getTaskReadFlow: function getTaskReadFlow() {
24410
- var _this7 = this;
24426
+ var _this8 = this;
24411
24427
 
24412
24428
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
24413
24429
  util["a" /* default */].ajax({
@@ -24424,32 +24440,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24424
24440
  defaultNotificationMessage = _res$data.defaultNotificationMessage;
24425
24441
 
24426
24442
  if (status === 'success') {
24427
- _this7.taskExamineInfo = taskExamine;
24428
- _this7.nodeName = _this7.nodename || taskExamine.nodeName || '分阅';
24429
- _this7.taskReadOpinionRequired = taskReadOpinionRequired;
24430
- _this7.nextNode.notificationMsg = defaultNotificationMessage;
24431
- _this7.isCanReadTransferHandle = isCanReadTransferHandle;
24432
- _this7.isCanFenyue = isCanFenyue;
24433
- if (_this7.nodeName) {
24434
- _this7.NodeName = _this7.nodeName;
24443
+ _this8.taskExamineInfo = taskExamine;
24444
+ _this8.nodeName = _this8.nodename || taskExamine.nodeName || '分阅';
24445
+ _this8.taskReadOpinionRequired = taskReadOpinionRequired;
24446
+ _this8.nextNode.notificationMsg = defaultNotificationMessage;
24447
+ _this8.isCanReadTransferHandle = isCanReadTransferHandle;
24448
+ _this8.isCanFenyue = isCanFenyue;
24449
+ if (_this8.nodeName) {
24450
+ _this8.NodeName = _this8.nodeName;
24435
24451
  }
24436
- if (_this7.isCanReadTransferHandle) {
24437
- _this7.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
24452
+ if (_this8.isCanReadTransferHandle) {
24453
+ _this8.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
24438
24454
  }
24439
- _this7.getNodeType();
24455
+ _this8.getNodeType();
24440
24456
  } else {
24441
- _this7.$message.error(message || '系统错误,请联系管理员!');
24457
+ _this8.$message.error(message || '系统错误,请联系管理员!');
24442
24458
  }
24443
- _this7.loading.close();
24459
+ _this8.loading.close();
24444
24460
  }).catch(function (err) {
24445
- _this7.loading.close();
24461
+ _this8.loading.close();
24446
24462
  if (err.message && err.message !== 'canceled') {
24447
- _this7.$message.error(err.message);
24463
+ _this8.$message.error(err.message);
24448
24464
  }
24449
24465
  });
24450
24466
  },
24451
24467
  getUserInfo: function getUserInfo() {
24452
- var _this8 = this;
24468
+ var _this9 = this;
24453
24469
 
24454
24470
  var mainConfig = util["a" /* default */].getStorage('mainConfig');
24455
24471
  if (mainConfig) {
@@ -24460,14 +24476,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24460
24476
  data = res.data;
24461
24477
 
24462
24478
  if (status == 'success') {
24463
- _this8.userModel = data;
24479
+ _this9.userModel = data;
24464
24480
  } else {
24465
24481
  var msg = res.msg || '系统错误,请联系管理员!';
24466
- _this8.$message.error(msg);
24482
+ _this9.$message.error(msg);
24467
24483
  }
24468
24484
  }).catch(function (err) {
24469
24485
  if (err.message && err.message !== 'canceled') {
24470
- _this8.$message.error(err.message);
24486
+ _this9.$message.error(err.message);
24471
24487
  }
24472
24488
  });
24473
24489
  }
@@ -24487,7 +24503,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24487
24503
  }
24488
24504
  },
24489
24505
  getNodeType: function getNodeType() {
24490
- var _this9 = this;
24506
+ var _this10 = this;
24491
24507
 
24492
24508
  var params = {
24493
24509
  url: api["z" /* findCodeValues */],
@@ -24502,11 +24518,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24502
24518
  data = res.data;
24503
24519
 
24504
24520
  if (status === 'success') {
24505
- _this9.newsList = data;
24521
+ _this10.newsList = data;
24506
24522
  }
24507
24523
  }).catch(function (err) {
24508
24524
  if (err.message && err.message !== 'canceled') {
24509
- _this9.$message.error(err.message);
24525
+ _this10.$message.error(err.message);
24510
24526
  }
24511
24527
  });
24512
24528
  },
@@ -24518,17 +24534,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24518
24534
  * @date 2022年9月9日
24519
24535
  **/
24520
24536
  saveInfo: function saveInfo(type, btn) {
24521
- var _this10 = this;
24537
+ var _this11 = this;
24522
24538
 
24523
24539
  if (this.isFlow) {
24524
24540
  if (!type) {
24525
24541
  if (btn && btn.before) {
24526
24542
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
24527
- _this10.$emit('save', _this10.businessIds);
24543
+ _this11.$emit('save', _this11.businessIds);
24528
24544
  }).catch(function (e) {});
24529
24545
  } else if (this.beforeSubmit != undefined) {
24530
24546
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
24531
- _this10.$emit('save', _this10.businessIds);
24547
+ _this11.$emit('save', _this11.businessIds);
24532
24548
  }).catch(function (e) {});
24533
24549
  } else {
24534
24550
  this.$emit('save', this.businessIds);
@@ -24537,13 +24553,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24537
24553
  } else {
24538
24554
  if (btn && btn.before && !type) {
24539
24555
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
24540
- _this10.saveFlowInfo();
24556
+ _this11.saveFlowInfo();
24541
24557
  }).catch(function (e) {});
24542
24558
  } else if (this.beforeSubmit == undefined && !type) {
24543
24559
  this.subFun(this.saveFlowInfo);
24544
24560
  } else if (!type && this.beforeSubmit != undefined) {
24545
24561
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
24546
- _this10.saveFlowInfo();
24562
+ _this11.saveFlowInfo();
24547
24563
  }).catch(function (e) {});
24548
24564
  } else {
24549
24565
  this.saveFlowInfo(type);
@@ -24551,7 +24567,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24551
24567
  }
24552
24568
  },
24553
24569
  saveFlowInfo: function saveFlowInfo(isSave) {
24554
- var _this11 = this;
24570
+ var _this12 = this;
24555
24571
 
24556
24572
  var params = {
24557
24573
  opinion: this.value,
@@ -24562,17 +24578,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24562
24578
  var status = res.status,
24563
24579
  message = res.message;
24564
24580
 
24565
- if (!isSave) _this11.loading.close();
24581
+ if (!isSave) _this12.loading.close();
24566
24582
  if (status == 'success') {
24567
24583
  // this.$message.success('暂存成功');
24568
- !isSave && _this11.$emit('save', _this11.businessIds);
24584
+ !isSave && _this12.$emit('save', _this12.businessIds);
24569
24585
  } else {
24570
- _this11.$message.error(message || '系统错误,请联系管理员!');
24586
+ _this12.$message.error(message || '系统错误,请联系管理员!');
24571
24587
  }
24572
24588
  }).catch(function (err) {
24573
- if (!isSave) _this11.loading.close();
24589
+ if (!isSave) _this12.loading.close();
24574
24590
  if (err.message && err.message !== 'canceled') {
24575
- _this11.$message.error(err.message);
24591
+ _this12.$message.error(err.message);
24576
24592
  }
24577
24593
  });
24578
24594
  },
@@ -24584,7 +24600,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24584
24600
  * @date 2022年5月25日
24585
24601
  **/
24586
24602
  rejectBtn: function rejectBtn() {
24587
- var _this12 = this;
24603
+ var _this13 = this;
24588
24604
 
24589
24605
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
24590
24606
  if (!this.value) {
@@ -24592,7 +24608,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24592
24608
  }
24593
24609
  if (this.beforeSubmit != undefined) {
24594
24610
  this.beforeSubmit(0).then(function (next) {
24595
- _this12.showReject = true;
24611
+ _this13.showReject = true;
24596
24612
  }).catch(function (e) {});
24597
24613
  } else {
24598
24614
  this.showReject = true;
@@ -24606,14 +24622,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24606
24622
  * @date 2022年5月25日
24607
24623
  **/
24608
24624
  taskReadBtn: function taskReadBtn() {
24609
- var _this13 = this;
24625
+ var _this14 = this;
24610
24626
 
24611
24627
  // return this.$message.warning('暂未开放!敬请期待');
24612
24628
  if (this.beforeSubmit != undefined) {
24613
24629
  this.beforeSubmit().then(function (next) {
24614
- if (_this13.value === '') _this13.value = _this13.nodeDefaultRejectOpinion;
24615
- _this13.taskReadType = 'create';
24616
- _this13.showTaskRead = true;
24630
+ if (_this14.value === '') _this14.value = _this14.nodeDefaultRejectOpinion;
24631
+ _this14.taskReadType = 'create';
24632
+ _this14.showTaskRead = true;
24617
24633
  }).catch(function (e) {});
24618
24634
  } else {
24619
24635
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -24629,7 +24645,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24629
24645
  * @date 2022年5月25日
24630
24646
  **/
24631
24647
  getFind: function getFind() {
24632
- var _this14 = this;
24648
+ var _this15 = this;
24633
24649
 
24634
24650
  util["a" /* default */].ajax({
24635
24651
  url: api["B" /* findSysCodes */]
@@ -24638,25 +24654,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24638
24654
  message = res.message;
24639
24655
 
24640
24656
  if (status === 'success') {
24641
- _this14.nextNode.notificationType = message.split(',');
24657
+ _this15.nextNode.notificationType = message.split(',');
24642
24658
  var arr = [];
24643
- _this14.newsList.map(function (item) {
24644
- _this14.nextNode.notificationType.map(function (x) {
24659
+ _this15.newsList.map(function (item) {
24660
+ _this15.nextNode.notificationType.map(function (x) {
24645
24661
  if (x == item.cciValue) {
24646
24662
  arr.push(x);
24647
24663
  }
24648
24664
  });
24649
24665
  });
24650
- _this14.nextNode.notificationType = arr;
24666
+ _this15.nextNode.notificationType = arr;
24651
24667
  }
24652
24668
  }).catch(function (err) {
24653
24669
  if (err.message && err.message !== 'canceled') {
24654
- _this14.$message.error(err.message);
24670
+ _this15.$message.error(err.message);
24655
24671
  }
24656
24672
  });
24657
24673
  },
24658
24674
  getFreeStartParams: function getFreeStartParams() {
24659
- var _this15 = this;
24675
+ var _this16 = this;
24660
24676
 
24661
24677
  var _endFlowInfo = this.endFlowInfo,
24662
24678
  businessId = _endFlowInfo.businessId,
@@ -24674,20 +24690,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24674
24690
  };
24675
24691
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
24676
24692
  util["a" /* default */].ajax(param).then(function (res) {
24677
- _this15.loading.close();
24693
+ _this16.loading.close();
24678
24694
  if (res.rCode == 0 || res.status == 'success') {
24679
- _this15.freeStartFlowParams = res.results;
24680
- if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this15.subProcess('同意。', res.results.useScene);
24681
- if (!_this15.freeValid) return;
24682
- if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this15.$message.warning('未找到流程定义!');
24695
+ _this16.freeStartFlowParams = res.results;
24696
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this16.subProcess('同意。', res.results.useScene);
24697
+ if (!_this16.freeValid) return;
24698
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this16.$message.warning('未找到流程定义!');
24683
24699
  if (res.results.startFlowIndexProcessKeys.length == 1) {
24684
- _this15.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
24685
- _this15.handleVisible = true;
24700
+ _this16.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
24701
+ _this16.handleVisible = true;
24686
24702
  } else {
24687
- _this15.showFreeStartFlow = true;
24703
+ _this16.showFreeStartFlow = true;
24688
24704
  }
24689
24705
  } else {
24690
- _this15.$message.error(res.message || '系统错误,请联系管理员!');
24706
+ _this16.$message.error(res.message || '系统错误,请联系管理员!');
24691
24707
  }
24692
24708
  });
24693
24709
  },
@@ -24700,53 +24716,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24700
24716
  * @date 2022年5月25日
24701
24717
  **/
24702
24718
  endFlows: function endFlows(res) {
24703
- var _this16 = this;
24719
+ var _this17 = this;
24704
24720
 
24705
24721
  if (this.beforeSubmit != undefined) {
24706
24722
  this.beforeSubmit().then(function (next) {
24707
- _this16.saveEndFlows(res);
24723
+ _this17.saveEndFlows(res);
24708
24724
  }).catch(function (e) {});
24709
24725
  } else {
24710
24726
  this.saveEndFlows(res);
24711
24727
  }
24712
24728
  },
24713
24729
  saveEndFlows: function saveEndFlows(res) {
24714
- var _this17 = this;
24730
+ var _this18 = this;
24715
24731
 
24716
24732
  this.$confirm('确认' + res.value + '?').then(function () {
24717
24733
  var params = {
24718
24734
  url: api["y" /* endFlowHtml */],
24719
24735
  headers: { Accept: 'application/json,text/plain' },
24720
24736
  method: 'post',
24721
- data: mainvue_type_script_lang_js_extends({}, _this17.endFlowInfo, _this17.nextNode, {
24722
- opinion: _this17.value,
24737
+ data: mainvue_type_script_lang_js_extends({}, _this18.endFlowInfo, _this18.nextNode, {
24738
+ opinion: _this18.value,
24723
24739
  userId: util["a" /* default */].getStorage('userId'),
24724
- nextUserId: _this17.multiple ? _this17.nextNode.nextUserId.join(',') : _this17.nextNode.nextUserId,
24725
- addSignUserId: _this17.nextNode.addSignUserId.join(','),
24726
- customPresetUserJson: JSON.stringify(_this17.presetList),
24727
- presetUserJson: JSON.stringify(_this17.presetUserJson),
24728
- removeSignUserId: _this17.nextNode.removeSignUserId.join(','),
24729
- notificationType: _this17.nextNode.notificationType.join(',')
24740
+ nextUserId: _this18.multiple ? _this18.nextNode.nextUserId.join(',') : _this18.nextNode.nextUserId,
24741
+ addSignUserId: _this18.nextNode.addSignUserId.join(','),
24742
+ customPresetUserJson: JSON.stringify(_this18.presetList),
24743
+ presetUserJson: JSON.stringify(_this18.presetUserJson),
24744
+ removeSignUserId: _this18.nextNode.removeSignUserId.join(','),
24745
+ notificationType: _this18.nextNode.notificationType.join(',')
24730
24746
  })
24731
24747
  };
24732
- _this17.loading = util["a" /* default */].loading(_this17.$loading, '加载中...');
24748
+ _this18.loading = util["a" /* default */].loading(_this18.$loading, '加载中...');
24733
24749
  util["a" /* default */].ajax(params).then(function (res) {
24734
24750
  var status = res.status,
24735
24751
  message = res.message;
24736
24752
 
24737
- _this17.loading.close();
24753
+ _this18.loading.close();
24738
24754
  if (status === 'success') {
24739
- _this17.flowSuccess();
24755
+ _this18.flowSuccess();
24740
24756
  // this.$message.success('提交成功');
24741
24757
  // this.$emit('success');
24742
24758
  } else {
24743
- _this17.$message.error(message || '系统错误,请联系管理员!');
24744
- _this17.$emit('error');
24759
+ _this18.$message.error(message || '系统错误,请联系管理员!');
24760
+ _this18.$emit('error');
24745
24761
  }
24746
24762
  }).catch(function (err) {
24747
- _this17.loading.close();
24763
+ _this18.loading.close();
24748
24764
  if (err.message && err.message !== 'canceled') {
24749
- _this17.$message.error(err.message);
24765
+ _this18.$message.error(err.message);
24750
24766
  }
24751
24767
  });
24752
24768
  }).catch(function (e) {});
@@ -24849,11 +24865,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24849
24865
  * @date 2022年9月29日
24850
24866
  **/
24851
24867
  toTakeAdvice: function toTakeAdvice(res) {
24852
- var _this18 = this;
24868
+ var _this19 = this;
24853
24869
 
24854
24870
  if (this.beforeSubmit != undefined) {
24855
24871
  this.beforeSubmit().then(function (next) {
24856
- _this18.saveToTakeAdvice(res);
24872
+ _this19.saveToTakeAdvice(res);
24857
24873
  }).catch(function (e) {});
24858
24874
  } else {
24859
24875
  this.saveToTakeAdvice(res);
@@ -24861,7 +24877,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24861
24877
  // return this.$message.warning('暂未开放!敬请期待');
24862
24878
  },
24863
24879
  saveToTakeAdvice: function saveToTakeAdvice(res) {
24864
- var _this19 = this;
24880
+ var _this20 = this;
24865
24881
 
24866
24882
  var params = {
24867
24883
  url: api["nb" /* isCanStartSubFlow */],
@@ -24876,16 +24892,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24876
24892
  util["a" /* default */].ajax(params).then(function (res) {
24877
24893
  var message = res.message;
24878
24894
 
24879
- _this19.loading.close();
24895
+ _this20.loading.close();
24880
24896
  if (message == 'success') {
24881
- _this19.showTaskUnionExamine = true;
24897
+ _this20.showTaskUnionExamine = true;
24882
24898
  } else {
24883
- _this19.$message.error(message || '系统错误,请联系管理员!');
24899
+ _this20.$message.error(message || '系统错误,请联系管理员!');
24884
24900
  }
24885
24901
  }).catch(function (err) {
24886
- _this19.loading.close();
24902
+ _this20.loading.close();
24887
24903
  if (err.message && err.message !== 'canceled') {
24888
- _this19.$message.error(err.message);
24904
+ _this20.$message.error(err.message);
24889
24905
  }
24890
24906
  });
24891
24907
  },
@@ -24897,11 +24913,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24897
24913
  * @date 2022年9月29日
24898
24914
  **/
24899
24915
  toStartDraf: function toStartDraf(res) {
24900
- var _this20 = this;
24916
+ var _this21 = this;
24901
24917
 
24902
24918
  if (this.beforeSubmit != undefined) {
24903
24919
  this.beforeSubmit().then(function (next) {
24904
- _this20.showTaskUnionExamine = true;
24920
+ _this21.showTaskUnionExamine = true;
24905
24921
  }).catch(function (e) {});
24906
24922
  } else {
24907
24923
  this.showTaskUnionExamine = true;
@@ -24915,11 +24931,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24915
24931
  * @date 2022年9月29日
24916
24932
  **/
24917
24933
  toSendMsg: function toSendMsg(res) {
24918
- var _this21 = this;
24934
+ var _this22 = this;
24919
24935
 
24920
24936
  if (this.beforeSubmit != undefined) {
24921
24937
  this.beforeSubmit().then(function (next) {
24922
- _this21.showSendMsg = true;
24938
+ _this22.showSendMsg = true;
24923
24939
  }).catch(function (e) {});
24924
24940
  } else {
24925
24941
  this.showSendMsg = true;
@@ -24933,13 +24949,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24933
24949
  * @date 2022年9月29日
24934
24950
  **/
24935
24951
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
24936
- var _this22 = this;
24952
+ var _this23 = this;
24937
24953
 
24938
24954
  if (this.beforeSubmit != undefined) {
24939
24955
  this.beforeSubmit().then(function (next) {
24940
- if (_this22.value === '') _this22.value = _this22.nodeDefaultRejectOpinion;
24941
- _this22.taskReadType = 'taskReadAndEnd';
24942
- _this22.showTaskRead = true;
24956
+ if (_this23.value === '') _this23.value = _this23.nodeDefaultRejectOpinion;
24957
+ _this23.taskReadType = 'taskReadAndEnd';
24958
+ _this23.showTaskRead = true;
24943
24959
  }).catch(function (e) {});
24944
24960
  } else {
24945
24961
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -24955,21 +24971,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24955
24971
  * @date 2022年9月29日
24956
24972
  **/
24957
24973
  rejectAndEnd: function rejectAndEnd(res) {
24958
- var _this23 = this;
24974
+ var _this24 = this;
24959
24975
 
24960
24976
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
24961
24977
  if (!this.$refs.commonOpinions.validate()) return;
24962
24978
  }
24963
24979
  if (this.beforeSubmit != undefined) {
24964
24980
  this.beforeSubmit().then(function (next) {
24965
- _this23.saveRejectAndEnd(res);
24981
+ _this24.saveRejectAndEnd(res);
24966
24982
  }).catch(function (e) {});
24967
24983
  } else {
24968
24984
  this.saveRejectAndEnd(res);
24969
24985
  }
24970
24986
  },
24971
24987
  saveRejectAndEnd: function saveRejectAndEnd(res) {
24972
- var _this24 = this;
24988
+ var _this25 = this;
24973
24989
 
24974
24990
  this.$confirm('确认' + res.value + '?').then(function () {
24975
24991
  // return this.$message.warning('请填写意见');
@@ -24978,29 +24994,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24978
24994
  headers: { Accept: 'application/json,text/plain' },
24979
24995
  method: 'post',
24980
24996
  data: {
24981
- opinion: _this24.value,
24982
- pendingId: _this24.pendingId,
24997
+ opinion: _this25.value,
24998
+ pendingId: _this25.pendingId,
24983
24999
  isSinglePage: false
24984
25000
  }
24985
25001
  };
24986
- _this24.loading = util["a" /* default */].loading(_this24.$loading, '加载中...');
25002
+ _this25.loading = util["a" /* default */].loading(_this25.$loading, '加载中...');
24987
25003
  util["a" /* default */].ajax(params).then(function (res) {
24988
25004
  var status = res.status,
24989
25005
  message = res.message;
24990
25006
 
24991
- _this24.loading.close();
25007
+ _this25.loading.close();
24992
25008
  if (status === 'success') {
24993
- _this24.flowSuccess();
25009
+ _this25.flowSuccess();
24994
25010
  // this.$message.success('提交成功');
24995
25011
  // this.$emit('success');
24996
25012
  } else {
24997
- _this24.$message.error(message || '系统错误,请联系管理员!');
24998
- _this24.$emit('error');
25013
+ _this25.$message.error(message || '系统错误,请联系管理员!');
25014
+ _this25.$emit('error');
24999
25015
  }
25000
25016
  }).catch(function (err) {
25001
- _this24.loading.close();
25017
+ _this25.loading.close();
25002
25018
  if (err.message && err.message !== 'canceled') {
25003
- _this24.$message.error(err.message);
25019
+ _this25.$message.error(err.message);
25004
25020
  }
25005
25021
  });
25006
25022
  }).catch(function () {
@@ -25015,12 +25031,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25015
25031
  * @date 2022年9月29日
25016
25032
  **/
25017
25033
  toTransfer: function toTransfer(res) {
25018
- var _this25 = this;
25034
+ var _this26 = this;
25019
25035
 
25020
25036
  if (this.beforeSubmit != undefined) {
25021
25037
  this.beforeSubmit(0).then(function (next) {
25022
- _this25.taskReadType = 'transfer';
25023
- _this25.showTaskRead = true;
25038
+ _this26.taskReadType = 'transfer';
25039
+ _this26.showTaskRead = true;
25024
25040
  }).catch(function (e) {});
25025
25041
  } else {
25026
25042
  this.taskReadType = 'transfer';
@@ -25035,7 +25051,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25035
25051
  * @date 2022年5月25日
25036
25052
  **/
25037
25053
  getNodeInfo: function getNodeInfo() {
25038
- var _this26 = this;
25054
+ var _this27 = this;
25039
25055
 
25040
25056
  var params = {
25041
25057
  processDefinitionId: this.nodeInfo.nextNode,
@@ -25050,46 +25066,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25050
25066
  message = res.message,
25051
25067
  data = res.data;
25052
25068
 
25053
- _this26.loading.close();
25069
+ _this27.loading.close();
25054
25070
  if (status === 'success') {
25055
- _this26.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
25056
- _this26.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
25057
- data.otherOrgDisabledObjId && (_this26.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
25058
- data.currentOrgDisabledObjId && (_this26.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
25071
+ _this27.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
25072
+ _this27.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
25073
+ data.otherOrgDisabledObjId && (_this27.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
25074
+ data.currentOrgDisabledObjId && (_this27.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
25059
25075
  if (data != null) {
25060
25076
  if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
25061
- _this26.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
25077
+ _this27.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
25062
25078
  } else {
25063
- _this26.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this26.choiceOrgId, _this26.choiceDeptId, _this26.pOrgId);
25079
+ _this27.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this27.choiceOrgId, _this27.choiceDeptId, _this27.pOrgId);
25064
25080
  }
25065
- _this26.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
25066
- _this26.isTaskread = data.nodeExtAttr.isTaskread;
25067
- _this26.isHandleExplain = data.nodeExtAttr.isHandleExplain;
25068
- _this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
25069
- _this26.nodeType = data.nodeExtAttr.nodeType;
25081
+ _this27.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
25082
+ _this27.isTaskread = data.nodeExtAttr.isTaskread;
25083
+ _this27.isHandleExplain = data.nodeExtAttr.isHandleExplain;
25084
+ _this27.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
25085
+ _this27.nodeType = data.nodeExtAttr.nodeType;
25070
25086
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
25071
- if (_this26.nodeType === 1 || _this26.nodeType === 2) {
25072
- _this26.isMainSubProcess === true ? _this26.isNodeShowProcess = true : _this26.isNodeShowProcess = false;
25073
- _this26.isMainSubProcess === true ? _this26.isMainSubProcess = true : _this26.isMainSubProcess = false;
25074
- _this26.isNextUser = false;
25075
- _this26.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
25076
- _this26.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
25087
+ if (_this27.nodeType === 1 || _this27.nodeType === 2) {
25088
+ _this27.isMainSubProcess === true ? _this27.isNodeShowProcess = true : _this27.isNodeShowProcess = false;
25089
+ _this27.isMainSubProcess === true ? _this27.isMainSubProcess = true : _this27.isMainSubProcess = false;
25090
+ _this27.isNextUser = false;
25091
+ _this27.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
25092
+ _this27.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
25077
25093
  } else {
25078
- _this26.isHideCurrentOrg = false;
25079
- _this26.isHideOtherOrg = false;
25080
- _this26.isNodeShowProcess = false;
25081
- _this26.isMainSubProcess = false;
25082
- _this26.isNextUser = _this26.nextNode.nextOperate != 9;
25094
+ _this27.isHideCurrentOrg = false;
25095
+ _this27.isHideOtherOrg = false;
25096
+ _this27.isNodeShowProcess = false;
25097
+ _this27.isMainSubProcess = false;
25098
+ _this27.isNextUser = _this27.nextNode.nextOperate != 9;
25083
25099
  // this.isMainSubProcess === true
25084
25100
  // ? (this.isMainSubProcess = true)
25085
25101
  // : (this.isMainSubProcess = false);
25086
25102
  }
25087
- _this26.multiple ? _this26.nextNode.nextUserId = [] : _this26.nextNode.nextUserId = '';
25088
- if (_this26.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
25103
+ _this27.multiple ? _this27.nextNode.nextUserId = [] : _this27.nextNode.nextUserId = '';
25104
+ if (_this27.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
25089
25105
  data.nextUserList.map(function (item) {
25090
25106
  if (item.userId && item.username) {
25091
- _this26.nextNode.nextUserId.push(item.userId);
25092
- _this26.selectUserList.push({
25107
+ _this27.nextNode.nextUserId.push(item.userId);
25108
+ _this27.selectUserList.push({
25093
25109
  showname: item.username,
25094
25110
  showid: item.userId
25095
25111
  });
@@ -25098,40 +25114,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25098
25114
  }
25099
25115
  data.nextUserList.map(function (item) {
25100
25116
  if (item.userId && item.username) {
25101
- _this26.options.push({
25117
+ _this27.options.push({
25102
25118
  showname: item.username,
25103
25119
  showid: item.userId
25104
25120
  });
25105
25121
  }
25106
25122
  });
25107
25123
  if (data.nodeExtAttr.presetEdit != 0) {
25108
- _this26.radioList = _this26.options;
25124
+ _this27.radioList = _this27.options;
25109
25125
  }
25110
- if (!_this26.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
25111
- _this26.nextNode.nextUserId = data.nextUserList[0].userId;
25112
- _this26.selectUserList.push({
25126
+ if (!_this27.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
25127
+ _this27.nextNode.nextUserId = data.nextUserList[0].userId;
25128
+ _this27.selectUserList.push({
25113
25129
  showname: data.nextUserList[0].username,
25114
25130
  showid: data.nextUserList[0].userId
25115
25131
  });
25116
25132
  }
25117
- _this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
25118
- _this26.isCustomUser = data.nodeExtAttr.isCustomUser;
25119
- _this26.presetEdit = data.nodeExtAttr.presetEdit;
25120
- _this26.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
25121
- _this26.handleMode = data.countersignaturetypeText;
25133
+ _this27.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
25134
+ _this27.isCustomUser = data.nodeExtAttr.isCustomUser;
25135
+ _this27.presetEdit = data.nodeExtAttr.presetEdit;
25136
+ _this27.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
25137
+ _this27.handleMode = data.countersignaturetypeText;
25122
25138
  if (data.globalNodeType === 'endEvent') {
25123
- _this26.isNextUser = data.globalNodeType != 'endEvent';
25124
- data.globalNodeType === 'endEvent' ? _this26.endFlow = true : '';
25139
+ _this27.isNextUser = data.globalNodeType != 'endEvent';
25140
+ data.globalNodeType === 'endEvent' ? _this27.endFlow = true : '';
25125
25141
  }
25126
25142
  }
25127
- _this26.isCustomPreset && _this26.$refs.customPreset.getPresetFlowInfo(_this26.nextNode.nextNodeId, _this26.nodeInfo.nextNode, true);
25143
+ _this27.isCustomPreset && _this27.$refs.customPreset.getPresetFlowInfo(_this27.nextNode.nextNodeId, _this27.nodeInfo.nextNode, true);
25128
25144
  } else {
25129
- _this26.$message.error(message || '系统错误,请联系管理员!');
25145
+ _this27.$message.error(message || '系统错误,请联系管理员!');
25130
25146
  }
25131
25147
  }).catch(function (err) {
25132
- _this26.loading.close();
25148
+ _this27.loading.close();
25133
25149
  if (err.message && err.message !== 'canceled') {
25134
- _this26.$message.error(err.message);
25150
+ _this27.$message.error(err.message);
25135
25151
  }
25136
25152
  });
25137
25153
  },
@@ -25144,7 +25160,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25144
25160
  * @date 2022年5月25日
25145
25161
  **/
25146
25162
  selecNext: function selecNext(val, type, isDef) {
25147
- var _this27 = this;
25163
+ var _this28 = this;
25148
25164
 
25149
25165
  var isNextNode = false;
25150
25166
  if (type) {
@@ -25189,13 +25205,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25189
25205
  this.operationList.forEach(function (item) {
25190
25206
  if (item.key === val) {
25191
25207
  if (!item.taskNodeList) {
25192
- _this27.nodeInfos = [];
25208
+ _this28.nodeInfos = [];
25193
25209
  } else {
25194
- _this27.nodeInfos = item.taskNodeList;
25210
+ _this28.nodeInfos = item.taskNodeList;
25195
25211
 
25196
- if (_this27.taskOperationShiftedNodeList) {
25197
- _this27.nodeInfos = item.taskNodeList.filter(function (x) {
25198
- return _this27.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
25212
+ if (_this28.taskOperationShiftedNodeList) {
25213
+ _this28.nodeInfos = item.taskNodeList.filter(function (x) {
25214
+ return _this28.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
25199
25215
  });
25200
25216
  }
25201
25217
  }
@@ -25204,7 +25220,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25204
25220
  });
25205
25221
  if (this.defaultNextNode) {
25206
25222
  var defaultNode = this.nodeInfos.filter(function (item) {
25207
- return item.nodeId == _this27.defaultNextNode;
25223
+ return item.nodeId == _this28.defaultNextNode;
25208
25224
  });
25209
25225
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
25210
25226
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -25316,7 +25332,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25316
25332
  * @date 2022年5月25日
25317
25333
  **/
25318
25334
  getHedInfo: function getHedInfo() {
25319
- var _this28 = this;
25335
+ var _this29 = this;
25320
25336
 
25321
25337
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
25322
25338
  var params = {
@@ -25326,7 +25342,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25326
25342
  util["a" /* default */].ajax({ url: api["N" /* getHandleInfoHtml */], params: params }).then(function (res) {
25327
25343
  //pc返回数据
25328
25344
 
25329
- _this28.loading.close();
25345
+ _this29.loading.close();
25330
25346
  if (res.status === 'success') {
25331
25347
  var _res$data2 = res.data,
25332
25348
  nextNodeList = _res$data2.nextNodeList,
@@ -25364,14 +25380,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25364
25380
  isCanPreAddSign = _res$data2.isCanPreAddSign;
25365
25381
 
25366
25382
  if (simpleTips != undefined) {
25367
- _this28.simpleTips = simpleTips;
25383
+ _this29.simpleTips = simpleTips;
25368
25384
  }
25369
- _this28.$emit('startTaskRead', res);
25370
- _this28.$emit('start-task-read', res);
25385
+ _this29.$emit('startTaskRead', res);
25386
+ _this29.$emit('start-task-read', res);
25371
25387
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
25372
- _this28.taskOperationShiftedNodeList = [];
25388
+ _this29.taskOperationShiftedNodeList = [];
25373
25389
  taskOperationShiftedNodeList.map(function (x) {
25374
- _this28.taskOperationShiftedNodeList.push(x.nodeId);
25390
+ _this29.taskOperationShiftedNodeList.push(x.nodeId);
25375
25391
  taskOperations.push({
25376
25392
  key: x.nodeId,
25377
25393
  value: x.nodeName,
@@ -25380,144 +25396,144 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25380
25396
  });
25381
25397
  });
25382
25398
  }
25383
- _this28.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
25384
- _this28.pendingItemHandleDescription = pendingItemHandleDescription;
25399
+ _this29.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
25400
+ _this29.pendingItemHandleDescription = pendingItemHandleDescription;
25385
25401
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
25386
- _this28.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
25402
+ _this29.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
25387
25403
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
25388
- _this28.currentOrgSelectorTabs.map(function (x, i) {
25389
- _this28.currentOrgSelectorParams[x] = {
25404
+ _this29.currentOrgSelectorTabs.map(function (x, i) {
25405
+ _this29.currentOrgSelectorParams[x] = {
25390
25406
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i]
25391
25407
  };
25392
25408
  });
25393
25409
  }
25394
25410
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
25395
- _this28.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
25411
+ _this29.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
25396
25412
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
25397
- _this28.foreignOrgSelectorTabs.map(function (x, i) {
25398
- _this28.foreignOrgSelectorParams[x] = {
25413
+ _this29.foreignOrgSelectorTabs.map(function (x, i) {
25414
+ _this29.foreignOrgSelectorParams[x] = {
25399
25415
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : foreignOrgparams[i],
25400
25416
  nofilid: foreignOrgparams[i] == 'other' ? 1 : 0
25401
25417
  };
25402
25418
  });
25403
25419
  }
25404
- _this28.circularReadParamsMap = circularReadParamsMap || {};
25405
- if (_this28.circularReadParamsMap.circularReadOrgRoleCode) {
25406
- _this28.foreignOrgSelectorParams.roleid = _this28.circularReadParamsMap.circularReadOrgRoleCode;
25420
+ _this29.circularReadParamsMap = circularReadParamsMap || {};
25421
+ if (_this29.circularReadParamsMap.circularReadOrgRoleCode) {
25422
+ _this29.foreignOrgSelectorParams.roleid = _this29.circularReadParamsMap.circularReadOrgRoleCode;
25407
25423
  }
25408
- _this28.currentOrgName = currentOrgName;
25409
- _this28.nextOperateCheckType = nextOperateCheckType;
25410
- _this28.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
25411
-
25412
- _this28.readOnlyNotificationType = readOnlyNotificationType;
25413
- _this28.isSpecial = isSpecial;
25414
- _this28.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
25415
- _this28.otherOrgName = otherOrgName;
25416
- _this28.isCanPreAddSign = isCanPreAddSign;
25417
- _this28.endFlowInfo.choiceOrgId = choiceOrgId;
25418
- _this28.endFlowInfo.choiceDeptId = choiceDeptId;
25419
- _this28.endFlowInfo.pendingId = _this28.pendingId;
25420
- _this28.attachedCode = attachedCode;
25421
- _this28.endFlowInfo.pOrgId = pOrgId;
25422
- _this28.canPresetRead = canPresetRead;
25423
- _this28.isCdjxjTaskHandle = isCdjxjTaskHandle;
25424
- nextNodeCheckType && (_this28.nextNodeCheckType = nextNodeCheckType);
25425
- _this28.operationList = taskOperations || [];
25426
- _this28.customPresetHintMessage = customPresetHintMessage;
25424
+ _this29.currentOrgName = currentOrgName;
25425
+ _this29.nextOperateCheckType = nextOperateCheckType;
25426
+ _this29.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
25427
+
25428
+ _this29.readOnlyNotificationType = readOnlyNotificationType;
25429
+ _this29.isSpecial = isSpecial;
25430
+ _this29.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
25431
+ _this29.otherOrgName = otherOrgName;
25432
+ _this29.isCanPreAddSign = isCanPreAddSign;
25433
+ _this29.endFlowInfo.choiceOrgId = choiceOrgId;
25434
+ _this29.endFlowInfo.choiceDeptId = choiceDeptId;
25435
+ _this29.endFlowInfo.pendingId = _this29.pendingId;
25436
+ _this29.attachedCode = attachedCode;
25437
+ _this29.endFlowInfo.pOrgId = pOrgId;
25438
+ _this29.canPresetRead = canPresetRead;
25439
+ _this29.isCdjxjTaskHandle = isCdjxjTaskHandle;
25440
+ nextNodeCheckType && (_this29.nextNodeCheckType = nextNodeCheckType);
25441
+ _this29.operationList = taskOperations || [];
25442
+ _this29.customPresetHintMessage = customPresetHintMessage;
25427
25443
  if (canPresetRead) {
25428
25444
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
25429
25445
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
25430
25446
  ids.map(function (item, index) {
25431
- _this28.presetReadUserId.push({
25447
+ _this29.presetReadUserId.push({
25432
25448
  showid: item,
25433
25449
  showname: names[index]
25434
25450
  });
25435
- _this28.selectPresetUserList.push({
25451
+ _this29.selectPresetUserList.push({
25436
25452
  showid: item,
25437
25453
  showname: names[index]
25438
25454
  });
25439
- _this28.nextNode.presetReadUserId.push(item);
25455
+ _this29.nextNode.presetReadUserId.push(item);
25440
25456
  });
25441
25457
  }
25442
- if (!_this28.isFlow) _this28.getFile(_this28.pendingId, attachedCode);
25458
+ if (!_this29.isFlow) _this29.getFile(_this29.pendingId, attachedCode);
25443
25459
  if (nextNodeList && nextNodeList.length != 0) {
25444
- _this28.nextNodeList = nextNodeList;
25460
+ _this29.nextNodeList = nextNodeList;
25445
25461
  }
25446
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this28.removeUsers = canRemoveSignUserList;
25462
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this29.removeUsers = canRemoveSignUserList;
25447
25463
  if (taskOperations && taskOperations.length != 0) {
25448
25464
  var isSelected = false;
25449
25465
  taskOperations.map(function (item) {
25450
- if (item.key === 9) _this28.isReject = true;
25466
+ if (item.key === 9) _this29.isReject = true;
25451
25467
  if (item.isSelected) {
25452
- _this28.nodeInfos = [];
25453
- _this28.nextNode.nextOperate = item.key;
25468
+ _this29.nodeInfos = [];
25469
+ _this29.nextNode.nextOperate = item.key;
25454
25470
  if (item.taskNodeList != null) {
25455
- _this28.nodeInfos = item.taskNodeList;
25471
+ _this29.nodeInfos = item.taskNodeList;
25456
25472
  }
25457
25473
  isSelected = true;
25458
25474
  }
25459
25475
  });
25460
25476
  if (taskOperations.length > 0 && !isSelected) {
25461
- _this28.nodeInfos = [];
25462
- _this28.nextNode.nextOperate = taskOperations[0].key;
25477
+ _this29.nodeInfos = [];
25478
+ _this29.nextNode.nextOperate = taskOperations[0].key;
25463
25479
  if (taskOperations[0].taskNodeList != null) {
25464
- _this28.nodeInfos = taskOperations[0].taskNodeList;
25480
+ _this29.nodeInfos = taskOperations[0].taskNodeList;
25465
25481
  }
25466
25482
  }
25467
25483
  }
25468
25484
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
25469
- _this28.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
25485
+ _this29.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
25470
25486
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
25471
25487
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
25472
25488
  notice.map(function (x) {
25473
- _this28.nodeFixedOpinionSelectList.push({ content: x });
25489
+ _this29.nodeFixedOpinionSelectList.push({ content: x });
25474
25490
  });
25475
25491
  }
25476
- _this28.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
25477
- _this28.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
25478
- _this28.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
25479
- _this28.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
25480
- _this28.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
25481
- _this28.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
25492
+ _this29.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
25493
+ _this29.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
25494
+ _this29.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
25495
+ _this29.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
25496
+ _this29.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
25497
+ _this29.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
25482
25498
  // this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
25483
- _this28.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
25499
+ _this29.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
25484
25500
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
25485
- var defaultNode = _this28.nodeInfos.filter(function (item) {
25501
+ var defaultNode = _this29.nodeInfos.filter(function (item) {
25486
25502
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
25487
25503
  });
25488
- if (_this28.nodeInfos.length > 0 && defaultNode.length == 0) {
25489
- _this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
25504
+ if (_this29.nodeInfos.length > 0 && defaultNode.length == 0) {
25505
+ _this29.nextNode.nextNodeId = _this29.nodeInfos[0].nodeId;
25490
25506
  } else {
25491
- _this28.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
25507
+ _this29.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
25492
25508
  }
25493
- } else if (_this28.nodeInfos.length > 0) {
25494
- _this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
25509
+ } else if (_this29.nodeInfos.length > 0) {
25510
+ _this29.nextNode.nextNodeId = _this29.nodeInfos[0].nodeId;
25495
25511
  }
25496
- _this28.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
25512
+ _this29.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
25497
25513
  if (nodeInfoMap.nodeExtAttr.submitText) {
25498
- _this28.btnList.map(function (x) {
25514
+ _this29.btnList.map(function (x) {
25499
25515
  if (x.event === 'sub') {
25500
25516
  x.text = nodeInfoMap.nodeExtAttr.submitText;
25501
25517
  }
25502
25518
  });
25503
25519
  }
25504
25520
  }
25505
- _this28.choiceOrgId = choiceOrgId;
25506
- _this28.choiceDeptId = choiceDeptId;
25507
- _this28.pOrgId = pOrgId;
25521
+ _this29.choiceOrgId = choiceOrgId;
25522
+ _this29.choiceDeptId = choiceDeptId;
25523
+ _this29.pOrgId = pOrgId;
25508
25524
  if (res.data && res.data.isEndUserTask != undefined) {
25509
- _this28.isEndUserTask = res.data.isEndUserTask;
25525
+ _this29.isEndUserTask = res.data.isEndUserTask;
25510
25526
  }
25511
25527
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
25512
- _this28.nodeInfo.nextNode = taskExamine.processDefinitionId;
25513
- _this28.NodeName = taskExamine.nodeName;
25514
- _this28.taskId = taskExamine.taskId;
25515
- _this28.businessIds = taskExamine.businessId;
25516
- _this28.appId = taskExamine.appId;
25517
- _this28.taskExamineInfo = taskExamine;
25518
- _this28.taskExamineInfo.choiceOrgId = choiceOrgId;
25519
- _this28.taskExamineInfo.choiceDeptId = choiceDeptId;
25520
- _this28.endFlowInfo.processType = taskExamine.processType;
25528
+ _this29.nodeInfo.nextNode = taskExamine.processDefinitionId;
25529
+ _this29.NodeName = taskExamine.nodeName;
25530
+ _this29.taskId = taskExamine.taskId;
25531
+ _this29.businessIds = taskExamine.businessId;
25532
+ _this29.appId = taskExamine.appId;
25533
+ _this29.taskExamineInfo = taskExamine;
25534
+ _this29.taskExamineInfo.choiceOrgId = choiceOrgId;
25535
+ _this29.taskExamineInfo.choiceDeptId = choiceDeptId;
25536
+ _this29.endFlowInfo.processType = taskExamine.processType;
25521
25537
  // this.endFlowInfo.isReturnSubmitter =
25522
25538
  // taskExamine.isReturnSubmitter;
25523
25539
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -25529,74 +25545,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25529
25545
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
25530
25546
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
25531
25547
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
25532
- _this28.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
25533
- _this28.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
25534
- _this28.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
25535
- _this28.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
25536
- _this28.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
25537
- _this28.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
25538
- _this28.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
25539
- _this28.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
25540
- _this28.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
25548
+ _this29.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
25549
+ _this29.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
25550
+ _this29.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
25551
+ _this29.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
25552
+ _this29.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
25553
+ _this29.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
25554
+ _this29.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
25555
+ _this29.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
25556
+ _this29.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
25541
25557
  // this.endFlowInfo.isReadDealReply =
25542
25558
  // taskExamine.isReadDealReplybusinessId;
25543
- _this28.endFlowInfo.appId = taskExamine.appId;
25544
- _this28.endFlowInfo.businessId = taskExamine.businessId;
25545
- _this28.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
25546
- _this28.endFlowInfo.nodeId = taskExamine.nodeId;
25559
+ _this29.endFlowInfo.appId = taskExamine.appId;
25560
+ _this29.endFlowInfo.businessId = taskExamine.businessId;
25561
+ _this29.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
25562
+ _this29.endFlowInfo.nodeId = taskExamine.nodeId;
25547
25563
  }
25548
- if (_this28.nodeName) {
25549
- _this28.NodeName = _this28.nodeName;
25564
+ if (_this29.nodeName) {
25565
+ _this29.NodeName = _this29.nodeName;
25550
25566
  }
25551
- _this28.isCanAddSign = isCanAddSign;
25552
- _this28.processObj = res.data;
25553
- if (_this28.isCanAddSign) {
25554
- _this28.nextNode.isAddSign = '2';
25567
+ _this29.isCanAddSign = isCanAddSign;
25568
+ _this29.processObj = res.data;
25569
+ if (_this29.isCanAddSign) {
25570
+ _this29.nextNode.isAddSign = '2';
25555
25571
  }
25556
- _this28.isCanRemoveSign = isCanRemoveSign;
25557
- if (_this28.isCanRemoveSign) {
25558
- _this28.nextNode.isRemoveSign = '2';
25572
+ _this29.isCanRemoveSign = isCanRemoveSign;
25573
+ if (_this29.isCanRemoveSign) {
25574
+ _this29.nextNode.isRemoveSign = '2';
25559
25575
  }
25560
25576
 
25561
- if (!_this28.isOpinionRequired) {
25562
- _this28.isOpinionRequired = 0;
25577
+ if (!_this29.isOpinionRequired) {
25578
+ _this29.isOpinionRequired = 0;
25563
25579
  }
25564
25580
  // opinion && (this.value = opinion);
25565
- _this28.nextNode.notificationMsg = defaultNotificationMessage;
25566
- _this28.moreList = [];
25581
+ _this29.nextNode.notificationMsg = defaultNotificationMessage;
25582
+ _this29.moreList = [];
25567
25583
  if (taskButtonList && taskButtonList.length != 0) {
25568
25584
  taskButtonList.map(function (item) {
25569
25585
  if (item.fun === 'reject()') {
25570
- _this28.rejectObj = item;
25586
+ _this29.rejectObj = item;
25571
25587
  } else if (item.fun === 'toStartTaskRead()') {
25572
- _this28.pointsReadingObj = item;
25588
+ _this29.pointsReadingObj = item;
25573
25589
  } else {
25574
- _this28.moreList.push(item);
25590
+ _this29.moreList.push(item);
25575
25591
  }
25576
25592
  });
25577
25593
  }
25578
- _this28.isMainSubProcess = res.data.isMainSubProcess == 'true';
25579
- _this28.isCustomPreset = isCustomPreset;
25580
- _this28.isPreset = isPreset;
25581
- _this28.presetTaskNodeMap = presetTaskNodeMap;
25582
- _this28.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
25583
- _this28.getFind();
25584
- _this28.selecNext(_this28.nextNode.nextOperate, true, true);
25594
+ _this29.isMainSubProcess = res.data.isMainSubProcess == 'true';
25595
+ _this29.isCustomPreset = isCustomPreset;
25596
+ _this29.isPreset = isPreset;
25597
+ _this29.presetTaskNodeMap = presetTaskNodeMap;
25598
+ _this29.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
25599
+ _this29.getFind();
25600
+ _this29.selecNext(_this29.nextNode.nextOperate, true, true);
25585
25601
  // this.getNodeInfo();
25586
- _this28.StartTaskReadKey++;
25602
+ _this29.StartTaskReadKey++;
25587
25603
  } else {
25588
25604
  if (res.status === 'taskCompleted') {
25589
- _this28.$emit('shrink', true);
25590
- _this28.shrinkAbled = true;
25591
- _this28.$message.warning(res.message || '系统错误,请联系管理员!');
25605
+ _this29.$emit('shrink', true);
25606
+ _this29.shrinkAbled = true;
25607
+ _this29.$message.warning(res.message || '系统错误,请联系管理员!');
25592
25608
  } else {
25593
- _this28.$message.error(res.message || '系统错误,请联系管理员!');
25609
+ _this29.$message.error(res.message || '系统错误,请联系管理员!');
25594
25610
  }
25595
25611
  }
25596
25612
  }).catch(function (err) {
25597
- _this28.loading.close();
25613
+ _this29.loading.close();
25598
25614
  if (err.message && err.message !== 'canceled') {
25599
- _this28.$message.error(err.message);
25615
+ _this29.$message.error(err.message);
25600
25616
  }
25601
25617
  });
25602
25618
  },
@@ -25658,7 +25674,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25658
25674
  * @date 2022年5月25日
25659
25675
  **/
25660
25676
  getProcess: function getProcess(val) {
25661
- var _this29 = this;
25677
+ var _this30 = this;
25662
25678
 
25663
25679
  var params = mainvue_type_script_lang_js_extends({
25664
25680
  businessId: this.businessId,
@@ -25673,44 +25689,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25673
25689
  message = res.message,
25674
25690
  data = res.data;
25675
25691
 
25676
- _this29.loading.close();
25692
+ _this30.loading.close();
25677
25693
  if (status === 'success') {
25678
25694
  if (data.simpleTips != undefined) {
25679
- _this29.simpleTips = data.simpleTips;
25695
+ _this30.simpleTips = data.simpleTips;
25680
25696
  }
25681
- _this29.isStartFlowChartView = data.isStartFlowChartView;
25697
+ _this30.isStartFlowChartView = data.isStartFlowChartView;
25682
25698
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
25683
- _this29.$message.error('流程不存在或未关联对应流程!');
25699
+ _this30.$message.error('流程不存在或未关联对应流程!');
25684
25700
  } else {
25685
- _this29.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
25701
+ _this30.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
25686
25702
 
25687
- _this29.nodeInfo.option = data.definitionList;
25688
- _this29.nodeInfo.nextNode = data.definitionList.filter(function (item) {
25689
- return item.processDefKey == _this29.defaultProcessKey;
25703
+ _this30.nodeInfo.option = data.definitionList;
25704
+ _this30.nodeInfo.nextNode = data.definitionList.filter(function (item) {
25705
+ return item.processDefKey == _this30.defaultProcessKey;
25690
25706
  });
25691
- if (_this29.nodeInfo.nextNode.length) {
25692
- _this29.nodeInfo.nextNode = _this29.nodeInfo.nextNode[0].processDefId;
25707
+ if (_this30.nodeInfo.nextNode.length) {
25708
+ _this30.nodeInfo.nextNode = _this30.nodeInfo.nextNode[0].processDefId;
25693
25709
  } else {
25694
25710
  if (data.definitionList.length != 0) {
25695
- _this29.nodeInfo.nextNode = data.definitionList[0].processDefId;
25711
+ _this30.nodeInfo.nextNode = data.definitionList[0].processDefId;
25696
25712
  } else {
25697
- _this29.nodeInfo.nextNode = '';
25713
+ _this30.nodeInfo.nextNode = '';
25698
25714
  }
25699
25715
  }
25700
- if (_this29.nodeInfo.nextNode) {
25701
- _this29.handleChange(_this29.nodeInfo.nextNode);
25716
+ if (_this30.nodeInfo.nextNode) {
25717
+ _this30.handleChange(_this30.nodeInfo.nextNode);
25702
25718
  }
25703
- if (_this29.showCirculate != undefined && !_this29.showCirculate && _this29.urgencyLevel) {
25704
- _this29.getAdminMsgType();
25719
+ if (_this30.showCirculate != undefined && !_this30.showCirculate && _this30.urgencyLevel) {
25720
+ _this30.getAdminMsgType();
25705
25721
  }
25706
25722
  }
25707
25723
  } else {
25708
- _this29.$message.error(message || '系统错误,请联系管理员!');
25724
+ _this30.$message.error(message || '系统错误,请联系管理员!');
25709
25725
  }
25710
25726
  }).catch(function (err) {
25711
- _this29.loading.close();
25727
+ _this30.loading.close();
25712
25728
  if (err.message && err.message !== 'canceled') {
25713
- _this29.$message.error(err.message);
25729
+ _this30.$message.error(err.message);
25714
25730
  }
25715
25731
  });
25716
25732
  },
@@ -25722,7 +25738,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25722
25738
  * @date 2022年5月25日
25723
25739
  **/
25724
25740
  getPendedhistoryList: function getPendedhistoryList() {
25725
- var _this30 = this;
25741
+ var _this31 = this;
25726
25742
 
25727
25743
  var params = {
25728
25744
  apprecordId: this.businessIds,
@@ -25735,22 +25751,22 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25735
25751
  results = res.results;
25736
25752
 
25737
25753
  if (!rCode) {
25738
- _this30.nextNode.nextUserId = [];
25739
- _this30.showNews = false;
25740
- _this30.nextNode.notificationType = [];
25741
- _this30.pendingId = results[results.length - 1].attachId;
25742
- _this30.getHedInfo();
25754
+ _this31.nextNode.nextUserId = [];
25755
+ _this31.showNews = false;
25756
+ _this31.nextNode.notificationType = [];
25757
+ _this31.pendingId = results[results.length - 1].attachId;
25758
+ _this31.getHedInfo();
25743
25759
  } else {
25744
- _this30.$message.error(msg || '系统错误,请联系管理员!');
25760
+ _this31.$message.error(msg || '系统错误,请联系管理员!');
25745
25761
  }
25746
25762
  }).catch(function (err) {
25747
25763
  if (err.message && err.message !== 'canceled') {
25748
- _this30.$message.error(err.message);
25764
+ _this31.$message.error(err.message);
25749
25765
  }
25750
25766
  });
25751
25767
  },
25752
25768
  reqCircularRead: function reqCircularRead(type) {
25753
- var _this31 = this;
25769
+ var _this32 = this;
25754
25770
 
25755
25771
  var _that = this;
25756
25772
  var params = {
@@ -25764,7 +25780,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25764
25780
  };
25765
25781
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
25766
25782
  util["a" /* default */].ajax(params).then(function (res) {
25767
- _this31.loading.close();
25783
+ _this32.loading.close();
25768
25784
  if (res.rCode == 0) {
25769
25785
  if (res.results.alert) {
25770
25786
  _that.$confirm(res.results.message, {
@@ -25795,20 +25811,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25795
25811
  * @date 2022年5月25日
25796
25812
  **/
25797
25813
  subProcess: function subProcess(val, type) {
25798
- var _this32 = this;
25814
+ var _this33 = this;
25799
25815
 
25800
25816
  return this.$refs['nextNode'].validate(function (valid) {
25801
25817
  if (valid) {
25802
- if (_this32.isSubmitButtonShowAgreeAndDisagree == 1) {
25803
- _this32.value = _this32.value.replace(RegExp('不同意。', 'g'), '');
25804
- _this32.value = _this32.value.replace(RegExp('同意。', 'g'), '');
25805
- _this32.value = val + _this32.value;
25818
+ if (_this33.isSubmitButtonShowAgreeAndDisagree == 1) {
25819
+ _this33.value = _this33.value.replace(RegExp('不同意。', 'g'), '');
25820
+ _this33.value = _this33.value.replace(RegExp('同意。', 'g'), '');
25821
+ _this33.value = val + _this33.value;
25806
25822
  }
25807
- if (!_this32.validInfo()) {
25808
- _this32.freeValid = false;
25823
+ if (!_this33.validInfo()) {
25824
+ _this33.freeValid = false;
25809
25825
  return;
25810
25826
  } else {
25811
- _this32.freeValid = true;
25827
+ _this33.freeValid = true;
25812
25828
  }
25813
25829
  // if (
25814
25830
  // this.currentNodeIsCircularReadNode &&
@@ -25818,14 +25834,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25818
25834
  // return;
25819
25835
  // }
25820
25836
  if (type == 'multiInsMidwayWithSubmitScene') {
25821
- _this32.sendData(type);
25837
+ _this33.sendData(type);
25822
25838
  return;
25823
25839
  }
25824
- if (_this32.beforeSubmit == undefined) {
25825
- _this32.subFun(_this32.sendData);
25840
+ if (_this33.beforeSubmit == undefined) {
25841
+ _this33.subFun(_this33.sendData);
25826
25842
  } else {
25827
- _this32.beforeSubmit(1).then(function (next) {
25828
- _this32.sendData();
25843
+ _this33.beforeSubmit(1).then(function (next) {
25844
+ _this33.sendData();
25829
25845
  }).catch(function (e) {});
25830
25846
  }
25831
25847
  }
@@ -25870,14 +25886,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25870
25886
  return true;
25871
25887
  },
25872
25888
  flowSuccess: function flowSuccess(hideMessage) {
25873
- var _this33 = this;
25889
+ var _this34 = this;
25874
25890
 
25875
25891
  if (!this.simpleTips) {
25876
25892
  this.$alert('提交成功', '', {
25877
25893
  confirmButtonText: '确定',
25878
25894
  type: 'success',
25879
25895
  callback: function callback(action) {
25880
- _this33.$emit('success');
25896
+ _this34.$emit('success');
25881
25897
  }
25882
25898
  });
25883
25899
  } else {
@@ -25888,7 +25904,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25888
25904
  }
25889
25905
  },
25890
25906
  sendData: function sendData(freetype) {
25891
- var _this34 = this;
25907
+ var _this35 = this;
25892
25908
 
25893
25909
  if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
25894
25910
  if (this.directCreateCircularReadWhenFlowStarted) {
@@ -25910,58 +25926,58 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25910
25926
  break;
25911
25927
  }
25912
25928
 
25913
- if (!_this34.isFlow) {
25929
+ if (!_this35.isFlow) {
25914
25930
  _context.next = 4;
25915
25931
  break;
25916
25932
  }
25917
25933
 
25918
- if (_this34.directCreateCircularReadWhenFlowStarted) {
25919
- _this34.circulateVisible = true;
25934
+ if (_this35.directCreateCircularReadWhenFlowStarted) {
25935
+ _this35.circulateVisible = true;
25920
25936
  } else {
25921
- _this34.handleVisible = true;
25937
+ _this35.handleVisible = true;
25922
25938
  }
25923
25939
  return _context.abrupt('return');
25924
25940
 
25925
25941
  case 4:
25926
25942
  nextUserId = [];
25927
25943
 
25928
- if (_this34.multiple) {
25929
- _this34.nextNode.nextUserId && _this34.nextNode.nextUserId.map(function (item) {
25944
+ if (_this35.multiple) {
25945
+ _this35.nextNode.nextUserId && _this35.nextNode.nextUserId.map(function (item) {
25930
25946
  return nextUserId.push(item);
25931
25947
  });
25932
25948
  }
25933
25949
  addSignUserId = [];
25934
25950
 
25935
- if (_this34.isCanAddSign && _this34.nextNode.isAddSign == '1') {
25936
- _this34.nextNode.addSignUserId.map(function (item) {
25951
+ if (_this35.isCanAddSign && _this35.nextNode.isAddSign == '1') {
25952
+ _this35.nextNode.addSignUserId.map(function (item) {
25937
25953
  addSignUserId.push(item);
25938
25954
  });
25939
25955
  }
25940
25956
  removeSignUserId = [];
25941
25957
 
25942
- if (_this34.isCanRemoveSign && _this34.nextNode.isRemoveSign == '1') {
25943
- _this34.nextNode.removeSignUserId.map(function (item) {
25958
+ if (_this35.isCanRemoveSign && _this35.nextNode.isRemoveSign == '1') {
25959
+ _this35.nextNode.removeSignUserId.map(function (item) {
25944
25960
  removeSignUserId.push(item);
25945
25961
  });
25946
25962
  }
25947
25963
  str = '';
25948
25964
 
25949
- if (_this34.value) {
25950
- str = _this34.value.replace(/\s+/g, '');
25965
+ if (_this35.value) {
25966
+ str = _this35.value.replace(/\s+/g, '');
25951
25967
  }
25952
- if ((!_this34.value || str === '') && _this34.nodeDefaultSubmitOpinion) {
25953
- _this34.value = _this34.nodeDefaultSubmitOpinion;
25968
+ if ((!_this35.value || str === '') && _this35.nodeDefaultSubmitOpinion) {
25969
+ _this35.value = _this35.nodeDefaultSubmitOpinion;
25954
25970
  }
25955
- if (!_this34.isSpecial) {
25956
- delete _this34.nextNode.nextOperate;
25957
- delete _this34.nextNode.nextNodeId;
25971
+ if (!_this35.isSpecial) {
25972
+ delete _this35.nextNode.nextOperate;
25973
+ delete _this35.nextNode.nextNodeId;
25958
25974
  }
25959
- if (_this34.nextNode.nextOperate === 9 || _this34.oldNextOperate == 9) {
25960
- _this34.nextNode.isReturnRejectNode = 1;
25961
- _this34.nextNode.processDefinitionId = _this34.processObj.taskExamine.processDefinitionId;
25975
+ if (_this35.nextNode.nextOperate === 9 || _this35.oldNextOperate == 9) {
25976
+ _this35.nextNode.isReturnRejectNode = 1;
25977
+ _this35.nextNode.processDefinitionId = _this35.processObj.taskExamine.processDefinitionId;
25962
25978
  }
25963
- if (_this34.nextNode.nextOperate != 0 && _this34.nextNode.nextOperate != 1 && _this34.oldNextOperate === '' || _this34.oldNextOperate !== '' && _this34.oldNextOperate != 0 && _this34.oldNextOperate != 1) {
25964
- delete _this34.nextNode.nextNodeId;
25979
+ if (_this35.nextNode.nextOperate != 0 && _this35.nextNode.nextOperate != 1 && _this35.oldNextOperate === '' || _this35.oldNextOperate !== '' && _this35.oldNextOperate != 0 && _this35.oldNextOperate != 1) {
25980
+ delete _this35.nextNode.nextNodeId;
25965
25981
  }
25966
25982
 
25967
25983
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
@@ -25970,45 +25986,45 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25970
25986
  }
25971
25987
 
25972
25988
  _context.next = 19;
25973
- return _this34.saveInfo('subMit');
25989
+ return _this35.saveInfo('subMit');
25974
25990
 
25975
25991
  case 19:
25976
- _this34.loading = util["a" /* default */].loading(_this34.$loading, '加载中...');
25992
+ _this35.loading = util["a" /* default */].loading(_this35.$loading, '加载中...');
25977
25993
 
25978
25994
  case 20:
25979
25995
  notificationType = '';
25980
25996
 
25981
- notificationType = _this34.nextNode.notificationType.join(',');
25997
+ notificationType = _this35.nextNode.notificationType.join(',');
25982
25998
  addSignUserId = addSignUserId.join(',');
25983
25999
  removeSignUserId = removeSignUserId.join(',');
25984
- if (!_this34.isCanPreAddSign || _this34.nextNode.isAddSign != '1') {
25985
- delete _this34.nextNode.addSignMode;
26000
+ if (!_this35.isCanPreAddSign || _this35.nextNode.isAddSign != '1') {
26001
+ delete _this35.nextNode.addSignMode;
25986
26002
  }
25987
26003
 
25988
- params = mainvue_type_script_lang_js_extends({}, _this34.nextNode, {
25989
- nextOperate: _this34.oldNextOperate !== '' ? _this34.oldNextOperate : _this34.nextNode.nextOperate,
25990
- pendingId: _this34.pendingId,
25991
- opinion: _this34.isForceDisplayDefaultOptionForPrefix && !_this34.value.startsWith(_this34.nodeDefaultSubmitOpinion) ? _this34.nodeDefaultSubmitOpinion + _this34.value : _this34.value,
26004
+ params = mainvue_type_script_lang_js_extends({}, _this35.nextNode, {
26005
+ nextOperate: _this35.oldNextOperate !== '' ? _this35.oldNextOperate : _this35.nextNode.nextOperate,
26006
+ pendingId: _this35.pendingId,
26007
+ opinion: _this35.isForceDisplayDefaultOptionForPrefix && !_this35.value.startsWith(_this35.nodeDefaultSubmitOpinion) ? _this35.nodeDefaultSubmitOpinion + _this35.value : _this35.value,
25992
26008
  userId: util["a" /* default */].getStorage('userId'),
25993
- nextUserId: _this34.multiple ? nextUserId.join(',') : _this34.nextNode.nextUserId,
26009
+ nextUserId: _this35.multiple ? nextUserId.join(',') : _this35.nextNode.nextUserId,
25994
26010
  addSignUserId: addSignUserId,
25995
- customPresetUserJson: JSON.stringify(_this34.presetList),
25996
- presetUserJson: JSON.stringify(_this34.presetUserJson),
26011
+ customPresetUserJson: JSON.stringify(_this35.presetList),
26012
+ presetUserJson: JSON.stringify(_this35.presetUserJson),
25997
26013
  removeSignUserId: removeSignUserId,
25998
- nextReadUserId: _this34.readMultiple ? _this34.mixReadList && _this34.mixReadList.join('|') : _this34.nextNode.nextReadUserId,
25999
- nextOrgId: !_this34.isShowNextUser ? _this34.multiple ? _this34.mixOrgIdList && _this34.mixOrgIdList.join('|') : _this34.nextNode.nextOrgId : '',
26000
- presetReadUserId: _this34.mixPresetList && _this34.mixPresetList.length > 0 ? _this34.mixPresetList.join('|') : _this34.nextNode.presetReadUserId.join(','),
26014
+ nextReadUserId: _this35.readMultiple ? _this35.mixReadList && _this35.mixReadList.join('|') : _this35.nextNode.nextReadUserId,
26015
+ nextOrgId: !_this35.isShowNextUser ? _this35.multiple ? _this35.mixOrgIdList && _this35.mixOrgIdList.join('|') : _this35.nextNode.nextOrgId : '',
26016
+ presetReadUserId: _this35.mixPresetList && _this35.mixPresetList.length > 0 ? _this35.mixPresetList.join('|') : _this35.nextNode.presetReadUserId.join(','),
26001
26017
  notificationType: notificationType
26002
26018
  });
26003
26019
 
26004
- if (_this34.activeNames != '1') delete params.customPresetUserJson;
26005
- if (_this34.nextNode.isRemoveSign != '1') {
26020
+ if (_this35.activeNames != '1') delete params.customPresetUserJson;
26021
+ if (_this35.nextNode.isRemoveSign != '1') {
26006
26022
  delete params.removeSignUserId;
26007
26023
  }
26008
- if (_this34.nextNode.isAddSign != '1') {
26024
+ if (_this35.nextNode.isAddSign != '1') {
26009
26025
  delete params.addSignUserId;
26010
26026
  }
26011
- if (!_this34.isSpecial) {
26027
+ if (!_this35.isSpecial) {
26012
26028
  delete params.nextUserId;
26013
26029
  }
26014
26030
 
@@ -26017,13 +26033,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26017
26033
  break;
26018
26034
  }
26019
26035
 
26020
- params.isSubFlow = _this34.taskExamineInfo.isSubFlow;
26021
- _this34.taskParams = params;
26036
+ params.isSubFlow = _this35.taskExamineInfo.isSubFlow;
26037
+ _this35.taskParams = params;
26022
26038
  return _context.abrupt('return');
26023
26039
 
26024
26040
  case 34:
26025
- _this34.loading = util["a" /* default */].loading(_this34.$loading, '提交中...');
26026
- isEndUserTask = _this34.isEndUserTask, choiceOrgId = _this34.choiceOrgId, choiceDeptId = _this34.choiceDeptId, pOrgId = _this34.pOrgId, taskExamineInfo = _this34.taskExamineInfo, currentNodeIsCircularReadNode = _this34.currentNodeIsCircularReadNode, needRetrialAuth = _this34.needRetrialAuth, circularReadParamsMap = _this34.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this34.currentNodeEnableItemHandleDescription;
26041
+ _this35.loading = util["a" /* default */].loading(_this35.$loading, '提交中...');
26042
+ isEndUserTask = _this35.isEndUserTask, choiceOrgId = _this35.choiceOrgId, choiceDeptId = _this35.choiceDeptId, pOrgId = _this35.pOrgId, taskExamineInfo = _this35.taskExamineInfo, currentNodeIsCircularReadNode = _this35.currentNodeIsCircularReadNode, needRetrialAuth = _this35.needRetrialAuth, circularReadParamsMap = _this35.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this35.currentNodeEnableItemHandleDescription;
26027
26043
 
26028
26044
  params.isEndUserTask = isEndUserTask;
26029
26045
  params.choiceOrgId = choiceOrgId;
@@ -26047,17 +26063,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26047
26063
  var status = res.status,
26048
26064
  message = res.message;
26049
26065
 
26050
- _this34.loading.close();
26066
+ _this35.loading.close();
26051
26067
  if (status === 'success') {
26052
- _this34.flowSuccess();
26068
+ _this35.flowSuccess();
26053
26069
  } else {
26054
- _this34.$message.error(message || '系统错误,请联系管理员!');
26055
- _this34.$emit('error');
26070
+ _this35.$message.error(message || '系统错误,请联系管理员!');
26071
+ _this35.$emit('error');
26056
26072
  }
26057
26073
  }).catch(function (err) {
26058
- _this34.loading.close();
26074
+ _this35.loading.close();
26059
26075
  if (err.message && err.message !== 'canceled') {
26060
- _this34.$message.error(err.message);
26076
+ _this35.$message.error(err.message);
26061
26077
  }
26062
26078
  }));
26063
26079
 
@@ -26069,7 +26085,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26069
26085
  return _context.stop();
26070
26086
  }
26071
26087
  }
26072
- }, _callee, _this34);
26088
+ }, _callee, _this35);
26073
26089
  }));
26074
26090
 
26075
26091
  return function (_x) {