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.
package/lib/flow.js CHANGED
@@ -4878,7 +4878,7 @@ module.exports = require("vuedraggable");
4878
4878
  // ESM COMPAT FLAG
4879
4879
  __webpack_require__.r(__webpack_exports__);
4880
4880
 
4881
- // 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&
4881
+ // 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&
4882
4882
  var render = function () {
4883
4883
  var _vm = this
4884
4884
  var _h = _vm.$createElement
@@ -8038,7 +8038,7 @@ var staticRenderFns = []
8038
8038
  render._withStripped = true
8039
8039
 
8040
8040
 
8041
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
8041
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
8042
8042
 
8043
8043
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
8044
8044
  var regenerator_ = __webpack_require__(4);
@@ -9102,8 +9102,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
9102
9102
  )
9103
9103
 
9104
9104
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
9105
- // 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&
9106
- var flowvue_type_template_id_160c0322_render = function () {
9105
+ // 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&
9106
+ var flowvue_type_template_id_ef00b086_render = function () {
9107
9107
  var _vm = this
9108
9108
  var _h = _vm.$createElement
9109
9109
  var _c = _vm._self._c || _h
@@ -11335,9 +11335,10 @@ var flowvue_type_template_id_160c0322_render = function () {
11335
11335
  },
11336
11336
  },
11337
11337
  })
11338
- : _vm.btnType === "toStartTaskRead"
11338
+ : _vm.btnType === "toStartTaskRead" ||
11339
+ _vm.btnType === "toTaskReadAndEnd"
11339
11340
  ? _c("StartTaskRead", {
11340
- ref: "toStartTaskRead",
11341
+ ref: _vm.btnType,
11341
11342
  staticClass: "es-info",
11342
11343
  attrs: {
11343
11344
  "pending-id": _vm.pendingId,
@@ -11372,6 +11373,8 @@ var flowvue_type_template_id_160c0322_render = function () {
11372
11373
  pendingId: _vm.pendingId,
11373
11374
  defaultOpinion: _vm.nodeDefaultSubmitOpinion,
11374
11375
  oldOption: _vm.value,
11376
+ isCancelSecondConfirmationType:
11377
+ _vm.isCancelSecondConfirmationType,
11375
11378
  selectorParams: _vm.selectorParams,
11376
11379
  type: _vm.flowType,
11377
11380
  multiple: _vm.flowMultiple,
@@ -12016,11 +12019,11 @@ var flowvue_type_template_id_160c0322_render = function () {
12016
12019
  )
12017
12020
  : _vm._e()
12018
12021
  }
12019
- var flowvue_type_template_id_160c0322_staticRenderFns = []
12020
- flowvue_type_template_id_160c0322_render._withStripped = true
12022
+ var flowvue_type_template_id_ef00b086_staticRenderFns = []
12023
+ flowvue_type_template_id_ef00b086_render._withStripped = true
12021
12024
 
12022
12025
 
12023
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
12026
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
12024
12027
 
12025
12028
  // 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&
12026
12029
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -12732,8 +12735,8 @@ var Opinions_component = Object(componentNormalizer["a" /* default */])(
12732
12735
  )
12733
12736
 
12734
12737
  /* harmony default export */ var Opinions = (Opinions_component.exports);
12735
- // 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&
12736
- var processFormvue_type_template_id_20fb5670_render = function () {
12738
+ // 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&
12739
+ var processFormvue_type_template_id_2860b038_render = function () {
12737
12740
  var _vm = this
12738
12741
  var _h = _vm.$createElement
12739
12742
  var _c = _vm._self._c || _h
@@ -13687,14 +13690,14 @@ var processFormvue_type_template_id_20fb5670_render = function () {
13687
13690
  1
13688
13691
  )
13689
13692
  }
13690
- var processFormvue_type_template_id_20fb5670_staticRenderFns = []
13691
- processFormvue_type_template_id_20fb5670_render._withStripped = true
13693
+ var processFormvue_type_template_id_2860b038_staticRenderFns = []
13694
+ processFormvue_type_template_id_2860b038_render._withStripped = true
13692
13695
 
13693
13696
 
13694
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
13697
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
13695
13698
 
13696
- // 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&
13697
- var selectUservue_type_template_id_3a5614a4_render = function () {
13699
+ // 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&
13700
+ var selectUservue_type_template_id_4dc7fc96_render = function () {
13698
13701
  var _vm = this
13699
13702
  var _h = _vm.$createElement
13700
13703
  var _c = _vm._self._c || _h
@@ -13815,6 +13818,7 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
13815
13818
  title: _vm.title,
13816
13819
  showFilterListDep: false,
13817
13820
  reset: "",
13821
+ destroyOnClose: "",
13818
13822
  classify: _vm.classify,
13819
13823
  "collapse-tags": _vm.selectorTags,
13820
13824
  mix: _vm.mix,
@@ -13856,11 +13860,11 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
13856
13860
  1
13857
13861
  )
13858
13862
  }
13859
- var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
13860
- selectUservue_type_template_id_3a5614a4_render._withStripped = true
13863
+ var selectUservue_type_template_id_4dc7fc96_staticRenderFns = []
13864
+ selectUservue_type_template_id_4dc7fc96_render._withStripped = true
13861
13865
 
13862
13866
 
13863
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
13867
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4dc7fc96&
13864
13868
 
13865
13869
  // 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&
13866
13870
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -13968,6 +13972,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
13968
13972
  //
13969
13973
  //
13970
13974
  //
13975
+ //
13971
13976
 
13972
13977
 
13973
13978
 
@@ -14391,8 +14396,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14391
14396
 
14392
14397
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14393
14398
  src_selectUservue_type_script_lang_js_,
14394
- selectUservue_type_template_id_3a5614a4_render,
14395
- selectUservue_type_template_id_3a5614a4_staticRenderFns,
14399
+ selectUservue_type_template_id_4dc7fc96_render,
14400
+ selectUservue_type_template_id_4dc7fc96_staticRenderFns,
14396
14401
  false,
14397
14402
  null,
14398
14403
  null,
@@ -16440,7 +16445,6 @@ var processFormvue_type_script_lang_js_components;
16440
16445
  if (_this8.isCustomPreset && _this8.activeNames == '1') {
16441
16446
  for (var i = 0; i < _this8.presetList.length; i++) {
16442
16447
  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)) {
16443
-
16444
16448
  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');
16445
16449
  } else {
16446
16450
  delete _this8.presetList[i].label;
@@ -16521,6 +16525,8 @@ var processFormvue_type_script_lang_js_components;
16521
16525
 
16522
16526
  newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
16523
16527
  if (_this8.formType == 'readTransfer') {
16528
+ newParm.customPresetUserJson = params.customPresetUserJson;
16529
+ delete params.customPresetUserJson;
16524
16530
  newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
16525
16531
  newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
16526
16532
  delete newParm.copyHistory;
@@ -16632,12 +16638,16 @@ var processFormvue_type_script_lang_js_components;
16632
16638
 
16633
16639
  newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
16634
16640
  if (_this8.formType == 'readTransfer') {
16635
- newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
16641
+ newParm.customPresetUserJson = params.customPresetUserJson;
16636
16642
  newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
16643
+ delete params.customPresetUserJson;
16644
+ newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
16645
+
16637
16646
  delete newParm.copyHistory;
16638
16647
  delete newParm.startFlowParamJson;
16639
16648
  delete newParm.submitTaskParamJson;
16640
16649
  }
16650
+
16641
16651
  params = newParm;
16642
16652
  }
16643
16653
  if (_this8.copyHistory && !_this8.isFreeStartFlow) {
@@ -16647,6 +16657,7 @@ var processFormvue_type_script_lang_js_components;
16647
16657
  util["a" /* default */].ajax({
16648
16658
  url: _this8.isFreeStartFlow ? api["M" /* freeStartFlowWithSubmitTask */] : _this8.formType == 'readTransfer' ? api["ec" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this8.copyHistory ? api["L" /* freeStartFlow */] : api["Rb" /* register */],
16649
16659
  method: 'post',
16660
+
16650
16661
  data: params
16651
16662
  }).then(function (res) {
16652
16663
  var status = res.status,
@@ -17062,8 +17073,8 @@ var processFormvue_type_script_lang_js_components;
17062
17073
 
17063
17074
  var processForm_component = Object(componentNormalizer["a" /* default */])(
17064
17075
  src_processFormvue_type_script_lang_js_,
17065
- processFormvue_type_template_id_20fb5670_render,
17066
- processFormvue_type_template_id_20fb5670_staticRenderFns,
17076
+ processFormvue_type_template_id_2860b038_render,
17077
+ processFormvue_type_template_id_2860b038_staticRenderFns,
17067
17078
  false,
17068
17079
  null,
17069
17080
  null,
@@ -18548,8 +18559,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
18548
18559
  )
18549
18560
 
18550
18561
  /* harmony default export */ var processReject = (processReject_component.exports);
18551
- // 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&
18552
- var startTaskReadvue_type_template_id_d6b2d084_render = function () {
18562
+ // 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&
18563
+ var startTaskReadvue_type_template_id_fffcbc42_render = function () {
18553
18564
  var _vm = this
18554
18565
  var _h = _vm.$createElement
18555
18566
  var _c = _vm._self._c || _h
@@ -18980,11 +18991,11 @@ var startTaskReadvue_type_template_id_d6b2d084_render = function () {
18980
18991
  1
18981
18992
  )
18982
18993
  }
18983
- var startTaskReadvue_type_template_id_d6b2d084_staticRenderFns = []
18984
- startTaskReadvue_type_template_id_d6b2d084_render._withStripped = true
18994
+ var startTaskReadvue_type_template_id_fffcbc42_staticRenderFns = []
18995
+ startTaskReadvue_type_template_id_fffcbc42_render._withStripped = true
18985
18996
 
18986
18997
 
18987
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=d6b2d084&
18998
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
18988
18999
 
18989
19000
  // 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&
18990
19001
  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; };
@@ -19226,6 +19237,7 @@ var startTaskReadvue_type_script_lang_js_components;
19226
19237
  };
19227
19238
  },
19228
19239
 
19240
+
19229
19241
  computed: {
19230
19242
  tabs: function tabs() {
19231
19243
  var tab = {};
@@ -19579,6 +19591,7 @@ var startTaskReadvue_type_script_lang_js_components;
19579
19591
 
19580
19592
  // 提交表单
19581
19593
  subProcess: function subProcess(formName) {
19594
+
19582
19595
  this.submit(formName);
19583
19596
  },
19584
19597
 
@@ -19592,7 +19605,6 @@ var startTaskReadvue_type_script_lang_js_components;
19592
19605
  _this8.$message.warning('请选择输入审批意见');
19593
19606
  return;
19594
19607
  }
19595
- console.log(_this8.mixList, 'this.mixList');
19596
19608
  // let nextUser = [];
19597
19609
  // this.nextNode.nextUser.map(item => {
19598
19610
  // nextUser.push(item);
@@ -19735,8 +19747,8 @@ var startTaskReadvue_type_script_lang_js_components;
19735
19747
 
19736
19748
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
19737
19749
  src_startTaskReadvue_type_script_lang_js_,
19738
- startTaskReadvue_type_template_id_d6b2d084_render,
19739
- startTaskReadvue_type_template_id_d6b2d084_staticRenderFns,
19750
+ startTaskReadvue_type_template_id_fffcbc42_render,
19751
+ startTaskReadvue_type_template_id_fffcbc42_staticRenderFns,
19740
19752
  false,
19741
19753
  null,
19742
19754
  null,
@@ -21166,8 +21178,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
21166
21178
  )
21167
21179
 
21168
21180
  /* harmony default export */ var src_reset = (reset_component.exports);
21169
- // 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&
21170
- var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21181
+ // 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&
21182
+ var taskUnionExaminevue_type_template_id_0724a5af_render = function () {
21171
21183
  var _vm = this
21172
21184
  var _h = _vm.$createElement
21173
21185
  var _c = _vm._self._c || _h
@@ -21472,7 +21484,7 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21472
21484
  [
21473
21485
  _c(
21474
21486
  "el-button",
21475
- { attrs: { type: "primary" }, on: { click: _vm.subMit } },
21487
+ { attrs: { type: "primary" }, on: { click: _vm.subProcess } },
21476
21488
  [_vm._v(" 确定 ")]
21477
21489
  ),
21478
21490
  _c("el-button", { on: { click: _vm.quit } }, [_vm._v(" 取消 ")]),
@@ -21483,11 +21495,11 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21483
21495
  1
21484
21496
  )
21485
21497
  }
21486
- var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
21487
- taskUnionExaminevue_type_template_id_f2f9c652_render._withStripped = true
21498
+ var taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns = []
21499
+ taskUnionExaminevue_type_template_id_0724a5af_render._withStripped = true
21488
21500
 
21489
21501
 
21490
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
21502
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0724a5af&
21491
21503
 
21492
21504
  // 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&
21493
21505
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -21685,6 +21697,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
21685
21697
  simpleTips: { type: Boolean, default: true },
21686
21698
  multiple: { type: Boolean, default: true },
21687
21699
  hideBtn: { type: Boolean, default: false },
21700
+ isCancelSecondConfirmationType: { type: Boolean, default: false },
21688
21701
  selectorParams: {
21689
21702
  type: Object,
21690
21703
  default: function _default() {
@@ -21753,6 +21766,16 @@ var taskUnionExaminevue_type_script_lang_js_components;
21753
21766
  };
21754
21767
  }
21755
21768
  },
21769
+ watch: {
21770
+ oldOption: {
21771
+ handler: function handler(val) {
21772
+ this.opinion = val;
21773
+ },
21774
+
21775
+ immediate: true,
21776
+ deep: true
21777
+ }
21778
+ },
21756
21779
  mounted: function mounted() {
21757
21780
  this.loading = true;
21758
21781
  this.newMultiple = this.multiple;
@@ -21994,10 +22017,42 @@ var taskUnionExaminevue_type_script_lang_js_components;
21994
22017
  });
21995
22018
  },
21996
22019
  subProcess: function subProcess() {
21997
- this.subMit();
22020
+ var _this4 = this;
22021
+
22022
+ if (this.type === 'taskReview') return this.subTaskReview();
22023
+ var _infoList2 = this.infoList,
22024
+ nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
22025
+ nextOtherOrgObj = _infoList2.nextOtherOrgObj,
22026
+ isOpinionRequired = this.isOpinionRequired,
22027
+ opinion = this.opinion,
22028
+ type = this.type,
22029
+ isHideOtherOrg = this.isHideOtherOrg,
22030
+ isHideCurrentOrg = this.isHideCurrentOrg;
22031
+
22032
+ if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
22033
+ return this.$message.warning('请选择处理对象!');
22034
+ } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
22035
+ return this.$message.warning('请选择处理对象!');
22036
+ }
22037
+
22038
+ if (isOpinionRequired == 1 && (opinion == '' || opinion == null)) {
22039
+ return this.$message.warning('当前步骤必须输入意见!');
22040
+ }
22041
+ if (this.isCancelSecondConfirmationType) {
22042
+ this.$confirm('确认提交吗?', '提示', {
22043
+ confirmButtonText: '确定',
22044
+ cancelButtonText: '取消',
22045
+ type: 'warning'
22046
+ }).then(function () {
22047
+ _this4.subMit();
22048
+ }).catch(function () {});
22049
+ } else {
22050
+ this.subMit();
22051
+ }
22052
+ ;
21998
22053
  },
21999
22054
  subMit: function subMit() {
22000
- var _this4 = this;
22055
+ var _this5 = this;
22001
22056
 
22002
22057
  // if (
22003
22058
  // this.infoList.nextOtherOrgObjName == '' ||
@@ -22005,12 +22060,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
22005
22060
  // )
22006
22061
  // return this.$message.warning('请选择联合单位');
22007
22062
  if (this.type === 'taskReview') return this.subTaskReview();
22008
- var _infoList2 = this.infoList,
22009
- nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
22010
- nextOtherOrgObj = _infoList2.nextOtherOrgObj,
22011
- noticeType = _infoList2.noticeType,
22012
- customLimitTime = _infoList2.customLimitTime,
22013
- noticeInfo = _infoList2.noticeInfo,
22063
+ var _infoList3 = this.infoList,
22064
+ nextCurrentOrgObj = _infoList3.nextCurrentOrgObj,
22065
+ nextOtherOrgObj = _infoList3.nextOtherOrgObj,
22066
+ noticeType = _infoList3.noticeType,
22067
+ customLimitTime = _infoList3.customLimitTime,
22068
+ noticeInfo = _infoList3.noticeInfo,
22014
22069
  isOpinionRequired = this.isOpinionRequired,
22015
22070
  opinion = this.opinion,
22016
22071
  type = this.type,
@@ -22021,8 +22076,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
22021
22076
  isSubFlow = this.isSubFlow,
22022
22077
  pendingId = this.pendingId;
22023
22078
 
22024
- console.log(nextCurrentOrgObj);
22025
- console.log(nextOtherOrgObj);
22026
22079
  if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
22027
22080
  return this.$message.warning('请选择处理对象!');
22028
22081
  } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
@@ -22055,7 +22108,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
22055
22108
  };
22056
22109
  if (this.enableCustomLimitTimeSetting) {
22057
22110
  param.data.customLimitTime = customLimitTime;
22058
- console.log(this.validate(), 'this.validate()');
22059
22111
  if (!this.validate()) return;
22060
22112
  }
22061
22113
  this.loading = true;
@@ -22063,17 +22115,17 @@ var taskUnionExaminevue_type_script_lang_js_components;
22063
22115
  var message = res.message,
22064
22116
  status = res.status;
22065
22117
 
22066
- _this4.loading = false;
22118
+ _this5.loading = false;
22067
22119
  if (status == 'success') {
22068
- _this4.simpleTips && _this4.$message.success('提交成功');
22069
- _this4.quit(true);
22120
+ _this5.simpleTips && _this5.$message.success('提交成功');
22121
+ _this5.quit(true);
22070
22122
  } else {
22071
- _this4.$message.error(message || '系统错误,请联系管理员!');
22123
+ _this5.$message.error(message || '系统错误,请联系管理员!');
22072
22124
  }
22073
22125
  }).catch(function (err) {
22074
- _this4.loading = false;
22126
+ _this5.loading = false;
22075
22127
  if (err.message && err.message !== 'canceled') {
22076
- _this4.$message.error(err.message);
22128
+ _this5.$message.error(err.message);
22077
22129
  }
22078
22130
  });
22079
22131
  },
@@ -22106,7 +22158,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
22106
22158
  this.infoList[type] = newNextUser.join('|');
22107
22159
  },
22108
22160
  getNodeType: function getNodeType() {
22109
- var _this5 = this;
22161
+ var _this6 = this;
22110
22162
 
22111
22163
  util["a" /* default */].ajax({
22112
22164
  url: api["G" /* findCodeValues */],
@@ -22119,39 +22171,39 @@ var taskUnionExaminevue_type_script_lang_js_components;
22119
22171
  var status = res.status,
22120
22172
  data = res.data;
22121
22173
 
22122
- _this5.loading = false;
22174
+ _this6.loading = false;
22123
22175
  if (status === 'success') {
22124
- _this5.infoList.noticeList = data;
22176
+ _this6.infoList.noticeList = data;
22125
22177
  }
22126
22178
  }).catch(function (err) {
22127
- _this5.loading = false;
22179
+ _this6.loading = false;
22128
22180
  if (err.message && err.message !== 'canceled') {
22129
- _this5.$message.error(err.message);
22181
+ _this6.$message.error(err.message);
22130
22182
  }
22131
22183
  });
22132
22184
  },
22133
22185
 
22134
22186
  //获取通知信息
22135
22187
  getMessage: function getMessage() {
22136
- var _this6 = this;
22188
+ var _this7 = this;
22137
22189
 
22138
22190
  var params = {
22139
22191
  pendingId: this.pendingId
22140
22192
  };
22141
22193
  util["a" /* default */].ajax({ url: api["cb" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
22142
22194
  if (res.status === 'success') {
22143
- _this6.infoList.noticeInfo = res.message;
22195
+ _this7.infoList.noticeInfo = res.message;
22144
22196
  }
22145
- _this6.loading = false;
22197
+ _this7.loading = false;
22146
22198
  }).catch(function (err) {
22147
- _this6.loading = false;
22199
+ _this7.loading = false;
22148
22200
  if (err.message && err.message !== 'canceled') {
22149
- _this6.$message.error(err.message);
22201
+ _this7.$message.error(err.message);
22150
22202
  }
22151
22203
  });
22152
22204
  },
22153
22205
  getFind: function getFind() {
22154
- var _this7 = this;
22206
+ var _this8 = this;
22155
22207
 
22156
22208
  util["a" /* default */].ajax({
22157
22209
  url: api["I" /* findSysCodes */]
@@ -22160,24 +22212,24 @@ var taskUnionExaminevue_type_script_lang_js_components;
22160
22212
  message = res.message;
22161
22213
 
22162
22214
  if (status === 'success') {
22163
- if (_this7.hideMessage) return;
22164
- _this7.infoList.noticeType = message.split(',');
22215
+ if (_this8.hideMessage) return;
22216
+ _this8.infoList.noticeType = message.split(',');
22165
22217
  var arr = [];
22166
- _this7.infoList.noticeList.map(function (item) {
22167
- _this7.infoList.noticeType.map(function (x) {
22218
+ _this8.infoList.noticeList.map(function (item) {
22219
+ _this8.infoList.noticeType.map(function (x) {
22168
22220
  if (x == item.cciValue) {
22169
22221
  arr.push(x);
22170
22222
  }
22171
22223
  });
22172
22224
  });
22173
- _this7.infoList.noticeType = arr;
22225
+ _this8.infoList.noticeType = arr;
22174
22226
  } else {
22175
- _this7.$message.error(message || '系统错误,请联系管理员!');
22227
+ _this8.$message.error(message || '系统错误,请联系管理员!');
22176
22228
  }
22177
22229
  }).catch(function (err) {
22178
- _this7.loading = false;
22230
+ _this8.loading = false;
22179
22231
  if (err.message && err.message !== 'canceled') {
22180
- _this7.$message.error(err.message);
22232
+ _this8.$message.error(err.message);
22181
22233
  }
22182
22234
  });
22183
22235
  }
@@ -22195,8 +22247,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
22195
22247
 
22196
22248
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22197
22249
  component_taskUnionExaminevue_type_script_lang_js_,
22198
- taskUnionExaminevue_type_template_id_f2f9c652_render,
22199
- taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
22250
+ taskUnionExaminevue_type_template_id_0724a5af_render,
22251
+ taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns,
22200
22252
  false,
22201
22253
  null,
22202
22254
  null,
@@ -30036,6 +30088,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30036
30088
  //
30037
30089
  //
30038
30090
  //
30091
+ //
30039
30092
 
30040
30093
 
30041
30094
 
@@ -30266,6 +30319,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30266
30319
  nextNodeList: [],
30267
30320
  removeUsers: [],
30268
30321
  options: [],
30322
+ configInfo: {},
30269
30323
  params: {
30270
30324
  filid: 'all', //选择范围(my:本单位/ "" or all:全部)
30271
30325
  selectmix: 'true1',
@@ -30988,11 +31042,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30988
31042
  });
30989
31043
  },
30990
31044
 
30991
- /**
30992
- * saveInfo
30993
- * @desc:暂存
30994
- * @author liufan
30995
- * @date 2022年9月9日
31045
+ /**
31046
+ * saveInfo
31047
+ * @desc:暂存
31048
+ * @author liufan
31049
+ * @date 2022年9月9日
30996
31050
  **/
30997
31051
  saveInfo: function saveInfo(type, btn) {
30998
31052
  var _this14 = this;
@@ -31054,11 +31108,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31054
31108
  });
31055
31109
  },
31056
31110
 
31057
- /**
31058
- * rejectBtn
31059
- * @desc:点击驳回
31060
- * @author liufan
31061
- * @date 2022年5月25日
31111
+ /**
31112
+ * rejectBtn
31113
+ * @desc:点击驳回
31114
+ * @author liufan
31115
+ * @date 2022年5月25日
31062
31116
  **/
31063
31117
  rejectBtn: function rejectBtn(res) {
31064
31118
  var _this16 = this;
@@ -31078,37 +31132,40 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31078
31132
  }
31079
31133
  },
31080
31134
 
31081
- /**
31082
- * taskReadBtn
31083
- * @desc:点击分阅
31084
- * @author liufan
31085
- * @date 2022年5月25日
31135
+ /**
31136
+ * taskReadBtn
31137
+ * @desc:点击分阅
31138
+ * @author liufan
31139
+ * @date 2022年5月25日
31086
31140
  **/
31087
31141
  taskReadBtn: function taskReadBtn(res) {
31088
31142
  var _this17 = this;
31089
31143
 
31090
31144
  // return this.$message.warning('暂未开放!敬请期待');
31091
31145
 
31092
- if (this.beforeSubmit != undefined) {
31093
- this.beforeSubmit().then(function (next) {
31146
+ this.isLoadRead() && (this.btnType = '');
31147
+ setTimeout(function () {
31148
+ if (_this17.beforeSubmit != undefined) {
31149
+ _this17.beforeSubmit().then(function (next) {
31150
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
31151
+ _this17.taskReadType = 'create';
31152
+ // this.showTaskRead = true;
31153
+ _this17.btnType = _this17.btnFunValue(res.fun);
31154
+ }).catch(function (e) {});
31155
+ } else {
31094
31156
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
31095
31157
  _this17.taskReadType = 'create';
31096
31158
  // this.showTaskRead = true;
31097
31159
  _this17.btnType = _this17.btnFunValue(res.fun);
31098
- }).catch(function (e) {});
31099
- } else {
31100
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
31101
- this.taskReadType = 'create';
31102
- // this.showTaskRead = true;
31103
- this.btnType = this.btnFunValue(res.fun);
31104
- }
31160
+ }
31161
+ }, 0);
31105
31162
  },
31106
31163
 
31107
- /**
31108
- * getFind
31109
- * @desc:获取通知方式
31110
- * @author liufan
31111
- * @date 2022年5月25日
31164
+ /**
31165
+ * getFind
31166
+ * @desc:获取通知方式
31167
+ * @author liufan
31168
+ * @date 2022年5月25日
31112
31169
  **/
31113
31170
  getFind: function getFind() {
31114
31171
  var _this18 = this;
@@ -31175,12 +31232,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31175
31232
  });
31176
31233
  },
31177
31234
 
31178
- /**
31179
- * endFlows
31180
- * @desc:直接办结
31181
- * @author liufan
31182
- * @param {Object} res 直接办结数据
31183
- * @date 2022年5月25日
31235
+ /**
31236
+ * endFlows
31237
+ * @desc:直接办结
31238
+ * @author liufan
31239
+ * @param {Object} res 直接办结数据
31240
+ * @date 2022年5月25日
31184
31241
  **/
31185
31242
  endFlows: function endFlows(res) {
31186
31243
  var _this20 = this;
@@ -31194,9 +31251,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31194
31251
  }
31195
31252
  },
31196
31253
 
31197
- /**
31198
- * 获取弹性布局样式
31199
- * @returns {string} 弹性布局值
31254
+ /**
31255
+ * 获取弹性布局样式
31256
+ * @returns {string} 弹性布局值
31200
31257
  */
31201
31258
  getFlexStyle: function getFlexStyle() {
31202
31259
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -31244,12 +31301,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31244
31301
  }).catch(function (e) {});
31245
31302
  },
31246
31303
 
31247
- /**
31248
- * goView
31249
- * @desc:更多流程按钮操作
31250
- * @author liufan
31251
- * @param {Object} res 当前点击操作按钮数据
31252
- * @date 2022年5月25日
31304
+ /**
31305
+ * goView
31306
+ * @desc:更多流程按钮操作
31307
+ * @author liufan
31308
+ * @param {Object} res 当前点击操作按钮数据
31309
+ * @date 2022年5月25日
31253
31310
  **/
31254
31311
  goView: function goView(res) {
31255
31312
  // 驳回并办结:rejectAndEndHtml
@@ -31261,6 +31318,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31261
31318
  // 驳回:taskRejectHtml
31262
31319
  // 直接办结:endFlowHtml
31263
31320
  // 自由发起子流程:toFreeStartFlow
31321
+
31322
+
31264
31323
  if (res.type == 4) {
31265
31324
  this.$emit('buttonClick', { fun: res.fun, opinion: this.value }, this.sendData);
31266
31325
  } else if (res.fun === 'toStartTaskRead()') {
@@ -31338,11 +31397,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31338
31397
  // isCanStartSubFlow
31339
31398
  },
31340
31399
 
31341
- /**
31342
- * toTakeAdvice
31343
- * @desc:征求意见
31344
- * @author liufan
31345
- * @date 2022年9月29日
31400
+ /**
31401
+ * toTakeAdvice
31402
+ * @desc:征求意见
31403
+ * @author liufan
31404
+ * @date 2022年9月29日
31346
31405
  **/
31347
31406
  toTakeAdvice: function toTakeAdvice(res) {
31348
31407
  var _this22 = this;
@@ -31390,11 +31449,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31390
31449
  });
31391
31450
  },
31392
31451
 
31393
- /**
31394
- * toStartDraf
31395
- * @desc: 稿件递送、联合审核、复核
31396
- * @author liufan
31397
- * @date 2022年9月29日
31452
+ /**
31453
+ * toStartDraf
31454
+ * @desc: 稿件递送、联合审核、复核
31455
+ * @author liufan
31456
+ * @date 2022年9月29日
31398
31457
  **/
31399
31458
  toStartDraf: function toStartDraf(res) {
31400
31459
  var _this24 = this;
@@ -31417,11 +31476,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31417
31476
  }
31418
31477
  },
31419
31478
 
31420
- /**
31421
- * toSendMsg
31422
- * @desc:核稿通知
31423
- * @author liufan
31424
- * @date 2022年9月29日
31479
+ /**
31480
+ * toSendMsg
31481
+ * @desc:核稿通知
31482
+ * @author liufan
31483
+ * @date 2022年9月29日
31425
31484
  **/
31426
31485
  toSendMsg: function toSendMsg(res) {
31427
31486
  var _this25 = this;
@@ -31434,51 +31493,66 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31434
31493
  this.showSendMsg = true;
31435
31494
  }
31436
31495
  },
31496
+ isLoadRead: function isLoadRead() {
31497
+ var _this26 = this;
31498
+
31499
+ var funs = this.typeList.map(function (item) {
31500
+ return _this26.btnFunValue(item.fun);
31501
+ });
31502
+ return funs.includes('toStartTaskRead') && funs.includes('toTaskReadAndEnd');
31503
+ },
31437
31504
 
31438
- /**
31439
- * toTaskReadAndEnd
31440
- * @desc:分阅并办结
31441
- * @author liufan
31442
- * @date 2022年9月29日
31505
+
31506
+ /**
31507
+ * toTaskReadAndEnd
31508
+ * @desc:分阅并办结
31509
+ * @author liufan
31510
+ * @date 2022年9月29日
31443
31511
  **/
31444
31512
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31445
- var _this26 = this;
31513
+ var _this27 = this;
31446
31514
 
31447
- if (this.beforeSubmit != undefined) {
31448
- this.beforeSubmit().then(function (next) {
31449
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
31450
- _this26.taskReadType = 'taskReadAndEnd';
31451
- _this26.showTaskRead = true;
31452
- }).catch(function (e) {});
31453
- } else {
31454
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
31455
- this.taskReadType = 'taskReadAndEnd';
31456
- this.showTaskRead = true;
31457
- }
31515
+ this.isLoadRead() && (this.btnType = '');
31516
+ setTimeout(function () {
31517
+ if (_this27.beforeSubmit != undefined) {
31518
+ _this27.beforeSubmit().then(function (next) {
31519
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
31520
+ _this27.taskReadType = 'taskReadAndEnd';
31521
+ _this27.btnType = _this27.btnFunValue(res.fun);
31522
+
31523
+ // this.showTaskRead = true;
31524
+ }).catch(function (e) {});
31525
+ } else {
31526
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
31527
+ _this27.taskReadType = 'taskReadAndEnd';
31528
+ _this27.btnType = _this27.btnFunValue(res.fun);
31529
+ // this.showTaskRead = true;
31530
+ }
31531
+ }, 0);
31458
31532
  },
31459
31533
 
31460
- /**
31461
- * rejectAndEnd
31462
- * @desc:驳回并办结
31463
- * @author liufan
31464
- * @date 2022年9月29日
31534
+ /**
31535
+ * rejectAndEnd
31536
+ * @desc:驳回并办结
31537
+ * @author liufan
31538
+ * @date 2022年9月29日
31465
31539
  **/
31466
31540
  rejectAndEnd: function rejectAndEnd(res) {
31467
- var _this27 = this;
31541
+ var _this28 = this;
31468
31542
 
31469
31543
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
31470
31544
  if (!this.$refs.commonOpinions.validate()) return;
31471
31545
  }
31472
31546
  if (this.beforeSubmit != undefined) {
31473
31547
  this.beforeSubmit().then(function (next) {
31474
- _this27.saveRejectAndEnd(res);
31548
+ _this28.saveRejectAndEnd(res);
31475
31549
  }).catch(function (e) {});
31476
31550
  } else {
31477
31551
  this.saveRejectAndEnd(res);
31478
31552
  }
31479
31553
  },
31480
31554
  saveRejectAndEnd: function saveRejectAndEnd(res) {
31481
- var _this28 = this;
31555
+ var _this29 = this;
31482
31556
 
31483
31557
  this.$confirm('确认' + res.value + '?').then(function () {
31484
31558
  // return this.$message.warning('请填写意见');
@@ -31487,29 +31561,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31487
31561
  headers: { Accept: 'application/json,text/plain' },
31488
31562
  method: 'post',
31489
31563
  data: {
31490
- opinion: _this28.value,
31491
- pendingId: _this28.pendingId,
31564
+ opinion: _this29.value,
31565
+ pendingId: _this29.pendingId,
31492
31566
  isSinglePage: false
31493
31567
  }
31494
31568
  };
31495
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
31569
+ _this29.loading = util["a" /* default */].loading(_this29.$loading, '加载中...');
31496
31570
  util["a" /* default */].ajax(params).then(function (res) {
31497
31571
  var status = res.status,
31498
31572
  message = res.message;
31499
31573
 
31500
- _this28.loading.close();
31574
+ _this29.loading.close();
31501
31575
  if (status === 'success') {
31502
- _this28.flowSuccess();
31576
+ _this29.flowSuccess();
31503
31577
  // this.$message.success('提交成功');
31504
31578
  // this.$emit('success');
31505
31579
  } else {
31506
- _this28.$message.error(message || '系统错误,请联系管理员!');
31507
- _this28.$emit('error');
31580
+ _this29.$message.error(message || '系统错误,请联系管理员!');
31581
+ _this29.$emit('error');
31508
31582
  }
31509
31583
  }).catch(function (err) {
31510
- _this28.loading.close();
31584
+ _this29.loading.close();
31511
31585
  if (err.message && err.message !== 'canceled') {
31512
- _this28.$message.error(err.message);
31586
+ _this29.$message.error(err.message);
31513
31587
  }
31514
31588
  });
31515
31589
  }).catch(function () {
@@ -31517,19 +31591,19 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31517
31591
  });
31518
31592
  },
31519
31593
 
31520
- /**
31521
- * toTransfer
31522
- * @desc:转办
31523
- * @author liufan
31524
- * @date 2022年9月29日
31594
+ /**
31595
+ * toTransfer
31596
+ * @desc:转办
31597
+ * @author liufan
31598
+ * @date 2022年9月29日
31525
31599
  **/
31526
31600
  toTransfer: function toTransfer(res) {
31527
- var _this29 = this;
31601
+ var _this30 = this;
31528
31602
 
31529
31603
  if (this.beforeSubmit != undefined) {
31530
31604
  this.beforeSubmit(0).then(function (next) {
31531
- _this29.taskReadType = 'transfer';
31532
- _this29.showTaskRead = true;
31605
+ _this30.taskReadType = 'transfer';
31606
+ _this30.showTaskRead = true;
31533
31607
  }).catch(function (e) {});
31534
31608
  } else {
31535
31609
  this.taskReadType = 'transfer';
@@ -31540,14 +31614,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31540
31614
  this.nextNode.customLimitTime = val;
31541
31615
  },
31542
31616
 
31543
- /**
31544
- * getNodeInfo
31545
- * @desc:获取节点信息
31546
- * @author liufan
31547
- * @date 2022年5月25日
31617
+ /**
31618
+ * getNodeInfo
31619
+ * @desc:获取节点信息
31620
+ * @author liufan
31621
+ * @date 2022年5月25日
31548
31622
  **/
31549
31623
  getNodeInfo: function getNodeInfo() {
31550
- var _this30 = this;
31624
+ var _this31 = this;
31551
31625
 
31552
31626
  var params = {
31553
31627
  processDefinitionId: this.nodeInfo.nextNode,
@@ -31562,21 +31636,21 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31562
31636
  message = res.message,
31563
31637
  data = res.data;
31564
31638
 
31565
- _this30.loading.close();
31639
+ _this31.loading.close();
31566
31640
  if (status === 'success') {
31567
- _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
31568
- _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
31569
- _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
31570
- if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
31571
- _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
31641
+ _this31.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
31642
+ _this31.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
31643
+ _this31.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
31644
+ if (_this31.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
31645
+ _this31.nextNode.customLimitTime = _this31.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
31572
31646
  }
31573
- if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
31574
- _this30.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
31647
+ if (_this31.currentOrgSelectorParams.department && !_this31.currentOrgSelectorParams.department.roleid && _this31.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
31648
+ _this31.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
31575
31649
  }
31576
31650
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
31577
31651
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
31578
31652
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
31579
- _this30.nextCurrentOrgselectUserList.push({
31653
+ _this31.nextCurrentOrgselectUserList.push({
31580
31654
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
31581
31655
  showid: x,
31582
31656
  stype: 'department'
@@ -31585,7 +31659,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31585
31659
  }
31586
31660
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
31587
31661
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
31588
- _this30.nextCurrentOrgselectUserList.push({
31662
+ _this31.nextCurrentOrgselectUserList.push({
31589
31663
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
31590
31664
  showid: x,
31591
31665
  stype: 'employee'
@@ -31594,7 +31668,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31594
31668
  }
31595
31669
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
31596
31670
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
31597
- _this30.nextCurrentOrgselectUserList.push({
31671
+ _this31.nextCurrentOrgselectUserList.push({
31598
31672
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
31599
31673
  showid: x,
31600
31674
  stype: 'enterprise'
@@ -31603,44 +31677,44 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31603
31677
  }
31604
31678
  }
31605
31679
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
31606
- _this30.params.only_filid = true;
31680
+ _this31.params.only_filid = true;
31607
31681
  }
31608
- data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
31609
- data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
31682
+ data.otherOrgDisabledObjId && (_this31.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
31683
+ data.currentOrgDisabledObjId && (_this31.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
31610
31684
  if (data != null) {
31611
31685
  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) {
31612
- _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31686
+ _this31.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31613
31687
  } else {
31614
- _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
31688
+ _this31.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this31.choiceOrgId, _this31.choiceDeptId, _this31.pOrgId);
31615
31689
  }
31616
- _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31617
- _this30.isTaskread = data.nodeExtAttr.isTaskread;
31618
- _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
31619
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31620
- _this30.nodeType = data.nodeExtAttr.nodeType;
31690
+ _this31.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31691
+ _this31.isTaskread = data.nodeExtAttr.isTaskread;
31692
+ _this31.isHandleExplain = data.nodeExtAttr.isHandleExplain;
31693
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31694
+ _this31.nodeType = data.nodeExtAttr.nodeType;
31621
31695
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
31622
- if (_this30.nodeType === 1 || _this30.nodeType === 2) {
31623
- _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
31624
- _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
31625
- _this30.isNextUser = false;
31626
- _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
31627
- _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
31696
+ if (_this31.nodeType === 1 || _this31.nodeType === 2) {
31697
+ _this31.isMainSubProcess === true ? _this31.isNodeShowProcess = true : _this31.isNodeShowProcess = false;
31698
+ _this31.isMainSubProcess === true ? _this31.isMainSubProcess = true : _this31.isMainSubProcess = false;
31699
+ _this31.isNextUser = false;
31700
+ _this31.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
31701
+ _this31.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
31628
31702
  } else {
31629
- _this30.isHideCurrentOrg = false;
31630
- _this30.isHideOtherOrg = false;
31631
- _this30.isNodeShowProcess = false;
31632
- _this30.isMainSubProcess = false;
31633
- _this30.isNextUser = _this30.nextNode.nextOperate != 9;
31703
+ _this31.isHideCurrentOrg = false;
31704
+ _this31.isHideOtherOrg = false;
31705
+ _this31.isNodeShowProcess = false;
31706
+ _this31.isMainSubProcess = false;
31707
+ _this31.isNextUser = _this31.nextNode.nextOperate != 9;
31634
31708
  // this.isMainSubProcess === true
31635
31709
  // ? (this.isMainSubProcess = true)
31636
31710
  // : (this.isMainSubProcess = false);
31637
31711
  }
31638
- _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
31639
- if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
31712
+ _this31.multiple ? _this31.nextNode.nextUserId = [] : _this31.nextNode.nextUserId = '';
31713
+ if (_this31.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
31640
31714
  data.nextUserList.map(function (item) {
31641
31715
  if (item.userId && item.username) {
31642
- _this30.nextNode.nextUserId.push(item.userId);
31643
- _this30.selectUserList.push({
31716
+ _this31.nextNode.nextUserId.push(item.userId);
31717
+ _this31.selectUserList.push({
31644
31718
  showname: item.username,
31645
31719
  showid: item.userId
31646
31720
  });
@@ -31649,57 +31723,57 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31649
31723
  }
31650
31724
  data.nextUserList.map(function (item) {
31651
31725
  if (item.userId && item.username) {
31652
- _this30.options.push({
31726
+ _this31.options.push({
31653
31727
  showname: item.username,
31654
31728
  showid: item.userId
31655
31729
  });
31656
31730
  }
31657
31731
  });
31658
31732
  if (data.nodeExtAttr.presetEdit != 0) {
31659
- _this30.radioList = _this30.options;
31733
+ _this31.radioList = _this31.options;
31660
31734
  }
31661
- if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
31662
- _this30.nextNode.nextUserId = data.nextUserList[0].userId;
31663
- _this30.selectUserList.push({
31735
+ if (!_this31.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
31736
+ _this31.nextNode.nextUserId = data.nextUserList[0].userId;
31737
+ _this31.selectUserList.push({
31664
31738
  showname: data.nextUserList[0].username,
31665
31739
  showid: data.nextUserList[0].userId
31666
31740
  });
31667
31741
  }
31668
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31669
- _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
31670
- _this30.presetEdit = data.nodeExtAttr.presetEdit;
31671
- _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
31672
- _this30.handleMode = data.countersignaturetypeText;
31742
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31743
+ _this31.isCustomUser = data.nodeExtAttr.isCustomUser;
31744
+ _this31.presetEdit = data.nodeExtAttr.presetEdit;
31745
+ _this31.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
31746
+ _this31.handleMode = data.countersignaturetypeText;
31673
31747
  if (data.globalNodeType === 'endEvent') {
31674
- _this30.isNextUser = data.globalNodeType != 'endEvent';
31675
- data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
31748
+ _this31.isNextUser = data.globalNodeType != 'endEvent';
31749
+ data.globalNodeType === 'endEvent' ? _this31.endFlow = true : '';
31676
31750
  }
31677
31751
  }
31678
- if (_this30.isCustomPreset) {
31679
- _this30.$nextTick(function () {
31680
- _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
31752
+ if (_this31.isCustomPreset) {
31753
+ _this31.$nextTick(function () {
31754
+ _this31.$refs.customPreset && _this31.$refs.customPreset.getPresetFlowInfo(_this31.nextNode.nextNodeId, _this31.nodeInfo.nextNode, true);
31681
31755
  });
31682
31756
  }
31683
31757
  } else {
31684
- _this30.$message.error(message || '系统错误,请联系管理员!');
31758
+ _this31.$message.error(message || '系统错误,请联系管理员!');
31685
31759
  }
31686
31760
  }).catch(function (err) {
31687
- _this30.loading.close();
31761
+ _this31.loading.close();
31688
31762
  if (err.message && err.message !== 'canceled') {
31689
- _this30.$message.error(err.message);
31763
+ _this31.$message.error(err.message);
31690
31764
  }
31691
31765
  });
31692
31766
  },
31693
31767
 
31694
- /**
31695
- * selecNext
31696
- * @desc:下步节点变化时更新数据
31697
- * @author liufan
31698
- * @param {String} val 当前选中值
31699
- * @date 2022年5月25日
31768
+ /**
31769
+ * selecNext
31770
+ * @desc:下步节点变化时更新数据
31771
+ * @author liufan
31772
+ * @param {String} val 当前选中值
31773
+ * @date 2022年5月25日
31700
31774
  **/
31701
31775
  selecNext: function selecNext(val, type, isDef) {
31702
- var _this31 = this;
31776
+ var _this32 = this;
31703
31777
 
31704
31778
  var isNextNode = false;
31705
31779
  if (type && val && this.operationList.length > 0) {
@@ -31749,13 +31823,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31749
31823
  this.operationList.forEach(function (item) {
31750
31824
  if (item.key === val) {
31751
31825
  if (!item.taskNodeList) {
31752
- _this31.nodeInfos = [];
31826
+ _this32.nodeInfos = [];
31753
31827
  } else {
31754
- _this31.nodeInfos = item.taskNodeList;
31828
+ _this32.nodeInfos = item.taskNodeList;
31755
31829
 
31756
- if (_this31.taskOperationShiftedNodeList) {
31757
- _this31.nodeInfos = item.taskNodeList.filter(function (x) {
31758
- return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
31830
+ if (_this32.taskOperationShiftedNodeList) {
31831
+ _this32.nodeInfos = item.taskNodeList.filter(function (x) {
31832
+ return _this32.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
31759
31833
  });
31760
31834
  }
31761
31835
  }
@@ -31764,7 +31838,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31764
31838
  });
31765
31839
  if (this.defaultNextNode) {
31766
31840
  var defaultNode = this.nodeInfos.filter(function (item) {
31767
- return item.nodeId == _this31.defaultNextNode;
31841
+ return item.nodeId == _this32.defaultNextNode;
31768
31842
  });
31769
31843
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
31770
31844
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -31836,11 +31910,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31836
31910
  }
31837
31911
  },
31838
31912
 
31839
- /**
31840
- * isMultiple
31841
- * @desc:是否多选
31842
- * @author liufan
31843
- * @date 2022年9月13日
31913
+ /**
31914
+ * isMultiple
31915
+ * @desc:是否多选
31916
+ * @author liufan
31917
+ * @date 2022年9月13日
31844
31918
  **/
31845
31919
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
31846
31920
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -31875,14 +31949,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31875
31949
  return fun.replace('()', '');
31876
31950
  },
31877
31951
 
31878
- /**
31879
- * getHedInfo
31880
- * @desc:获取审核页面数据
31881
- * @author liufan
31882
- * @date 2022年5月25日
31952
+ /**
31953
+ * getHedInfo
31954
+ * @desc:获取审核页面数据
31955
+ * @author liufan
31956
+ * @date 2022年5月25日
31883
31957
  **/
31884
31958
  getHedInfo: function getHedInfo() {
31885
- var _this32 = this;
31959
+ var _this33 = this;
31886
31960
 
31887
31961
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
31888
31962
  var params = {
@@ -31892,7 +31966,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31892
31966
  util["a" /* default */].ajax({ url: api["W" /* getHandleInfoHtml */], params: params }).then(function (res) {
31893
31967
  //pc返回数据
31894
31968
 
31895
- _this32.loading.close();
31969
+ _this33.loading.close();
31896
31970
 
31897
31971
  if (res.status === 'success') {
31898
31972
  var _res$data2 = res.data,
@@ -31934,17 +32008,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31934
32008
  isCanPreAddSign = _res$data2.isCanPreAddSign;
31935
32009
 
31936
32010
  if (temporarySaveButtonName) {
31937
- _this32.saveButtonName = temporarySaveButtonName;
32011
+ _this33.saveButtonName = temporarySaveButtonName;
31938
32012
  }
32013
+ _this33.configInfo = res.data;
31939
32014
  if (simpleTips != undefined) {
31940
- _this32.simpleTips = simpleTips;
32015
+ _this33.simpleTips = simpleTips;
31941
32016
  }
31942
- _this32.$emit('startTaskRead', res);
31943
- _this32.$emit('start-task-read', res);
32017
+ _this33.$emit('startTaskRead', res);
32018
+ _this33.$emit('start-task-read', res);
31944
32019
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
31945
- _this32.taskOperationShiftedNodeList = [];
32020
+ _this33.taskOperationShiftedNodeList = [];
31946
32021
  taskOperationShiftedNodeList.map(function (x) {
31947
- _this32.taskOperationShiftedNodeList.push(x.nodeId);
32022
+ _this33.taskOperationShiftedNodeList.push(x.nodeId);
31948
32023
  taskOperations.push({
31949
32024
  key: x.nodeId,
31950
32025
  value: x.nodeName,
@@ -31953,159 +32028,159 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31953
32028
  });
31954
32029
  });
31955
32030
  }
31956
- _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
31957
- _this32.pendingItemHandleDescription = pendingItemHandleDescription;
32031
+ _this33.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
32032
+ _this33.pendingItemHandleDescription = pendingItemHandleDescription;
31958
32033
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
31959
- _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
32034
+ _this33.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
31960
32035
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
31961
- _this32.currentOrgSelectorTabs.map(function (x, i) {
31962
- _this32.currentOrgSelectorParams[x] = {
32036
+ _this33.currentOrgSelectorTabs.map(function (x, i) {
32037
+ _this33.currentOrgSelectorParams[x] = {
31963
32038
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
31964
32039
  only_filid: true,
31965
- roleid: _this32.selectorParams.roleid
32040
+ roleid: _this33.selectorParams.roleid
31966
32041
  };
31967
32042
  });
31968
32043
  }
31969
32044
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
31970
- _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
32045
+ _this33.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
31971
32046
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
31972
- _this32.foreignOrgSelectorTabs.map(function (x, i) {
31973
- _this32.foreignOrgSelectorParams[x] = {
32047
+ _this33.foreignOrgSelectorTabs.map(function (x, i) {
32048
+ _this33.foreignOrgSelectorParams[x] = {
31974
32049
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
31975
32050
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
31976
- roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
32051
+ roleid: _this33.circularReadParamsMap.circularReadOrgRoleCode || _this33.foreignOrgSelectorParams.roleid
31977
32052
  };
31978
32053
  });
31979
32054
  }
31980
- _this32.circularReadParamsMap = circularReadParamsMap || {};
31981
- if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
31982
- _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
32055
+ _this33.circularReadParamsMap = circularReadParamsMap || {};
32056
+ if (_this33.circularReadParamsMap.circularReadOrgRoleCode) {
32057
+ _this33.foreignOrgSelectorParams.roleid = _this33.circularReadParamsMap.circularReadOrgRoleCode;
31983
32058
  }
31984
- _this32.currentOrgName = currentOrgName;
31985
- _this32.nextOperateCheckType = nextOperateCheckType || 'select';
31986
- _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
31987
-
31988
- _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
31989
- _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
31990
- _this32.readOnlyNotificationType = readOnlyNotificationType;
31991
-
31992
- _this32.readOnlyNotificationType = readOnlyNotificationType;
31993
- _this32.isSpecial = isSpecial;
31994
- _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
31995
- _this32.otherOrgName = otherOrgName;
31996
- _this32.isCanPreAddSign = isCanPreAddSign;
31997
- _this32.endFlowInfo.choiceOrgId = choiceOrgId;
31998
- _this32.endFlowInfo.choiceDeptId = choiceDeptId;
31999
- _this32.endFlowInfo.pendingId = _this32.pendingId;
32000
- _this32.attachedCode = attachedCode;
32001
- _this32.endFlowInfo.pOrgId = pOrgId;
32002
- _this32.canPresetRead = canPresetRead;
32003
- _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
32004
- nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
32005
- _this32.operationList = taskOperations || [];
32006
- _this32.customPresetHintMessage = customPresetHintMessage;
32059
+ _this33.currentOrgName = currentOrgName;
32060
+ _this33.nextOperateCheckType = nextOperateCheckType || 'select';
32061
+ _this33.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
32062
+
32063
+ _this33.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
32064
+ _this33.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
32065
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
32066
+
32067
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
32068
+ _this33.isSpecial = isSpecial;
32069
+ _this33.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
32070
+ _this33.otherOrgName = otherOrgName;
32071
+ _this33.isCanPreAddSign = isCanPreAddSign;
32072
+ _this33.endFlowInfo.choiceOrgId = choiceOrgId;
32073
+ _this33.endFlowInfo.choiceDeptId = choiceDeptId;
32074
+ _this33.endFlowInfo.pendingId = _this33.pendingId;
32075
+ _this33.attachedCode = attachedCode;
32076
+ _this33.endFlowInfo.pOrgId = pOrgId;
32077
+ _this33.canPresetRead = canPresetRead;
32078
+ _this33.isCdjxjTaskHandle = isCdjxjTaskHandle;
32079
+ nextNodeCheckType && (_this33.nextNodeCheckType = nextNodeCheckType);
32080
+ _this33.operationList = taskOperations || [];
32081
+ _this33.customPresetHintMessage = customPresetHintMessage;
32007
32082
  if (canPresetRead) {
32008
32083
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
32009
32084
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
32010
32085
  ids.map(function (item, index) {
32011
- _this32.presetReadUserId.push({
32086
+ _this33.presetReadUserId.push({
32012
32087
  showid: item,
32013
32088
  showname: names[index]
32014
32089
  });
32015
- _this32.selectPresetUserList.push({
32090
+ _this33.selectPresetUserList.push({
32016
32091
  showid: item,
32017
32092
  showname: names[index]
32018
32093
  });
32019
- _this32.nextNode.presetReadUserId.push(item);
32094
+ _this33.nextNode.presetReadUserId.push(item);
32020
32095
  });
32021
32096
  }
32022
- if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
32097
+ if (!_this33.isFlow) _this33.getFile(_this33.pendingId, attachedCode);
32023
32098
  if (nextNodeList && nextNodeList.length != 0) {
32024
- _this32.nextNodeList = nextNodeList;
32099
+ _this33.nextNodeList = nextNodeList;
32025
32100
  if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
32026
- _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
32027
- nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
32101
+ _this33.isNextUser = nextNodeList[0].nodeType != 'endEvent';
32102
+ nextNodeList[0].nodeType === 'endEvent' ? _this33.endFlow = true : '';
32028
32103
  }
32029
32104
  }
32030
32105
 
32031
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
32106
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this33.removeUsers = canRemoveSignUserList;
32032
32107
  if (taskOperations && taskOperations.length != 0) {
32033
32108
  var isSelected = false;
32034
32109
  taskOperations.map(function (item) {
32035
- if (item.key === 9) _this32.isReject = true;
32110
+ if (item.key === 9) _this33.isReject = true;
32036
32111
  if (item.isSelected) {
32037
- _this32.nodeInfos = [];
32038
- _this32.nextNode.nextOperate = item.key;
32112
+ _this33.nodeInfos = [];
32113
+ _this33.nextNode.nextOperate = item.key;
32039
32114
  if (item.taskNodeList != null) {
32040
- _this32.nodeInfos = item.taskNodeList;
32115
+ _this33.nodeInfos = item.taskNodeList;
32041
32116
  }
32042
32117
  isSelected = true;
32043
32118
  }
32044
32119
  });
32045
32120
  if (taskOperations.length > 0 && !isSelected) {
32046
- _this32.nodeInfos = [];
32047
- _this32.nextNode.nextOperate = taskOperations[0].key;
32121
+ _this33.nodeInfos = [];
32122
+ _this33.nextNode.nextOperate = taskOperations[0].key;
32048
32123
  if (taskOperations[0].taskNodeList != null) {
32049
- _this32.nodeInfos = taskOperations[0].taskNodeList;
32124
+ _this33.nodeInfos = taskOperations[0].taskNodeList;
32050
32125
  }
32051
32126
  }
32052
32127
  }
32053
32128
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
32054
- _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
32129
+ _this33.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
32055
32130
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
32056
32131
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
32057
32132
  notice.map(function (x) {
32058
- _this32.nodeFixedOpinionSelectList.push({ content: x });
32133
+ _this33.nodeFixedOpinionSelectList.push({ content: x });
32059
32134
  });
32060
32135
  }
32061
32136
 
32062
- _this32.value = opinion || '';
32063
- _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
32064
- _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
32065
- _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
32066
- _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
32067
- _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
32068
- _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
32137
+ _this33.value = opinion || '';
32138
+ _this33.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
32139
+ _this33.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
32140
+ _this33.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
32141
+ _this33.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
32142
+ _this33.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
32143
+ _this33.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
32069
32144
  // this.isHideDefaultOperation =
32070
32145
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
32071
- _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
32146
+ _this33.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
32072
32147
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
32073
- var defaultNode = _this32.nodeInfos.filter(function (item) {
32148
+ var defaultNode = _this33.nodeInfos.filter(function (item) {
32074
32149
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
32075
32150
  });
32076
- if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
32077
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
32151
+ if (_this33.nodeInfos.length > 0 && defaultNode.length == 0) {
32152
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
32078
32153
  } else {
32079
- _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
32154
+ _this33.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
32080
32155
  }
32081
- } else if (_this32.nodeInfos.length > 0) {
32082
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
32156
+ } else if (_this33.nodeInfos.length > 0) {
32157
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
32083
32158
  }
32084
- _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
32159
+ _this33.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
32085
32160
  if (nodeInfoMap.nodeExtAttr.submitText) {
32086
- _this32.btnList.map(function (x) {
32161
+ _this33.btnList.map(function (x) {
32087
32162
  if (x.event === 'sub') {
32088
32163
  x.text = nodeInfoMap.nodeExtAttr.submitText;
32089
32164
  }
32090
32165
  });
32091
32166
  }
32092
32167
  }
32093
- _this32.choiceOrgId = choiceOrgId;
32094
- _this32.choiceDeptId = choiceDeptId;
32095
- _this32.pOrgId = pOrgId;
32168
+ _this33.choiceOrgId = choiceOrgId;
32169
+ _this33.choiceDeptId = choiceDeptId;
32170
+ _this33.pOrgId = pOrgId;
32096
32171
  if (res.data && res.data.isEndUserTask != undefined) {
32097
- _this32.isEndUserTask = res.data.isEndUserTask;
32172
+ _this33.isEndUserTask = res.data.isEndUserTask;
32098
32173
  }
32099
32174
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
32100
- _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
32101
- _this32.NodeName = taskExamine.nodeName;
32102
- _this32.taskId = taskExamine.taskId;
32103
- _this32.businessIds = taskExamine.businessId;
32104
- _this32.appId = taskExamine.appId;
32105
- _this32.taskExamineInfo = taskExamine;
32106
- _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
32107
- _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
32108
- _this32.endFlowInfo.processType = taskExamine.processType;
32175
+ _this33.nodeInfo.nextNode = taskExamine.processDefinitionId;
32176
+ _this33.NodeName = taskExamine.nodeName;
32177
+ _this33.taskId = taskExamine.taskId;
32178
+ _this33.businessIds = taskExamine.businessId;
32179
+ _this33.appId = taskExamine.appId;
32180
+ _this33.taskExamineInfo = taskExamine;
32181
+ _this33.taskExamineInfo.choiceOrgId = choiceOrgId;
32182
+ _this33.taskExamineInfo.choiceDeptId = choiceDeptId;
32183
+ _this33.endFlowInfo.processType = taskExamine.processType;
32109
32184
  // this.endFlowInfo.isReturnSubmitter =
32110
32185
  // taskExamine.isReturnSubmitter;
32111
32186
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -32117,98 +32192,96 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32117
32192
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
32118
32193
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
32119
32194
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
32120
- _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
32121
- _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
32122
- _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
32123
- _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
32124
- _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
32125
- _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
32126
- _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
32127
- _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
32128
- _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
32195
+ _this33.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
32196
+ _this33.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
32197
+ _this33.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
32198
+ _this33.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
32199
+ _this33.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
32200
+ _this33.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
32201
+ _this33.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
32202
+ _this33.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
32203
+ _this33.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
32129
32204
  // this.endFlowInfo.isReadDealReply =
32130
32205
  // taskExamine.isReadDealReplybusinessId;
32131
- _this32.endFlowInfo.appId = taskExamine.appId;
32132
- _this32.endFlowInfo.businessId = taskExamine.businessId;
32133
- _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
32134
- _this32.endFlowInfo.nodeId = taskExamine.nodeId;
32206
+ _this33.endFlowInfo.appId = taskExamine.appId;
32207
+ _this33.endFlowInfo.businessId = taskExamine.businessId;
32208
+ _this33.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
32209
+ _this33.endFlowInfo.nodeId = taskExamine.nodeId;
32135
32210
  }
32136
32211
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
32137
- _this32.NodeName = extendData.pendingData.itemname;
32212
+ _this33.NodeName = extendData.pendingData.itemname;
32138
32213
  }
32139
- if (_this32.nodeName) {
32140
- _this32.NodeName = _this32.nodeName;
32214
+ if (_this33.nodeName) {
32215
+ _this33.NodeName = _this33.nodeName;
32141
32216
  }
32142
- _this32.isCanAddSign = isCanAddSign;
32143
- _this32.processObj = res.data;
32144
- if (_this32.isCanAddSign) {
32145
- _this32.nextNode.isAddSign = '2';
32217
+ _this33.isCanAddSign = isCanAddSign;
32218
+ _this33.processObj = res.data;
32219
+ if (_this33.isCanAddSign) {
32220
+ _this33.nextNode.isAddSign = '2';
32146
32221
  }
32147
- _this32.isCanRemoveSign = isCanRemoveSign;
32148
- if (_this32.isCanRemoveSign) {
32149
- _this32.nextNode.isRemoveSign = '2';
32222
+ _this33.isCanRemoveSign = isCanRemoveSign;
32223
+ if (_this33.isCanRemoveSign) {
32224
+ _this33.nextNode.isRemoveSign = '2';
32150
32225
  }
32151
32226
 
32152
- if (!_this32.isOpinionRequired) {
32153
- _this32.isOpinionRequired = 0;
32227
+ if (!_this33.isOpinionRequired) {
32228
+ _this33.isOpinionRequired = 0;
32154
32229
  }
32155
32230
  // opinion && (this.value = opinion);
32156
- _this32.nextNode.notificationMsg = defaultNotificationMessage;
32157
- _this32.moreList = [];
32231
+ _this33.nextNode.notificationMsg = defaultNotificationMessage;
32232
+ _this33.moreList = [];
32158
32233
  if (taskButtonList && taskButtonList.length != 0) {
32159
32234
  taskButtonList.map(function (item) {
32160
32235
  if (item.fun === 'reject()') {
32161
- _this32.rejectObj = item;
32236
+ _this33.rejectObj = item;
32162
32237
  } else if (item.fun === 'toStartTaskRead()') {
32163
- _this32.pointsReadingObj = item;
32238
+ _this33.pointsReadingObj = item;
32164
32239
  } else {
32165
- _this32.moreList.push(item);
32240
+ _this33.moreList.push(item);
32166
32241
  }
32167
32242
  });
32168
- _this32.typeList = _this32.typeList.concat(taskButtonList);
32243
+ _this33.typeList = _this33.typeList.concat(taskButtonList);
32169
32244
  }
32170
- _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
32171
- _this32.isCustomPreset = isCustomPreset;
32172
- _this32.isPreset = isPreset;
32173
- _this32.presetTaskNodeMap = presetTaskNodeMap;
32174
- _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
32175
- _this32.getFind();
32176
- _this32.selecNext(_this32.nextNode.nextOperate, true, true);
32245
+ _this33.isMainSubProcess = res.data.isMainSubProcess == 'true';
32246
+ _this33.isCustomPreset = isCustomPreset;
32247
+ _this33.isPreset = isPreset;
32248
+ _this33.presetTaskNodeMap = presetTaskNodeMap;
32249
+ _this33.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
32250
+ _this33.getFind();
32251
+ _this33.selecNext(_this33.nextNode.nextOperate, true, true);
32177
32252
  // this.getNodeInfo();
32178
- _this32.StartTaskReadKey++;
32253
+ _this33.StartTaskReadKey++;
32179
32254
  } else {
32180
32255
  if (res.status === 'taskCompleted') {
32181
- _this32.$emit('shrink', true);
32182
- _this32.shrinkAbled = true;
32183
- _this32.$message.warning(res.message || '系统错误,请联系管理员!');
32256
+ _this33.$emit('shrink', true);
32257
+ _this33.shrinkAbled = true;
32258
+ _this33.$message.warning(res.message || '系统错误,请联系管理员!');
32184
32259
  } else {
32185
- _this32.$message.error(res.message || '系统错误,请联系管理员!');
32260
+ _this33.$message.error(res.message || '系统错误,请联系管理员!');
32186
32261
  }
32187
32262
  }
32188
- _this32.showOpinion = false;
32263
+ _this33.showOpinion = false;
32189
32264
  setTimeout(function () {
32190
- _this32.showOpinion = true;
32265
+ _this33.showOpinion = true;
32191
32266
  }, 0);
32192
32267
  }).catch(function (err) {
32193
- _this32.loading.close();
32268
+ _this33.loading.close();
32194
32269
  if (err.message && err.message !== 'canceled') {
32195
- _this32.$message.error(err.message);
32270
+ _this33.$message.error(err.message);
32196
32271
  }
32197
32272
  });
32198
32273
  },
32199
32274
 
32200
- /**
32201
- * closeProcess
32202
- * @desc:关闭弹窗
32203
- * @author liufan
32204
- * @param {boolean} val 当前是否办理流程
32205
- * @param {String} type 当前点击的弹窗类型
32206
- * @date 2022年5月25日
32275
+ /**
32276
+ * closeProcess
32277
+ * @desc:关闭弹窗
32278
+ * @author liufan
32279
+ * @param {boolean} val 当前是否办理流程
32280
+ * @param {String} type 当前点击的弹窗类型
32281
+ * @date 2022年5月25日
32207
32282
  **/
32208
32283
  closeProcess: function closeProcess(val, type, closeParent) {
32209
- if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
32210
- this.$refs[type].handleClosed();
32211
- } else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
32284
+ if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
32212
32285
  this[type] = false;
32213
32286
  }
32214
32287
  if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
@@ -32219,27 +32292,32 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32219
32292
  this.flowSuccess(true);
32220
32293
  // this.$emit('success');
32221
32294
  } else {
32222
- this.$emit('cancel');
32295
+ if (type == 'showTaskRead') {
32296
+ !this.simpleTips && this.$message.success('分阅成功');
32297
+ this.$emit('success', 'taskRead');
32298
+ } else {
32299
+ this.$emit('cancel');
32300
+ }
32223
32301
  }
32224
32302
  },
32225
32303
 
32226
- /**
32227
- * selectChange
32228
- * @desc:常用语选择
32229
- * @author liufan
32230
- * @param {String} val 选中值
32231
- * @date 2022年5月25日
32304
+ /**
32305
+ * selectChange
32306
+ * @desc:常用语选择
32307
+ * @author liufan
32308
+ * @param {String} val 选中值
32309
+ * @date 2022年5月25日
32232
32310
  **/
32233
32311
  selectChange: function selectChange(val) {
32234
32312
  this.value = val;
32235
32313
  },
32236
32314
 
32237
- /**
32238
- * upDate
32239
- * @desc:修改常用语
32240
- * @author liufan
32241
- * @param {Object} val 修改值
32242
- * @date 2022年5月25日
32315
+ /**
32316
+ * upDate
32317
+ * @desc:修改常用语
32318
+ * @author liufan
32319
+ * @param {Object} val 修改值
32320
+ * @date 2022年5月25日
32243
32321
  **/
32244
32322
  upDate: function upDate(val) {
32245
32323
  this.FormData.id = val.id;
@@ -32247,14 +32325,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32247
32325
  },
32248
32326
 
32249
32327
 
32250
- /**
32251
- * getProcess
32252
- * @desc:获取选择流程
32253
- * @author liufan
32254
- * @date 2022年5月25日
32328
+ /**
32329
+ * getProcess
32330
+ * @desc:获取选择流程
32331
+ * @author liufan
32332
+ * @date 2022年5月25日
32255
32333
  **/
32256
32334
  getProcess: function getProcess(val) {
32257
- var _this33 = this;
32335
+ var _this34 = this;
32258
32336
 
32259
32337
  var params = flowvue_type_script_lang_js_extends({
32260
32338
  businessId: this.businessId,
@@ -32272,56 +32350,56 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32272
32350
  message = res.message,
32273
32351
  data = res.data;
32274
32352
 
32275
- _this33.loading.close();
32353
+ _this34.loading.close();
32276
32354
  if (status === 'success') {
32277
32355
  if (data.simpleTips != undefined) {
32278
- _this33.simpleTips = data.simpleTips;
32356
+ _this34.simpleTips = data.simpleTips;
32279
32357
  }
32280
- _this33.isStartFlowChartView = data.isStartFlowChartView;
32358
+ _this34.isStartFlowChartView = data.isStartFlowChartView;
32281
32359
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
32282
- _this33.$message.error('流程不存在或未关联对应流程!');
32360
+ _this34.$message.error('流程不存在或未关联对应流程!');
32283
32361
  } else {
32284
- _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
32285
- _this33.activitiDefinitionSort = data.activitiDefinitionSort;
32286
- _this33.nodeInfo.option = data.definitionList;
32287
- _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
32288
- return item.processDefKey == _this33.defaultProcessKey;
32362
+ _this34.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
32363
+ _this34.activitiDefinitionSort = data.activitiDefinitionSort;
32364
+ _this34.nodeInfo.option = data.definitionList;
32365
+ _this34.nodeInfo.nextNode = data.definitionList.filter(function (item) {
32366
+ return item.processDefKey == _this34.defaultProcessKey;
32289
32367
  });
32290
- if (_this33.nodeInfo.nextNode.length) {
32291
- _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
32368
+ if (_this34.nodeInfo.nextNode.length) {
32369
+ _this34.nodeInfo.nextNode = _this34.nodeInfo.nextNode[0].processDefId;
32292
32370
  } else {
32293
32371
  if (data.definitionList.length != 0) {
32294
- _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
32372
+ _this34.nodeInfo.nextNode = data.definitionList[0].processDefId;
32295
32373
  } else {
32296
- _this33.nodeInfo.nextNode = '';
32374
+ _this34.nodeInfo.nextNode = '';
32297
32375
  }
32298
32376
  }
32299
- if (_this33.nodeInfo.nextNode) {
32300
- _this33.handleChange(_this33.nodeInfo.nextNode, true);
32377
+ if (_this34.nodeInfo.nextNode) {
32378
+ _this34.handleChange(_this34.nodeInfo.nextNode, true);
32301
32379
  }
32302
- if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
32303
- _this33.getAdminMsgType();
32380
+ if (_this34.showCirculate != undefined && !_this34.showCirculate && _this34.urgencyLevel) {
32381
+ _this34.getAdminMsgType();
32304
32382
  }
32305
32383
  }
32306
32384
  } else {
32307
- _this33.$message.error(message || '系统错误,请联系管理员!');
32385
+ _this34.$message.error(message || '系统错误,请联系管理员!');
32308
32386
  }
32309
32387
  }).catch(function (err) {
32310
- _this33.loading.close();
32388
+ _this34.loading.close();
32311
32389
  if (err.message && err.message !== 'canceled') {
32312
- _this33.$message.error(err.message);
32390
+ _this34.$message.error(err.message);
32313
32391
  }
32314
32392
  });
32315
32393
  },
32316
32394
 
32317
- /**
32318
- * getPendedhistoryList
32319
- * @desc:获取流程列表
32320
- * @author liufan
32321
- * @date 2022年5月25日
32395
+ /**
32396
+ * getPendedhistoryList
32397
+ * @desc:获取流程列表
32398
+ * @author liufan
32399
+ * @date 2022年5月25日
32322
32400
  **/
32323
32401
  getPendedhistoryList: function getPendedhistoryList() {
32324
- var _this34 = this;
32402
+ var _this35 = this;
32325
32403
 
32326
32404
  var params = {
32327
32405
  apprecordId: this.businessIds,
@@ -32334,22 +32412,22 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32334
32412
  results = res.results;
32335
32413
 
32336
32414
  if (!rCode) {
32337
- _this34.nextNode.nextUserId = [];
32338
- _this34.showNews = false;
32339
- _this34.nextNode.notificationType = [];
32340
- _this34.pendingId = results[results.length - 1].attachId;
32341
- _this34.getHedInfo();
32415
+ _this35.nextNode.nextUserId = [];
32416
+ _this35.showNews = false;
32417
+ _this35.nextNode.notificationType = [];
32418
+ _this35.pendingId = results[results.length - 1].attachId;
32419
+ _this35.getHedInfo();
32342
32420
  } else {
32343
- _this34.$message.error(msg || '系统错误,请联系管理员!');
32421
+ _this35.$message.error(msg || '系统错误,请联系管理员!');
32344
32422
  }
32345
32423
  }).catch(function (err) {
32346
32424
  if (err.message && err.message !== 'canceled') {
32347
- _this34.$message.error(err.message);
32425
+ _this35.$message.error(err.message);
32348
32426
  }
32349
32427
  });
32350
32428
  },
32351
32429
  reqCircularRead: function reqCircularRead(type) {
32352
- var _this35 = this;
32430
+ var _this36 = this;
32353
32431
 
32354
32432
  var _that = this;
32355
32433
  var params = {
@@ -32363,7 +32441,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32363
32441
  };
32364
32442
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
32365
32443
  util["a" /* default */].ajax(params).then(function (res) {
32366
- _this35.loading.close();
32444
+ _this36.loading.close();
32367
32445
  if (res.rCode == 0) {
32368
32446
  if (res.results.alert) {
32369
32447
  _that.$confirm(res.results.message, {
@@ -32387,20 +32465,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32387
32465
 
32388
32466
  // 提交流程前验证
32389
32467
  beforeSubProcess: function beforeSubProcess(val, type) {
32390
- var _this36 = this;
32468
+ var _this37 = this;
32391
32469
 
32392
32470
  return this.$refs['nextNode'].validate(function (valid) {
32393
32471
  if (valid) {
32394
- if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
32395
- _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
32396
- _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
32397
- _this36.value = val + _this36.value;
32472
+ if (_this37.isSubmitButtonShowAgreeAndDisagree == 1) {
32473
+ _this37.value = _this37.value.replace(RegExp('不同意。', 'g'), '');
32474
+ _this37.value = _this37.value.replace(RegExp('同意。', 'g'), '');
32475
+ _this37.value = val + _this37.value;
32398
32476
  }
32399
- if (!_this36.validInfo()) {
32400
- _this36.freeValid = false;
32477
+ if (!_this37.validInfo()) {
32478
+ _this37.freeValid = false;
32401
32479
  return;
32402
32480
  } else {
32403
- _this36.freeValid = true;
32481
+ _this37.freeValid = true;
32404
32482
  }
32405
32483
  // if (
32406
32484
  // this.currentNodeIsCircularReadNode &&
@@ -32410,42 +32488,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32410
32488
  // return;
32411
32489
  // }
32412
32490
 
32413
- if (_this36.submitButtonFunKey) {
32414
- var btnInfo = _this36.taskNodeButtons.filter(function (x) {
32415
- return x.key === _this36.submitButtonFunKey;
32491
+ if (_this37.submitButtonFunKey) {
32492
+ var btnInfo = _this37.taskNodeButtons.filter(function (x) {
32493
+ return x.key === _this37.submitButtonFunKey;
32416
32494
  });
32417
32495
  if (btnInfo.length > 0) {
32418
32496
  if (btnInfo[0].type == 4) {
32419
- _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
32497
+ _this37.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this37.value }, _this37.sendData);
32420
32498
  } else if (btnInfo[0].type == 2) {
32421
- _this36.goView(btnInfo[0]);
32499
+ _this37.goView(btnInfo[0]);
32422
32500
  }
32423
32501
  }
32424
32502
  return;
32425
32503
  }
32426
32504
  if (type == 'multiInsMidwayWithSubmitScene') {
32427
- _this36.sendData(type);
32505
+ _this37.sendData(type);
32428
32506
  return;
32429
32507
  }
32430
- if (_this36.beforeSubmit == undefined) {
32431
- _this36.subFun(_this36.sendData);
32508
+ if (_this37.beforeSubmit == undefined) {
32509
+ _this37.subFun(_this37.sendData);
32432
32510
  } else {
32433
- _this36.sendData();
32511
+ _this37.sendData();
32434
32512
  }
32435
32513
  }
32436
32514
  });
32437
32515
  },
32438
32516
 
32439
32517
  // 提交流程
32440
- /**
32441
- * subProcess
32442
- * @desc:提交流程
32443
- * @author liufan
32444
- * @param {String} formName 当前form表单ref值
32445
- * @date 2022年5月25日
32518
+ /**
32519
+ * subProcess
32520
+ * @desc:提交流程
32521
+ * @author liufan
32522
+ * @param {String} formName 当前form表单ref值
32523
+ * @date 2022年5月25日
32446
32524
  **/
32447
32525
  subProcess: function subProcess(val, type) {
32448
- var _this37 = this;
32526
+ var _this38 = this;
32449
32527
 
32450
32528
  if (this.btnType != 'default') {
32451
32529
  if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
@@ -32459,7 +32537,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32459
32537
  this.beforeSubProcess(val, type);
32460
32538
  } else {
32461
32539
  this.beforeSubmit(1).then(function (next) {
32462
- _this37.beforeSubProcess(val, type);
32540
+ _this38.beforeSubProcess(val, type);
32463
32541
  }).catch(function (e) {});
32464
32542
  }
32465
32543
  },
@@ -32502,14 +32580,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32502
32580
  return true;
32503
32581
  },
32504
32582
  flowSuccess: function flowSuccess(hideMessage) {
32505
- var _this38 = this;
32583
+ var _this39 = this;
32506
32584
 
32507
32585
  if (!this.simpleTips) {
32508
32586
  this.$alert('提交成功', '', {
32509
32587
  confirmButtonText: '确定',
32510
32588
  type: 'success',
32511
32589
  callback: function callback(action) {
32512
- _this38.$emit('success');
32590
+ _this39.$emit('success');
32513
32591
  }
32514
32592
  });
32515
32593
  } else {
@@ -32520,7 +32598,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32520
32598
  }
32521
32599
  },
32522
32600
  sendData: function sendData(freetype) {
32523
- var _this39 = this;
32601
+ var _this40 = this;
32524
32602
 
32525
32603
  if (this.isFlow && !this.nodeInfo.nextNode) {
32526
32604
  this.$message.warning('请选择流程');
@@ -32546,70 +32624,70 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32546
32624
  break;
32547
32625
  }
32548
32626
 
32549
- if (!_this39.isFlow) {
32627
+ if (!_this40.isFlow) {
32550
32628
  _context2.next = 7;
32551
32629
  break;
32552
32630
  }
32553
32631
 
32554
- if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
32632
+ if (!(_this40.isOpinionRequired && !_this40.$refs.commonOpinions.validate())) {
32555
32633
  _context2.next = 5;
32556
32634
  break;
32557
32635
  }
32558
32636
 
32559
- _this39.$message.warning('请输入审批意见');
32637
+ _this40.$message.warning('请输入审批意见');
32560
32638
  return _context2.abrupt('return');
32561
32639
 
32562
32640
  case 5:
32563
- if (_this39.directCreateCircularReadWhenFlowStarted) {
32564
- _this39.circulateVisible = true;
32641
+ if (_this40.directCreateCircularReadWhenFlowStarted) {
32642
+ _this40.circulateVisible = true;
32565
32643
  } else {
32566
- _this39.handleVisible = true;
32644
+ _this40.handleVisible = true;
32567
32645
  }
32568
32646
  return _context2.abrupt('return');
32569
32647
 
32570
32648
  case 7:
32571
32649
  nextUserId = [];
32572
32650
 
32573
- if (_this39.multiple) {
32574
- _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
32651
+ if (_this40.multiple) {
32652
+ _this40.nextNode.nextUserId && _this40.nextNode.nextUserId.map(function (item) {
32575
32653
  return nextUserId.push(item);
32576
32654
  });
32577
32655
  }
32578
32656
  addSignUserId = [];
32579
32657
 
32580
- if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
32581
- _this39.nextNode.addSignUserId.map(function (item) {
32658
+ if (_this40.isCanAddSign && _this40.nextNode.isAddSign == '1') {
32659
+ _this40.nextNode.addSignUserId.map(function (item) {
32582
32660
  addSignUserId.push(item);
32583
32661
  });
32584
32662
  }
32585
32663
  removeSignUserId = [];
32586
32664
 
32587
- if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
32588
- _this39.nextNode.removeSignUserId.map(function (item) {
32665
+ if (_this40.isCanRemoveSign && _this40.nextNode.isRemoveSign == '1') {
32666
+ _this40.nextNode.removeSignUserId.map(function (item) {
32589
32667
  removeSignUserId.push(item);
32590
32668
  });
32591
32669
  }
32592
32670
  str = '';
32593
32671
 
32594
- if (_this39.value) {
32595
- str = _this39.value.replace(/\s+/g, '');
32672
+ if (_this40.value) {
32673
+ str = _this40.value.replace(/\s+/g, '');
32596
32674
  }
32597
- if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
32598
- _this39.value = _this39.nodeDefaultSubmitOpinion;
32675
+ if ((!_this40.value || str === '') && _this40.nodeDefaultSubmitOpinion) {
32676
+ _this40.value = _this40.nodeDefaultSubmitOpinion;
32599
32677
  }
32600
- if (!_this39.isSpecial) {
32601
- delete _this39.nextNode.nextOperate;
32602
- delete _this39.nextNode.nextNodeId;
32678
+ if (!_this40.isSpecial) {
32679
+ delete _this40.nextNode.nextOperate;
32680
+ delete _this40.nextNode.nextNodeId;
32603
32681
  }
32604
- if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
32605
- _this39.nextNode.isReturnRejectNode = 1;
32606
- _this39.nextNode.processDefinitionId = _this39.processObj.taskExamine.processDefinitionId;
32682
+ if (_this40.nextNode.nextOperate === 9 || _this40.oldNextOperate == 9) {
32683
+ _this40.nextNode.isReturnRejectNode = 1;
32684
+ _this40.nextNode.processDefinitionId = _this40.processObj.taskExamine.processDefinitionId;
32607
32685
  }
32608
- if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
32609
- delete _this39.nextNode.nextNodeId;
32686
+ if (_this40.nextNode.nextOperate != 0 && _this40.nextNode.nextOperate != 1 && _this40.oldNextOperate === '' || _this40.oldNextOperate !== '' && _this40.oldNextOperate != 0 && _this40.oldNextOperate != 1) {
32687
+ delete _this40.nextNode.nextNodeId;
32610
32688
  }
32611
32689
 
32612
- if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
32690
+ if (!(_this40.isCustomPreset && _this40.activeNames == '1')) {
32613
32691
  _context2.next = 30;
32614
32692
  break;
32615
32693
  }
@@ -32617,20 +32695,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32617
32695
  i = 0;
32618
32696
 
32619
32697
  case 21:
32620
- if (!(i < _this39.presetList.length)) {
32698
+ if (!(i < _this40.presetList.length)) {
32621
32699
  _context2.next = 30;
32622
32700
  break;
32623
32701
  }
32624
32702
 
32625
- 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))) {
32703
+ 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))) {
32626
32704
  _context2.next = 26;
32627
32705
  break;
32628
32706
  }
32629
32707
 
32630
- 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'));
32708
+ 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'));
32631
32709
 
32632
32710
  case 26:
32633
- delete _this39.presetList[i].label;
32711
+ delete _this40.presetList[i].label;
32634
32712
 
32635
32713
  case 27:
32636
32714
  i++;
@@ -32638,12 +32716,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32638
32716
  break;
32639
32717
 
32640
32718
  case 30:
32641
- if (!_this39.isCancelSecondConfirmationType) {
32719
+ if (!_this40.isCancelSecondConfirmationType) {
32642
32720
  _context2.next = 33;
32643
32721
  break;
32644
32722
  }
32645
32723
 
32646
- _this39.$confirm('确认提交吗?', '提示', {
32724
+ _this40.$confirm('确认提交吗?', '提示', {
32647
32725
  confirmButtonText: '确定',
32648
32726
  cancelButtonText: '取消',
32649
32727
  type: 'warning'
@@ -32659,46 +32737,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32659
32737
  }
32660
32738
 
32661
32739
  _context.next = 3;
32662
- return _this39.saveInfo('subMit');
32740
+ return _this40.saveInfo('subMit');
32663
32741
 
32664
32742
  case 3:
32665
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32743
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
32666
32744
 
32667
32745
  case 4:
32668
32746
  notificationType = '';
32669
32747
 
32670
- notificationType = _this39.nextNode.notificationType.join(',');
32748
+ notificationType = _this40.nextNode.notificationType.join(',');
32671
32749
  addSignUserId = addSignUserId.join(',');
32672
32750
  removeSignUserId = removeSignUserId.join(',');
32673
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32674
- delete _this39.nextNode.addSignMode;
32751
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
32752
+ delete _this40.nextNode.addSignMode;
32675
32753
  }
32676
32754
 
32677
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32678
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32679
- pendingId: _this39.pendingId,
32680
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
32755
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
32756
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
32757
+ pendingId: _this40.pendingId,
32758
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
32681
32759
  userId: util["a" /* default */].getStorage('userId'),
32682
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32760
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
32683
32761
  addSignUserId: addSignUserId,
32684
- customPresetUserJson: JSON.stringify(_this39.presetList),
32685
- presetUserJson: JSON.stringify(_this39.presetUserJson),
32762
+ customPresetUserJson: JSON.stringify(_this40.presetList),
32763
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
32686
32764
  removeSignUserId: removeSignUserId,
32687
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
32688
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32689
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
32765
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
32766
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
32767
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
32690
32768
  notificationType: notificationType
32691
32769
  });
32692
32770
 
32693
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32771
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
32694
32772
  delete params.customLimitTimeText;
32695
- if (_this39.nextNode.isRemoveSign != '1') {
32773
+ if (_this40.nextNode.isRemoveSign != '1') {
32696
32774
  delete params.removeSignUserId;
32697
32775
  }
32698
- if (_this39.nextNode.isAddSign != '1') {
32776
+ if (_this40.nextNode.isAddSign != '1') {
32699
32777
  delete params.addSignUserId;
32700
32778
  }
32701
- if (!_this39.isSpecial) {
32779
+ if (!_this40.isSpecial) {
32702
32780
  delete params.nextUserId;
32703
32781
  }
32704
32782
 
@@ -32707,13 +32785,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32707
32785
  break;
32708
32786
  }
32709
32787
 
32710
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32711
- _this39.taskParams = params;
32788
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
32789
+ _this40.taskParams = params;
32712
32790
  return _context.abrupt('return');
32713
32791
 
32714
32792
  case 19:
32715
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32716
- 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;
32793
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '提交中...');
32794
+ 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;
32717
32795
 
32718
32796
  params.isEndUserTask = isEndUserTask;
32719
32797
  params.choiceOrgId = choiceOrgId;
@@ -32737,17 +32815,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32737
32815
  var status = res.status,
32738
32816
  message = res.message;
32739
32817
 
32740
- _this39.loading.close();
32818
+ _this40.loading.close();
32741
32819
  if (status === 'success') {
32742
- _this39.flowSuccess();
32820
+ _this40.flowSuccess();
32743
32821
  } else {
32744
- _this39.$message.error(message || '系统错误,请联系管理员!');
32745
- _this39.$emit('error');
32822
+ _this40.$message.error(message || '系统错误,请联系管理员!');
32823
+ _this40.$emit('error');
32746
32824
  }
32747
32825
  }).catch(function (err) {
32748
- _this39.loading.close();
32826
+ _this40.loading.close();
32749
32827
  if (err.message && err.message !== 'canceled') {
32750
- _this39.$message.error(err.message);
32828
+ _this40.$message.error(err.message);
32751
32829
  }
32752
32830
  }));
32753
32831
 
@@ -32756,7 +32834,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32756
32834
  return _context.stop();
32757
32835
  }
32758
32836
  }
32759
- }, _callee, _this39);
32837
+ }, _callee, _this40);
32760
32838
  })));
32761
32839
  return _context2.abrupt('return');
32762
32840
 
@@ -32767,46 +32845,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32767
32845
  }
32768
32846
 
32769
32847
  _context2.next = 36;
32770
- return _this39.saveInfo('subMit');
32848
+ return _this40.saveInfo('subMit');
32771
32849
 
32772
32850
  case 36:
32773
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32851
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
32774
32852
 
32775
32853
  case 37:
32776
32854
  notificationType = '';
32777
32855
 
32778
- notificationType = _this39.nextNode.notificationType.join(',');
32856
+ notificationType = _this40.nextNode.notificationType.join(',');
32779
32857
  addSignUserId = addSignUserId.join(',');
32780
32858
  removeSignUserId = removeSignUserId.join(',');
32781
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32782
- delete _this39.nextNode.addSignMode;
32859
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
32860
+ delete _this40.nextNode.addSignMode;
32783
32861
  }
32784
32862
 
32785
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32786
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32787
- pendingId: _this39.pendingId,
32788
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
32863
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
32864
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
32865
+ pendingId: _this40.pendingId,
32866
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
32789
32867
  userId: util["a" /* default */].getStorage('userId'),
32790
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32868
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
32791
32869
  addSignUserId: addSignUserId,
32792
- customPresetUserJson: JSON.stringify(_this39.presetList),
32793
- presetUserJson: JSON.stringify(_this39.presetUserJson),
32870
+ customPresetUserJson: JSON.stringify(_this40.presetList),
32871
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
32794
32872
  removeSignUserId: removeSignUserId,
32795
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
32796
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32797
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
32873
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
32874
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
32875
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
32798
32876
  notificationType: notificationType
32799
32877
  });
32800
32878
 
32801
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32879
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
32802
32880
  delete params.customLimitTimeText;
32803
- if (_this39.nextNode.isRemoveSign != '1') {
32881
+ if (_this40.nextNode.isRemoveSign != '1') {
32804
32882
  delete params.removeSignUserId;
32805
32883
  }
32806
- if (_this39.nextNode.isAddSign != '1') {
32884
+ if (_this40.nextNode.isAddSign != '1') {
32807
32885
  delete params.addSignUserId;
32808
32886
  }
32809
- if (!_this39.isSpecial) {
32887
+ if (!_this40.isSpecial) {
32810
32888
  delete params.nextUserId;
32811
32889
  }
32812
32890
 
@@ -32815,13 +32893,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32815
32893
  break;
32816
32894
  }
32817
32895
 
32818
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32819
- _this39.taskParams = params;
32896
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
32897
+ _this40.taskParams = params;
32820
32898
  return _context2.abrupt('return');
32821
32899
 
32822
32900
  case 52:
32823
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32824
- 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;
32901
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '提交中...');
32902
+ 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;
32825
32903
 
32826
32904
  params.isEndUserTask = isEndUserTask;
32827
32905
  params.choiceOrgId = choiceOrgId;
@@ -32845,17 +32923,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32845
32923
  var status = res.status,
32846
32924
  message = res.message;
32847
32925
 
32848
- _this39.loading.close();
32926
+ _this40.loading.close();
32849
32927
  if (status === 'success') {
32850
- _this39.flowSuccess();
32928
+ _this40.flowSuccess();
32851
32929
  } else {
32852
- _this39.$message.error(message || '系统错误,请联系管理员!');
32853
- _this39.$emit('error');
32930
+ _this40.$message.error(message || '系统错误,请联系管理员!');
32931
+ _this40.$emit('error');
32854
32932
  }
32855
32933
  }).catch(function (err) {
32856
- _this39.loading.close();
32934
+ _this40.loading.close();
32857
32935
  if (err.message && err.message !== 'canceled') {
32858
- _this39.$message.error(err.message);
32936
+ _this40.$message.error(err.message);
32859
32937
  }
32860
32938
  }));
32861
32939
 
@@ -32867,7 +32945,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32867
32945
  return _context2.stop();
32868
32946
  }
32869
32947
  }
32870
- }, _callee2, _this39);
32948
+ }, _callee2, _this40);
32871
32949
  }));
32872
32950
 
32873
32951
  return function (_x) {
@@ -32923,8 +33001,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32923
33001
 
32924
33002
  var flow_component = Object(componentNormalizer["a" /* default */])(
32925
33003
  src_flowvue_type_script_lang_js_,
32926
- flowvue_type_template_id_160c0322_render,
32927
- flowvue_type_template_id_160c0322_staticRenderFns,
33004
+ flowvue_type_template_id_ef00b086_render,
33005
+ flowvue_type_template_id_ef00b086_staticRenderFns,
32928
33006
  false,
32929
33007
  null,
32930
33008
  null,
@@ -34768,7 +34846,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34768
34846
  getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
34769
34847
  var _this4 = this;
34770
34848
 
34771
- console.log('processDefinitionId', processDefinitionId);
34772
34849
  var params = {
34773
34850
  url: api["bb" /* getNodeInfoForStart */],
34774
34851
  params: { processDefinitionId: processDefinitionId }
@@ -34850,8 +34927,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34850
34927
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
34851
34928
  });
34852
34929
  },
34853
- handleNewFlowSuccess: function handleNewFlowSuccess() {
34854
- this.$emit('success');
34930
+ handleNewFlowSuccess: function handleNewFlowSuccess(type) {
34931
+ if (type == 'taskRead') {
34932
+ this.$emit('successRead', type);
34933
+ } else {
34934
+ this.$emit('success');
34935
+ }
34855
34936
  },
34856
34937
  freeStartFlowSuccess: function freeStartFlowSuccess() {
34857
34938
  this.showFreeStartFlow = false;
@@ -34859,7 +34940,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34859
34940
  // this.$emit('success');
34860
34941
  },
34861
34942
  handleChange: function handleChange(val, isForStartFlow) {
34862
- console.log('handleChange val', val);
34863
34943
  this.getNodeInfoForStartFlow(val, isForStartFlow);
34864
34944
  this.$parent.$emit('flowChange', val);
34865
34945
  },
@@ -35178,11 +35258,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35178
35258
  });
35179
35259
  },
35180
35260
 
35181
- /**
35182
- * saveInfo
35183
- * @desc:暂存
35184
- * @author liufan
35185
- * @date 2022年9月9日
35261
+ /**
35262
+ * saveInfo
35263
+ * @desc:暂存
35264
+ * @author liufan
35265
+ * @date 2022年9月9日
35186
35266
  **/
35187
35267
  saveInfo: function saveInfo(type, btn) {
35188
35268
  var _this14 = this;
@@ -35244,11 +35324,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35244
35324
  });
35245
35325
  },
35246
35326
 
35247
- /**
35248
- * rejectBtn
35249
- * @desc:点击驳回
35250
- * @author liufan
35251
- * @date 2022年5月25日
35327
+ /**
35328
+ * rejectBtn
35329
+ * @desc:点击驳回
35330
+ * @author liufan
35331
+ * @date 2022年5月25日
35252
35332
  **/
35253
35333
  rejectBtn: function rejectBtn() {
35254
35334
  var _this16 = this;
@@ -35266,11 +35346,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35266
35346
  }
35267
35347
  },
35268
35348
 
35269
- /**
35270
- * taskReadBtn
35271
- * @desc:点击分阅
35272
- * @author liufan
35273
- * @date 2022年5月25日
35349
+ /**
35350
+ * taskReadBtn
35351
+ * @desc:点击分阅
35352
+ * @author liufan
35353
+ * @date 2022年5月25日
35274
35354
  **/
35275
35355
  taskReadBtn: function taskReadBtn() {
35276
35356
  var _this17 = this;
@@ -35289,11 +35369,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35289
35369
  }
35290
35370
  },
35291
35371
 
35292
- /**
35293
- * getFind
35294
- * @desc:获取通知方式
35295
- * @author liufan
35296
- * @date 2022年5月25日
35372
+ /**
35373
+ * getFind
35374
+ * @desc:获取通知方式
35375
+ * @author liufan
35376
+ * @date 2022年5月25日
35297
35377
  **/
35298
35378
  getFind: function getFind() {
35299
35379
  var _this18 = this;
@@ -35360,12 +35440,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35360
35440
  });
35361
35441
  },
35362
35442
 
35363
- /**
35364
- * endFlows
35365
- * @desc:直接办结
35366
- * @author liufan
35367
- * @param {Object} res 直接办结数据
35368
- * @date 2022年5月25日
35443
+ /**
35444
+ * endFlows
35445
+ * @desc:直接办结
35446
+ * @author liufan
35447
+ * @param {Object} res 直接办结数据
35448
+ * @date 2022年5月25日
35369
35449
  **/
35370
35450
  endFlows: function endFlows(res) {
35371
35451
  var _this20 = this;
@@ -35420,12 +35500,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35420
35500
  }).catch(function (e) {});
35421
35501
  },
35422
35502
 
35423
- /**
35424
- * goView
35425
- * @desc:更多流程按钮操作
35426
- * @author liufan
35427
- * @param {Object} res 当前点击操作按钮数据
35428
- * @date 2022年5月25日
35503
+ /**
35504
+ * goView
35505
+ * @desc:更多流程按钮操作
35506
+ * @author liufan
35507
+ * @param {Object} res 当前点击操作按钮数据
35508
+ * @date 2022年5月25日
35429
35509
  **/
35430
35510
  goView: function goView(res) {
35431
35511
  // 驳回并办结:rejectAndEndHtml
@@ -35513,11 +35593,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35513
35593
  // isCanStartSubFlow
35514
35594
  },
35515
35595
 
35516
- /**
35517
- * toTakeAdvice
35518
- * @desc:征求意见
35519
- * @author liufan
35520
- * @date 2022年9月29日
35596
+ /**
35597
+ * toTakeAdvice
35598
+ * @desc:征求意见
35599
+ * @author liufan
35600
+ * @date 2022年9月29日
35521
35601
  **/
35522
35602
  toTakeAdvice: function toTakeAdvice(res) {
35523
35603
  var _this22 = this;
@@ -35561,11 +35641,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35561
35641
  });
35562
35642
  },
35563
35643
 
35564
- /**
35565
- * toStartDraf
35566
- * @desc: 稿件递送、联合审核、复核
35567
- * @author liufan
35568
- * @date 2022年9月29日
35644
+ /**
35645
+ * toStartDraf
35646
+ * @desc: 稿件递送、联合审核、复核
35647
+ * @author liufan
35648
+ * @date 2022年9月29日
35569
35649
  **/
35570
35650
  toStartDraf: function toStartDraf(res) {
35571
35651
  var _this24 = this;
@@ -35579,11 +35659,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35579
35659
  }
35580
35660
  },
35581
35661
 
35582
- /**
35583
- * toSendMsg
35584
- * @desc:核稿通知
35585
- * @author liufan
35586
- * @date 2022年9月29日
35662
+ /**
35663
+ * toSendMsg
35664
+ * @desc:核稿通知
35665
+ * @author liufan
35666
+ * @date 2022年9月29日
35587
35667
  **/
35588
35668
  toSendMsg: function toSendMsg(res) {
35589
35669
  var _this25 = this;
@@ -35597,11 +35677,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35597
35677
  }
35598
35678
  },
35599
35679
 
35600
- /**
35601
- * toTaskReadAndEnd
35602
- * @desc:分阅并办结
35603
- * @author liufan
35604
- * @date 2022年9月29日
35680
+ /**
35681
+ * toTaskReadAndEnd
35682
+ * @desc:分阅并办结
35683
+ * @author liufan
35684
+ * @date 2022年9月29日
35605
35685
  **/
35606
35686
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
35607
35687
  var _this26 = this;
@@ -35619,11 +35699,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35619
35699
  }
35620
35700
  },
35621
35701
 
35622
- /**
35623
- * rejectAndEnd
35624
- * @desc:驳回并办结
35625
- * @author liufan
35626
- * @date 2022年9月29日
35702
+ /**
35703
+ * rejectAndEnd
35704
+ * @desc:驳回并办结
35705
+ * @author liufan
35706
+ * @date 2022年9月29日
35627
35707
  **/
35628
35708
  rejectAndEnd: function rejectAndEnd(res) {
35629
35709
  var _this27 = this;
@@ -35679,11 +35759,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35679
35759
  });
35680
35760
  },
35681
35761
 
35682
- /**
35683
- * toTransfer
35684
- * @desc:转办
35685
- * @author liufan
35686
- * @date 2022年9月29日
35762
+ /**
35763
+ * toTransfer
35764
+ * @desc:转办
35765
+ * @author liufan
35766
+ * @date 2022年9月29日
35687
35767
  **/
35688
35768
  toTransfer: function toTransfer(res) {
35689
35769
  var _this29 = this;
@@ -35702,11 +35782,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35702
35782
  this.nextNode.customLimitTime = val;
35703
35783
  },
35704
35784
 
35705
- /**
35706
- * getNodeInfo
35707
- * @desc:获取节点信息
35708
- * @author liufan
35709
- * @date 2022年5月25日
35785
+ /**
35786
+ * getNodeInfo
35787
+ * @desc:获取节点信息
35788
+ * @author liufan
35789
+ * @date 2022年5月25日
35710
35790
  **/
35711
35791
  getNodeInfo: function getNodeInfo() {
35712
35792
  var _this30 = this;
@@ -35853,12 +35933,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35853
35933
  });
35854
35934
  },
35855
35935
 
35856
- /**
35857
- * selecNext
35858
- * @desc:下步节点变化时更新数据
35859
- * @author liufan
35860
- * @param {String} val 当前选中值
35861
- * @date 2022年5月25日
35936
+ /**
35937
+ * selecNext
35938
+ * @desc:下步节点变化时更新数据
35939
+ * @author liufan
35940
+ * @param {String} val 当前选中值
35941
+ * @date 2022年5月25日
35862
35942
  **/
35863
35943
  selecNext: function selecNext(val, type, isDef) {
35864
35944
  var _this31 = this;
@@ -35998,11 +36078,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35998
36078
  }
35999
36079
  },
36000
36080
 
36001
- /**
36002
- * isMultiple
36003
- * @desc:是否多选
36004
- * @author liufan
36005
- * @date 2022年9月13日
36081
+ /**
36082
+ * isMultiple
36083
+ * @desc:是否多选
36084
+ * @author liufan
36085
+ * @date 2022年9月13日
36006
36086
  **/
36007
36087
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
36008
36088
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -36034,11 +36114,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36034
36114
  }
36035
36115
  },
36036
36116
 
36037
- /**
36038
- * getHedInfo
36039
- * @desc:获取审核页面数据
36040
- * @author liufan
36041
- * @date 2022年5月25日
36117
+ /**
36118
+ * getHedInfo
36119
+ * @desc:获取审核页面数据
36120
+ * @author liufan
36121
+ * @date 2022年5月25日
36042
36122
  **/
36043
36123
  getHedInfo: function getHedInfo() {
36044
36124
  var _this32 = this;
@@ -36357,13 +36437,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36357
36437
  });
36358
36438
  },
36359
36439
 
36360
- /**
36361
- * closeProcess
36362
- * @desc:关闭弹窗
36363
- * @author liufan
36364
- * @param {boolean} val 当前是否办理流程
36365
- * @param {String} type 当前点击的弹窗类型
36366
- * @date 2022年5月25日
36440
+ /**
36441
+ * closeProcess
36442
+ * @desc:关闭弹窗
36443
+ * @author liufan
36444
+ * @param {boolean} val 当前是否办理流程
36445
+ * @param {String} type 当前点击的弹窗类型
36446
+ * @date 2022年5月25日
36367
36447
  **/
36368
36448
  closeProcess: function closeProcess(val, type, closeParent) {
36369
36449
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -36383,23 +36463,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36383
36463
  }
36384
36464
  },
36385
36465
 
36386
- /**
36387
- * selectChange
36388
- * @desc:常用语选择
36389
- * @author liufan
36390
- * @param {String} val 选中值
36391
- * @date 2022年5月25日
36466
+ /**
36467
+ * selectChange
36468
+ * @desc:常用语选择
36469
+ * @author liufan
36470
+ * @param {String} val 选中值
36471
+ * @date 2022年5月25日
36392
36472
  **/
36393
36473
  selectChange: function selectChange(val) {
36394
36474
  this.value = val;
36395
36475
  },
36396
36476
 
36397
- /**
36398
- * upDate
36399
- * @desc:修改常用语
36400
- * @author liufan
36401
- * @param {Object} val 修改值
36402
- * @date 2022年5月25日
36477
+ /**
36478
+ * upDate
36479
+ * @desc:修改常用语
36480
+ * @author liufan
36481
+ * @param {Object} val 修改值
36482
+ * @date 2022年5月25日
36403
36483
  **/
36404
36484
  upDate: function upDate(val) {
36405
36485
  this.FormData.id = val.id;
@@ -36407,11 +36487,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36407
36487
  },
36408
36488
 
36409
36489
 
36410
- /**
36411
- * getProcess
36412
- * @desc:获取选择流程
36413
- * @author liufan
36414
- * @date 2022年5月25日
36490
+ /**
36491
+ * getProcess
36492
+ * @desc:获取选择流程
36493
+ * @author liufan
36494
+ * @date 2022年5月25日
36415
36495
  **/
36416
36496
  getProcess: function getProcess(val) {
36417
36497
  var _this33 = this;
@@ -36474,11 +36554,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36474
36554
  });
36475
36555
  },
36476
36556
 
36477
- /**
36478
- * getPendedhistoryList
36479
- * @desc:获取流程列表
36480
- * @author liufan
36481
- * @date 2022年5月25日
36557
+ /**
36558
+ * getPendedhistoryList
36559
+ * @desc:获取流程列表
36560
+ * @author liufan
36561
+ * @date 2022年5月25日
36482
36562
  **/
36483
36563
  getPendedhistoryList: function getPendedhistoryList() {
36484
36564
  var _this34 = this;
@@ -36551,12 +36631,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36551
36631
  beforeSubProcess: function beforeSubProcess() {},
36552
36632
 
36553
36633
  // 提交流程
36554
- /**
36555
- * subProcess
36556
- * @desc:提交流程
36557
- * @author liufan
36558
- * @param {String} formName 当前form表单ref值
36559
- * @date 2022年5月25日
36634
+ /**
36635
+ * subProcess
36636
+ * @desc:提交流程
36637
+ * @author liufan
36638
+ * @param {String} formName 当前form表单ref值
36639
+ * @date 2022年5月25日
36560
36640
  **/
36561
36641
  subProcess: function subProcess(val, type) {
36562
36642
  var _this36 = this;
@@ -36829,7 +36909,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36829
36909
  customPresetUserJson: JSON.stringify(_this38.presetList),
36830
36910
  presetUserJson: JSON.stringify(_this38.presetUserJson),
36831
36911
  removeSignUserId: removeSignUserId,
36832
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
36912
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList ? _this38.mixReadList.join('|') : '' : _this38.nextNode.nextReadUserId.join(','),
36833
36913
  nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
36834
36914
  presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
36835
36915
  notificationType: notificationType
@@ -36937,7 +37017,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36937
37017
  customPresetUserJson: JSON.stringify(_this38.presetList),
36938
37018
  presetUserJson: JSON.stringify(_this38.presetUserJson),
36939
37019
  removeSignUserId: removeSignUserId,
36940
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
37020
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList ? _this38.mixReadList.join('|') : '' : _this38.nextNode.nextReadUserId.join(','),
36941
37021
  nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
36942
37022
  presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
36943
37023
  notificationType: notificationType