eoss-ui 0.8.37 → 0.8.39

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.
@@ -29337,8 +29337,8 @@ form_src_main.install = function (Vue) {
29337
29337
  };
29338
29338
 
29339
29339
  /* harmony default export */ var packages_form = (form_src_main);
29340
- // 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=791d3fbc&
29341
- var mainvue_type_template_id_791d3fbc_render = function () {
29340
+ // 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=723b9982&
29341
+ var mainvue_type_template_id_723b9982_render = function () {
29342
29342
  var _vm = this
29343
29343
  var _h = _vm.$createElement
29344
29344
  var _c = _vm._self._c || _h
@@ -32493,11 +32493,11 @@ var mainvue_type_template_id_791d3fbc_render = function () {
32493
32493
  )
32494
32494
  : _vm._e()
32495
32495
  }
32496
- var mainvue_type_template_id_791d3fbc_staticRenderFns = []
32497
- mainvue_type_template_id_791d3fbc_render._withStripped = true
32496
+ var mainvue_type_template_id_723b9982_staticRenderFns = []
32497
+ mainvue_type_template_id_723b9982_render._withStripped = true
32498
32498
 
32499
32499
 
32500
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
32500
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
32501
32501
 
32502
32502
  // 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/CommonOpinions.vue?vue&type=template&id=8458f882&
32503
32503
  var CommonOpinionsvue_type_template_id_8458f882_render = function () {
@@ -33548,8 +33548,8 @@ var CommonOpinions_component = normalizeComponent(
33548
33548
  )
33549
33549
 
33550
33550
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
33551
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
33552
- var flowvue_type_template_id_160c0322_render = function () {
33551
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
33552
+ var flowvue_type_template_id_ef00b086_render = function () {
33553
33553
  var _vm = this
33554
33554
  var _h = _vm.$createElement
33555
33555
  var _c = _vm._self._c || _h
@@ -35781,9 +35781,10 @@ var flowvue_type_template_id_160c0322_render = function () {
35781
35781
  },
35782
35782
  },
35783
35783
  })
35784
- : _vm.btnType === "toStartTaskRead"
35784
+ : _vm.btnType === "toStartTaskRead" ||
35785
+ _vm.btnType === "toTaskReadAndEnd"
35785
35786
  ? _c("StartTaskRead", {
35786
- ref: "toStartTaskRead",
35787
+ ref: _vm.btnType,
35787
35788
  staticClass: "es-info",
35788
35789
  attrs: {
35789
35790
  "pending-id": _vm.pendingId,
@@ -35818,6 +35819,8 @@ var flowvue_type_template_id_160c0322_render = function () {
35818
35819
  pendingId: _vm.pendingId,
35819
35820
  defaultOpinion: _vm.nodeDefaultSubmitOpinion,
35820
35821
  oldOption: _vm.value,
35822
+ isCancelSecondConfirmationType:
35823
+ _vm.isCancelSecondConfirmationType,
35821
35824
  selectorParams: _vm.selectorParams,
35822
35825
  type: _vm.flowType,
35823
35826
  multiple: _vm.flowMultiple,
@@ -36462,11 +36465,11 @@ var flowvue_type_template_id_160c0322_render = function () {
36462
36465
  )
36463
36466
  : _vm._e()
36464
36467
  }
36465
- var flowvue_type_template_id_160c0322_staticRenderFns = []
36466
- flowvue_type_template_id_160c0322_render._withStripped = true
36468
+ var flowvue_type_template_id_ef00b086_staticRenderFns = []
36469
+ flowvue_type_template_id_ef00b086_render._withStripped = true
36467
36470
 
36468
36471
 
36469
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
36472
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
36470
36473
 
36471
36474
  // 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/Opinions.vue?vue&type=template&id=5f07a050&
36472
36475
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -37178,8 +37181,8 @@ var Opinions_component = normalizeComponent(
37178
37181
  )
37179
37182
 
37180
37183
  /* harmony default export */ var Opinions = (Opinions_component.exports);
37181
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
37182
- var processFormvue_type_template_id_20fb5670_render = function () {
37184
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
37185
+ var processFormvue_type_template_id_2860b038_render = function () {
37183
37186
  var _vm = this
37184
37187
  var _h = _vm.$createElement
37185
37188
  var _c = _vm._self._c || _h
@@ -38133,14 +38136,14 @@ var processFormvue_type_template_id_20fb5670_render = function () {
38133
38136
  1
38134
38137
  )
38135
38138
  }
38136
- var processFormvue_type_template_id_20fb5670_staticRenderFns = []
38137
- processFormvue_type_template_id_20fb5670_render._withStripped = true
38139
+ var processFormvue_type_template_id_2860b038_staticRenderFns = []
38140
+ processFormvue_type_template_id_2860b038_render._withStripped = true
38138
38141
 
38139
38142
 
38140
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
38143
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
38141
38144
 
38142
- // 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=3a5614a4&
38143
- var selectUservue_type_template_id_3a5614a4_render = function () {
38145
+ // 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=4dc7fc96&
38146
+ var selectUservue_type_template_id_4dc7fc96_render = function () {
38144
38147
  var _vm = this
38145
38148
  var _h = _vm.$createElement
38146
38149
  var _c = _vm._self._c || _h
@@ -38261,6 +38264,7 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
38261
38264
  title: _vm.title,
38262
38265
  showFilterListDep: false,
38263
38266
  reset: "",
38267
+ destroyOnClose: "",
38264
38268
  classify: _vm.classify,
38265
38269
  "collapse-tags": _vm.selectorTags,
38266
38270
  mix: _vm.mix,
@@ -38302,11 +38306,11 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
38302
38306
  1
38303
38307
  )
38304
38308
  }
38305
- var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
38306
- selectUservue_type_template_id_3a5614a4_render._withStripped = true
38309
+ var selectUservue_type_template_id_4dc7fc96_staticRenderFns = []
38310
+ selectUservue_type_template_id_4dc7fc96_render._withStripped = true
38307
38311
 
38308
38312
 
38309
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
38313
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4dc7fc96&
38310
38314
 
38311
38315
  // 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&
38312
38316
  var selectUservue_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; };
@@ -38414,6 +38418,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38414
38418
  //
38415
38419
  //
38416
38420
  //
38421
+ //
38417
38422
 
38418
38423
 
38419
38424
 
@@ -38837,8 +38842,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38837
38842
 
38838
38843
  var selectUser_component = normalizeComponent(
38839
38844
  src_selectUservue_type_script_lang_js_,
38840
- selectUservue_type_template_id_3a5614a4_render,
38841
- selectUservue_type_template_id_3a5614a4_staticRenderFns,
38845
+ selectUservue_type_template_id_4dc7fc96_render,
38846
+ selectUservue_type_template_id_4dc7fc96_staticRenderFns,
38842
38847
  false,
38843
38848
  null,
38844
38849
  null,
@@ -40886,7 +40891,6 @@ var processFormvue_type_script_lang_js_components;
40886
40891
  if (_this8.isCustomPreset && _this8.activeNames == '1') {
40887
40892
  for (var i = 0; i < _this8.presetList.length; i++) {
40888
40893
  if (_this8.presetList[i].name && _this8.presetList[i].name != '1' && _this8.presetList[i].name != 'endEvent' && (!_this8.presetList[i].value || _this8.presetList[i].value.length == 0)) {
40889
-
40890
40894
  return _this8.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this8.presetList[i].sequence + '-' + _this8.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01');
40891
40895
  } else {
40892
40896
  delete _this8.presetList[i].label;
@@ -40967,6 +40971,8 @@ var processFormvue_type_script_lang_js_components;
40967
40971
 
40968
40972
  newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
40969
40973
  if (_this8.formType == 'readTransfer') {
40974
+ newParm.customPresetUserJson = params.customPresetUserJson;
40975
+ delete params.customPresetUserJson;
40970
40976
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
40971
40977
  newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
40972
40978
  delete newParm.copyHistory;
@@ -41078,12 +41084,16 @@ var processFormvue_type_script_lang_js_components;
41078
41084
 
41079
41085
  newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
41080
41086
  if (_this8.formType == 'readTransfer') {
41081
- newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
41087
+ newParm.customPresetUserJson = params.customPresetUserJson;
41082
41088
  newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
41089
+ delete params.customPresetUserJson;
41090
+ newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
41091
+
41083
41092
  delete newParm.copyHistory;
41084
41093
  delete newParm.startFlowParamJson;
41085
41094
  delete newParm.submitTaskParamJson;
41086
41095
  }
41096
+
41087
41097
  params = newParm;
41088
41098
  }
41089
41099
  if (_this8.copyHistory && !_this8.isFreeStartFlow) {
@@ -41093,6 +41103,7 @@ var processFormvue_type_script_lang_js_components;
41093
41103
  utils_util.ajax({
41094
41104
  url: _this8.isFreeStartFlow ? freeStartFlowWithSubmitTask : _this8.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : _this8.copyHistory ? freeStartFlow : register,
41095
41105
  method: 'post',
41106
+
41096
41107
  data: params
41097
41108
  }).then(function (res) {
41098
41109
  var status = res.status,
@@ -41508,8 +41519,8 @@ var processFormvue_type_script_lang_js_components;
41508
41519
 
41509
41520
  var processForm_component = normalizeComponent(
41510
41521
  src_processFormvue_type_script_lang_js_,
41511
- processFormvue_type_template_id_20fb5670_render,
41512
- processFormvue_type_template_id_20fb5670_staticRenderFns,
41522
+ processFormvue_type_template_id_2860b038_render,
41523
+ processFormvue_type_template_id_2860b038_staticRenderFns,
41513
41524
  false,
41514
41525
  null,
41515
41526
  null,
@@ -43149,8 +43160,8 @@ var processReject_component = normalizeComponent(
43149
43160
  )
43150
43161
 
43151
43162
  /* harmony default export */ var processReject = (processReject_component.exports);
43152
- // 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=d6b2d084&
43153
- var startTaskReadvue_type_template_id_d6b2d084_render = function () {
43163
+ // 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=fffcbc42&
43164
+ var startTaskReadvue_type_template_id_fffcbc42_render = function () {
43154
43165
  var _vm = this
43155
43166
  var _h = _vm.$createElement
43156
43167
  var _c = _vm._self._c || _h
@@ -43581,11 +43592,11 @@ var startTaskReadvue_type_template_id_d6b2d084_render = function () {
43581
43592
  1
43582
43593
  )
43583
43594
  }
43584
- var startTaskReadvue_type_template_id_d6b2d084_staticRenderFns = []
43585
- startTaskReadvue_type_template_id_d6b2d084_render._withStripped = true
43595
+ var startTaskReadvue_type_template_id_fffcbc42_staticRenderFns = []
43596
+ startTaskReadvue_type_template_id_fffcbc42_render._withStripped = true
43586
43597
 
43587
43598
 
43588
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=d6b2d084&
43599
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
43589
43600
 
43590
43601
  // 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&
43591
43602
  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; };
@@ -43827,6 +43838,7 @@ var startTaskReadvue_type_script_lang_js_components;
43827
43838
  };
43828
43839
  },
43829
43840
 
43841
+
43830
43842
  computed: {
43831
43843
  tabs: function tabs() {
43832
43844
  var tab = {};
@@ -44180,6 +44192,7 @@ var startTaskReadvue_type_script_lang_js_components;
44180
44192
 
44181
44193
  // 提交表单
44182
44194
  subProcess: function subProcess(formName) {
44195
+
44183
44196
  this.submit(formName);
44184
44197
  },
44185
44198
 
@@ -44193,7 +44206,6 @@ var startTaskReadvue_type_script_lang_js_components;
44193
44206
  _this8.$message.warning('请选择输入审批意见');
44194
44207
  return;
44195
44208
  }
44196
- console.log(_this8.mixList, 'this.mixList');
44197
44209
  // let nextUser = [];
44198
44210
  // this.nextNode.nextUser.map(item => {
44199
44211
  // nextUser.push(item);
@@ -44336,8 +44348,8 @@ var startTaskReadvue_type_script_lang_js_components;
44336
44348
 
44337
44349
  var startTaskRead_component = normalizeComponent(
44338
44350
  src_startTaskReadvue_type_script_lang_js_,
44339
- startTaskReadvue_type_template_id_d6b2d084_render,
44340
- startTaskReadvue_type_template_id_d6b2d084_staticRenderFns,
44351
+ startTaskReadvue_type_template_id_fffcbc42_render,
44352
+ startTaskReadvue_type_template_id_fffcbc42_staticRenderFns,
44341
44353
  false,
44342
44354
  null,
44343
44355
  null,
@@ -45767,8 +45779,8 @@ var reset_component = normalizeComponent(
45767
45779
  )
45768
45780
 
45769
45781
  /* harmony default export */ var src_reset = (reset_component.exports);
45770
- // 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=f2f9c652&
45771
- var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
45782
+ // 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=0724a5af&
45783
+ var taskUnionExaminevue_type_template_id_0724a5af_render = function () {
45772
45784
  var _vm = this
45773
45785
  var _h = _vm.$createElement
45774
45786
  var _c = _vm._self._c || _h
@@ -46073,7 +46085,7 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
46073
46085
  [
46074
46086
  _c(
46075
46087
  "el-button",
46076
- { attrs: { type: "primary" }, on: { click: _vm.subMit } },
46088
+ { attrs: { type: "primary" }, on: { click: _vm.subProcess } },
46077
46089
  [_vm._v(" 确定 ")]
46078
46090
  ),
46079
46091
  _c("el-button", { on: { click: _vm.quit } }, [_vm._v(" 取消 ")]),
@@ -46084,11 +46096,11 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
46084
46096
  1
46085
46097
  )
46086
46098
  }
46087
- var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
46088
- taskUnionExaminevue_type_template_id_f2f9c652_render._withStripped = true
46099
+ var taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns = []
46100
+ taskUnionExaminevue_type_template_id_0724a5af_render._withStripped = true
46089
46101
 
46090
46102
 
46091
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
46103
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0724a5af&
46092
46104
 
46093
46105
  // 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&
46094
46106
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -46286,6 +46298,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
46286
46298
  simpleTips: { type: Boolean, default: true },
46287
46299
  multiple: { type: Boolean, default: true },
46288
46300
  hideBtn: { type: Boolean, default: false },
46301
+ isCancelSecondConfirmationType: { type: Boolean, default: false },
46289
46302
  selectorParams: {
46290
46303
  type: Object,
46291
46304
  default: function _default() {
@@ -46354,6 +46367,16 @@ var taskUnionExaminevue_type_script_lang_js_components;
46354
46367
  };
46355
46368
  }
46356
46369
  },
46370
+ watch: {
46371
+ oldOption: {
46372
+ handler: function handler(val) {
46373
+ this.opinion = val;
46374
+ },
46375
+
46376
+ immediate: true,
46377
+ deep: true
46378
+ }
46379
+ },
46357
46380
  mounted: function mounted() {
46358
46381
  this.loading = true;
46359
46382
  this.newMultiple = this.multiple;
@@ -46595,10 +46618,42 @@ var taskUnionExaminevue_type_script_lang_js_components;
46595
46618
  });
46596
46619
  },
46597
46620
  subProcess: function subProcess() {
46598
- this.subMit();
46621
+ var _this4 = this;
46622
+
46623
+ if (this.type === 'taskReview') return this.subTaskReview();
46624
+ var _infoList2 = this.infoList,
46625
+ nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
46626
+ nextOtherOrgObj = _infoList2.nextOtherOrgObj,
46627
+ isOpinionRequired = this.isOpinionRequired,
46628
+ opinion = this.opinion,
46629
+ type = this.type,
46630
+ isHideOtherOrg = this.isHideOtherOrg,
46631
+ isHideCurrentOrg = this.isHideCurrentOrg;
46632
+
46633
+ if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
46634
+ return this.$message.warning('请选择处理对象!');
46635
+ } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
46636
+ return this.$message.warning('请选择处理对象!');
46637
+ }
46638
+
46639
+ if (isOpinionRequired == 1 && (opinion == '' || opinion == null)) {
46640
+ return this.$message.warning('当前步骤必须输入意见!');
46641
+ }
46642
+ if (this.isCancelSecondConfirmationType) {
46643
+ this.$confirm('确认提交吗?', '提示', {
46644
+ confirmButtonText: '确定',
46645
+ cancelButtonText: '取消',
46646
+ type: 'warning'
46647
+ }).then(function () {
46648
+ _this4.subMit();
46649
+ }).catch(function () {});
46650
+ } else {
46651
+ this.subMit();
46652
+ }
46653
+ ;
46599
46654
  },
46600
46655
  subMit: function subMit() {
46601
- var _this4 = this;
46656
+ var _this5 = this;
46602
46657
 
46603
46658
  // if (
46604
46659
  // this.infoList.nextOtherOrgObjName == '' ||
@@ -46606,12 +46661,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
46606
46661
  // )
46607
46662
  // return this.$message.warning('请选择联合单位');
46608
46663
  if (this.type === 'taskReview') return this.subTaskReview();
46609
- var _infoList2 = this.infoList,
46610
- nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
46611
- nextOtherOrgObj = _infoList2.nextOtherOrgObj,
46612
- noticeType = _infoList2.noticeType,
46613
- customLimitTime = _infoList2.customLimitTime,
46614
- noticeInfo = _infoList2.noticeInfo,
46664
+ var _infoList3 = this.infoList,
46665
+ nextCurrentOrgObj = _infoList3.nextCurrentOrgObj,
46666
+ nextOtherOrgObj = _infoList3.nextOtherOrgObj,
46667
+ noticeType = _infoList3.noticeType,
46668
+ customLimitTime = _infoList3.customLimitTime,
46669
+ noticeInfo = _infoList3.noticeInfo,
46615
46670
  isOpinionRequired = this.isOpinionRequired,
46616
46671
  opinion = this.opinion,
46617
46672
  type = this.type,
@@ -46622,8 +46677,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
46622
46677
  isSubFlow = this.isSubFlow,
46623
46678
  pendingId = this.pendingId;
46624
46679
 
46625
- console.log(nextCurrentOrgObj);
46626
- console.log(nextOtherOrgObj);
46627
46680
  if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
46628
46681
  return this.$message.warning('请选择处理对象!');
46629
46682
  } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
@@ -46656,7 +46709,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
46656
46709
  };
46657
46710
  if (this.enableCustomLimitTimeSetting) {
46658
46711
  param.data.customLimitTime = customLimitTime;
46659
- console.log(this.validate(), 'this.validate()');
46660
46712
  if (!this.validate()) return;
46661
46713
  }
46662
46714
  this.loading = true;
@@ -46664,17 +46716,17 @@ var taskUnionExaminevue_type_script_lang_js_components;
46664
46716
  var message = res.message,
46665
46717
  status = res.status;
46666
46718
 
46667
- _this4.loading = false;
46719
+ _this5.loading = false;
46668
46720
  if (status == 'success') {
46669
- _this4.simpleTips && _this4.$message.success('提交成功');
46670
- _this4.quit(true);
46721
+ _this5.simpleTips && _this5.$message.success('提交成功');
46722
+ _this5.quit(true);
46671
46723
  } else {
46672
- _this4.$message.error(message || '系统错误,请联系管理员!');
46724
+ _this5.$message.error(message || '系统错误,请联系管理员!');
46673
46725
  }
46674
46726
  }).catch(function (err) {
46675
- _this4.loading = false;
46727
+ _this5.loading = false;
46676
46728
  if (err.message && err.message !== 'canceled') {
46677
- _this4.$message.error(err.message);
46729
+ _this5.$message.error(err.message);
46678
46730
  }
46679
46731
  });
46680
46732
  },
@@ -46707,7 +46759,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
46707
46759
  this.infoList[type] = newNextUser.join('|');
46708
46760
  },
46709
46761
  getNodeType: function getNodeType() {
46710
- var _this5 = this;
46762
+ var _this6 = this;
46711
46763
 
46712
46764
  utils_util.ajax({
46713
46765
  url: findCodeValues,
@@ -46720,39 +46772,39 @@ var taskUnionExaminevue_type_script_lang_js_components;
46720
46772
  var status = res.status,
46721
46773
  data = res.data;
46722
46774
 
46723
- _this5.loading = false;
46775
+ _this6.loading = false;
46724
46776
  if (status === 'success') {
46725
- _this5.infoList.noticeList = data;
46777
+ _this6.infoList.noticeList = data;
46726
46778
  }
46727
46779
  }).catch(function (err) {
46728
- _this5.loading = false;
46780
+ _this6.loading = false;
46729
46781
  if (err.message && err.message !== 'canceled') {
46730
- _this5.$message.error(err.message);
46782
+ _this6.$message.error(err.message);
46731
46783
  }
46732
46784
  });
46733
46785
  },
46734
46786
 
46735
46787
  //获取通知信息
46736
46788
  getMessage: function getMessage() {
46737
- var _this6 = this;
46789
+ var _this7 = this;
46738
46790
 
46739
46791
  var params = {
46740
46792
  pendingId: this.pendingId
46741
46793
  };
46742
46794
  utils_util.ajax({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
46743
46795
  if (res.status === 'success') {
46744
- _this6.infoList.noticeInfo = res.message;
46796
+ _this7.infoList.noticeInfo = res.message;
46745
46797
  }
46746
- _this6.loading = false;
46798
+ _this7.loading = false;
46747
46799
  }).catch(function (err) {
46748
- _this6.loading = false;
46800
+ _this7.loading = false;
46749
46801
  if (err.message && err.message !== 'canceled') {
46750
- _this6.$message.error(err.message);
46802
+ _this7.$message.error(err.message);
46751
46803
  }
46752
46804
  });
46753
46805
  },
46754
46806
  getFind: function getFind() {
46755
- var _this7 = this;
46807
+ var _this8 = this;
46756
46808
 
46757
46809
  utils_util.ajax({
46758
46810
  url: findSysCodes
@@ -46761,24 +46813,24 @@ var taskUnionExaminevue_type_script_lang_js_components;
46761
46813
  message = res.message;
46762
46814
 
46763
46815
  if (status === 'success') {
46764
- if (_this7.hideMessage) return;
46765
- _this7.infoList.noticeType = message.split(',');
46816
+ if (_this8.hideMessage) return;
46817
+ _this8.infoList.noticeType = message.split(',');
46766
46818
  var arr = [];
46767
- _this7.infoList.noticeList.map(function (item) {
46768
- _this7.infoList.noticeType.map(function (x) {
46819
+ _this8.infoList.noticeList.map(function (item) {
46820
+ _this8.infoList.noticeType.map(function (x) {
46769
46821
  if (x == item.cciValue) {
46770
46822
  arr.push(x);
46771
46823
  }
46772
46824
  });
46773
46825
  });
46774
- _this7.infoList.noticeType = arr;
46826
+ _this8.infoList.noticeType = arr;
46775
46827
  } else {
46776
- _this7.$message.error(message || '系统错误,请联系管理员!');
46828
+ _this8.$message.error(message || '系统错误,请联系管理员!');
46777
46829
  }
46778
46830
  }).catch(function (err) {
46779
- _this7.loading = false;
46831
+ _this8.loading = false;
46780
46832
  if (err.message && err.message !== 'canceled') {
46781
- _this7.$message.error(err.message);
46833
+ _this8.$message.error(err.message);
46782
46834
  }
46783
46835
  });
46784
46836
  }
@@ -46796,8 +46848,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
46796
46848
 
46797
46849
  var taskUnionExamine_component = normalizeComponent(
46798
46850
  component_taskUnionExaminevue_type_script_lang_js_,
46799
- taskUnionExaminevue_type_template_id_f2f9c652_render,
46800
- taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
46851
+ taskUnionExaminevue_type_template_id_0724a5af_render,
46852
+ taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns,
46801
46853
  false,
46802
46854
  null,
46803
46855
  null,
@@ -54637,6 +54689,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54637
54689
  //
54638
54690
  //
54639
54691
  //
54692
+ //
54640
54693
 
54641
54694
 
54642
54695
 
@@ -54867,6 +54920,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54867
54920
  nextNodeList: [],
54868
54921
  removeUsers: [],
54869
54922
  options: [],
54923
+ configInfo: {},
54870
54924
  params: {
54871
54925
  filid: 'all', //选择范围(my:本单位/ "" or all:全部)
54872
54926
  selectmix: 'true1',
@@ -55589,11 +55643,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55589
55643
  });
55590
55644
  },
55591
55645
 
55592
- /**
55593
- * saveInfo
55594
- * @desc:暂存
55595
- * @author liufan
55596
- * @date 2022年9月9日
55646
+ /**
55647
+ * saveInfo
55648
+ * @desc:暂存
55649
+ * @author liufan
55650
+ * @date 2022年9月9日
55597
55651
  **/
55598
55652
  saveInfo: function saveInfo(type, btn) {
55599
55653
  var _this14 = this;
@@ -55655,11 +55709,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55655
55709
  });
55656
55710
  },
55657
55711
 
55658
- /**
55659
- * rejectBtn
55660
- * @desc:点击驳回
55661
- * @author liufan
55662
- * @date 2022年5月25日
55712
+ /**
55713
+ * rejectBtn
55714
+ * @desc:点击驳回
55715
+ * @author liufan
55716
+ * @date 2022年5月25日
55663
55717
  **/
55664
55718
  rejectBtn: function rejectBtn(res) {
55665
55719
  var _this16 = this;
@@ -55679,37 +55733,40 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55679
55733
  }
55680
55734
  },
55681
55735
 
55682
- /**
55683
- * taskReadBtn
55684
- * @desc:点击分阅
55685
- * @author liufan
55686
- * @date 2022年5月25日
55736
+ /**
55737
+ * taskReadBtn
55738
+ * @desc:点击分阅
55739
+ * @author liufan
55740
+ * @date 2022年5月25日
55687
55741
  **/
55688
55742
  taskReadBtn: function taskReadBtn(res) {
55689
55743
  var _this17 = this;
55690
55744
 
55691
55745
  // return this.$message.warning('暂未开放!敬请期待');
55692
55746
 
55693
- if (this.beforeSubmit != undefined) {
55694
- this.beforeSubmit().then(function (next) {
55747
+ this.isLoadRead() && (this.btnType = '');
55748
+ setTimeout(function () {
55749
+ if (_this17.beforeSubmit != undefined) {
55750
+ _this17.beforeSubmit().then(function (next) {
55751
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
55752
+ _this17.taskReadType = 'create';
55753
+ // this.showTaskRead = true;
55754
+ _this17.btnType = _this17.btnFunValue(res.fun);
55755
+ }).catch(function (e) {});
55756
+ } else {
55695
55757
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
55696
55758
  _this17.taskReadType = 'create';
55697
55759
  // this.showTaskRead = true;
55698
55760
  _this17.btnType = _this17.btnFunValue(res.fun);
55699
- }).catch(function (e) {});
55700
- } else {
55701
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
55702
- this.taskReadType = 'create';
55703
- // this.showTaskRead = true;
55704
- this.btnType = this.btnFunValue(res.fun);
55705
- }
55761
+ }
55762
+ }, 0);
55706
55763
  },
55707
55764
 
55708
- /**
55709
- * getFind
55710
- * @desc:获取通知方式
55711
- * @author liufan
55712
- * @date 2022年5月25日
55765
+ /**
55766
+ * getFind
55767
+ * @desc:获取通知方式
55768
+ * @author liufan
55769
+ * @date 2022年5月25日
55713
55770
  **/
55714
55771
  getFind: function getFind() {
55715
55772
  var _this18 = this;
@@ -55776,12 +55833,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55776
55833
  });
55777
55834
  },
55778
55835
 
55779
- /**
55780
- * endFlows
55781
- * @desc:直接办结
55782
- * @author liufan
55783
- * @param {Object} res 直接办结数据
55784
- * @date 2022年5月25日
55836
+ /**
55837
+ * endFlows
55838
+ * @desc:直接办结
55839
+ * @author liufan
55840
+ * @param {Object} res 直接办结数据
55841
+ * @date 2022年5月25日
55785
55842
  **/
55786
55843
  endFlows: function endFlows(res) {
55787
55844
  var _this20 = this;
@@ -55795,9 +55852,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55795
55852
  }
55796
55853
  },
55797
55854
 
55798
- /**
55799
- * 获取弹性布局样式
55800
- * @returns {string} 弹性布局值
55855
+ /**
55856
+ * 获取弹性布局样式
55857
+ * @returns {string} 弹性布局值
55801
55858
  */
55802
55859
  getFlexStyle: function getFlexStyle() {
55803
55860
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -55845,12 +55902,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55845
55902
  }).catch(function (e) {});
55846
55903
  },
55847
55904
 
55848
- /**
55849
- * goView
55850
- * @desc:更多流程按钮操作
55851
- * @author liufan
55852
- * @param {Object} res 当前点击操作按钮数据
55853
- * @date 2022年5月25日
55905
+ /**
55906
+ * goView
55907
+ * @desc:更多流程按钮操作
55908
+ * @author liufan
55909
+ * @param {Object} res 当前点击操作按钮数据
55910
+ * @date 2022年5月25日
55854
55911
  **/
55855
55912
  goView: function goView(res) {
55856
55913
  // 驳回并办结:rejectAndEndHtml
@@ -55862,6 +55919,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55862
55919
  // 驳回:taskRejectHtml
55863
55920
  // 直接办结:endFlowHtml
55864
55921
  // 自由发起子流程:toFreeStartFlow
55922
+
55923
+
55865
55924
  if (res.type == 4) {
55866
55925
  this.$emit('buttonClick', { fun: res.fun, opinion: this.value }, this.sendData);
55867
55926
  } else if (res.fun === 'toStartTaskRead()') {
@@ -55939,11 +55998,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55939
55998
  // isCanStartSubFlow
55940
55999
  },
55941
56000
 
55942
- /**
55943
- * toTakeAdvice
55944
- * @desc:征求意见
55945
- * @author liufan
55946
- * @date 2022年9月29日
56001
+ /**
56002
+ * toTakeAdvice
56003
+ * @desc:征求意见
56004
+ * @author liufan
56005
+ * @date 2022年9月29日
55947
56006
  **/
55948
56007
  toTakeAdvice: function toTakeAdvice(res) {
55949
56008
  var _this22 = this;
@@ -55991,11 +56050,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55991
56050
  });
55992
56051
  },
55993
56052
 
55994
- /**
55995
- * toStartDraf
55996
- * @desc: 稿件递送、联合审核、复核
55997
- * @author liufan
55998
- * @date 2022年9月29日
56053
+ /**
56054
+ * toStartDraf
56055
+ * @desc: 稿件递送、联合审核、复核
56056
+ * @author liufan
56057
+ * @date 2022年9月29日
55999
56058
  **/
56000
56059
  toStartDraf: function toStartDraf(res) {
56001
56060
  var _this24 = this;
@@ -56018,11 +56077,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56018
56077
  }
56019
56078
  },
56020
56079
 
56021
- /**
56022
- * toSendMsg
56023
- * @desc:核稿通知
56024
- * @author liufan
56025
- * @date 2022年9月29日
56080
+ /**
56081
+ * toSendMsg
56082
+ * @desc:核稿通知
56083
+ * @author liufan
56084
+ * @date 2022年9月29日
56026
56085
  **/
56027
56086
  toSendMsg: function toSendMsg(res) {
56028
56087
  var _this25 = this;
@@ -56035,51 +56094,66 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56035
56094
  this.showSendMsg = true;
56036
56095
  }
56037
56096
  },
56097
+ isLoadRead: function isLoadRead() {
56098
+ var _this26 = this;
56038
56099
 
56039
- /**
56040
- * toTaskReadAndEnd
56041
- * @desc:分阅并办结
56042
- * @author liufan
56043
- * @date 2022年9月29日
56100
+ var funs = this.typeList.map(function (item) {
56101
+ return _this26.btnFunValue(item.fun);
56102
+ });
56103
+ return funs.includes('toStartTaskRead') && funs.includes('toTaskReadAndEnd');
56104
+ },
56105
+
56106
+
56107
+ /**
56108
+ * toTaskReadAndEnd
56109
+ * @desc:分阅并办结
56110
+ * @author liufan
56111
+ * @date 2022年9月29日
56044
56112
  **/
56045
56113
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
56046
- var _this26 = this;
56114
+ var _this27 = this;
56047
56115
 
56048
- if (this.beforeSubmit != undefined) {
56049
- this.beforeSubmit().then(function (next) {
56050
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
56051
- _this26.taskReadType = 'taskReadAndEnd';
56052
- _this26.showTaskRead = true;
56053
- }).catch(function (e) {});
56054
- } else {
56055
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
56056
- this.taskReadType = 'taskReadAndEnd';
56057
- this.showTaskRead = true;
56058
- }
56116
+ this.isLoadRead() && (this.btnType = '');
56117
+ setTimeout(function () {
56118
+ if (_this27.beforeSubmit != undefined) {
56119
+ _this27.beforeSubmit().then(function (next) {
56120
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
56121
+ _this27.taskReadType = 'taskReadAndEnd';
56122
+ _this27.btnType = _this27.btnFunValue(res.fun);
56123
+
56124
+ // this.showTaskRead = true;
56125
+ }).catch(function (e) {});
56126
+ } else {
56127
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
56128
+ _this27.taskReadType = 'taskReadAndEnd';
56129
+ _this27.btnType = _this27.btnFunValue(res.fun);
56130
+ // this.showTaskRead = true;
56131
+ }
56132
+ }, 0);
56059
56133
  },
56060
56134
 
56061
- /**
56062
- * rejectAndEnd
56063
- * @desc:驳回并办结
56064
- * @author liufan
56065
- * @date 2022年9月29日
56135
+ /**
56136
+ * rejectAndEnd
56137
+ * @desc:驳回并办结
56138
+ * @author liufan
56139
+ * @date 2022年9月29日
56066
56140
  **/
56067
56141
  rejectAndEnd: function rejectAndEnd(res) {
56068
- var _this27 = this;
56142
+ var _this28 = this;
56069
56143
 
56070
56144
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
56071
56145
  if (!this.$refs.commonOpinions.validate()) return;
56072
56146
  }
56073
56147
  if (this.beforeSubmit != undefined) {
56074
56148
  this.beforeSubmit().then(function (next) {
56075
- _this27.saveRejectAndEnd(res);
56149
+ _this28.saveRejectAndEnd(res);
56076
56150
  }).catch(function (e) {});
56077
56151
  } else {
56078
56152
  this.saveRejectAndEnd(res);
56079
56153
  }
56080
56154
  },
56081
56155
  saveRejectAndEnd: function saveRejectAndEnd(res) {
56082
- var _this28 = this;
56156
+ var _this29 = this;
56083
56157
 
56084
56158
  this.$confirm('确认' + res.value + '?').then(function () {
56085
56159
  // return this.$message.warning('请填写意见');
@@ -56088,29 +56162,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56088
56162
  headers: { Accept: 'application/json,text/plain' },
56089
56163
  method: 'post',
56090
56164
  data: {
56091
- opinion: _this28.value,
56092
- pendingId: _this28.pendingId,
56165
+ opinion: _this29.value,
56166
+ pendingId: _this29.pendingId,
56093
56167
  isSinglePage: false
56094
56168
  }
56095
56169
  };
56096
- _this28.loading = utils_util.loading(_this28.$loading, '加载中...');
56170
+ _this29.loading = utils_util.loading(_this29.$loading, '加载中...');
56097
56171
  utils_util.ajax(params).then(function (res) {
56098
56172
  var status = res.status,
56099
56173
  message = res.message;
56100
56174
 
56101
- _this28.loading.close();
56175
+ _this29.loading.close();
56102
56176
  if (status === 'success') {
56103
- _this28.flowSuccess();
56177
+ _this29.flowSuccess();
56104
56178
  // this.$message.success('提交成功');
56105
56179
  // this.$emit('success');
56106
56180
  } else {
56107
- _this28.$message.error(message || '系统错误,请联系管理员!');
56108
- _this28.$emit('error');
56181
+ _this29.$message.error(message || '系统错误,请联系管理员!');
56182
+ _this29.$emit('error');
56109
56183
  }
56110
56184
  }).catch(function (err) {
56111
- _this28.loading.close();
56185
+ _this29.loading.close();
56112
56186
  if (err.message && err.message !== 'canceled') {
56113
- _this28.$message.error(err.message);
56187
+ _this29.$message.error(err.message);
56114
56188
  }
56115
56189
  });
56116
56190
  }).catch(function () {
@@ -56118,19 +56192,19 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56118
56192
  });
56119
56193
  },
56120
56194
 
56121
- /**
56122
- * toTransfer
56123
- * @desc:转办
56124
- * @author liufan
56125
- * @date 2022年9月29日
56195
+ /**
56196
+ * toTransfer
56197
+ * @desc:转办
56198
+ * @author liufan
56199
+ * @date 2022年9月29日
56126
56200
  **/
56127
56201
  toTransfer: function toTransfer(res) {
56128
- var _this29 = this;
56202
+ var _this30 = this;
56129
56203
 
56130
56204
  if (this.beforeSubmit != undefined) {
56131
56205
  this.beforeSubmit(0).then(function (next) {
56132
- _this29.taskReadType = 'transfer';
56133
- _this29.showTaskRead = true;
56206
+ _this30.taskReadType = 'transfer';
56207
+ _this30.showTaskRead = true;
56134
56208
  }).catch(function (e) {});
56135
56209
  } else {
56136
56210
  this.taskReadType = 'transfer';
@@ -56141,14 +56215,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56141
56215
  this.nextNode.customLimitTime = val;
56142
56216
  },
56143
56217
 
56144
- /**
56145
- * getNodeInfo
56146
- * @desc:获取节点信息
56147
- * @author liufan
56148
- * @date 2022年5月25日
56218
+ /**
56219
+ * getNodeInfo
56220
+ * @desc:获取节点信息
56221
+ * @author liufan
56222
+ * @date 2022年5月25日
56149
56223
  **/
56150
56224
  getNodeInfo: function getNodeInfo() {
56151
- var _this30 = this;
56225
+ var _this31 = this;
56152
56226
 
56153
56227
  var params = {
56154
56228
  processDefinitionId: this.nodeInfo.nextNode,
@@ -56163,21 +56237,21 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56163
56237
  message = res.message,
56164
56238
  data = res.data;
56165
56239
 
56166
- _this30.loading.close();
56240
+ _this31.loading.close();
56167
56241
  if (status === 'success') {
56168
- _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
56169
- _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
56170
- _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
56171
- if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
56172
- _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
56242
+ _this31.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
56243
+ _this31.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
56244
+ _this31.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
56245
+ if (_this31.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
56246
+ _this31.nextNode.customLimitTime = _this31.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
56173
56247
  }
56174
- if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
56175
- _this30.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
56248
+ if (_this31.currentOrgSelectorParams.department && !_this31.currentOrgSelectorParams.department.roleid && _this31.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
56249
+ _this31.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
56176
56250
  }
56177
56251
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
56178
56252
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
56179
56253
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
56180
- _this30.nextCurrentOrgselectUserList.push({
56254
+ _this31.nextCurrentOrgselectUserList.push({
56181
56255
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
56182
56256
  showid: x,
56183
56257
  stype: 'department'
@@ -56186,7 +56260,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56186
56260
  }
56187
56261
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
56188
56262
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
56189
- _this30.nextCurrentOrgselectUserList.push({
56263
+ _this31.nextCurrentOrgselectUserList.push({
56190
56264
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
56191
56265
  showid: x,
56192
56266
  stype: 'employee'
@@ -56195,7 +56269,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56195
56269
  }
56196
56270
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
56197
56271
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
56198
- _this30.nextCurrentOrgselectUserList.push({
56272
+ _this31.nextCurrentOrgselectUserList.push({
56199
56273
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
56200
56274
  showid: x,
56201
56275
  stype: 'enterprise'
@@ -56204,44 +56278,44 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56204
56278
  }
56205
56279
  }
56206
56280
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
56207
- _this30.params.only_filid = true;
56281
+ _this31.params.only_filid = true;
56208
56282
  }
56209
- data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
56210
- data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
56283
+ data.otherOrgDisabledObjId && (_this31.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
56284
+ data.currentOrgDisabledObjId && (_this31.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
56211
56285
  if (data != null) {
56212
56286
  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) {
56213
- _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56287
+ _this31.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56214
56288
  } else {
56215
- _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
56289
+ _this31.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this31.choiceOrgId, _this31.choiceDeptId, _this31.pOrgId);
56216
56290
  }
56217
- _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56218
- _this30.isTaskread = data.nodeExtAttr.isTaskread;
56219
- _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
56220
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56221
- _this30.nodeType = data.nodeExtAttr.nodeType;
56291
+ _this31.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56292
+ _this31.isTaskread = data.nodeExtAttr.isTaskread;
56293
+ _this31.isHandleExplain = data.nodeExtAttr.isHandleExplain;
56294
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56295
+ _this31.nodeType = data.nodeExtAttr.nodeType;
56222
56296
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
56223
- if (_this30.nodeType === 1 || _this30.nodeType === 2) {
56224
- _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
56225
- _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
56226
- _this30.isNextUser = false;
56227
- _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
56228
- _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
56297
+ if (_this31.nodeType === 1 || _this31.nodeType === 2) {
56298
+ _this31.isMainSubProcess === true ? _this31.isNodeShowProcess = true : _this31.isNodeShowProcess = false;
56299
+ _this31.isMainSubProcess === true ? _this31.isMainSubProcess = true : _this31.isMainSubProcess = false;
56300
+ _this31.isNextUser = false;
56301
+ _this31.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
56302
+ _this31.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
56229
56303
  } else {
56230
- _this30.isHideCurrentOrg = false;
56231
- _this30.isHideOtherOrg = false;
56232
- _this30.isNodeShowProcess = false;
56233
- _this30.isMainSubProcess = false;
56234
- _this30.isNextUser = _this30.nextNode.nextOperate != 9;
56304
+ _this31.isHideCurrentOrg = false;
56305
+ _this31.isHideOtherOrg = false;
56306
+ _this31.isNodeShowProcess = false;
56307
+ _this31.isMainSubProcess = false;
56308
+ _this31.isNextUser = _this31.nextNode.nextOperate != 9;
56235
56309
  // this.isMainSubProcess === true
56236
56310
  // ? (this.isMainSubProcess = true)
56237
56311
  // : (this.isMainSubProcess = false);
56238
56312
  }
56239
- _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
56240
- if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
56313
+ _this31.multiple ? _this31.nextNode.nextUserId = [] : _this31.nextNode.nextUserId = '';
56314
+ if (_this31.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
56241
56315
  data.nextUserList.map(function (item) {
56242
56316
  if (item.userId && item.username) {
56243
- _this30.nextNode.nextUserId.push(item.userId);
56244
- _this30.selectUserList.push({
56317
+ _this31.nextNode.nextUserId.push(item.userId);
56318
+ _this31.selectUserList.push({
56245
56319
  showname: item.username,
56246
56320
  showid: item.userId
56247
56321
  });
@@ -56250,57 +56324,57 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56250
56324
  }
56251
56325
  data.nextUserList.map(function (item) {
56252
56326
  if (item.userId && item.username) {
56253
- _this30.options.push({
56327
+ _this31.options.push({
56254
56328
  showname: item.username,
56255
56329
  showid: item.userId
56256
56330
  });
56257
56331
  }
56258
56332
  });
56259
56333
  if (data.nodeExtAttr.presetEdit != 0) {
56260
- _this30.radioList = _this30.options;
56334
+ _this31.radioList = _this31.options;
56261
56335
  }
56262
- if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
56263
- _this30.nextNode.nextUserId = data.nextUserList[0].userId;
56264
- _this30.selectUserList.push({
56336
+ if (!_this31.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
56337
+ _this31.nextNode.nextUserId = data.nextUserList[0].userId;
56338
+ _this31.selectUserList.push({
56265
56339
  showname: data.nextUserList[0].username,
56266
56340
  showid: data.nextUserList[0].userId
56267
56341
  });
56268
56342
  }
56269
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56270
- _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
56271
- _this30.presetEdit = data.nodeExtAttr.presetEdit;
56272
- _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
56273
- _this30.handleMode = data.countersignaturetypeText;
56343
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56344
+ _this31.isCustomUser = data.nodeExtAttr.isCustomUser;
56345
+ _this31.presetEdit = data.nodeExtAttr.presetEdit;
56346
+ _this31.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
56347
+ _this31.handleMode = data.countersignaturetypeText;
56274
56348
  if (data.globalNodeType === 'endEvent') {
56275
- _this30.isNextUser = data.globalNodeType != 'endEvent';
56276
- data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
56349
+ _this31.isNextUser = data.globalNodeType != 'endEvent';
56350
+ data.globalNodeType === 'endEvent' ? _this31.endFlow = true : '';
56277
56351
  }
56278
56352
  }
56279
- if (_this30.isCustomPreset) {
56280
- _this30.$nextTick(function () {
56281
- _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
56353
+ if (_this31.isCustomPreset) {
56354
+ _this31.$nextTick(function () {
56355
+ _this31.$refs.customPreset && _this31.$refs.customPreset.getPresetFlowInfo(_this31.nextNode.nextNodeId, _this31.nodeInfo.nextNode, true);
56282
56356
  });
56283
56357
  }
56284
56358
  } else {
56285
- _this30.$message.error(message || '系统错误,请联系管理员!');
56359
+ _this31.$message.error(message || '系统错误,请联系管理员!');
56286
56360
  }
56287
56361
  }).catch(function (err) {
56288
- _this30.loading.close();
56362
+ _this31.loading.close();
56289
56363
  if (err.message && err.message !== 'canceled') {
56290
- _this30.$message.error(err.message);
56364
+ _this31.$message.error(err.message);
56291
56365
  }
56292
56366
  });
56293
56367
  },
56294
56368
 
56295
- /**
56296
- * selecNext
56297
- * @desc:下步节点变化时更新数据
56298
- * @author liufan
56299
- * @param {String} val 当前选中值
56300
- * @date 2022年5月25日
56369
+ /**
56370
+ * selecNext
56371
+ * @desc:下步节点变化时更新数据
56372
+ * @author liufan
56373
+ * @param {String} val 当前选中值
56374
+ * @date 2022年5月25日
56301
56375
  **/
56302
56376
  selecNext: function selecNext(val, type, isDef) {
56303
- var _this31 = this;
56377
+ var _this32 = this;
56304
56378
 
56305
56379
  var isNextNode = false;
56306
56380
  if (type && val && this.operationList.length > 0) {
@@ -56350,13 +56424,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56350
56424
  this.operationList.forEach(function (item) {
56351
56425
  if (item.key === val) {
56352
56426
  if (!item.taskNodeList) {
56353
- _this31.nodeInfos = [];
56427
+ _this32.nodeInfos = [];
56354
56428
  } else {
56355
- _this31.nodeInfos = item.taskNodeList;
56429
+ _this32.nodeInfos = item.taskNodeList;
56356
56430
 
56357
- if (_this31.taskOperationShiftedNodeList) {
56358
- _this31.nodeInfos = item.taskNodeList.filter(function (x) {
56359
- return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
56431
+ if (_this32.taskOperationShiftedNodeList) {
56432
+ _this32.nodeInfos = item.taskNodeList.filter(function (x) {
56433
+ return _this32.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
56360
56434
  });
56361
56435
  }
56362
56436
  }
@@ -56365,7 +56439,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56365
56439
  });
56366
56440
  if (this.defaultNextNode) {
56367
56441
  var defaultNode = this.nodeInfos.filter(function (item) {
56368
- return item.nodeId == _this31.defaultNextNode;
56442
+ return item.nodeId == _this32.defaultNextNode;
56369
56443
  });
56370
56444
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
56371
56445
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -56437,11 +56511,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56437
56511
  }
56438
56512
  },
56439
56513
 
56440
- /**
56441
- * isMultiple
56442
- * @desc:是否多选
56443
- * @author liufan
56444
- * @date 2022年9月13日
56514
+ /**
56515
+ * isMultiple
56516
+ * @desc:是否多选
56517
+ * @author liufan
56518
+ * @date 2022年9月13日
56445
56519
  **/
56446
56520
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
56447
56521
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -56476,14 +56550,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56476
56550
  return fun.replace('()', '');
56477
56551
  },
56478
56552
 
56479
- /**
56480
- * getHedInfo
56481
- * @desc:获取审核页面数据
56482
- * @author liufan
56483
- * @date 2022年5月25日
56553
+ /**
56554
+ * getHedInfo
56555
+ * @desc:获取审核页面数据
56556
+ * @author liufan
56557
+ * @date 2022年5月25日
56484
56558
  **/
56485
56559
  getHedInfo: function getHedInfo() {
56486
- var _this32 = this;
56560
+ var _this33 = this;
56487
56561
 
56488
56562
  this.loading = utils_util.loading(this.$loading, '加载中...');
56489
56563
  var params = {
@@ -56493,7 +56567,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56493
56567
  utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
56494
56568
  //pc返回数据
56495
56569
 
56496
- _this32.loading.close();
56570
+ _this33.loading.close();
56497
56571
 
56498
56572
  if (res.status === 'success') {
56499
56573
  var _res$data2 = res.data,
@@ -56535,17 +56609,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56535
56609
  isCanPreAddSign = _res$data2.isCanPreAddSign;
56536
56610
 
56537
56611
  if (temporarySaveButtonName) {
56538
- _this32.saveButtonName = temporarySaveButtonName;
56612
+ _this33.saveButtonName = temporarySaveButtonName;
56539
56613
  }
56614
+ _this33.configInfo = res.data;
56540
56615
  if (simpleTips != undefined) {
56541
- _this32.simpleTips = simpleTips;
56616
+ _this33.simpleTips = simpleTips;
56542
56617
  }
56543
- _this32.$emit('startTaskRead', res);
56544
- _this32.$emit('start-task-read', res);
56618
+ _this33.$emit('startTaskRead', res);
56619
+ _this33.$emit('start-task-read', res);
56545
56620
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
56546
- _this32.taskOperationShiftedNodeList = [];
56621
+ _this33.taskOperationShiftedNodeList = [];
56547
56622
  taskOperationShiftedNodeList.map(function (x) {
56548
- _this32.taskOperationShiftedNodeList.push(x.nodeId);
56623
+ _this33.taskOperationShiftedNodeList.push(x.nodeId);
56549
56624
  taskOperations.push({
56550
56625
  key: x.nodeId,
56551
56626
  value: x.nodeName,
@@ -56554,159 +56629,159 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56554
56629
  });
56555
56630
  });
56556
56631
  }
56557
- _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
56558
- _this32.pendingItemHandleDescription = pendingItemHandleDescription;
56632
+ _this33.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
56633
+ _this33.pendingItemHandleDescription = pendingItemHandleDescription;
56559
56634
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
56560
- _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
56635
+ _this33.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
56561
56636
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
56562
- _this32.currentOrgSelectorTabs.map(function (x, i) {
56563
- _this32.currentOrgSelectorParams[x] = {
56637
+ _this33.currentOrgSelectorTabs.map(function (x, i) {
56638
+ _this33.currentOrgSelectorParams[x] = {
56564
56639
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
56565
56640
  only_filid: true,
56566
- roleid: _this32.selectorParams.roleid
56641
+ roleid: _this33.selectorParams.roleid
56567
56642
  };
56568
56643
  });
56569
56644
  }
56570
56645
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
56571
- _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
56646
+ _this33.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
56572
56647
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
56573
- _this32.foreignOrgSelectorTabs.map(function (x, i) {
56574
- _this32.foreignOrgSelectorParams[x] = {
56648
+ _this33.foreignOrgSelectorTabs.map(function (x, i) {
56649
+ _this33.foreignOrgSelectorParams[x] = {
56575
56650
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
56576
56651
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
56577
- roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
56652
+ roleid: _this33.circularReadParamsMap.circularReadOrgRoleCode || _this33.foreignOrgSelectorParams.roleid
56578
56653
  };
56579
56654
  });
56580
56655
  }
56581
- _this32.circularReadParamsMap = circularReadParamsMap || {};
56582
- if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
56583
- _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
56584
- }
56585
- _this32.currentOrgName = currentOrgName;
56586
- _this32.nextOperateCheckType = nextOperateCheckType || 'select';
56587
- _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
56588
-
56589
- _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
56590
- _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
56591
- _this32.readOnlyNotificationType = readOnlyNotificationType;
56592
-
56593
- _this32.readOnlyNotificationType = readOnlyNotificationType;
56594
- _this32.isSpecial = isSpecial;
56595
- _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
56596
- _this32.otherOrgName = otherOrgName;
56597
- _this32.isCanPreAddSign = isCanPreAddSign;
56598
- _this32.endFlowInfo.choiceOrgId = choiceOrgId;
56599
- _this32.endFlowInfo.choiceDeptId = choiceDeptId;
56600
- _this32.endFlowInfo.pendingId = _this32.pendingId;
56601
- _this32.attachedCode = attachedCode;
56602
- _this32.endFlowInfo.pOrgId = pOrgId;
56603
- _this32.canPresetRead = canPresetRead;
56604
- _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
56605
- nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
56606
- _this32.operationList = taskOperations || [];
56607
- _this32.customPresetHintMessage = customPresetHintMessage;
56656
+ _this33.circularReadParamsMap = circularReadParamsMap || {};
56657
+ if (_this33.circularReadParamsMap.circularReadOrgRoleCode) {
56658
+ _this33.foreignOrgSelectorParams.roleid = _this33.circularReadParamsMap.circularReadOrgRoleCode;
56659
+ }
56660
+ _this33.currentOrgName = currentOrgName;
56661
+ _this33.nextOperateCheckType = nextOperateCheckType || 'select';
56662
+ _this33.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
56663
+
56664
+ _this33.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
56665
+ _this33.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
56666
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
56667
+
56668
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
56669
+ _this33.isSpecial = isSpecial;
56670
+ _this33.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
56671
+ _this33.otherOrgName = otherOrgName;
56672
+ _this33.isCanPreAddSign = isCanPreAddSign;
56673
+ _this33.endFlowInfo.choiceOrgId = choiceOrgId;
56674
+ _this33.endFlowInfo.choiceDeptId = choiceDeptId;
56675
+ _this33.endFlowInfo.pendingId = _this33.pendingId;
56676
+ _this33.attachedCode = attachedCode;
56677
+ _this33.endFlowInfo.pOrgId = pOrgId;
56678
+ _this33.canPresetRead = canPresetRead;
56679
+ _this33.isCdjxjTaskHandle = isCdjxjTaskHandle;
56680
+ nextNodeCheckType && (_this33.nextNodeCheckType = nextNodeCheckType);
56681
+ _this33.operationList = taskOperations || [];
56682
+ _this33.customPresetHintMessage = customPresetHintMessage;
56608
56683
  if (canPresetRead) {
56609
56684
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
56610
56685
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
56611
56686
  ids.map(function (item, index) {
56612
- _this32.presetReadUserId.push({
56687
+ _this33.presetReadUserId.push({
56613
56688
  showid: item,
56614
56689
  showname: names[index]
56615
56690
  });
56616
- _this32.selectPresetUserList.push({
56691
+ _this33.selectPresetUserList.push({
56617
56692
  showid: item,
56618
56693
  showname: names[index]
56619
56694
  });
56620
- _this32.nextNode.presetReadUserId.push(item);
56695
+ _this33.nextNode.presetReadUserId.push(item);
56621
56696
  });
56622
56697
  }
56623
- if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
56698
+ if (!_this33.isFlow) _this33.getFile(_this33.pendingId, attachedCode);
56624
56699
  if (nextNodeList && nextNodeList.length != 0) {
56625
- _this32.nextNodeList = nextNodeList;
56700
+ _this33.nextNodeList = nextNodeList;
56626
56701
  if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
56627
- _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
56628
- nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
56702
+ _this33.isNextUser = nextNodeList[0].nodeType != 'endEvent';
56703
+ nextNodeList[0].nodeType === 'endEvent' ? _this33.endFlow = true : '';
56629
56704
  }
56630
56705
  }
56631
56706
 
56632
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
56707
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this33.removeUsers = canRemoveSignUserList;
56633
56708
  if (taskOperations && taskOperations.length != 0) {
56634
56709
  var isSelected = false;
56635
56710
  taskOperations.map(function (item) {
56636
- if (item.key === 9) _this32.isReject = true;
56711
+ if (item.key === 9) _this33.isReject = true;
56637
56712
  if (item.isSelected) {
56638
- _this32.nodeInfos = [];
56639
- _this32.nextNode.nextOperate = item.key;
56713
+ _this33.nodeInfos = [];
56714
+ _this33.nextNode.nextOperate = item.key;
56640
56715
  if (item.taskNodeList != null) {
56641
- _this32.nodeInfos = item.taskNodeList;
56716
+ _this33.nodeInfos = item.taskNodeList;
56642
56717
  }
56643
56718
  isSelected = true;
56644
56719
  }
56645
56720
  });
56646
56721
  if (taskOperations.length > 0 && !isSelected) {
56647
- _this32.nodeInfos = [];
56648
- _this32.nextNode.nextOperate = taskOperations[0].key;
56722
+ _this33.nodeInfos = [];
56723
+ _this33.nextNode.nextOperate = taskOperations[0].key;
56649
56724
  if (taskOperations[0].taskNodeList != null) {
56650
- _this32.nodeInfos = taskOperations[0].taskNodeList;
56725
+ _this33.nodeInfos = taskOperations[0].taskNodeList;
56651
56726
  }
56652
56727
  }
56653
56728
  }
56654
56729
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
56655
- _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
56730
+ _this33.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
56656
56731
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
56657
56732
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
56658
56733
  notice.map(function (x) {
56659
- _this32.nodeFixedOpinionSelectList.push({ content: x });
56734
+ _this33.nodeFixedOpinionSelectList.push({ content: x });
56660
56735
  });
56661
56736
  }
56662
56737
 
56663
- _this32.value = opinion || '';
56664
- _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
56665
- _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
56666
- _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
56667
- _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
56668
- _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
56669
- _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
56738
+ _this33.value = opinion || '';
56739
+ _this33.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
56740
+ _this33.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
56741
+ _this33.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
56742
+ _this33.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
56743
+ _this33.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
56744
+ _this33.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
56670
56745
  // this.isHideDefaultOperation =
56671
56746
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
56672
- _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
56747
+ _this33.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
56673
56748
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
56674
- var defaultNode = _this32.nodeInfos.filter(function (item) {
56749
+ var defaultNode = _this33.nodeInfos.filter(function (item) {
56675
56750
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
56676
56751
  });
56677
- if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
56678
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
56752
+ if (_this33.nodeInfos.length > 0 && defaultNode.length == 0) {
56753
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
56679
56754
  } else {
56680
- _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
56755
+ _this33.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
56681
56756
  }
56682
- } else if (_this32.nodeInfos.length > 0) {
56683
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
56757
+ } else if (_this33.nodeInfos.length > 0) {
56758
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
56684
56759
  }
56685
- _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
56760
+ _this33.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
56686
56761
  if (nodeInfoMap.nodeExtAttr.submitText) {
56687
- _this32.btnList.map(function (x) {
56762
+ _this33.btnList.map(function (x) {
56688
56763
  if (x.event === 'sub') {
56689
56764
  x.text = nodeInfoMap.nodeExtAttr.submitText;
56690
56765
  }
56691
56766
  });
56692
56767
  }
56693
56768
  }
56694
- _this32.choiceOrgId = choiceOrgId;
56695
- _this32.choiceDeptId = choiceDeptId;
56696
- _this32.pOrgId = pOrgId;
56769
+ _this33.choiceOrgId = choiceOrgId;
56770
+ _this33.choiceDeptId = choiceDeptId;
56771
+ _this33.pOrgId = pOrgId;
56697
56772
  if (res.data && res.data.isEndUserTask != undefined) {
56698
- _this32.isEndUserTask = res.data.isEndUserTask;
56773
+ _this33.isEndUserTask = res.data.isEndUserTask;
56699
56774
  }
56700
56775
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
56701
- _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
56702
- _this32.NodeName = taskExamine.nodeName;
56703
- _this32.taskId = taskExamine.taskId;
56704
- _this32.businessIds = taskExamine.businessId;
56705
- _this32.appId = taskExamine.appId;
56706
- _this32.taskExamineInfo = taskExamine;
56707
- _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
56708
- _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
56709
- _this32.endFlowInfo.processType = taskExamine.processType;
56776
+ _this33.nodeInfo.nextNode = taskExamine.processDefinitionId;
56777
+ _this33.NodeName = taskExamine.nodeName;
56778
+ _this33.taskId = taskExamine.taskId;
56779
+ _this33.businessIds = taskExamine.businessId;
56780
+ _this33.appId = taskExamine.appId;
56781
+ _this33.taskExamineInfo = taskExamine;
56782
+ _this33.taskExamineInfo.choiceOrgId = choiceOrgId;
56783
+ _this33.taskExamineInfo.choiceDeptId = choiceDeptId;
56784
+ _this33.endFlowInfo.processType = taskExamine.processType;
56710
56785
  // this.endFlowInfo.isReturnSubmitter =
56711
56786
  // taskExamine.isReturnSubmitter;
56712
56787
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -56718,98 +56793,96 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56718
56793
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
56719
56794
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
56720
56795
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
56721
- _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
56722
- _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
56723
- _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
56724
- _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
56725
- _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
56726
- _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
56727
- _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
56728
- _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
56729
- _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
56796
+ _this33.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
56797
+ _this33.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
56798
+ _this33.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
56799
+ _this33.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
56800
+ _this33.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
56801
+ _this33.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
56802
+ _this33.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
56803
+ _this33.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
56804
+ _this33.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
56730
56805
  // this.endFlowInfo.isReadDealReply =
56731
56806
  // taskExamine.isReadDealReplybusinessId;
56732
- _this32.endFlowInfo.appId = taskExamine.appId;
56733
- _this32.endFlowInfo.businessId = taskExamine.businessId;
56734
- _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
56735
- _this32.endFlowInfo.nodeId = taskExamine.nodeId;
56807
+ _this33.endFlowInfo.appId = taskExamine.appId;
56808
+ _this33.endFlowInfo.businessId = taskExamine.businessId;
56809
+ _this33.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
56810
+ _this33.endFlowInfo.nodeId = taskExamine.nodeId;
56736
56811
  }
56737
56812
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
56738
- _this32.NodeName = extendData.pendingData.itemname;
56813
+ _this33.NodeName = extendData.pendingData.itemname;
56739
56814
  }
56740
- if (_this32.nodeName) {
56741
- _this32.NodeName = _this32.nodeName;
56815
+ if (_this33.nodeName) {
56816
+ _this33.NodeName = _this33.nodeName;
56742
56817
  }
56743
- _this32.isCanAddSign = isCanAddSign;
56744
- _this32.processObj = res.data;
56745
- if (_this32.isCanAddSign) {
56746
- _this32.nextNode.isAddSign = '2';
56818
+ _this33.isCanAddSign = isCanAddSign;
56819
+ _this33.processObj = res.data;
56820
+ if (_this33.isCanAddSign) {
56821
+ _this33.nextNode.isAddSign = '2';
56747
56822
  }
56748
- _this32.isCanRemoveSign = isCanRemoveSign;
56749
- if (_this32.isCanRemoveSign) {
56750
- _this32.nextNode.isRemoveSign = '2';
56823
+ _this33.isCanRemoveSign = isCanRemoveSign;
56824
+ if (_this33.isCanRemoveSign) {
56825
+ _this33.nextNode.isRemoveSign = '2';
56751
56826
  }
56752
56827
 
56753
- if (!_this32.isOpinionRequired) {
56754
- _this32.isOpinionRequired = 0;
56828
+ if (!_this33.isOpinionRequired) {
56829
+ _this33.isOpinionRequired = 0;
56755
56830
  }
56756
56831
  // opinion && (this.value = opinion);
56757
- _this32.nextNode.notificationMsg = defaultNotificationMessage;
56758
- _this32.moreList = [];
56832
+ _this33.nextNode.notificationMsg = defaultNotificationMessage;
56833
+ _this33.moreList = [];
56759
56834
  if (taskButtonList && taskButtonList.length != 0) {
56760
56835
  taskButtonList.map(function (item) {
56761
56836
  if (item.fun === 'reject()') {
56762
- _this32.rejectObj = item;
56837
+ _this33.rejectObj = item;
56763
56838
  } else if (item.fun === 'toStartTaskRead()') {
56764
- _this32.pointsReadingObj = item;
56839
+ _this33.pointsReadingObj = item;
56765
56840
  } else {
56766
- _this32.moreList.push(item);
56841
+ _this33.moreList.push(item);
56767
56842
  }
56768
56843
  });
56769
- _this32.typeList = _this32.typeList.concat(taskButtonList);
56770
- }
56771
- _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
56772
- _this32.isCustomPreset = isCustomPreset;
56773
- _this32.isPreset = isPreset;
56774
- _this32.presetTaskNodeMap = presetTaskNodeMap;
56775
- _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
56776
- _this32.getFind();
56777
- _this32.selecNext(_this32.nextNode.nextOperate, true, true);
56844
+ _this33.typeList = _this33.typeList.concat(taskButtonList);
56845
+ }
56846
+ _this33.isMainSubProcess = res.data.isMainSubProcess == 'true';
56847
+ _this33.isCustomPreset = isCustomPreset;
56848
+ _this33.isPreset = isPreset;
56849
+ _this33.presetTaskNodeMap = presetTaskNodeMap;
56850
+ _this33.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
56851
+ _this33.getFind();
56852
+ _this33.selecNext(_this33.nextNode.nextOperate, true, true);
56778
56853
  // this.getNodeInfo();
56779
- _this32.StartTaskReadKey++;
56854
+ _this33.StartTaskReadKey++;
56780
56855
  } else {
56781
56856
  if (res.status === 'taskCompleted') {
56782
- _this32.$emit('shrink', true);
56783
- _this32.shrinkAbled = true;
56784
- _this32.$message.warning(res.message || '系统错误,请联系管理员!');
56857
+ _this33.$emit('shrink', true);
56858
+ _this33.shrinkAbled = true;
56859
+ _this33.$message.warning(res.message || '系统错误,请联系管理员!');
56785
56860
  } else {
56786
- _this32.$message.error(res.message || '系统错误,请联系管理员!');
56861
+ _this33.$message.error(res.message || '系统错误,请联系管理员!');
56787
56862
  }
56788
56863
  }
56789
- _this32.showOpinion = false;
56864
+ _this33.showOpinion = false;
56790
56865
  setTimeout(function () {
56791
- _this32.showOpinion = true;
56866
+ _this33.showOpinion = true;
56792
56867
  }, 0);
56793
56868
  }).catch(function (err) {
56794
- _this32.loading.close();
56869
+ _this33.loading.close();
56795
56870
  if (err.message && err.message !== 'canceled') {
56796
- _this32.$message.error(err.message);
56871
+ _this33.$message.error(err.message);
56797
56872
  }
56798
56873
  });
56799
56874
  },
56800
56875
 
56801
- /**
56802
- * closeProcess
56803
- * @desc:关闭弹窗
56804
- * @author liufan
56805
- * @param {boolean} val 当前是否办理流程
56806
- * @param {String} type 当前点击的弹窗类型
56807
- * @date 2022年5月25日
56876
+ /**
56877
+ * closeProcess
56878
+ * @desc:关闭弹窗
56879
+ * @author liufan
56880
+ * @param {boolean} val 当前是否办理流程
56881
+ * @param {String} type 当前点击的弹窗类型
56882
+ * @date 2022年5月25日
56808
56883
  **/
56809
56884
  closeProcess: function closeProcess(val, type, closeParent) {
56810
- if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
56811
- this.$refs[type].handleClosed();
56812
- } else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
56885
+ if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
56813
56886
  this[type] = false;
56814
56887
  }
56815
56888
  if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
@@ -56820,27 +56893,32 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56820
56893
  this.flowSuccess(true);
56821
56894
  // this.$emit('success');
56822
56895
  } else {
56823
- this.$emit('cancel');
56896
+ if (type == 'showTaskRead') {
56897
+ !this.simpleTips && this.$message.success('分阅成功');
56898
+ this.$emit('success', 'taskRead');
56899
+ } else {
56900
+ this.$emit('cancel');
56901
+ }
56824
56902
  }
56825
56903
  },
56826
56904
 
56827
- /**
56828
- * selectChange
56829
- * @desc:常用语选择
56830
- * @author liufan
56831
- * @param {String} val 选中值
56832
- * @date 2022年5月25日
56905
+ /**
56906
+ * selectChange
56907
+ * @desc:常用语选择
56908
+ * @author liufan
56909
+ * @param {String} val 选中值
56910
+ * @date 2022年5月25日
56833
56911
  **/
56834
56912
  selectChange: function selectChange(val) {
56835
56913
  this.value = val;
56836
56914
  },
56837
56915
 
56838
- /**
56839
- * upDate
56840
- * @desc:修改常用语
56841
- * @author liufan
56842
- * @param {Object} val 修改值
56843
- * @date 2022年5月25日
56916
+ /**
56917
+ * upDate
56918
+ * @desc:修改常用语
56919
+ * @author liufan
56920
+ * @param {Object} val 修改值
56921
+ * @date 2022年5月25日
56844
56922
  **/
56845
56923
  upDate: function upDate(val) {
56846
56924
  this.FormData.id = val.id;
@@ -56848,14 +56926,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56848
56926
  },
56849
56927
 
56850
56928
 
56851
- /**
56852
- * getProcess
56853
- * @desc:获取选择流程
56854
- * @author liufan
56855
- * @date 2022年5月25日
56929
+ /**
56930
+ * getProcess
56931
+ * @desc:获取选择流程
56932
+ * @author liufan
56933
+ * @date 2022年5月25日
56856
56934
  **/
56857
56935
  getProcess: function getProcess(val) {
56858
- var _this33 = this;
56936
+ var _this34 = this;
56859
56937
 
56860
56938
  var params = flowvue_type_script_lang_js_extends({
56861
56939
  businessId: this.businessId,
@@ -56873,56 +56951,56 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56873
56951
  message = res.message,
56874
56952
  data = res.data;
56875
56953
 
56876
- _this33.loading.close();
56954
+ _this34.loading.close();
56877
56955
  if (status === 'success') {
56878
56956
  if (data.simpleTips != undefined) {
56879
- _this33.simpleTips = data.simpleTips;
56957
+ _this34.simpleTips = data.simpleTips;
56880
56958
  }
56881
- _this33.isStartFlowChartView = data.isStartFlowChartView;
56959
+ _this34.isStartFlowChartView = data.isStartFlowChartView;
56882
56960
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
56883
- _this33.$message.error('流程不存在或未关联对应流程!');
56961
+ _this34.$message.error('流程不存在或未关联对应流程!');
56884
56962
  } else {
56885
- _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
56886
- _this33.activitiDefinitionSort = data.activitiDefinitionSort;
56887
- _this33.nodeInfo.option = data.definitionList;
56888
- _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
56889
- return item.processDefKey == _this33.defaultProcessKey;
56963
+ _this34.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
56964
+ _this34.activitiDefinitionSort = data.activitiDefinitionSort;
56965
+ _this34.nodeInfo.option = data.definitionList;
56966
+ _this34.nodeInfo.nextNode = data.definitionList.filter(function (item) {
56967
+ return item.processDefKey == _this34.defaultProcessKey;
56890
56968
  });
56891
- if (_this33.nodeInfo.nextNode.length) {
56892
- _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
56969
+ if (_this34.nodeInfo.nextNode.length) {
56970
+ _this34.nodeInfo.nextNode = _this34.nodeInfo.nextNode[0].processDefId;
56893
56971
  } else {
56894
56972
  if (data.definitionList.length != 0) {
56895
- _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
56973
+ _this34.nodeInfo.nextNode = data.definitionList[0].processDefId;
56896
56974
  } else {
56897
- _this33.nodeInfo.nextNode = '';
56975
+ _this34.nodeInfo.nextNode = '';
56898
56976
  }
56899
56977
  }
56900
- if (_this33.nodeInfo.nextNode) {
56901
- _this33.handleChange(_this33.nodeInfo.nextNode, true);
56978
+ if (_this34.nodeInfo.nextNode) {
56979
+ _this34.handleChange(_this34.nodeInfo.nextNode, true);
56902
56980
  }
56903
- if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
56904
- _this33.getAdminMsgType();
56981
+ if (_this34.showCirculate != undefined && !_this34.showCirculate && _this34.urgencyLevel) {
56982
+ _this34.getAdminMsgType();
56905
56983
  }
56906
56984
  }
56907
56985
  } else {
56908
- _this33.$message.error(message || '系统错误,请联系管理员!');
56986
+ _this34.$message.error(message || '系统错误,请联系管理员!');
56909
56987
  }
56910
56988
  }).catch(function (err) {
56911
- _this33.loading.close();
56989
+ _this34.loading.close();
56912
56990
  if (err.message && err.message !== 'canceled') {
56913
- _this33.$message.error(err.message);
56991
+ _this34.$message.error(err.message);
56914
56992
  }
56915
56993
  });
56916
56994
  },
56917
56995
 
56918
- /**
56919
- * getPendedhistoryList
56920
- * @desc:获取流程列表
56921
- * @author liufan
56922
- * @date 2022年5月25日
56996
+ /**
56997
+ * getPendedhistoryList
56998
+ * @desc:获取流程列表
56999
+ * @author liufan
57000
+ * @date 2022年5月25日
56923
57001
  **/
56924
57002
  getPendedhistoryList: function getPendedhistoryList() {
56925
- var _this34 = this;
57003
+ var _this35 = this;
56926
57004
 
56927
57005
  var params = {
56928
57006
  apprecordId: this.businessIds,
@@ -56935,22 +57013,22 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56935
57013
  results = res.results;
56936
57014
 
56937
57015
  if (!rCode) {
56938
- _this34.nextNode.nextUserId = [];
56939
- _this34.showNews = false;
56940
- _this34.nextNode.notificationType = [];
56941
- _this34.pendingId = results[results.length - 1].attachId;
56942
- _this34.getHedInfo();
57016
+ _this35.nextNode.nextUserId = [];
57017
+ _this35.showNews = false;
57018
+ _this35.nextNode.notificationType = [];
57019
+ _this35.pendingId = results[results.length - 1].attachId;
57020
+ _this35.getHedInfo();
56943
57021
  } else {
56944
- _this34.$message.error(msg || '系统错误,请联系管理员!');
57022
+ _this35.$message.error(msg || '系统错误,请联系管理员!');
56945
57023
  }
56946
57024
  }).catch(function (err) {
56947
57025
  if (err.message && err.message !== 'canceled') {
56948
- _this34.$message.error(err.message);
57026
+ _this35.$message.error(err.message);
56949
57027
  }
56950
57028
  });
56951
57029
  },
56952
57030
  reqCircularRead: function reqCircularRead(type) {
56953
- var _this35 = this;
57031
+ var _this36 = this;
56954
57032
 
56955
57033
  var _that = this;
56956
57034
  var params = {
@@ -56964,7 +57042,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56964
57042
  };
56965
57043
  this.loading = utils_util.loading(this.$loading, '提交中...');
56966
57044
  utils_util.ajax(params).then(function (res) {
56967
- _this35.loading.close();
57045
+ _this36.loading.close();
56968
57046
  if (res.rCode == 0) {
56969
57047
  if (res.results.alert) {
56970
57048
  _that.$confirm(res.results.message, {
@@ -56988,20 +57066,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56988
57066
 
56989
57067
  // 提交流程前验证
56990
57068
  beforeSubProcess: function beforeSubProcess(val, type) {
56991
- var _this36 = this;
57069
+ var _this37 = this;
56992
57070
 
56993
57071
  return this.$refs['nextNode'].validate(function (valid) {
56994
57072
  if (valid) {
56995
- if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
56996
- _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
56997
- _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
56998
- _this36.value = val + _this36.value;
57073
+ if (_this37.isSubmitButtonShowAgreeAndDisagree == 1) {
57074
+ _this37.value = _this37.value.replace(RegExp('不同意。', 'g'), '');
57075
+ _this37.value = _this37.value.replace(RegExp('同意。', 'g'), '');
57076
+ _this37.value = val + _this37.value;
56999
57077
  }
57000
- if (!_this36.validInfo()) {
57001
- _this36.freeValid = false;
57078
+ if (!_this37.validInfo()) {
57079
+ _this37.freeValid = false;
57002
57080
  return;
57003
57081
  } else {
57004
- _this36.freeValid = true;
57082
+ _this37.freeValid = true;
57005
57083
  }
57006
57084
  // if (
57007
57085
  // this.currentNodeIsCircularReadNode &&
@@ -57011,42 +57089,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57011
57089
  // return;
57012
57090
  // }
57013
57091
 
57014
- if (_this36.submitButtonFunKey) {
57015
- var btnInfo = _this36.taskNodeButtons.filter(function (x) {
57016
- return x.key === _this36.submitButtonFunKey;
57092
+ if (_this37.submitButtonFunKey) {
57093
+ var btnInfo = _this37.taskNodeButtons.filter(function (x) {
57094
+ return x.key === _this37.submitButtonFunKey;
57017
57095
  });
57018
57096
  if (btnInfo.length > 0) {
57019
57097
  if (btnInfo[0].type == 4) {
57020
- _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
57098
+ _this37.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this37.value }, _this37.sendData);
57021
57099
  } else if (btnInfo[0].type == 2) {
57022
- _this36.goView(btnInfo[0]);
57100
+ _this37.goView(btnInfo[0]);
57023
57101
  }
57024
57102
  }
57025
57103
  return;
57026
57104
  }
57027
57105
  if (type == 'multiInsMidwayWithSubmitScene') {
57028
- _this36.sendData(type);
57106
+ _this37.sendData(type);
57029
57107
  return;
57030
57108
  }
57031
- if (_this36.beforeSubmit == undefined) {
57032
- _this36.subFun(_this36.sendData);
57109
+ if (_this37.beforeSubmit == undefined) {
57110
+ _this37.subFun(_this37.sendData);
57033
57111
  } else {
57034
- _this36.sendData();
57112
+ _this37.sendData();
57035
57113
  }
57036
57114
  }
57037
57115
  });
57038
57116
  },
57039
57117
 
57040
57118
  // 提交流程
57041
- /**
57042
- * subProcess
57043
- * @desc:提交流程
57044
- * @author liufan
57045
- * @param {String} formName 当前form表单ref值
57046
- * @date 2022年5月25日
57119
+ /**
57120
+ * subProcess
57121
+ * @desc:提交流程
57122
+ * @author liufan
57123
+ * @param {String} formName 当前form表单ref值
57124
+ * @date 2022年5月25日
57047
57125
  **/
57048
57126
  subProcess: function subProcess(val, type) {
57049
- var _this37 = this;
57127
+ var _this38 = this;
57050
57128
 
57051
57129
  if (this.btnType != 'default') {
57052
57130
  if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
@@ -57060,7 +57138,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57060
57138
  this.beforeSubProcess(val, type);
57061
57139
  } else {
57062
57140
  this.beforeSubmit(1).then(function (next) {
57063
- _this37.beforeSubProcess(val, type);
57141
+ _this38.beforeSubProcess(val, type);
57064
57142
  }).catch(function (e) {});
57065
57143
  }
57066
57144
  },
@@ -57103,14 +57181,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57103
57181
  return true;
57104
57182
  },
57105
57183
  flowSuccess: function flowSuccess(hideMessage) {
57106
- var _this38 = this;
57184
+ var _this39 = this;
57107
57185
 
57108
57186
  if (!this.simpleTips) {
57109
57187
  this.$alert('提交成功', '', {
57110
57188
  confirmButtonText: '确定',
57111
57189
  type: 'success',
57112
57190
  callback: function callback(action) {
57113
- _this38.$emit('success');
57191
+ _this39.$emit('success');
57114
57192
  }
57115
57193
  });
57116
57194
  } else {
@@ -57121,7 +57199,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57121
57199
  }
57122
57200
  },
57123
57201
  sendData: function sendData(freetype) {
57124
- var _this39 = this;
57202
+ var _this40 = this;
57125
57203
 
57126
57204
  if (this.isFlow && !this.nodeInfo.nextNode) {
57127
57205
  this.$message.warning('请选择流程');
@@ -57147,70 +57225,70 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57147
57225
  break;
57148
57226
  }
57149
57227
 
57150
- if (!_this39.isFlow) {
57228
+ if (!_this40.isFlow) {
57151
57229
  _context2.next = 7;
57152
57230
  break;
57153
57231
  }
57154
57232
 
57155
- if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
57233
+ if (!(_this40.isOpinionRequired && !_this40.$refs.commonOpinions.validate())) {
57156
57234
  _context2.next = 5;
57157
57235
  break;
57158
57236
  }
57159
57237
 
57160
- _this39.$message.warning('请输入审批意见');
57238
+ _this40.$message.warning('请输入审批意见');
57161
57239
  return _context2.abrupt('return');
57162
57240
 
57163
57241
  case 5:
57164
- if (_this39.directCreateCircularReadWhenFlowStarted) {
57165
- _this39.circulateVisible = true;
57242
+ if (_this40.directCreateCircularReadWhenFlowStarted) {
57243
+ _this40.circulateVisible = true;
57166
57244
  } else {
57167
- _this39.handleVisible = true;
57245
+ _this40.handleVisible = true;
57168
57246
  }
57169
57247
  return _context2.abrupt('return');
57170
57248
 
57171
57249
  case 7:
57172
57250
  nextUserId = [];
57173
57251
 
57174
- if (_this39.multiple) {
57175
- _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
57252
+ if (_this40.multiple) {
57253
+ _this40.nextNode.nextUserId && _this40.nextNode.nextUserId.map(function (item) {
57176
57254
  return nextUserId.push(item);
57177
57255
  });
57178
57256
  }
57179
57257
  addSignUserId = [];
57180
57258
 
57181
- if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
57182
- _this39.nextNode.addSignUserId.map(function (item) {
57259
+ if (_this40.isCanAddSign && _this40.nextNode.isAddSign == '1') {
57260
+ _this40.nextNode.addSignUserId.map(function (item) {
57183
57261
  addSignUserId.push(item);
57184
57262
  });
57185
57263
  }
57186
57264
  removeSignUserId = [];
57187
57265
 
57188
- if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
57189
- _this39.nextNode.removeSignUserId.map(function (item) {
57266
+ if (_this40.isCanRemoveSign && _this40.nextNode.isRemoveSign == '1') {
57267
+ _this40.nextNode.removeSignUserId.map(function (item) {
57190
57268
  removeSignUserId.push(item);
57191
57269
  });
57192
57270
  }
57193
57271
  str = '';
57194
57272
 
57195
- if (_this39.value) {
57196
- str = _this39.value.replace(/\s+/g, '');
57273
+ if (_this40.value) {
57274
+ str = _this40.value.replace(/\s+/g, '');
57197
57275
  }
57198
- if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
57199
- _this39.value = _this39.nodeDefaultSubmitOpinion;
57276
+ if ((!_this40.value || str === '') && _this40.nodeDefaultSubmitOpinion) {
57277
+ _this40.value = _this40.nodeDefaultSubmitOpinion;
57200
57278
  }
57201
- if (!_this39.isSpecial) {
57202
- delete _this39.nextNode.nextOperate;
57203
- delete _this39.nextNode.nextNodeId;
57279
+ if (!_this40.isSpecial) {
57280
+ delete _this40.nextNode.nextOperate;
57281
+ delete _this40.nextNode.nextNodeId;
57204
57282
  }
57205
- if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
57206
- _this39.nextNode.isReturnRejectNode = 1;
57207
- _this39.nextNode.processDefinitionId = _this39.processObj.taskExamine.processDefinitionId;
57283
+ if (_this40.nextNode.nextOperate === 9 || _this40.oldNextOperate == 9) {
57284
+ _this40.nextNode.isReturnRejectNode = 1;
57285
+ _this40.nextNode.processDefinitionId = _this40.processObj.taskExamine.processDefinitionId;
57208
57286
  }
57209
- if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
57210
- delete _this39.nextNode.nextNodeId;
57287
+ if (_this40.nextNode.nextOperate != 0 && _this40.nextNode.nextOperate != 1 && _this40.oldNextOperate === '' || _this40.oldNextOperate !== '' && _this40.oldNextOperate != 0 && _this40.oldNextOperate != 1) {
57288
+ delete _this40.nextNode.nextNodeId;
57211
57289
  }
57212
57290
 
57213
- if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
57291
+ if (!(_this40.isCustomPreset && _this40.activeNames == '1')) {
57214
57292
  _context2.next = 30;
57215
57293
  break;
57216
57294
  }
@@ -57218,20 +57296,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57218
57296
  i = 0;
57219
57297
 
57220
57298
  case 21:
57221
- if (!(i < _this39.presetList.length)) {
57299
+ if (!(i < _this40.presetList.length)) {
57222
57300
  _context2.next = 30;
57223
57301
  break;
57224
57302
  }
57225
57303
 
57226
- if (!(_this39.presetList[i].name && _this39.presetList[i].name != '1' && _this39.presetList[i].name != 'endEvent' && (!_this39.presetList[i].value || _this39.presetList[i].value.length == 0))) {
57304
+ if (!(_this40.presetList[i].name && _this40.presetList[i].name != '1' && _this40.presetList[i].name != 'endEvent' && (!_this40.presetList[i].value || _this40.presetList[i].value.length == 0))) {
57227
57305
  _context2.next = 26;
57228
57306
  break;
57229
57307
  }
57230
57308
 
57231
- return _context2.abrupt('return', _this39.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this39.presetList[i].sequence + '-' + _this39.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
57309
+ return _context2.abrupt('return', _this40.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this40.presetList[i].sequence + '-' + _this40.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
57232
57310
 
57233
57311
  case 26:
57234
- delete _this39.presetList[i].label;
57312
+ delete _this40.presetList[i].label;
57235
57313
 
57236
57314
  case 27:
57237
57315
  i++;
@@ -57239,12 +57317,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57239
57317
  break;
57240
57318
 
57241
57319
  case 30:
57242
- if (!_this39.isCancelSecondConfirmationType) {
57320
+ if (!_this40.isCancelSecondConfirmationType) {
57243
57321
  _context2.next = 33;
57244
57322
  break;
57245
57323
  }
57246
57324
 
57247
- _this39.$confirm('确认提交吗?', '提示', {
57325
+ _this40.$confirm('确认提交吗?', '提示', {
57248
57326
  confirmButtonText: '确定',
57249
57327
  cancelButtonText: '取消',
57250
57328
  type: 'warning'
@@ -57260,46 +57338,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57260
57338
  }
57261
57339
 
57262
57340
  _context.next = 3;
57263
- return _this39.saveInfo('subMit');
57341
+ return _this40.saveInfo('subMit');
57264
57342
 
57265
57343
  case 3:
57266
- _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57344
+ _this40.loading = utils_util.loading(_this40.$loading, '加载中...');
57267
57345
 
57268
57346
  case 4:
57269
57347
  notificationType = '';
57270
57348
 
57271
- notificationType = _this39.nextNode.notificationType.join(',');
57349
+ notificationType = _this40.nextNode.notificationType.join(',');
57272
57350
  addSignUserId = addSignUserId.join(',');
57273
57351
  removeSignUserId = removeSignUserId.join(',');
57274
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57275
- delete _this39.nextNode.addSignMode;
57352
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
57353
+ delete _this40.nextNode.addSignMode;
57276
57354
  }
57277
57355
 
57278
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57279
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57280
- pendingId: _this39.pendingId,
57281
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57356
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
57357
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
57358
+ pendingId: _this40.pendingId,
57359
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
57282
57360
  userId: utils_util.getStorage('userId'),
57283
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57361
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
57284
57362
  addSignUserId: addSignUserId,
57285
- customPresetUserJson: JSON.stringify(_this39.presetList),
57286
- presetUserJson: JSON.stringify(_this39.presetUserJson),
57363
+ customPresetUserJson: JSON.stringify(_this40.presetList),
57364
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
57287
57365
  removeSignUserId: removeSignUserId,
57288
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
57289
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57290
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57366
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
57367
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
57368
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
57291
57369
  notificationType: notificationType
57292
57370
  });
57293
57371
 
57294
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57372
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
57295
57373
  delete params.customLimitTimeText;
57296
- if (_this39.nextNode.isRemoveSign != '1') {
57374
+ if (_this40.nextNode.isRemoveSign != '1') {
57297
57375
  delete params.removeSignUserId;
57298
57376
  }
57299
- if (_this39.nextNode.isAddSign != '1') {
57377
+ if (_this40.nextNode.isAddSign != '1') {
57300
57378
  delete params.addSignUserId;
57301
57379
  }
57302
- if (!_this39.isSpecial) {
57380
+ if (!_this40.isSpecial) {
57303
57381
  delete params.nextUserId;
57304
57382
  }
57305
57383
 
@@ -57308,13 +57386,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57308
57386
  break;
57309
57387
  }
57310
57388
 
57311
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57312
- _this39.taskParams = params;
57389
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
57390
+ _this40.taskParams = params;
57313
57391
  return _context.abrupt('return');
57314
57392
 
57315
57393
  case 19:
57316
- _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57317
- isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57394
+ _this40.loading = utils_util.loading(_this40.$loading, '提交中...');
57395
+ isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
57318
57396
 
57319
57397
  params.isEndUserTask = isEndUserTask;
57320
57398
  params.choiceOrgId = choiceOrgId;
@@ -57338,17 +57416,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57338
57416
  var status = res.status,
57339
57417
  message = res.message;
57340
57418
 
57341
- _this39.loading.close();
57419
+ _this40.loading.close();
57342
57420
  if (status === 'success') {
57343
- _this39.flowSuccess();
57421
+ _this40.flowSuccess();
57344
57422
  } else {
57345
- _this39.$message.error(message || '系统错误,请联系管理员!');
57346
- _this39.$emit('error');
57423
+ _this40.$message.error(message || '系统错误,请联系管理员!');
57424
+ _this40.$emit('error');
57347
57425
  }
57348
57426
  }).catch(function (err) {
57349
- _this39.loading.close();
57427
+ _this40.loading.close();
57350
57428
  if (err.message && err.message !== 'canceled') {
57351
- _this39.$message.error(err.message);
57429
+ _this40.$message.error(err.message);
57352
57430
  }
57353
57431
  }));
57354
57432
 
@@ -57357,7 +57435,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57357
57435
  return _context.stop();
57358
57436
  }
57359
57437
  }
57360
- }, _callee, _this39);
57438
+ }, _callee, _this40);
57361
57439
  })));
57362
57440
  return _context2.abrupt('return');
57363
57441
 
@@ -57368,46 +57446,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57368
57446
  }
57369
57447
 
57370
57448
  _context2.next = 36;
57371
- return _this39.saveInfo('subMit');
57449
+ return _this40.saveInfo('subMit');
57372
57450
 
57373
57451
  case 36:
57374
- _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57452
+ _this40.loading = utils_util.loading(_this40.$loading, '加载中...');
57375
57453
 
57376
57454
  case 37:
57377
57455
  notificationType = '';
57378
57456
 
57379
- notificationType = _this39.nextNode.notificationType.join(',');
57457
+ notificationType = _this40.nextNode.notificationType.join(',');
57380
57458
  addSignUserId = addSignUserId.join(',');
57381
57459
  removeSignUserId = removeSignUserId.join(',');
57382
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57383
- delete _this39.nextNode.addSignMode;
57460
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
57461
+ delete _this40.nextNode.addSignMode;
57384
57462
  }
57385
57463
 
57386
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57387
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57388
- pendingId: _this39.pendingId,
57389
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57464
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
57465
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
57466
+ pendingId: _this40.pendingId,
57467
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
57390
57468
  userId: utils_util.getStorage('userId'),
57391
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57469
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
57392
57470
  addSignUserId: addSignUserId,
57393
- customPresetUserJson: JSON.stringify(_this39.presetList),
57394
- presetUserJson: JSON.stringify(_this39.presetUserJson),
57471
+ customPresetUserJson: JSON.stringify(_this40.presetList),
57472
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
57395
57473
  removeSignUserId: removeSignUserId,
57396
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
57397
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57398
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57474
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
57475
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
57476
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
57399
57477
  notificationType: notificationType
57400
57478
  });
57401
57479
 
57402
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57480
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
57403
57481
  delete params.customLimitTimeText;
57404
- if (_this39.nextNode.isRemoveSign != '1') {
57482
+ if (_this40.nextNode.isRemoveSign != '1') {
57405
57483
  delete params.removeSignUserId;
57406
57484
  }
57407
- if (_this39.nextNode.isAddSign != '1') {
57485
+ if (_this40.nextNode.isAddSign != '1') {
57408
57486
  delete params.addSignUserId;
57409
57487
  }
57410
- if (!_this39.isSpecial) {
57488
+ if (!_this40.isSpecial) {
57411
57489
  delete params.nextUserId;
57412
57490
  }
57413
57491
 
@@ -57416,13 +57494,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57416
57494
  break;
57417
57495
  }
57418
57496
 
57419
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57420
- _this39.taskParams = params;
57497
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
57498
+ _this40.taskParams = params;
57421
57499
  return _context2.abrupt('return');
57422
57500
 
57423
57501
  case 52:
57424
- _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57425
- isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57502
+ _this40.loading = utils_util.loading(_this40.$loading, '提交中...');
57503
+ isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
57426
57504
 
57427
57505
  params.isEndUserTask = isEndUserTask;
57428
57506
  params.choiceOrgId = choiceOrgId;
@@ -57446,17 +57524,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57446
57524
  var status = res.status,
57447
57525
  message = res.message;
57448
57526
 
57449
- _this39.loading.close();
57527
+ _this40.loading.close();
57450
57528
  if (status === 'success') {
57451
- _this39.flowSuccess();
57529
+ _this40.flowSuccess();
57452
57530
  } else {
57453
- _this39.$message.error(message || '系统错误,请联系管理员!');
57454
- _this39.$emit('error');
57531
+ _this40.$message.error(message || '系统错误,请联系管理员!');
57532
+ _this40.$emit('error');
57455
57533
  }
57456
57534
  }).catch(function (err) {
57457
- _this39.loading.close();
57535
+ _this40.loading.close();
57458
57536
  if (err.message && err.message !== 'canceled') {
57459
- _this39.$message.error(err.message);
57537
+ _this40.$message.error(err.message);
57460
57538
  }
57461
57539
  }));
57462
57540
 
@@ -57468,7 +57546,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57468
57546
  return _context2.stop();
57469
57547
  }
57470
57548
  }
57471
- }, _callee2, _this39);
57549
+ }, _callee2, _this40);
57472
57550
  }));
57473
57551
 
57474
57552
  return function (_x) {
@@ -57524,8 +57602,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57524
57602
 
57525
57603
  var flow_component = normalizeComponent(
57526
57604
  src_flowvue_type_script_lang_js_,
57527
- flowvue_type_template_id_160c0322_render,
57528
- flowvue_type_template_id_160c0322_staticRenderFns,
57605
+ flowvue_type_template_id_ef00b086_render,
57606
+ flowvue_type_template_id_ef00b086_staticRenderFns,
57529
57607
  false,
57530
57608
  null,
57531
57609
  null,
@@ -59369,7 +59447,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59369
59447
  getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
59370
59448
  var _this4 = this;
59371
59449
 
59372
- console.log('processDefinitionId', processDefinitionId);
59373
59450
  var params = {
59374
59451
  url: getNodeInfoForStart,
59375
59452
  params: { processDefinitionId: processDefinitionId }
@@ -59451,8 +59528,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59451
59528
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
59452
59529
  });
59453
59530
  },
59454
- handleNewFlowSuccess: function handleNewFlowSuccess() {
59455
- this.$emit('success');
59531
+ handleNewFlowSuccess: function handleNewFlowSuccess(type) {
59532
+ if (type == 'taskRead') {
59533
+ this.$emit('successRead', type);
59534
+ } else {
59535
+ this.$emit('success');
59536
+ }
59456
59537
  },
59457
59538
  freeStartFlowSuccess: function freeStartFlowSuccess() {
59458
59539
  this.showFreeStartFlow = false;
@@ -59460,7 +59541,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59460
59541
  // this.$emit('success');
59461
59542
  },
59462
59543
  handleChange: function handleChange(val, isForStartFlow) {
59463
- console.log('handleChange val', val);
59464
59544
  this.getNodeInfoForStartFlow(val, isForStartFlow);
59465
59545
  this.$parent.$emit('flowChange', val);
59466
59546
  },
@@ -59779,11 +59859,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59779
59859
  });
59780
59860
  },
59781
59861
 
59782
- /**
59783
- * saveInfo
59784
- * @desc:暂存
59785
- * @author liufan
59786
- * @date 2022年9月9日
59862
+ /**
59863
+ * saveInfo
59864
+ * @desc:暂存
59865
+ * @author liufan
59866
+ * @date 2022年9月9日
59787
59867
  **/
59788
59868
  saveInfo: function saveInfo(type, btn) {
59789
59869
  var _this14 = this;
@@ -59845,11 +59925,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59845
59925
  });
59846
59926
  },
59847
59927
 
59848
- /**
59849
- * rejectBtn
59850
- * @desc:点击驳回
59851
- * @author liufan
59852
- * @date 2022年5月25日
59928
+ /**
59929
+ * rejectBtn
59930
+ * @desc:点击驳回
59931
+ * @author liufan
59932
+ * @date 2022年5月25日
59853
59933
  **/
59854
59934
  rejectBtn: function rejectBtn() {
59855
59935
  var _this16 = this;
@@ -59867,11 +59947,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59867
59947
  }
59868
59948
  },
59869
59949
 
59870
- /**
59871
- * taskReadBtn
59872
- * @desc:点击分阅
59873
- * @author liufan
59874
- * @date 2022年5月25日
59950
+ /**
59951
+ * taskReadBtn
59952
+ * @desc:点击分阅
59953
+ * @author liufan
59954
+ * @date 2022年5月25日
59875
59955
  **/
59876
59956
  taskReadBtn: function taskReadBtn() {
59877
59957
  var _this17 = this;
@@ -59890,11 +59970,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59890
59970
  }
59891
59971
  },
59892
59972
 
59893
- /**
59894
- * getFind
59895
- * @desc:获取通知方式
59896
- * @author liufan
59897
- * @date 2022年5月25日
59973
+ /**
59974
+ * getFind
59975
+ * @desc:获取通知方式
59976
+ * @author liufan
59977
+ * @date 2022年5月25日
59898
59978
  **/
59899
59979
  getFind: function getFind() {
59900
59980
  var _this18 = this;
@@ -59961,12 +60041,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59961
60041
  });
59962
60042
  },
59963
60043
 
59964
- /**
59965
- * endFlows
59966
- * @desc:直接办结
59967
- * @author liufan
59968
- * @param {Object} res 直接办结数据
59969
- * @date 2022年5月25日
60044
+ /**
60045
+ * endFlows
60046
+ * @desc:直接办结
60047
+ * @author liufan
60048
+ * @param {Object} res 直接办结数据
60049
+ * @date 2022年5月25日
59970
60050
  **/
59971
60051
  endFlows: function endFlows(res) {
59972
60052
  var _this20 = this;
@@ -60021,12 +60101,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60021
60101
  }).catch(function (e) {});
60022
60102
  },
60023
60103
 
60024
- /**
60025
- * goView
60026
- * @desc:更多流程按钮操作
60027
- * @author liufan
60028
- * @param {Object} res 当前点击操作按钮数据
60029
- * @date 2022年5月25日
60104
+ /**
60105
+ * goView
60106
+ * @desc:更多流程按钮操作
60107
+ * @author liufan
60108
+ * @param {Object} res 当前点击操作按钮数据
60109
+ * @date 2022年5月25日
60030
60110
  **/
60031
60111
  goView: function goView(res) {
60032
60112
  // 驳回并办结:rejectAndEndHtml
@@ -60114,11 +60194,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60114
60194
  // isCanStartSubFlow
60115
60195
  },
60116
60196
 
60117
- /**
60118
- * toTakeAdvice
60119
- * @desc:征求意见
60120
- * @author liufan
60121
- * @date 2022年9月29日
60197
+ /**
60198
+ * toTakeAdvice
60199
+ * @desc:征求意见
60200
+ * @author liufan
60201
+ * @date 2022年9月29日
60122
60202
  **/
60123
60203
  toTakeAdvice: function toTakeAdvice(res) {
60124
60204
  var _this22 = this;
@@ -60162,11 +60242,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60162
60242
  });
60163
60243
  },
60164
60244
 
60165
- /**
60166
- * toStartDraf
60167
- * @desc: 稿件递送、联合审核、复核
60168
- * @author liufan
60169
- * @date 2022年9月29日
60245
+ /**
60246
+ * toStartDraf
60247
+ * @desc: 稿件递送、联合审核、复核
60248
+ * @author liufan
60249
+ * @date 2022年9月29日
60170
60250
  **/
60171
60251
  toStartDraf: function toStartDraf(res) {
60172
60252
  var _this24 = this;
@@ -60180,11 +60260,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60180
60260
  }
60181
60261
  },
60182
60262
 
60183
- /**
60184
- * toSendMsg
60185
- * @desc:核稿通知
60186
- * @author liufan
60187
- * @date 2022年9月29日
60263
+ /**
60264
+ * toSendMsg
60265
+ * @desc:核稿通知
60266
+ * @author liufan
60267
+ * @date 2022年9月29日
60188
60268
  **/
60189
60269
  toSendMsg: function toSendMsg(res) {
60190
60270
  var _this25 = this;
@@ -60198,11 +60278,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60198
60278
  }
60199
60279
  },
60200
60280
 
60201
- /**
60202
- * toTaskReadAndEnd
60203
- * @desc:分阅并办结
60204
- * @author liufan
60205
- * @date 2022年9月29日
60281
+ /**
60282
+ * toTaskReadAndEnd
60283
+ * @desc:分阅并办结
60284
+ * @author liufan
60285
+ * @date 2022年9月29日
60206
60286
  **/
60207
60287
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
60208
60288
  var _this26 = this;
@@ -60220,11 +60300,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60220
60300
  }
60221
60301
  },
60222
60302
 
60223
- /**
60224
- * rejectAndEnd
60225
- * @desc:驳回并办结
60226
- * @author liufan
60227
- * @date 2022年9月29日
60303
+ /**
60304
+ * rejectAndEnd
60305
+ * @desc:驳回并办结
60306
+ * @author liufan
60307
+ * @date 2022年9月29日
60228
60308
  **/
60229
60309
  rejectAndEnd: function rejectAndEnd(res) {
60230
60310
  var _this27 = this;
@@ -60280,11 +60360,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60280
60360
  });
60281
60361
  },
60282
60362
 
60283
- /**
60284
- * toTransfer
60285
- * @desc:转办
60286
- * @author liufan
60287
- * @date 2022年9月29日
60363
+ /**
60364
+ * toTransfer
60365
+ * @desc:转办
60366
+ * @author liufan
60367
+ * @date 2022年9月29日
60288
60368
  **/
60289
60369
  toTransfer: function toTransfer(res) {
60290
60370
  var _this29 = this;
@@ -60303,11 +60383,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60303
60383
  this.nextNode.customLimitTime = val;
60304
60384
  },
60305
60385
 
60306
- /**
60307
- * getNodeInfo
60308
- * @desc:获取节点信息
60309
- * @author liufan
60310
- * @date 2022年5月25日
60386
+ /**
60387
+ * getNodeInfo
60388
+ * @desc:获取节点信息
60389
+ * @author liufan
60390
+ * @date 2022年5月25日
60311
60391
  **/
60312
60392
  getNodeInfo: function getNodeInfo() {
60313
60393
  var _this30 = this;
@@ -60454,12 +60534,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60454
60534
  });
60455
60535
  },
60456
60536
 
60457
- /**
60458
- * selecNext
60459
- * @desc:下步节点变化时更新数据
60460
- * @author liufan
60461
- * @param {String} val 当前选中值
60462
- * @date 2022年5月25日
60537
+ /**
60538
+ * selecNext
60539
+ * @desc:下步节点变化时更新数据
60540
+ * @author liufan
60541
+ * @param {String} val 当前选中值
60542
+ * @date 2022年5月25日
60463
60543
  **/
60464
60544
  selecNext: function selecNext(val, type, isDef) {
60465
60545
  var _this31 = this;
@@ -60599,11 +60679,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60599
60679
  }
60600
60680
  },
60601
60681
 
60602
- /**
60603
- * isMultiple
60604
- * @desc:是否多选
60605
- * @author liufan
60606
- * @date 2022年9月13日
60682
+ /**
60683
+ * isMultiple
60684
+ * @desc:是否多选
60685
+ * @author liufan
60686
+ * @date 2022年9月13日
60607
60687
  **/
60608
60688
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
60609
60689
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -60635,11 +60715,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60635
60715
  }
60636
60716
  },
60637
60717
 
60638
- /**
60639
- * getHedInfo
60640
- * @desc:获取审核页面数据
60641
- * @author liufan
60642
- * @date 2022年5月25日
60718
+ /**
60719
+ * getHedInfo
60720
+ * @desc:获取审核页面数据
60721
+ * @author liufan
60722
+ * @date 2022年5月25日
60643
60723
  **/
60644
60724
  getHedInfo: function getHedInfo() {
60645
60725
  var _this32 = this;
@@ -60958,13 +61038,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60958
61038
  });
60959
61039
  },
60960
61040
 
60961
- /**
60962
- * closeProcess
60963
- * @desc:关闭弹窗
60964
- * @author liufan
60965
- * @param {boolean} val 当前是否办理流程
60966
- * @param {String} type 当前点击的弹窗类型
60967
- * @date 2022年5月25日
61041
+ /**
61042
+ * closeProcess
61043
+ * @desc:关闭弹窗
61044
+ * @author liufan
61045
+ * @param {boolean} val 当前是否办理流程
61046
+ * @param {String} type 当前点击的弹窗类型
61047
+ * @date 2022年5月25日
60968
61048
  **/
60969
61049
  closeProcess: function closeProcess(val, type, closeParent) {
60970
61050
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -60984,23 +61064,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60984
61064
  }
60985
61065
  },
60986
61066
 
60987
- /**
60988
- * selectChange
60989
- * @desc:常用语选择
60990
- * @author liufan
60991
- * @param {String} val 选中值
60992
- * @date 2022年5月25日
61067
+ /**
61068
+ * selectChange
61069
+ * @desc:常用语选择
61070
+ * @author liufan
61071
+ * @param {String} val 选中值
61072
+ * @date 2022年5月25日
60993
61073
  **/
60994
61074
  selectChange: function selectChange(val) {
60995
61075
  this.value = val;
60996
61076
  },
60997
61077
 
60998
- /**
60999
- * upDate
61000
- * @desc:修改常用语
61001
- * @author liufan
61002
- * @param {Object} val 修改值
61003
- * @date 2022年5月25日
61078
+ /**
61079
+ * upDate
61080
+ * @desc:修改常用语
61081
+ * @author liufan
61082
+ * @param {Object} val 修改值
61083
+ * @date 2022年5月25日
61004
61084
  **/
61005
61085
  upDate: function upDate(val) {
61006
61086
  this.FormData.id = val.id;
@@ -61008,11 +61088,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61008
61088
  },
61009
61089
 
61010
61090
 
61011
- /**
61012
- * getProcess
61013
- * @desc:获取选择流程
61014
- * @author liufan
61015
- * @date 2022年5月25日
61091
+ /**
61092
+ * getProcess
61093
+ * @desc:获取选择流程
61094
+ * @author liufan
61095
+ * @date 2022年5月25日
61016
61096
  **/
61017
61097
  getProcess: function getProcess(val) {
61018
61098
  var _this33 = this;
@@ -61075,11 +61155,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61075
61155
  });
61076
61156
  },
61077
61157
 
61078
- /**
61079
- * getPendedhistoryList
61080
- * @desc:获取流程列表
61081
- * @author liufan
61082
- * @date 2022年5月25日
61158
+ /**
61159
+ * getPendedhistoryList
61160
+ * @desc:获取流程列表
61161
+ * @author liufan
61162
+ * @date 2022年5月25日
61083
61163
  **/
61084
61164
  getPendedhistoryList: function getPendedhistoryList() {
61085
61165
  var _this34 = this;
@@ -61152,12 +61232,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61152
61232
  beforeSubProcess: function beforeSubProcess() {},
61153
61233
 
61154
61234
  // 提交流程
61155
- /**
61156
- * subProcess
61157
- * @desc:提交流程
61158
- * @author liufan
61159
- * @param {String} formName 当前form表单ref值
61160
- * @date 2022年5月25日
61235
+ /**
61236
+ * subProcess
61237
+ * @desc:提交流程
61238
+ * @author liufan
61239
+ * @param {String} formName 当前form表单ref值
61240
+ * @date 2022年5月25日
61161
61241
  **/
61162
61242
  subProcess: function subProcess(val, type) {
61163
61243
  var _this36 = this;
@@ -61430,7 +61510,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61430
61510
  customPresetUserJson: JSON.stringify(_this38.presetList),
61431
61511
  presetUserJson: JSON.stringify(_this38.presetUserJson),
61432
61512
  removeSignUserId: removeSignUserId,
61433
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
61513
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList ? _this38.mixReadList.join('|') : '' : _this38.nextNode.nextReadUserId.join(','),
61434
61514
  nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
61435
61515
  presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
61436
61516
  notificationType: notificationType
@@ -61538,7 +61618,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61538
61618
  customPresetUserJson: JSON.stringify(_this38.presetList),
61539
61619
  presetUserJson: JSON.stringify(_this38.presetUserJson),
61540
61620
  removeSignUserId: removeSignUserId,
61541
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
61621
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList ? _this38.mixReadList.join('|') : '' : _this38.nextNode.nextReadUserId.join(','),
61542
61622
  nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
61543
61623
  presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
61544
61624
  notificationType: notificationType
@@ -61669,8 +61749,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61669
61749
 
61670
61750
  var flow_src_main_component = normalizeComponent(
61671
61751
  packages_flow_src_mainvue_type_script_lang_js_,
61672
- mainvue_type_template_id_791d3fbc_render,
61673
- mainvue_type_template_id_791d3fbc_staticRenderFns,
61752
+ mainvue_type_template_id_723b9982_render,
61753
+ mainvue_type_template_id_723b9982_staticRenderFns,
61674
61754
  false,
61675
61755
  null,
61676
61756
  null,
@@ -61687,8 +61767,8 @@ flow_src_main.install = function (Vue) {
61687
61767
  };
61688
61768
 
61689
61769
  /* harmony default export */ var packages_flow = (flow_src_main);
61690
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=31ce53a2&
61691
- var mainvue_type_template_id_31ce53a2_render = function () {
61770
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=1aa747e6&
61771
+ var mainvue_type_template_id_1aa747e6_render = function () {
61692
61772
  var _vm = this
61693
61773
  var _h = _vm.$createElement
61694
61774
  var _c = _vm._self._c || _h
@@ -61833,7 +61913,11 @@ var mainvue_type_template_id_31ce53a2_render = function () {
61833
61913
  "es-flow-list",
61834
61914
  _vm._b(
61835
61915
  {
61836
- key: index,
61916
+ key:
61917
+ "fl-" +
61918
+ index +
61919
+ "-" +
61920
+ _vm.flowListKey,
61837
61921
  attrs:
61838
61922
  {
61839
61923
  businessId:
@@ -62198,7 +62282,11 @@ var mainvue_type_template_id_31ce53a2_render = function () {
62198
62282
  "es-flow-list",
62199
62283
  _vm._b(
62200
62284
  {
62201
- key: index,
62285
+ key:
62286
+ "fl-" +
62287
+ index +
62288
+ "-" +
62289
+ _vm.flowListKey,
62202
62290
  attrs: {
62203
62291
  businessId:
62204
62292
  _vm.businessId,
@@ -62639,6 +62727,9 @@ var mainvue_type_template_id_31ce53a2_render = function () {
62639
62727
  "es-flow-list",
62640
62728
  _vm._b(
62641
62729
  {
62730
+ key:
62731
+ "fl-" +
62732
+ _vm.flowListKey,
62642
62733
  attrs: {
62643
62734
  businessId:
62644
62735
  _vm.businessId,
@@ -62937,6 +63028,7 @@ var mainvue_type_template_id_31ce53a2_render = function () {
62937
63028
  success: _vm.handleSuccess,
62938
63029
  save: _vm.handleSave,
62939
63030
  endMessageChange: _vm.handleEndMessageChange,
63031
+ successRead: _vm.handleSuccessRead,
62940
63032
  },
62941
63033
  },
62942
63034
  "es-flow",
@@ -62950,11 +63042,11 @@ var mainvue_type_template_id_31ce53a2_render = function () {
62950
63042
  2
62951
63043
  )
62952
63044
  }
62953
- var mainvue_type_template_id_31ce53a2_staticRenderFns = []
62954
- mainvue_type_template_id_31ce53a2_render._withStripped = true
63045
+ var mainvue_type_template_id_1aa747e6_staticRenderFns = []
63046
+ mainvue_type_template_id_1aa747e6_render._withStripped = true
62955
63047
 
62956
63048
 
62957
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=31ce53a2&
63049
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=1aa747e6&
62958
63050
 
62959
63051
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
62960
63052
  var flow_group_src_mainvue_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; };
@@ -63404,6 +63496,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
63404
63496
  //
63405
63497
  //
63406
63498
  //
63499
+ //
63500
+ //
63407
63501
 
63408
63502
 
63409
63503
  /* harmony default export */ var flow_group_src_mainvue_type_script_lang_js_ = ({
@@ -63465,7 +63559,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
63465
63559
  taskExamineAppId: this.appId,
63466
63560
  showMsg: true,
63467
63561
  formRefs: this.refs,
63468
- submits: null
63562
+ submits: null,
63563
+ flowListKey: 0
63469
63564
  };
63470
63565
  },
63471
63566
 
@@ -63503,6 +63598,9 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
63503
63598
  mounted: function mounted() {},
63504
63599
 
63505
63600
  methods: {
63601
+ handleSuccessRead: function handleSuccessRead() {
63602
+ this.flowListKey++;
63603
+ },
63506
63604
  handleHide: function handleHide(res) {
63507
63605
  return typeof res === 'boolean' ? !res : typeof res === 'string' ? this[res] : true;
63508
63606
  },
@@ -63702,8 +63800,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
63702
63800
 
63703
63801
  var flow_group_src_main_component = normalizeComponent(
63704
63802
  packages_flow_group_src_mainvue_type_script_lang_js_,
63705
- mainvue_type_template_id_31ce53a2_render,
63706
- mainvue_type_template_id_31ce53a2_staticRenderFns,
63803
+ mainvue_type_template_id_1aa747e6_render,
63804
+ mainvue_type_template_id_1aa747e6_staticRenderFns,
63707
63805
  false,
63708
63806
  null,
63709
63807
  null,
@@ -96866,8 +96964,8 @@ select_ganged_src_main.install = function (Vue) {
96866
96964
  };
96867
96965
 
96868
96966
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
96869
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=6cd08dd8&
96870
- var mainvue_type_template_id_6cd08dd8_render = function () {
96967
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=2e6b9dd2&
96968
+ var mainvue_type_template_id_2e6b9dd2_render = function () {
96871
96969
  var _vm = this
96872
96970
  var _h = _vm.$createElement
96873
96971
  var _c = _vm._self._c || _h
@@ -97404,6 +97502,7 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
97404
97502
  css: false,
97405
97503
  "append-to-body": true,
97406
97504
  "close-on-click-modal": false,
97505
+ "destroy-on-close": _vm.destroyOnClose,
97407
97506
  },
97408
97507
  on: {
97409
97508
  "update:visible": function ($event) {
@@ -97459,11 +97558,11 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
97459
97558
  )
97460
97559
  : _vm._e()
97461
97560
  }
97462
- var mainvue_type_template_id_6cd08dd8_staticRenderFns = []
97463
- mainvue_type_template_id_6cd08dd8_render._withStripped = true
97561
+ var mainvue_type_template_id_2e6b9dd2_staticRenderFns = []
97562
+ mainvue_type_template_id_2e6b9dd2_render._withStripped = true
97464
97563
 
97465
97564
 
97466
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=6cd08dd8&
97565
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=2e6b9dd2&
97467
97566
 
97468
97567
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
97469
97568
  var clickoutside_ = __webpack_require__(17);
@@ -97708,6 +97807,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97708
97807
  //
97709
97808
  //
97710
97809
  //
97810
+ //
97711
97811
 
97712
97812
 
97713
97813
 
@@ -97854,7 +97954,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97854
97954
  select: {
97855
97955
  type: Boolean,
97856
97956
  default: true
97857
- }
97957
+ },
97958
+ //弹窗关闭时是否销毁子组件
97959
+ destroyOnClose: Boolean
97858
97960
  },
97859
97961
  data: function data() {
97860
97962
  return {
@@ -98217,8 +98319,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98217
98319
 
98218
98320
  var selector_src_main_component = normalizeComponent(
98219
98321
  packages_selector_src_mainvue_type_script_lang_js_,
98220
- mainvue_type_template_id_6cd08dd8_render,
98221
- mainvue_type_template_id_6cd08dd8_staticRenderFns,
98322
+ mainvue_type_template_id_2e6b9dd2_render,
98323
+ mainvue_type_template_id_2e6b9dd2_staticRenderFns,
98222
98324
  false,
98223
98325
  null,
98224
98326
  null,
@@ -113141,7 +113243,7 @@ if (typeof window !== 'undefined' && window.Vue) {
113141
113243
  }
113142
113244
 
113143
113245
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
113144
- version: '0.8.37',
113246
+ version: '0.8.39',
113145
113247
  install: install,
113146
113248
  Archives: archives,
113147
113249
  Button: packages_button,