eoss-ui 0.8.38 → 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.
Files changed (78) hide show
  1. package/lib/eoss-ui.common.js +746 -687
  2. package/lib/flow-group.js +2 -2
  3. package/lib/flow.js +724 -669
  4. package/lib/index.js +1 -1
  5. package/lib/selector.js +7 -3
  6. package/package.json +1 -1
  7. package/packages/flow/src/component/taskUnionExamine.vue +821 -771
  8. package/packages/flow/src/flow.vue +4534 -4526
  9. package/packages/flow/src/main.vue +4411 -4411
  10. package/packages/flow/src/selectUser.vue +1 -0
  11. package/packages/flow/src/startTaskRead.vue +718 -718
  12. package/packages/flow-group/src/main.vue +756 -756
  13. package/packages/selector/src/main.vue +764 -761
  14. package/packages/theme-chalk/lib/archives.css +1 -0
  15. package/packages/theme-chalk/lib/base.css +1 -0
  16. package/packages/theme-chalk/lib/button-group.css +1 -0
  17. package/packages/theme-chalk/lib/button.css +1 -0
  18. package/packages/theme-chalk/lib/calendar.css +1 -0
  19. package/packages/theme-chalk/lib/calogin.css +0 -0
  20. package/packages/theme-chalk/lib/card.css +1 -0
  21. package/packages/theme-chalk/lib/cascader.css +0 -0
  22. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  23. package/packages/theme-chalk/lib/clients.css +1 -0
  24. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  25. package/packages/theme-chalk/lib/data-table.css +1 -0
  26. package/packages/theme-chalk/lib/date-picker.css +1 -0
  27. package/packages/theme-chalk/lib/dialog.css +1 -0
  28. package/packages/theme-chalk/lib/enable-drag.css +1 -0
  29. package/packages/theme-chalk/lib/enterprise.css +1 -0
  30. package/packages/theme-chalk/lib/error-page.css +1 -0
  31. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  32. package/packages/theme-chalk/lib/flow-group.css +1 -0
  33. package/packages/theme-chalk/lib/flow-list.css +1 -0
  34. package/packages/theme-chalk/lib/flow.css +1 -0
  35. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  36. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  37. package/packages/theme-chalk/lib/form.css +1 -0
  38. package/packages/theme-chalk/lib/handle-user.css +1 -0
  39. package/packages/theme-chalk/lib/handler.css +1 -0
  40. package/packages/theme-chalk/lib/icon.css +1 -0
  41. package/packages/theme-chalk/lib/icons.css +1 -0
  42. package/packages/theme-chalk/lib/index.css +1 -0
  43. package/packages/theme-chalk/lib/input-number.css +0 -0
  44. package/packages/theme-chalk/lib/input.css +1 -0
  45. package/packages/theme-chalk/lib/label.css +1 -0
  46. package/packages/theme-chalk/lib/layout.css +1 -0
  47. package/packages/theme-chalk/lib/login.css +1 -0
  48. package/packages/theme-chalk/lib/main.css +1 -0
  49. package/packages/theme-chalk/lib/menu.css +1 -0
  50. package/packages/theme-chalk/lib/nav.css +1 -0
  51. package/packages/theme-chalk/lib/notify.css +0 -0
  52. package/packages/theme-chalk/lib/page.css +1 -0
  53. package/packages/theme-chalk/lib/pagination.css +1 -0
  54. package/packages/theme-chalk/lib/player.css +1 -0
  55. package/packages/theme-chalk/lib/qr-code.css +1 -0
  56. package/packages/theme-chalk/lib/radio-group.css +1 -0
  57. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  58. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  59. package/packages/theme-chalk/lib/select.css +1 -0
  60. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  61. package/packages/theme-chalk/lib/selector.css +1 -0
  62. package/packages/theme-chalk/lib/simplicity-top.css +1 -0
  63. package/packages/theme-chalk/lib/simplicity.css +1 -0
  64. package/packages/theme-chalk/lib/sizer.css +1 -0
  65. package/packages/theme-chalk/lib/steps.css +1 -0
  66. package/packages/theme-chalk/lib/switch.css +1 -0
  67. package/packages/theme-chalk/lib/table-form.css +0 -0
  68. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  69. package/packages/theme-chalk/lib/tabs.css +1 -0
  70. package/packages/theme-chalk/lib/tips.css +1 -0
  71. package/packages/theme-chalk/lib/toolbar.css +1 -0
  72. package/packages/theme-chalk/lib/tree-group.css +1 -0
  73. package/packages/theme-chalk/lib/tree.css +1 -0
  74. package/packages/theme-chalk/lib/upload.css +1 -0
  75. package/packages/theme-chalk/lib/wujie.css +0 -0
  76. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  77. package/src/index.js +1 -1
  78. package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/flow.js CHANGED
@@ -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=f7d7c7c6&
9106
- var flowvue_type_template_id_f7d7c7c6_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
@@ -11373,6 +11373,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
11373
11373
  pendingId: _vm.pendingId,
11374
11374
  defaultOpinion: _vm.nodeDefaultSubmitOpinion,
11375
11375
  oldOption: _vm.value,
11376
+ isCancelSecondConfirmationType:
11377
+ _vm.isCancelSecondConfirmationType,
11376
11378
  selectorParams: _vm.selectorParams,
11377
11379
  type: _vm.flowType,
11378
11380
  multiple: _vm.flowMultiple,
@@ -12017,11 +12019,11 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
12017
12019
  )
12018
12020
  : _vm._e()
12019
12021
  }
12020
- var flowvue_type_template_id_f7d7c7c6_staticRenderFns = []
12021
- flowvue_type_template_id_f7d7c7c6_render._withStripped = true
12022
+ var flowvue_type_template_id_ef00b086_staticRenderFns = []
12023
+ flowvue_type_template_id_ef00b086_render._withStripped = true
12022
12024
 
12023
12025
 
12024
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=f7d7c7c6&
12026
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
12025
12027
 
12026
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&
12027
12029
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -13694,8 +13696,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
13694
13696
 
13695
13697
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
13696
13698
 
13697
- // 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&
13698
- 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 () {
13699
13701
  var _vm = this
13700
13702
  var _h = _vm.$createElement
13701
13703
  var _c = _vm._self._c || _h
@@ -13816,6 +13818,7 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
13816
13818
  title: _vm.title,
13817
13819
  showFilterListDep: false,
13818
13820
  reset: "",
13821
+ destroyOnClose: "",
13819
13822
  classify: _vm.classify,
13820
13823
  "collapse-tags": _vm.selectorTags,
13821
13824
  mix: _vm.mix,
@@ -13857,11 +13860,11 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
13857
13860
  1
13858
13861
  )
13859
13862
  }
13860
- var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
13861
- 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
13862
13865
 
13863
13866
 
13864
- // 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&
13865
13868
 
13866
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&
13867
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; };
@@ -13969,6 +13972,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
13969
13972
  //
13970
13973
  //
13971
13974
  //
13975
+ //
13972
13976
 
13973
13977
 
13974
13978
 
@@ -14392,8 +14396,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14392
14396
 
14393
14397
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14394
14398
  src_selectUservue_type_script_lang_js_,
14395
- selectUservue_type_template_id_3a5614a4_render,
14396
- selectUservue_type_template_id_3a5614a4_staticRenderFns,
14399
+ selectUservue_type_template_id_4dc7fc96_render,
14400
+ selectUservue_type_template_id_4dc7fc96_staticRenderFns,
14397
14401
  false,
14398
14402
  null,
14399
14403
  null,
@@ -21174,8 +21178,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
21174
21178
  )
21175
21179
 
21176
21180
  /* harmony default export */ var src_reset = (reset_component.exports);
21177
- // 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&
21178
- 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 () {
21179
21183
  var _vm = this
21180
21184
  var _h = _vm.$createElement
21181
21185
  var _c = _vm._self._c || _h
@@ -21480,7 +21484,7 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21480
21484
  [
21481
21485
  _c(
21482
21486
  "el-button",
21483
- { attrs: { type: "primary" }, on: { click: _vm.subMit } },
21487
+ { attrs: { type: "primary" }, on: { click: _vm.subProcess } },
21484
21488
  [_vm._v(" 确定 ")]
21485
21489
  ),
21486
21490
  _c("el-button", { on: { click: _vm.quit } }, [_vm._v(" 取消 ")]),
@@ -21491,11 +21495,11 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21491
21495
  1
21492
21496
  )
21493
21497
  }
21494
- var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
21495
- 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
21496
21500
 
21497
21501
 
21498
- // 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&
21499
21503
 
21500
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&
21501
21505
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -21693,6 +21697,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
21693
21697
  simpleTips: { type: Boolean, default: true },
21694
21698
  multiple: { type: Boolean, default: true },
21695
21699
  hideBtn: { type: Boolean, default: false },
21700
+ isCancelSecondConfirmationType: { type: Boolean, default: false },
21696
21701
  selectorParams: {
21697
21702
  type: Object,
21698
21703
  default: function _default() {
@@ -21761,6 +21766,16 @@ var taskUnionExaminevue_type_script_lang_js_components;
21761
21766
  };
21762
21767
  }
21763
21768
  },
21769
+ watch: {
21770
+ oldOption: {
21771
+ handler: function handler(val) {
21772
+ this.opinion = val;
21773
+ },
21774
+
21775
+ immediate: true,
21776
+ deep: true
21777
+ }
21778
+ },
21764
21779
  mounted: function mounted() {
21765
21780
  this.loading = true;
21766
21781
  this.newMultiple = this.multiple;
@@ -22002,10 +22017,42 @@ var taskUnionExaminevue_type_script_lang_js_components;
22002
22017
  });
22003
22018
  },
22004
22019
  subProcess: function subProcess() {
22005
- 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
+ ;
22006
22053
  },
22007
22054
  subMit: function subMit() {
22008
- var _this4 = this;
22055
+ var _this5 = this;
22009
22056
 
22010
22057
  // if (
22011
22058
  // this.infoList.nextOtherOrgObjName == '' ||
@@ -22013,12 +22060,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
22013
22060
  // )
22014
22061
  // return this.$message.warning('请选择联合单位');
22015
22062
  if (this.type === 'taskReview') return this.subTaskReview();
22016
- var _infoList2 = this.infoList,
22017
- nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
22018
- nextOtherOrgObj = _infoList2.nextOtherOrgObj,
22019
- noticeType = _infoList2.noticeType,
22020
- customLimitTime = _infoList2.customLimitTime,
22021
- 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,
22022
22069
  isOpinionRequired = this.isOpinionRequired,
22023
22070
  opinion = this.opinion,
22024
22071
  type = this.type,
@@ -22029,8 +22076,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
22029
22076
  isSubFlow = this.isSubFlow,
22030
22077
  pendingId = this.pendingId;
22031
22078
 
22032
- console.log(nextCurrentOrgObj);
22033
- console.log(nextOtherOrgObj);
22034
22079
  if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
22035
22080
  return this.$message.warning('请选择处理对象!');
22036
22081
  } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
@@ -22063,7 +22108,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
22063
22108
  };
22064
22109
  if (this.enableCustomLimitTimeSetting) {
22065
22110
  param.data.customLimitTime = customLimitTime;
22066
- console.log(this.validate(), 'this.validate()');
22067
22111
  if (!this.validate()) return;
22068
22112
  }
22069
22113
  this.loading = true;
@@ -22071,17 +22115,17 @@ var taskUnionExaminevue_type_script_lang_js_components;
22071
22115
  var message = res.message,
22072
22116
  status = res.status;
22073
22117
 
22074
- _this4.loading = false;
22118
+ _this5.loading = false;
22075
22119
  if (status == 'success') {
22076
- _this4.simpleTips && _this4.$message.success('提交成功');
22077
- _this4.quit(true);
22120
+ _this5.simpleTips && _this5.$message.success('提交成功');
22121
+ _this5.quit(true);
22078
22122
  } else {
22079
- _this4.$message.error(message || '系统错误,请联系管理员!');
22123
+ _this5.$message.error(message || '系统错误,请联系管理员!');
22080
22124
  }
22081
22125
  }).catch(function (err) {
22082
- _this4.loading = false;
22126
+ _this5.loading = false;
22083
22127
  if (err.message && err.message !== 'canceled') {
22084
- _this4.$message.error(err.message);
22128
+ _this5.$message.error(err.message);
22085
22129
  }
22086
22130
  });
22087
22131
  },
@@ -22114,7 +22158,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
22114
22158
  this.infoList[type] = newNextUser.join('|');
22115
22159
  },
22116
22160
  getNodeType: function getNodeType() {
22117
- var _this5 = this;
22161
+ var _this6 = this;
22118
22162
 
22119
22163
  util["a" /* default */].ajax({
22120
22164
  url: api["G" /* findCodeValues */],
@@ -22127,39 +22171,39 @@ var taskUnionExaminevue_type_script_lang_js_components;
22127
22171
  var status = res.status,
22128
22172
  data = res.data;
22129
22173
 
22130
- _this5.loading = false;
22174
+ _this6.loading = false;
22131
22175
  if (status === 'success') {
22132
- _this5.infoList.noticeList = data;
22176
+ _this6.infoList.noticeList = data;
22133
22177
  }
22134
22178
  }).catch(function (err) {
22135
- _this5.loading = false;
22179
+ _this6.loading = false;
22136
22180
  if (err.message && err.message !== 'canceled') {
22137
- _this5.$message.error(err.message);
22181
+ _this6.$message.error(err.message);
22138
22182
  }
22139
22183
  });
22140
22184
  },
22141
22185
 
22142
22186
  //获取通知信息
22143
22187
  getMessage: function getMessage() {
22144
- var _this6 = this;
22188
+ var _this7 = this;
22145
22189
 
22146
22190
  var params = {
22147
22191
  pendingId: this.pendingId
22148
22192
  };
22149
22193
  util["a" /* default */].ajax({ url: api["cb" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
22150
22194
  if (res.status === 'success') {
22151
- _this6.infoList.noticeInfo = res.message;
22195
+ _this7.infoList.noticeInfo = res.message;
22152
22196
  }
22153
- _this6.loading = false;
22197
+ _this7.loading = false;
22154
22198
  }).catch(function (err) {
22155
- _this6.loading = false;
22199
+ _this7.loading = false;
22156
22200
  if (err.message && err.message !== 'canceled') {
22157
- _this6.$message.error(err.message);
22201
+ _this7.$message.error(err.message);
22158
22202
  }
22159
22203
  });
22160
22204
  },
22161
22205
  getFind: function getFind() {
22162
- var _this7 = this;
22206
+ var _this8 = this;
22163
22207
 
22164
22208
  util["a" /* default */].ajax({
22165
22209
  url: api["I" /* findSysCodes */]
@@ -22168,24 +22212,24 @@ var taskUnionExaminevue_type_script_lang_js_components;
22168
22212
  message = res.message;
22169
22213
 
22170
22214
  if (status === 'success') {
22171
- if (_this7.hideMessage) return;
22172
- _this7.infoList.noticeType = message.split(',');
22215
+ if (_this8.hideMessage) return;
22216
+ _this8.infoList.noticeType = message.split(',');
22173
22217
  var arr = [];
22174
- _this7.infoList.noticeList.map(function (item) {
22175
- _this7.infoList.noticeType.map(function (x) {
22218
+ _this8.infoList.noticeList.map(function (item) {
22219
+ _this8.infoList.noticeType.map(function (x) {
22176
22220
  if (x == item.cciValue) {
22177
22221
  arr.push(x);
22178
22222
  }
22179
22223
  });
22180
22224
  });
22181
- _this7.infoList.noticeType = arr;
22225
+ _this8.infoList.noticeType = arr;
22182
22226
  } else {
22183
- _this7.$message.error(message || '系统错误,请联系管理员!');
22227
+ _this8.$message.error(message || '系统错误,请联系管理员!');
22184
22228
  }
22185
22229
  }).catch(function (err) {
22186
- _this7.loading = false;
22230
+ _this8.loading = false;
22187
22231
  if (err.message && err.message !== 'canceled') {
22188
- _this7.$message.error(err.message);
22232
+ _this8.$message.error(err.message);
22189
22233
  }
22190
22234
  });
22191
22235
  }
@@ -22203,8 +22247,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
22203
22247
 
22204
22248
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22205
22249
  component_taskUnionExaminevue_type_script_lang_js_,
22206
- taskUnionExaminevue_type_template_id_f2f9c652_render,
22207
- taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
22250
+ taskUnionExaminevue_type_template_id_0724a5af_render,
22251
+ taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns,
22208
22252
  false,
22209
22253
  null,
22210
22254
  null,
@@ -30044,6 +30088,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30044
30088
  //
30045
30089
  //
30046
30090
  //
30091
+ //
30047
30092
 
30048
30093
 
30049
30094
 
@@ -30274,6 +30319,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30274
30319
  nextNodeList: [],
30275
30320
  removeUsers: [],
30276
30321
  options: [],
30322
+ configInfo: {},
30277
30323
  params: {
30278
30324
  filid: 'all', //选择范围(my:本单位/ "" or all:全部)
30279
30325
  selectmix: 'true1',
@@ -30996,11 +31042,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30996
31042
  });
30997
31043
  },
30998
31044
 
30999
- /**
31000
- * saveInfo
31001
- * @desc:暂存
31002
- * @author liufan
31003
- * @date 2022年9月9日
31045
+ /**
31046
+ * saveInfo
31047
+ * @desc:暂存
31048
+ * @author liufan
31049
+ * @date 2022年9月9日
31004
31050
  **/
31005
31051
  saveInfo: function saveInfo(type, btn) {
31006
31052
  var _this14 = this;
@@ -31062,11 +31108,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31062
31108
  });
31063
31109
  },
31064
31110
 
31065
- /**
31066
- * rejectBtn
31067
- * @desc:点击驳回
31068
- * @author liufan
31069
- * @date 2022年5月25日
31111
+ /**
31112
+ * rejectBtn
31113
+ * @desc:点击驳回
31114
+ * @author liufan
31115
+ * @date 2022年5月25日
31070
31116
  **/
31071
31117
  rejectBtn: function rejectBtn(res) {
31072
31118
  var _this16 = this;
@@ -31086,17 +31132,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31086
31132
  }
31087
31133
  },
31088
31134
 
31089
- /**
31090
- * taskReadBtn
31091
- * @desc:点击分阅
31092
- * @author liufan
31093
- * @date 2022年5月25日
31135
+ /**
31136
+ * taskReadBtn
31137
+ * @desc:点击分阅
31138
+ * @author liufan
31139
+ * @date 2022年5月25日
31094
31140
  **/
31095
31141
  taskReadBtn: function taskReadBtn(res) {
31096
31142
  var _this17 = this;
31097
31143
 
31098
31144
  // return this.$message.warning('暂未开放!敬请期待');
31099
- this.btnType = '';
31145
+
31146
+ this.isLoadRead() && (this.btnType = '');
31100
31147
  setTimeout(function () {
31101
31148
  if (_this17.beforeSubmit != undefined) {
31102
31149
  _this17.beforeSubmit().then(function (next) {
@@ -31114,11 +31161,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31114
31161
  }, 0);
31115
31162
  },
31116
31163
 
31117
- /**
31118
- * getFind
31119
- * @desc:获取通知方式
31120
- * @author liufan
31121
- * @date 2022年5月25日
31164
+ /**
31165
+ * getFind
31166
+ * @desc:获取通知方式
31167
+ * @author liufan
31168
+ * @date 2022年5月25日
31122
31169
  **/
31123
31170
  getFind: function getFind() {
31124
31171
  var _this18 = this;
@@ -31185,12 +31232,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31185
31232
  });
31186
31233
  },
31187
31234
 
31188
- /**
31189
- * endFlows
31190
- * @desc:直接办结
31191
- * @author liufan
31192
- * @param {Object} res 直接办结数据
31193
- * @date 2022年5月25日
31235
+ /**
31236
+ * endFlows
31237
+ * @desc:直接办结
31238
+ * @author liufan
31239
+ * @param {Object} res 直接办结数据
31240
+ * @date 2022年5月25日
31194
31241
  **/
31195
31242
  endFlows: function endFlows(res) {
31196
31243
  var _this20 = this;
@@ -31204,9 +31251,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31204
31251
  }
31205
31252
  },
31206
31253
 
31207
- /**
31208
- * 获取弹性布局样式
31209
- * @returns {string} 弹性布局值
31254
+ /**
31255
+ * 获取弹性布局样式
31256
+ * @returns {string} 弹性布局值
31210
31257
  */
31211
31258
  getFlexStyle: function getFlexStyle() {
31212
31259
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -31254,12 +31301,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31254
31301
  }).catch(function (e) {});
31255
31302
  },
31256
31303
 
31257
- /**
31258
- * goView
31259
- * @desc:更多流程按钮操作
31260
- * @author liufan
31261
- * @param {Object} res 当前点击操作按钮数据
31262
- * @date 2022年5月25日
31304
+ /**
31305
+ * goView
31306
+ * @desc:更多流程按钮操作
31307
+ * @author liufan
31308
+ * @param {Object} res 当前点击操作按钮数据
31309
+ * @date 2022年5月25日
31263
31310
  **/
31264
31311
  goView: function goView(res) {
31265
31312
  // 驳回并办结:rejectAndEndHtml
@@ -31350,11 +31397,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31350
31397
  // isCanStartSubFlow
31351
31398
  },
31352
31399
 
31353
- /**
31354
- * toTakeAdvice
31355
- * @desc:征求意见
31356
- * @author liufan
31357
- * @date 2022年9月29日
31400
+ /**
31401
+ * toTakeAdvice
31402
+ * @desc:征求意见
31403
+ * @author liufan
31404
+ * @date 2022年9月29日
31358
31405
  **/
31359
31406
  toTakeAdvice: function toTakeAdvice(res) {
31360
31407
  var _this22 = this;
@@ -31402,11 +31449,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31402
31449
  });
31403
31450
  },
31404
31451
 
31405
- /**
31406
- * toStartDraf
31407
- * @desc: 稿件递送、联合审核、复核
31408
- * @author liufan
31409
- * @date 2022年9月29日
31452
+ /**
31453
+ * toStartDraf
31454
+ * @desc: 稿件递送、联合审核、复核
31455
+ * @author liufan
31456
+ * @date 2022年9月29日
31410
31457
  **/
31411
31458
  toStartDraf: function toStartDraf(res) {
31412
31459
  var _this24 = this;
@@ -31429,11 +31476,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31429
31476
  }
31430
31477
  },
31431
31478
 
31432
- /**
31433
- * toSendMsg
31434
- * @desc:核稿通知
31435
- * @author liufan
31436
- * @date 2022年9月29日
31479
+ /**
31480
+ * toSendMsg
31481
+ * @desc:核稿通知
31482
+ * @author liufan
31483
+ * @date 2022年9月29日
31437
31484
  **/
31438
31485
  toSendMsg: function toSendMsg(res) {
31439
31486
  var _this25 = this;
@@ -31446,57 +31493,66 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31446
31493
  this.showSendMsg = true;
31447
31494
  }
31448
31495
  },
31496
+ isLoadRead: function isLoadRead() {
31497
+ var _this26 = this;
31449
31498
 
31450
- /**
31451
- * toTaskReadAndEnd
31452
- * @desc:分阅并办结
31453
- * @author liufan
31454
- * @date 2022年9月29日
31499
+ var funs = this.typeList.map(function (item) {
31500
+ return _this26.btnFunValue(item.fun);
31501
+ });
31502
+ return funs.includes('toStartTaskRead') && funs.includes('toTaskReadAndEnd');
31503
+ },
31504
+
31505
+
31506
+ /**
31507
+ * toTaskReadAndEnd
31508
+ * @desc:分阅并办结
31509
+ * @author liufan
31510
+ * @date 2022年9月29日
31455
31511
  **/
31456
31512
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31457
- var _this26 = this;
31513
+ var _this27 = this;
31458
31514
 
31459
- this.btnType = '';
31515
+ this.isLoadRead() && (this.btnType = '');
31460
31516
  setTimeout(function () {
31461
- if (_this26.beforeSubmit != undefined) {
31462
- _this26.beforeSubmit().then(function (next) {
31463
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
31464
- _this26.taskReadType = 'taskReadAndEnd';
31465
- _this26.btnType = _this26.btnFunValue(res.fun);
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);
31466
31522
 
31467
31523
  // this.showTaskRead = true;
31468
31524
  }).catch(function (e) {});
31469
31525
  } else {
31470
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
31471
- _this26.taskReadType = 'taskReadAndEnd';
31472
- _this26.btnType = _this26.btnFunValue(res.fun);
31526
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
31527
+ _this27.taskReadType = 'taskReadAndEnd';
31528
+ _this27.btnType = _this27.btnFunValue(res.fun);
31473
31529
  // this.showTaskRead = true;
31474
31530
  }
31475
31531
  }, 0);
31476
31532
  },
31477
31533
 
31478
- /**
31479
- * rejectAndEnd
31480
- * @desc:驳回并办结
31481
- * @author liufan
31482
- * @date 2022年9月29日
31534
+ /**
31535
+ * rejectAndEnd
31536
+ * @desc:驳回并办结
31537
+ * @author liufan
31538
+ * @date 2022年9月29日
31483
31539
  **/
31484
31540
  rejectAndEnd: function rejectAndEnd(res) {
31485
- var _this27 = this;
31541
+ var _this28 = this;
31486
31542
 
31487
31543
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
31488
31544
  if (!this.$refs.commonOpinions.validate()) return;
31489
31545
  }
31490
31546
  if (this.beforeSubmit != undefined) {
31491
31547
  this.beforeSubmit().then(function (next) {
31492
- _this27.saveRejectAndEnd(res);
31548
+ _this28.saveRejectAndEnd(res);
31493
31549
  }).catch(function (e) {});
31494
31550
  } else {
31495
31551
  this.saveRejectAndEnd(res);
31496
31552
  }
31497
31553
  },
31498
31554
  saveRejectAndEnd: function saveRejectAndEnd(res) {
31499
- var _this28 = this;
31555
+ var _this29 = this;
31500
31556
 
31501
31557
  this.$confirm('确认' + res.value + '?').then(function () {
31502
31558
  // return this.$message.warning('请填写意见');
@@ -31505,29 +31561,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31505
31561
  headers: { Accept: 'application/json,text/plain' },
31506
31562
  method: 'post',
31507
31563
  data: {
31508
- opinion: _this28.value,
31509
- pendingId: _this28.pendingId,
31564
+ opinion: _this29.value,
31565
+ pendingId: _this29.pendingId,
31510
31566
  isSinglePage: false
31511
31567
  }
31512
31568
  };
31513
- _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
31569
+ _this29.loading = util["a" /* default */].loading(_this29.$loading, '加载中...');
31514
31570
  util["a" /* default */].ajax(params).then(function (res) {
31515
31571
  var status = res.status,
31516
31572
  message = res.message;
31517
31573
 
31518
- _this28.loading.close();
31574
+ _this29.loading.close();
31519
31575
  if (status === 'success') {
31520
- _this28.flowSuccess();
31576
+ _this29.flowSuccess();
31521
31577
  // this.$message.success('提交成功');
31522
31578
  // this.$emit('success');
31523
31579
  } else {
31524
- _this28.$message.error(message || '系统错误,请联系管理员!');
31525
- _this28.$emit('error');
31580
+ _this29.$message.error(message || '系统错误,请联系管理员!');
31581
+ _this29.$emit('error');
31526
31582
  }
31527
31583
  }).catch(function (err) {
31528
- _this28.loading.close();
31584
+ _this29.loading.close();
31529
31585
  if (err.message && err.message !== 'canceled') {
31530
- _this28.$message.error(err.message);
31586
+ _this29.$message.error(err.message);
31531
31587
  }
31532
31588
  });
31533
31589
  }).catch(function () {
@@ -31535,19 +31591,19 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31535
31591
  });
31536
31592
  },
31537
31593
 
31538
- /**
31539
- * toTransfer
31540
- * @desc:转办
31541
- * @author liufan
31542
- * @date 2022年9月29日
31594
+ /**
31595
+ * toTransfer
31596
+ * @desc:转办
31597
+ * @author liufan
31598
+ * @date 2022年9月29日
31543
31599
  **/
31544
31600
  toTransfer: function toTransfer(res) {
31545
- var _this29 = this;
31601
+ var _this30 = this;
31546
31602
 
31547
31603
  if (this.beforeSubmit != undefined) {
31548
31604
  this.beforeSubmit(0).then(function (next) {
31549
- _this29.taskReadType = 'transfer';
31550
- _this29.showTaskRead = true;
31605
+ _this30.taskReadType = 'transfer';
31606
+ _this30.showTaskRead = true;
31551
31607
  }).catch(function (e) {});
31552
31608
  } else {
31553
31609
  this.taskReadType = 'transfer';
@@ -31558,14 +31614,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31558
31614
  this.nextNode.customLimitTime = val;
31559
31615
  },
31560
31616
 
31561
- /**
31562
- * getNodeInfo
31563
- * @desc:获取节点信息
31564
- * @author liufan
31565
- * @date 2022年5月25日
31617
+ /**
31618
+ * getNodeInfo
31619
+ * @desc:获取节点信息
31620
+ * @author liufan
31621
+ * @date 2022年5月25日
31566
31622
  **/
31567
31623
  getNodeInfo: function getNodeInfo() {
31568
- var _this30 = this;
31624
+ var _this31 = this;
31569
31625
 
31570
31626
  var params = {
31571
31627
  processDefinitionId: this.nodeInfo.nextNode,
@@ -31580,21 +31636,21 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31580
31636
  message = res.message,
31581
31637
  data = res.data;
31582
31638
 
31583
- _this30.loading.close();
31639
+ _this31.loading.close();
31584
31640
  if (status === 'success') {
31585
- _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
31586
- _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
31587
- _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
31588
- if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
31589
- _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 + '';
31590
31646
  }
31591
- if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
31592
- _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;
31593
31649
  }
31594
31650
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
31595
31651
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
31596
31652
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
31597
- _this30.nextCurrentOrgselectUserList.push({
31653
+ _this31.nextCurrentOrgselectUserList.push({
31598
31654
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
31599
31655
  showid: x,
31600
31656
  stype: 'department'
@@ -31603,7 +31659,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31603
31659
  }
31604
31660
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
31605
31661
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
31606
- _this30.nextCurrentOrgselectUserList.push({
31662
+ _this31.nextCurrentOrgselectUserList.push({
31607
31663
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
31608
31664
  showid: x,
31609
31665
  stype: 'employee'
@@ -31612,7 +31668,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31612
31668
  }
31613
31669
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
31614
31670
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
31615
- _this30.nextCurrentOrgselectUserList.push({
31671
+ _this31.nextCurrentOrgselectUserList.push({
31616
31672
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
31617
31673
  showid: x,
31618
31674
  stype: 'enterprise'
@@ -31621,44 +31677,44 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31621
31677
  }
31622
31678
  }
31623
31679
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
31624
- _this30.params.only_filid = true;
31680
+ _this31.params.only_filid = true;
31625
31681
  }
31626
- data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
31627
- data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
31682
+ data.otherOrgDisabledObjId && (_this31.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
31683
+ data.currentOrgDisabledObjId && (_this31.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
31628
31684
  if (data != null) {
31629
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) {
31630
- _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31686
+ _this31.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31631
31687
  } else {
31632
- _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);
31633
31689
  }
31634
- _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
31635
- _this30.isTaskread = data.nodeExtAttr.isTaskread;
31636
- _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
31637
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31638
- _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;
31639
31695
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
31640
- if (_this30.nodeType === 1 || _this30.nodeType === 2) {
31641
- _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
31642
- _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
31643
- _this30.isNextUser = false;
31644
- _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
31645
- _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; //判断是否隐藏外单位
31646
31702
  } else {
31647
- _this30.isHideCurrentOrg = false;
31648
- _this30.isHideOtherOrg = false;
31649
- _this30.isNodeShowProcess = false;
31650
- _this30.isMainSubProcess = false;
31651
- _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;
31652
31708
  // this.isMainSubProcess === true
31653
31709
  // ? (this.isMainSubProcess = true)
31654
31710
  // : (this.isMainSubProcess = false);
31655
31711
  }
31656
- _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
31657
- 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) {
31658
31714
  data.nextUserList.map(function (item) {
31659
31715
  if (item.userId && item.username) {
31660
- _this30.nextNode.nextUserId.push(item.userId);
31661
- _this30.selectUserList.push({
31716
+ _this31.nextNode.nextUserId.push(item.userId);
31717
+ _this31.selectUserList.push({
31662
31718
  showname: item.username,
31663
31719
  showid: item.userId
31664
31720
  });
@@ -31667,57 +31723,57 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31667
31723
  }
31668
31724
  data.nextUserList.map(function (item) {
31669
31725
  if (item.userId && item.username) {
31670
- _this30.options.push({
31726
+ _this31.options.push({
31671
31727
  showname: item.username,
31672
31728
  showid: item.userId
31673
31729
  });
31674
31730
  }
31675
31731
  });
31676
31732
  if (data.nodeExtAttr.presetEdit != 0) {
31677
- _this30.radioList = _this30.options;
31733
+ _this31.radioList = _this31.options;
31678
31734
  }
31679
- if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
31680
- _this30.nextNode.nextUserId = data.nextUserList[0].userId;
31681
- _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({
31682
31738
  showname: data.nextUserList[0].username,
31683
31739
  showid: data.nextUserList[0].userId
31684
31740
  });
31685
31741
  }
31686
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
31687
- _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
31688
- _this30.presetEdit = data.nodeExtAttr.presetEdit;
31689
- _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
31690
- _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;
31691
31747
  if (data.globalNodeType === 'endEvent') {
31692
- _this30.isNextUser = data.globalNodeType != 'endEvent';
31693
- data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
31748
+ _this31.isNextUser = data.globalNodeType != 'endEvent';
31749
+ data.globalNodeType === 'endEvent' ? _this31.endFlow = true : '';
31694
31750
  }
31695
31751
  }
31696
- if (_this30.isCustomPreset) {
31697
- _this30.$nextTick(function () {
31698
- _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);
31699
31755
  });
31700
31756
  }
31701
31757
  } else {
31702
- _this30.$message.error(message || '系统错误,请联系管理员!');
31758
+ _this31.$message.error(message || '系统错误,请联系管理员!');
31703
31759
  }
31704
31760
  }).catch(function (err) {
31705
- _this30.loading.close();
31761
+ _this31.loading.close();
31706
31762
  if (err.message && err.message !== 'canceled') {
31707
- _this30.$message.error(err.message);
31763
+ _this31.$message.error(err.message);
31708
31764
  }
31709
31765
  });
31710
31766
  },
31711
31767
 
31712
- /**
31713
- * selecNext
31714
- * @desc:下步节点变化时更新数据
31715
- * @author liufan
31716
- * @param {String} val 当前选中值
31717
- * @date 2022年5月25日
31768
+ /**
31769
+ * selecNext
31770
+ * @desc:下步节点变化时更新数据
31771
+ * @author liufan
31772
+ * @param {String} val 当前选中值
31773
+ * @date 2022年5月25日
31718
31774
  **/
31719
31775
  selecNext: function selecNext(val, type, isDef) {
31720
- var _this31 = this;
31776
+ var _this32 = this;
31721
31777
 
31722
31778
  var isNextNode = false;
31723
31779
  if (type && val && this.operationList.length > 0) {
@@ -31767,13 +31823,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31767
31823
  this.operationList.forEach(function (item) {
31768
31824
  if (item.key === val) {
31769
31825
  if (!item.taskNodeList) {
31770
- _this31.nodeInfos = [];
31826
+ _this32.nodeInfos = [];
31771
31827
  } else {
31772
- _this31.nodeInfos = item.taskNodeList;
31828
+ _this32.nodeInfos = item.taskNodeList;
31773
31829
 
31774
- if (_this31.taskOperationShiftedNodeList) {
31775
- _this31.nodeInfos = item.taskNodeList.filter(function (x) {
31776
- 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;
31777
31833
  });
31778
31834
  }
31779
31835
  }
@@ -31782,7 +31838,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31782
31838
  });
31783
31839
  if (this.defaultNextNode) {
31784
31840
  var defaultNode = this.nodeInfos.filter(function (item) {
31785
- return item.nodeId == _this31.defaultNextNode;
31841
+ return item.nodeId == _this32.defaultNextNode;
31786
31842
  });
31787
31843
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
31788
31844
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -31854,11 +31910,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31854
31910
  }
31855
31911
  },
31856
31912
 
31857
- /**
31858
- * isMultiple
31859
- * @desc:是否多选
31860
- * @author liufan
31861
- * @date 2022年9月13日
31913
+ /**
31914
+ * isMultiple
31915
+ * @desc:是否多选
31916
+ * @author liufan
31917
+ * @date 2022年9月13日
31862
31918
  **/
31863
31919
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
31864
31920
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -31893,14 +31949,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31893
31949
  return fun.replace('()', '');
31894
31950
  },
31895
31951
 
31896
- /**
31897
- * getHedInfo
31898
- * @desc:获取审核页面数据
31899
- * @author liufan
31900
- * @date 2022年5月25日
31952
+ /**
31953
+ * getHedInfo
31954
+ * @desc:获取审核页面数据
31955
+ * @author liufan
31956
+ * @date 2022年5月25日
31901
31957
  **/
31902
31958
  getHedInfo: function getHedInfo() {
31903
- var _this32 = this;
31959
+ var _this33 = this;
31904
31960
 
31905
31961
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
31906
31962
  var params = {
@@ -31910,7 +31966,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31910
31966
  util["a" /* default */].ajax({ url: api["W" /* getHandleInfoHtml */], params: params }).then(function (res) {
31911
31967
  //pc返回数据
31912
31968
 
31913
- _this32.loading.close();
31969
+ _this33.loading.close();
31914
31970
 
31915
31971
  if (res.status === 'success') {
31916
31972
  var _res$data2 = res.data,
@@ -31952,17 +32008,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31952
32008
  isCanPreAddSign = _res$data2.isCanPreAddSign;
31953
32009
 
31954
32010
  if (temporarySaveButtonName) {
31955
- _this32.saveButtonName = temporarySaveButtonName;
32011
+ _this33.saveButtonName = temporarySaveButtonName;
31956
32012
  }
32013
+ _this33.configInfo = res.data;
31957
32014
  if (simpleTips != undefined) {
31958
- _this32.simpleTips = simpleTips;
32015
+ _this33.simpleTips = simpleTips;
31959
32016
  }
31960
- _this32.$emit('startTaskRead', res);
31961
- _this32.$emit('start-task-read', res);
32017
+ _this33.$emit('startTaskRead', res);
32018
+ _this33.$emit('start-task-read', res);
31962
32019
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
31963
- _this32.taskOperationShiftedNodeList = [];
32020
+ _this33.taskOperationShiftedNodeList = [];
31964
32021
  taskOperationShiftedNodeList.map(function (x) {
31965
- _this32.taskOperationShiftedNodeList.push(x.nodeId);
32022
+ _this33.taskOperationShiftedNodeList.push(x.nodeId);
31966
32023
  taskOperations.push({
31967
32024
  key: x.nodeId,
31968
32025
  value: x.nodeName,
@@ -31971,159 +32028,159 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31971
32028
  });
31972
32029
  });
31973
32030
  }
31974
- _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
31975
- _this32.pendingItemHandleDescription = pendingItemHandleDescription;
32031
+ _this33.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
32032
+ _this33.pendingItemHandleDescription = pendingItemHandleDescription;
31976
32033
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
31977
- _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
32034
+ _this33.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
31978
32035
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
31979
- _this32.currentOrgSelectorTabs.map(function (x, i) {
31980
- _this32.currentOrgSelectorParams[x] = {
32036
+ _this33.currentOrgSelectorTabs.map(function (x, i) {
32037
+ _this33.currentOrgSelectorParams[x] = {
31981
32038
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
31982
32039
  only_filid: true,
31983
- roleid: _this32.selectorParams.roleid
32040
+ roleid: _this33.selectorParams.roleid
31984
32041
  };
31985
32042
  });
31986
32043
  }
31987
32044
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
31988
- _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
32045
+ _this33.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
31989
32046
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
31990
- _this32.foreignOrgSelectorTabs.map(function (x, i) {
31991
- _this32.foreignOrgSelectorParams[x] = {
32047
+ _this33.foreignOrgSelectorTabs.map(function (x, i) {
32048
+ _this33.foreignOrgSelectorParams[x] = {
31992
32049
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
31993
32050
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
31994
- roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
32051
+ roleid: _this33.circularReadParamsMap.circularReadOrgRoleCode || _this33.foreignOrgSelectorParams.roleid
31995
32052
  };
31996
32053
  });
31997
32054
  }
31998
- _this32.circularReadParamsMap = circularReadParamsMap || {};
31999
- if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
32000
- _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
32055
+ _this33.circularReadParamsMap = circularReadParamsMap || {};
32056
+ if (_this33.circularReadParamsMap.circularReadOrgRoleCode) {
32057
+ _this33.foreignOrgSelectorParams.roleid = _this33.circularReadParamsMap.circularReadOrgRoleCode;
32001
32058
  }
32002
- _this32.currentOrgName = currentOrgName;
32003
- _this32.nextOperateCheckType = nextOperateCheckType || 'select';
32004
- _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
32005
-
32006
- _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
32007
- _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
32008
- _this32.readOnlyNotificationType = readOnlyNotificationType;
32009
-
32010
- _this32.readOnlyNotificationType = readOnlyNotificationType;
32011
- _this32.isSpecial = isSpecial;
32012
- _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
32013
- _this32.otherOrgName = otherOrgName;
32014
- _this32.isCanPreAddSign = isCanPreAddSign;
32015
- _this32.endFlowInfo.choiceOrgId = choiceOrgId;
32016
- _this32.endFlowInfo.choiceDeptId = choiceDeptId;
32017
- _this32.endFlowInfo.pendingId = _this32.pendingId;
32018
- _this32.attachedCode = attachedCode;
32019
- _this32.endFlowInfo.pOrgId = pOrgId;
32020
- _this32.canPresetRead = canPresetRead;
32021
- _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
32022
- nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
32023
- _this32.operationList = taskOperations || [];
32024
- _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;
32025
32082
  if (canPresetRead) {
32026
32083
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
32027
32084
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
32028
32085
  ids.map(function (item, index) {
32029
- _this32.presetReadUserId.push({
32086
+ _this33.presetReadUserId.push({
32030
32087
  showid: item,
32031
32088
  showname: names[index]
32032
32089
  });
32033
- _this32.selectPresetUserList.push({
32090
+ _this33.selectPresetUserList.push({
32034
32091
  showid: item,
32035
32092
  showname: names[index]
32036
32093
  });
32037
- _this32.nextNode.presetReadUserId.push(item);
32094
+ _this33.nextNode.presetReadUserId.push(item);
32038
32095
  });
32039
32096
  }
32040
- if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
32097
+ if (!_this33.isFlow) _this33.getFile(_this33.pendingId, attachedCode);
32041
32098
  if (nextNodeList && nextNodeList.length != 0) {
32042
- _this32.nextNodeList = nextNodeList;
32099
+ _this33.nextNodeList = nextNodeList;
32043
32100
  if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
32044
- _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
32045
- nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
32101
+ _this33.isNextUser = nextNodeList[0].nodeType != 'endEvent';
32102
+ nextNodeList[0].nodeType === 'endEvent' ? _this33.endFlow = true : '';
32046
32103
  }
32047
32104
  }
32048
32105
 
32049
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
32106
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this33.removeUsers = canRemoveSignUserList;
32050
32107
  if (taskOperations && taskOperations.length != 0) {
32051
32108
  var isSelected = false;
32052
32109
  taskOperations.map(function (item) {
32053
- if (item.key === 9) _this32.isReject = true;
32110
+ if (item.key === 9) _this33.isReject = true;
32054
32111
  if (item.isSelected) {
32055
- _this32.nodeInfos = [];
32056
- _this32.nextNode.nextOperate = item.key;
32112
+ _this33.nodeInfos = [];
32113
+ _this33.nextNode.nextOperate = item.key;
32057
32114
  if (item.taskNodeList != null) {
32058
- _this32.nodeInfos = item.taskNodeList;
32115
+ _this33.nodeInfos = item.taskNodeList;
32059
32116
  }
32060
32117
  isSelected = true;
32061
32118
  }
32062
32119
  });
32063
32120
  if (taskOperations.length > 0 && !isSelected) {
32064
- _this32.nodeInfos = [];
32065
- _this32.nextNode.nextOperate = taskOperations[0].key;
32121
+ _this33.nodeInfos = [];
32122
+ _this33.nextNode.nextOperate = taskOperations[0].key;
32066
32123
  if (taskOperations[0].taskNodeList != null) {
32067
- _this32.nodeInfos = taskOperations[0].taskNodeList;
32124
+ _this33.nodeInfos = taskOperations[0].taskNodeList;
32068
32125
  }
32069
32126
  }
32070
32127
  }
32071
32128
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
32072
- _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
32129
+ _this33.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
32073
32130
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
32074
32131
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
32075
32132
  notice.map(function (x) {
32076
- _this32.nodeFixedOpinionSelectList.push({ content: x });
32133
+ _this33.nodeFixedOpinionSelectList.push({ content: x });
32077
32134
  });
32078
32135
  }
32079
32136
 
32080
- _this32.value = opinion || '';
32081
- _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
32082
- _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
32083
- _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
32084
- _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
32085
- _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
32086
- _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;
32087
32144
  // this.isHideDefaultOperation =
32088
32145
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
32089
- _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
32146
+ _this33.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
32090
32147
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
32091
- var defaultNode = _this32.nodeInfos.filter(function (item) {
32148
+ var defaultNode = _this33.nodeInfos.filter(function (item) {
32092
32149
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
32093
32150
  });
32094
- if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
32095
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
32151
+ if (_this33.nodeInfos.length > 0 && defaultNode.length == 0) {
32152
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
32096
32153
  } else {
32097
- _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
32154
+ _this33.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
32098
32155
  }
32099
- } else if (_this32.nodeInfos.length > 0) {
32100
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
32156
+ } else if (_this33.nodeInfos.length > 0) {
32157
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
32101
32158
  }
32102
- _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
32159
+ _this33.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
32103
32160
  if (nodeInfoMap.nodeExtAttr.submitText) {
32104
- _this32.btnList.map(function (x) {
32161
+ _this33.btnList.map(function (x) {
32105
32162
  if (x.event === 'sub') {
32106
32163
  x.text = nodeInfoMap.nodeExtAttr.submitText;
32107
32164
  }
32108
32165
  });
32109
32166
  }
32110
32167
  }
32111
- _this32.choiceOrgId = choiceOrgId;
32112
- _this32.choiceDeptId = choiceDeptId;
32113
- _this32.pOrgId = pOrgId;
32168
+ _this33.choiceOrgId = choiceOrgId;
32169
+ _this33.choiceDeptId = choiceDeptId;
32170
+ _this33.pOrgId = pOrgId;
32114
32171
  if (res.data && res.data.isEndUserTask != undefined) {
32115
- _this32.isEndUserTask = res.data.isEndUserTask;
32172
+ _this33.isEndUserTask = res.data.isEndUserTask;
32116
32173
  }
32117
32174
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
32118
- _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
32119
- _this32.NodeName = taskExamine.nodeName;
32120
- _this32.taskId = taskExamine.taskId;
32121
- _this32.businessIds = taskExamine.businessId;
32122
- _this32.appId = taskExamine.appId;
32123
- _this32.taskExamineInfo = taskExamine;
32124
- _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
32125
- _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
32126
- _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;
32127
32184
  // this.endFlowInfo.isReturnSubmitter =
32128
32185
  // taskExamine.isReturnSubmitter;
32129
32186
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -32135,98 +32192,96 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32135
32192
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
32136
32193
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
32137
32194
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
32138
- _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
32139
- _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
32140
- _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
32141
- _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
32142
- _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
32143
- _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
32144
- _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
32145
- _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
32146
- _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;
32147
32204
  // this.endFlowInfo.isReadDealReply =
32148
32205
  // taskExamine.isReadDealReplybusinessId;
32149
- _this32.endFlowInfo.appId = taskExamine.appId;
32150
- _this32.endFlowInfo.businessId = taskExamine.businessId;
32151
- _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
32152
- _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;
32153
32210
  }
32154
32211
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
32155
- _this32.NodeName = extendData.pendingData.itemname;
32212
+ _this33.NodeName = extendData.pendingData.itemname;
32156
32213
  }
32157
- if (_this32.nodeName) {
32158
- _this32.NodeName = _this32.nodeName;
32214
+ if (_this33.nodeName) {
32215
+ _this33.NodeName = _this33.nodeName;
32159
32216
  }
32160
- _this32.isCanAddSign = isCanAddSign;
32161
- _this32.processObj = res.data;
32162
- if (_this32.isCanAddSign) {
32163
- _this32.nextNode.isAddSign = '2';
32217
+ _this33.isCanAddSign = isCanAddSign;
32218
+ _this33.processObj = res.data;
32219
+ if (_this33.isCanAddSign) {
32220
+ _this33.nextNode.isAddSign = '2';
32164
32221
  }
32165
- _this32.isCanRemoveSign = isCanRemoveSign;
32166
- if (_this32.isCanRemoveSign) {
32167
- _this32.nextNode.isRemoveSign = '2';
32222
+ _this33.isCanRemoveSign = isCanRemoveSign;
32223
+ if (_this33.isCanRemoveSign) {
32224
+ _this33.nextNode.isRemoveSign = '2';
32168
32225
  }
32169
32226
 
32170
- if (!_this32.isOpinionRequired) {
32171
- _this32.isOpinionRequired = 0;
32227
+ if (!_this33.isOpinionRequired) {
32228
+ _this33.isOpinionRequired = 0;
32172
32229
  }
32173
32230
  // opinion && (this.value = opinion);
32174
- _this32.nextNode.notificationMsg = defaultNotificationMessage;
32175
- _this32.moreList = [];
32231
+ _this33.nextNode.notificationMsg = defaultNotificationMessage;
32232
+ _this33.moreList = [];
32176
32233
  if (taskButtonList && taskButtonList.length != 0) {
32177
32234
  taskButtonList.map(function (item) {
32178
32235
  if (item.fun === 'reject()') {
32179
- _this32.rejectObj = item;
32236
+ _this33.rejectObj = item;
32180
32237
  } else if (item.fun === 'toStartTaskRead()') {
32181
- _this32.pointsReadingObj = item;
32238
+ _this33.pointsReadingObj = item;
32182
32239
  } else {
32183
- _this32.moreList.push(item);
32240
+ _this33.moreList.push(item);
32184
32241
  }
32185
32242
  });
32186
- _this32.typeList = _this32.typeList.concat(taskButtonList);
32243
+ _this33.typeList = _this33.typeList.concat(taskButtonList);
32187
32244
  }
32188
- _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
32189
- _this32.isCustomPreset = isCustomPreset;
32190
- _this32.isPreset = isPreset;
32191
- _this32.presetTaskNodeMap = presetTaskNodeMap;
32192
- _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
32193
- _this32.getFind();
32194
- _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);
32195
32252
  // this.getNodeInfo();
32196
- _this32.StartTaskReadKey++;
32253
+ _this33.StartTaskReadKey++;
32197
32254
  } else {
32198
32255
  if (res.status === 'taskCompleted') {
32199
- _this32.$emit('shrink', true);
32200
- _this32.shrinkAbled = true;
32201
- _this32.$message.warning(res.message || '系统错误,请联系管理员!');
32256
+ _this33.$emit('shrink', true);
32257
+ _this33.shrinkAbled = true;
32258
+ _this33.$message.warning(res.message || '系统错误,请联系管理员!');
32202
32259
  } else {
32203
- _this32.$message.error(res.message || '系统错误,请联系管理员!');
32260
+ _this33.$message.error(res.message || '系统错误,请联系管理员!');
32204
32261
  }
32205
32262
  }
32206
- _this32.showOpinion = false;
32263
+ _this33.showOpinion = false;
32207
32264
  setTimeout(function () {
32208
- _this32.showOpinion = true;
32265
+ _this33.showOpinion = true;
32209
32266
  }, 0);
32210
32267
  }).catch(function (err) {
32211
- _this32.loading.close();
32268
+ _this33.loading.close();
32212
32269
  if (err.message && err.message !== 'canceled') {
32213
- _this32.$message.error(err.message);
32270
+ _this33.$message.error(err.message);
32214
32271
  }
32215
32272
  });
32216
32273
  },
32217
32274
 
32218
- /**
32219
- * closeProcess
32220
- * @desc:关闭弹窗
32221
- * @author liufan
32222
- * @param {boolean} val 当前是否办理流程
32223
- * @param {String} type 当前点击的弹窗类型
32224
- * @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日
32225
32282
  **/
32226
32283
  closeProcess: function closeProcess(val, type, closeParent) {
32227
- if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
32228
- this.$refs[type].handleClosed();
32229
- } else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
32284
+ if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
32230
32285
  this[type] = false;
32231
32286
  }
32232
32287
  if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
@@ -32246,23 +32301,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32246
32301
  }
32247
32302
  },
32248
32303
 
32249
- /**
32250
- * selectChange
32251
- * @desc:常用语选择
32252
- * @author liufan
32253
- * @param {String} val 选中值
32254
- * @date 2022年5月25日
32304
+ /**
32305
+ * selectChange
32306
+ * @desc:常用语选择
32307
+ * @author liufan
32308
+ * @param {String} val 选中值
32309
+ * @date 2022年5月25日
32255
32310
  **/
32256
32311
  selectChange: function selectChange(val) {
32257
32312
  this.value = val;
32258
32313
  },
32259
32314
 
32260
- /**
32261
- * upDate
32262
- * @desc:修改常用语
32263
- * @author liufan
32264
- * @param {Object} val 修改值
32265
- * @date 2022年5月25日
32315
+ /**
32316
+ * upDate
32317
+ * @desc:修改常用语
32318
+ * @author liufan
32319
+ * @param {Object} val 修改值
32320
+ * @date 2022年5月25日
32266
32321
  **/
32267
32322
  upDate: function upDate(val) {
32268
32323
  this.FormData.id = val.id;
@@ -32270,14 +32325,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32270
32325
  },
32271
32326
 
32272
32327
 
32273
- /**
32274
- * getProcess
32275
- * @desc:获取选择流程
32276
- * @author liufan
32277
- * @date 2022年5月25日
32328
+ /**
32329
+ * getProcess
32330
+ * @desc:获取选择流程
32331
+ * @author liufan
32332
+ * @date 2022年5月25日
32278
32333
  **/
32279
32334
  getProcess: function getProcess(val) {
32280
- var _this33 = this;
32335
+ var _this34 = this;
32281
32336
 
32282
32337
  var params = flowvue_type_script_lang_js_extends({
32283
32338
  businessId: this.businessId,
@@ -32295,56 +32350,56 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32295
32350
  message = res.message,
32296
32351
  data = res.data;
32297
32352
 
32298
- _this33.loading.close();
32353
+ _this34.loading.close();
32299
32354
  if (status === 'success') {
32300
32355
  if (data.simpleTips != undefined) {
32301
- _this33.simpleTips = data.simpleTips;
32356
+ _this34.simpleTips = data.simpleTips;
32302
32357
  }
32303
- _this33.isStartFlowChartView = data.isStartFlowChartView;
32358
+ _this34.isStartFlowChartView = data.isStartFlowChartView;
32304
32359
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
32305
- _this33.$message.error('流程不存在或未关联对应流程!');
32360
+ _this34.$message.error('流程不存在或未关联对应流程!');
32306
32361
  } else {
32307
- _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
32308
- _this33.activitiDefinitionSort = data.activitiDefinitionSort;
32309
- _this33.nodeInfo.option = data.definitionList;
32310
- _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
32311
- 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;
32312
32367
  });
32313
- if (_this33.nodeInfo.nextNode.length) {
32314
- _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
32368
+ if (_this34.nodeInfo.nextNode.length) {
32369
+ _this34.nodeInfo.nextNode = _this34.nodeInfo.nextNode[0].processDefId;
32315
32370
  } else {
32316
32371
  if (data.definitionList.length != 0) {
32317
- _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
32372
+ _this34.nodeInfo.nextNode = data.definitionList[0].processDefId;
32318
32373
  } else {
32319
- _this33.nodeInfo.nextNode = '';
32374
+ _this34.nodeInfo.nextNode = '';
32320
32375
  }
32321
32376
  }
32322
- if (_this33.nodeInfo.nextNode) {
32323
- _this33.handleChange(_this33.nodeInfo.nextNode, true);
32377
+ if (_this34.nodeInfo.nextNode) {
32378
+ _this34.handleChange(_this34.nodeInfo.nextNode, true);
32324
32379
  }
32325
- if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
32326
- _this33.getAdminMsgType();
32380
+ if (_this34.showCirculate != undefined && !_this34.showCirculate && _this34.urgencyLevel) {
32381
+ _this34.getAdminMsgType();
32327
32382
  }
32328
32383
  }
32329
32384
  } else {
32330
- _this33.$message.error(message || '系统错误,请联系管理员!');
32385
+ _this34.$message.error(message || '系统错误,请联系管理员!');
32331
32386
  }
32332
32387
  }).catch(function (err) {
32333
- _this33.loading.close();
32388
+ _this34.loading.close();
32334
32389
  if (err.message && err.message !== 'canceled') {
32335
- _this33.$message.error(err.message);
32390
+ _this34.$message.error(err.message);
32336
32391
  }
32337
32392
  });
32338
32393
  },
32339
32394
 
32340
- /**
32341
- * getPendedhistoryList
32342
- * @desc:获取流程列表
32343
- * @author liufan
32344
- * @date 2022年5月25日
32395
+ /**
32396
+ * getPendedhistoryList
32397
+ * @desc:获取流程列表
32398
+ * @author liufan
32399
+ * @date 2022年5月25日
32345
32400
  **/
32346
32401
  getPendedhistoryList: function getPendedhistoryList() {
32347
- var _this34 = this;
32402
+ var _this35 = this;
32348
32403
 
32349
32404
  var params = {
32350
32405
  apprecordId: this.businessIds,
@@ -32357,22 +32412,22 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32357
32412
  results = res.results;
32358
32413
 
32359
32414
  if (!rCode) {
32360
- _this34.nextNode.nextUserId = [];
32361
- _this34.showNews = false;
32362
- _this34.nextNode.notificationType = [];
32363
- _this34.pendingId = results[results.length - 1].attachId;
32364
- _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();
32365
32420
  } else {
32366
- _this34.$message.error(msg || '系统错误,请联系管理员!');
32421
+ _this35.$message.error(msg || '系统错误,请联系管理员!');
32367
32422
  }
32368
32423
  }).catch(function (err) {
32369
32424
  if (err.message && err.message !== 'canceled') {
32370
- _this34.$message.error(err.message);
32425
+ _this35.$message.error(err.message);
32371
32426
  }
32372
32427
  });
32373
32428
  },
32374
32429
  reqCircularRead: function reqCircularRead(type) {
32375
- var _this35 = this;
32430
+ var _this36 = this;
32376
32431
 
32377
32432
  var _that = this;
32378
32433
  var params = {
@@ -32386,7 +32441,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32386
32441
  };
32387
32442
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
32388
32443
  util["a" /* default */].ajax(params).then(function (res) {
32389
- _this35.loading.close();
32444
+ _this36.loading.close();
32390
32445
  if (res.rCode == 0) {
32391
32446
  if (res.results.alert) {
32392
32447
  _that.$confirm(res.results.message, {
@@ -32410,20 +32465,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32410
32465
 
32411
32466
  // 提交流程前验证
32412
32467
  beforeSubProcess: function beforeSubProcess(val, type) {
32413
- var _this36 = this;
32468
+ var _this37 = this;
32414
32469
 
32415
32470
  return this.$refs['nextNode'].validate(function (valid) {
32416
32471
  if (valid) {
32417
- if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
32418
- _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
32419
- _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
32420
- _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;
32421
32476
  }
32422
- if (!_this36.validInfo()) {
32423
- _this36.freeValid = false;
32477
+ if (!_this37.validInfo()) {
32478
+ _this37.freeValid = false;
32424
32479
  return;
32425
32480
  } else {
32426
- _this36.freeValid = true;
32481
+ _this37.freeValid = true;
32427
32482
  }
32428
32483
  // if (
32429
32484
  // this.currentNodeIsCircularReadNode &&
@@ -32433,42 +32488,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32433
32488
  // return;
32434
32489
  // }
32435
32490
 
32436
- if (_this36.submitButtonFunKey) {
32437
- var btnInfo = _this36.taskNodeButtons.filter(function (x) {
32438
- return x.key === _this36.submitButtonFunKey;
32491
+ if (_this37.submitButtonFunKey) {
32492
+ var btnInfo = _this37.taskNodeButtons.filter(function (x) {
32493
+ return x.key === _this37.submitButtonFunKey;
32439
32494
  });
32440
32495
  if (btnInfo.length > 0) {
32441
32496
  if (btnInfo[0].type == 4) {
32442
- _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);
32443
32498
  } else if (btnInfo[0].type == 2) {
32444
- _this36.goView(btnInfo[0]);
32499
+ _this37.goView(btnInfo[0]);
32445
32500
  }
32446
32501
  }
32447
32502
  return;
32448
32503
  }
32449
32504
  if (type == 'multiInsMidwayWithSubmitScene') {
32450
- _this36.sendData(type);
32505
+ _this37.sendData(type);
32451
32506
  return;
32452
32507
  }
32453
- if (_this36.beforeSubmit == undefined) {
32454
- _this36.subFun(_this36.sendData);
32508
+ if (_this37.beforeSubmit == undefined) {
32509
+ _this37.subFun(_this37.sendData);
32455
32510
  } else {
32456
- _this36.sendData();
32511
+ _this37.sendData();
32457
32512
  }
32458
32513
  }
32459
32514
  });
32460
32515
  },
32461
32516
 
32462
32517
  // 提交流程
32463
- /**
32464
- * subProcess
32465
- * @desc:提交流程
32466
- * @author liufan
32467
- * @param {String} formName 当前form表单ref值
32468
- * @date 2022年5月25日
32518
+ /**
32519
+ * subProcess
32520
+ * @desc:提交流程
32521
+ * @author liufan
32522
+ * @param {String} formName 当前form表单ref值
32523
+ * @date 2022年5月25日
32469
32524
  **/
32470
32525
  subProcess: function subProcess(val, type) {
32471
- var _this37 = this;
32526
+ var _this38 = this;
32472
32527
 
32473
32528
  if (this.btnType != 'default') {
32474
32529
  if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
@@ -32482,7 +32537,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32482
32537
  this.beforeSubProcess(val, type);
32483
32538
  } else {
32484
32539
  this.beforeSubmit(1).then(function (next) {
32485
- _this37.beforeSubProcess(val, type);
32540
+ _this38.beforeSubProcess(val, type);
32486
32541
  }).catch(function (e) {});
32487
32542
  }
32488
32543
  },
@@ -32525,14 +32580,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32525
32580
  return true;
32526
32581
  },
32527
32582
  flowSuccess: function flowSuccess(hideMessage) {
32528
- var _this38 = this;
32583
+ var _this39 = this;
32529
32584
 
32530
32585
  if (!this.simpleTips) {
32531
32586
  this.$alert('提交成功', '', {
32532
32587
  confirmButtonText: '确定',
32533
32588
  type: 'success',
32534
32589
  callback: function callback(action) {
32535
- _this38.$emit('success');
32590
+ _this39.$emit('success');
32536
32591
  }
32537
32592
  });
32538
32593
  } else {
@@ -32543,7 +32598,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32543
32598
  }
32544
32599
  },
32545
32600
  sendData: function sendData(freetype) {
32546
- var _this39 = this;
32601
+ var _this40 = this;
32547
32602
 
32548
32603
  if (this.isFlow && !this.nodeInfo.nextNode) {
32549
32604
  this.$message.warning('请选择流程');
@@ -32569,70 +32624,70 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32569
32624
  break;
32570
32625
  }
32571
32626
 
32572
- if (!_this39.isFlow) {
32627
+ if (!_this40.isFlow) {
32573
32628
  _context2.next = 7;
32574
32629
  break;
32575
32630
  }
32576
32631
 
32577
- if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
32632
+ if (!(_this40.isOpinionRequired && !_this40.$refs.commonOpinions.validate())) {
32578
32633
  _context2.next = 5;
32579
32634
  break;
32580
32635
  }
32581
32636
 
32582
- _this39.$message.warning('请输入审批意见');
32637
+ _this40.$message.warning('请输入审批意见');
32583
32638
  return _context2.abrupt('return');
32584
32639
 
32585
32640
  case 5:
32586
- if (_this39.directCreateCircularReadWhenFlowStarted) {
32587
- _this39.circulateVisible = true;
32641
+ if (_this40.directCreateCircularReadWhenFlowStarted) {
32642
+ _this40.circulateVisible = true;
32588
32643
  } else {
32589
- _this39.handleVisible = true;
32644
+ _this40.handleVisible = true;
32590
32645
  }
32591
32646
  return _context2.abrupt('return');
32592
32647
 
32593
32648
  case 7:
32594
32649
  nextUserId = [];
32595
32650
 
32596
- if (_this39.multiple) {
32597
- _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
32651
+ if (_this40.multiple) {
32652
+ _this40.nextNode.nextUserId && _this40.nextNode.nextUserId.map(function (item) {
32598
32653
  return nextUserId.push(item);
32599
32654
  });
32600
32655
  }
32601
32656
  addSignUserId = [];
32602
32657
 
32603
- if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
32604
- _this39.nextNode.addSignUserId.map(function (item) {
32658
+ if (_this40.isCanAddSign && _this40.nextNode.isAddSign == '1') {
32659
+ _this40.nextNode.addSignUserId.map(function (item) {
32605
32660
  addSignUserId.push(item);
32606
32661
  });
32607
32662
  }
32608
32663
  removeSignUserId = [];
32609
32664
 
32610
- if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
32611
- _this39.nextNode.removeSignUserId.map(function (item) {
32665
+ if (_this40.isCanRemoveSign && _this40.nextNode.isRemoveSign == '1') {
32666
+ _this40.nextNode.removeSignUserId.map(function (item) {
32612
32667
  removeSignUserId.push(item);
32613
32668
  });
32614
32669
  }
32615
32670
  str = '';
32616
32671
 
32617
- if (_this39.value) {
32618
- str = _this39.value.replace(/\s+/g, '');
32672
+ if (_this40.value) {
32673
+ str = _this40.value.replace(/\s+/g, '');
32619
32674
  }
32620
- if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
32621
- _this39.value = _this39.nodeDefaultSubmitOpinion;
32675
+ if ((!_this40.value || str === '') && _this40.nodeDefaultSubmitOpinion) {
32676
+ _this40.value = _this40.nodeDefaultSubmitOpinion;
32622
32677
  }
32623
- if (!_this39.isSpecial) {
32624
- delete _this39.nextNode.nextOperate;
32625
- delete _this39.nextNode.nextNodeId;
32678
+ if (!_this40.isSpecial) {
32679
+ delete _this40.nextNode.nextOperate;
32680
+ delete _this40.nextNode.nextNodeId;
32626
32681
  }
32627
- if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
32628
- _this39.nextNode.isReturnRejectNode = 1;
32629
- _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;
32630
32685
  }
32631
- if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
32632
- 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;
32633
32688
  }
32634
32689
 
32635
- if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
32690
+ if (!(_this40.isCustomPreset && _this40.activeNames == '1')) {
32636
32691
  _context2.next = 30;
32637
32692
  break;
32638
32693
  }
@@ -32640,20 +32695,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32640
32695
  i = 0;
32641
32696
 
32642
32697
  case 21:
32643
- if (!(i < _this39.presetList.length)) {
32698
+ if (!(i < _this40.presetList.length)) {
32644
32699
  _context2.next = 30;
32645
32700
  break;
32646
32701
  }
32647
32702
 
32648
- 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))) {
32649
32704
  _context2.next = 26;
32650
32705
  break;
32651
32706
  }
32652
32707
 
32653
- 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'));
32654
32709
 
32655
32710
  case 26:
32656
- delete _this39.presetList[i].label;
32711
+ delete _this40.presetList[i].label;
32657
32712
 
32658
32713
  case 27:
32659
32714
  i++;
@@ -32661,12 +32716,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32661
32716
  break;
32662
32717
 
32663
32718
  case 30:
32664
- if (!_this39.isCancelSecondConfirmationType) {
32719
+ if (!_this40.isCancelSecondConfirmationType) {
32665
32720
  _context2.next = 33;
32666
32721
  break;
32667
32722
  }
32668
32723
 
32669
- _this39.$confirm('确认提交吗?', '提示', {
32724
+ _this40.$confirm('确认提交吗?', '提示', {
32670
32725
  confirmButtonText: '确定',
32671
32726
  cancelButtonText: '取消',
32672
32727
  type: 'warning'
@@ -32682,46 +32737,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32682
32737
  }
32683
32738
 
32684
32739
  _context.next = 3;
32685
- return _this39.saveInfo('subMit');
32740
+ return _this40.saveInfo('subMit');
32686
32741
 
32687
32742
  case 3:
32688
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32743
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
32689
32744
 
32690
32745
  case 4:
32691
32746
  notificationType = '';
32692
32747
 
32693
- notificationType = _this39.nextNode.notificationType.join(',');
32748
+ notificationType = _this40.nextNode.notificationType.join(',');
32694
32749
  addSignUserId = addSignUserId.join(',');
32695
32750
  removeSignUserId = removeSignUserId.join(',');
32696
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32697
- delete _this39.nextNode.addSignMode;
32751
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
32752
+ delete _this40.nextNode.addSignMode;
32698
32753
  }
32699
32754
 
32700
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32701
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32702
- pendingId: _this39.pendingId,
32703
- 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,
32704
32759
  userId: util["a" /* default */].getStorage('userId'),
32705
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32760
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
32706
32761
  addSignUserId: addSignUserId,
32707
- customPresetUserJson: JSON.stringify(_this39.presetList),
32708
- presetUserJson: JSON.stringify(_this39.presetUserJson),
32762
+ customPresetUserJson: JSON.stringify(_this40.presetList),
32763
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
32709
32764
  removeSignUserId: removeSignUserId,
32710
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList ? _this39.mixReadList.join('|') : '' : _this39.nextNode.nextReadUserId.join(','),
32711
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32712
- 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(','),
32713
32768
  notificationType: notificationType
32714
32769
  });
32715
32770
 
32716
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32771
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
32717
32772
  delete params.customLimitTimeText;
32718
- if (_this39.nextNode.isRemoveSign != '1') {
32773
+ if (_this40.nextNode.isRemoveSign != '1') {
32719
32774
  delete params.removeSignUserId;
32720
32775
  }
32721
- if (_this39.nextNode.isAddSign != '1') {
32776
+ if (_this40.nextNode.isAddSign != '1') {
32722
32777
  delete params.addSignUserId;
32723
32778
  }
32724
- if (!_this39.isSpecial) {
32779
+ if (!_this40.isSpecial) {
32725
32780
  delete params.nextUserId;
32726
32781
  }
32727
32782
 
@@ -32730,13 +32785,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32730
32785
  break;
32731
32786
  }
32732
32787
 
32733
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32734
- _this39.taskParams = params;
32788
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
32789
+ _this40.taskParams = params;
32735
32790
  return _context.abrupt('return');
32736
32791
 
32737
32792
  case 19:
32738
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32739
- 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;
32740
32795
 
32741
32796
  params.isEndUserTask = isEndUserTask;
32742
32797
  params.choiceOrgId = choiceOrgId;
@@ -32760,17 +32815,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32760
32815
  var status = res.status,
32761
32816
  message = res.message;
32762
32817
 
32763
- _this39.loading.close();
32818
+ _this40.loading.close();
32764
32819
  if (status === 'success') {
32765
- _this39.flowSuccess();
32820
+ _this40.flowSuccess();
32766
32821
  } else {
32767
- _this39.$message.error(message || '系统错误,请联系管理员!');
32768
- _this39.$emit('error');
32822
+ _this40.$message.error(message || '系统错误,请联系管理员!');
32823
+ _this40.$emit('error');
32769
32824
  }
32770
32825
  }).catch(function (err) {
32771
- _this39.loading.close();
32826
+ _this40.loading.close();
32772
32827
  if (err.message && err.message !== 'canceled') {
32773
- _this39.$message.error(err.message);
32828
+ _this40.$message.error(err.message);
32774
32829
  }
32775
32830
  }));
32776
32831
 
@@ -32779,7 +32834,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32779
32834
  return _context.stop();
32780
32835
  }
32781
32836
  }
32782
- }, _callee, _this39);
32837
+ }, _callee, _this40);
32783
32838
  })));
32784
32839
  return _context2.abrupt('return');
32785
32840
 
@@ -32790,46 +32845,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32790
32845
  }
32791
32846
 
32792
32847
  _context2.next = 36;
32793
- return _this39.saveInfo('subMit');
32848
+ return _this40.saveInfo('subMit');
32794
32849
 
32795
32850
  case 36:
32796
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32851
+ _this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
32797
32852
 
32798
32853
  case 37:
32799
32854
  notificationType = '';
32800
32855
 
32801
- notificationType = _this39.nextNode.notificationType.join(',');
32856
+ notificationType = _this40.nextNode.notificationType.join(',');
32802
32857
  addSignUserId = addSignUserId.join(',');
32803
32858
  removeSignUserId = removeSignUserId.join(',');
32804
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32805
- delete _this39.nextNode.addSignMode;
32859
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
32860
+ delete _this40.nextNode.addSignMode;
32806
32861
  }
32807
32862
 
32808
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32809
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32810
- pendingId: _this39.pendingId,
32811
- 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,
32812
32867
  userId: util["a" /* default */].getStorage('userId'),
32813
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32868
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
32814
32869
  addSignUserId: addSignUserId,
32815
- customPresetUserJson: JSON.stringify(_this39.presetList),
32816
- presetUserJson: JSON.stringify(_this39.presetUserJson),
32870
+ customPresetUserJson: JSON.stringify(_this40.presetList),
32871
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
32817
32872
  removeSignUserId: removeSignUserId,
32818
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList ? _this39.mixReadList.join('|') : '' : _this39.nextNode.nextReadUserId.join(','),
32819
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32820
- 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(','),
32821
32876
  notificationType: notificationType
32822
32877
  });
32823
32878
 
32824
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32879
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
32825
32880
  delete params.customLimitTimeText;
32826
- if (_this39.nextNode.isRemoveSign != '1') {
32881
+ if (_this40.nextNode.isRemoveSign != '1') {
32827
32882
  delete params.removeSignUserId;
32828
32883
  }
32829
- if (_this39.nextNode.isAddSign != '1') {
32884
+ if (_this40.nextNode.isAddSign != '1') {
32830
32885
  delete params.addSignUserId;
32831
32886
  }
32832
- if (!_this39.isSpecial) {
32887
+ if (!_this40.isSpecial) {
32833
32888
  delete params.nextUserId;
32834
32889
  }
32835
32890
 
@@ -32838,13 +32893,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32838
32893
  break;
32839
32894
  }
32840
32895
 
32841
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32842
- _this39.taskParams = params;
32896
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
32897
+ _this40.taskParams = params;
32843
32898
  return _context2.abrupt('return');
32844
32899
 
32845
32900
  case 52:
32846
- _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32847
- 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;
32848
32903
 
32849
32904
  params.isEndUserTask = isEndUserTask;
32850
32905
  params.choiceOrgId = choiceOrgId;
@@ -32868,17 +32923,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32868
32923
  var status = res.status,
32869
32924
  message = res.message;
32870
32925
 
32871
- _this39.loading.close();
32926
+ _this40.loading.close();
32872
32927
  if (status === 'success') {
32873
- _this39.flowSuccess();
32928
+ _this40.flowSuccess();
32874
32929
  } else {
32875
- _this39.$message.error(message || '系统错误,请联系管理员!');
32876
- _this39.$emit('error');
32930
+ _this40.$message.error(message || '系统错误,请联系管理员!');
32931
+ _this40.$emit('error');
32877
32932
  }
32878
32933
  }).catch(function (err) {
32879
- _this39.loading.close();
32934
+ _this40.loading.close();
32880
32935
  if (err.message && err.message !== 'canceled') {
32881
- _this39.$message.error(err.message);
32936
+ _this40.$message.error(err.message);
32882
32937
  }
32883
32938
  }));
32884
32939
 
@@ -32890,7 +32945,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32890
32945
  return _context2.stop();
32891
32946
  }
32892
32947
  }
32893
- }, _callee2, _this39);
32948
+ }, _callee2, _this40);
32894
32949
  }));
32895
32950
 
32896
32951
  return function (_x) {
@@ -32946,8 +33001,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32946
33001
 
32947
33002
  var flow_component = Object(componentNormalizer["a" /* default */])(
32948
33003
  src_flowvue_type_script_lang_js_,
32949
- flowvue_type_template_id_f7d7c7c6_render,
32950
- flowvue_type_template_id_f7d7c7c6_staticRenderFns,
33004
+ flowvue_type_template_id_ef00b086_render,
33005
+ flowvue_type_template_id_ef00b086_staticRenderFns,
32951
33006
  false,
32952
33007
  null,
32953
33008
  null,
@@ -35203,11 +35258,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35203
35258
  });
35204
35259
  },
35205
35260
 
35206
- /**
35207
- * saveInfo
35208
- * @desc:暂存
35209
- * @author liufan
35210
- * @date 2022年9月9日
35261
+ /**
35262
+ * saveInfo
35263
+ * @desc:暂存
35264
+ * @author liufan
35265
+ * @date 2022年9月9日
35211
35266
  **/
35212
35267
  saveInfo: function saveInfo(type, btn) {
35213
35268
  var _this14 = this;
@@ -35269,11 +35324,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35269
35324
  });
35270
35325
  },
35271
35326
 
35272
- /**
35273
- * rejectBtn
35274
- * @desc:点击驳回
35275
- * @author liufan
35276
- * @date 2022年5月25日
35327
+ /**
35328
+ * rejectBtn
35329
+ * @desc:点击驳回
35330
+ * @author liufan
35331
+ * @date 2022年5月25日
35277
35332
  **/
35278
35333
  rejectBtn: function rejectBtn() {
35279
35334
  var _this16 = this;
@@ -35291,11 +35346,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35291
35346
  }
35292
35347
  },
35293
35348
 
35294
- /**
35295
- * taskReadBtn
35296
- * @desc:点击分阅
35297
- * @author liufan
35298
- * @date 2022年5月25日
35349
+ /**
35350
+ * taskReadBtn
35351
+ * @desc:点击分阅
35352
+ * @author liufan
35353
+ * @date 2022年5月25日
35299
35354
  **/
35300
35355
  taskReadBtn: function taskReadBtn() {
35301
35356
  var _this17 = this;
@@ -35314,11 +35369,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35314
35369
  }
35315
35370
  },
35316
35371
 
35317
- /**
35318
- * getFind
35319
- * @desc:获取通知方式
35320
- * @author liufan
35321
- * @date 2022年5月25日
35372
+ /**
35373
+ * getFind
35374
+ * @desc:获取通知方式
35375
+ * @author liufan
35376
+ * @date 2022年5月25日
35322
35377
  **/
35323
35378
  getFind: function getFind() {
35324
35379
  var _this18 = this;
@@ -35385,12 +35440,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35385
35440
  });
35386
35441
  },
35387
35442
 
35388
- /**
35389
- * endFlows
35390
- * @desc:直接办结
35391
- * @author liufan
35392
- * @param {Object} res 直接办结数据
35393
- * @date 2022年5月25日
35443
+ /**
35444
+ * endFlows
35445
+ * @desc:直接办结
35446
+ * @author liufan
35447
+ * @param {Object} res 直接办结数据
35448
+ * @date 2022年5月25日
35394
35449
  **/
35395
35450
  endFlows: function endFlows(res) {
35396
35451
  var _this20 = this;
@@ -35445,12 +35500,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35445
35500
  }).catch(function (e) {});
35446
35501
  },
35447
35502
 
35448
- /**
35449
- * goView
35450
- * @desc:更多流程按钮操作
35451
- * @author liufan
35452
- * @param {Object} res 当前点击操作按钮数据
35453
- * @date 2022年5月25日
35503
+ /**
35504
+ * goView
35505
+ * @desc:更多流程按钮操作
35506
+ * @author liufan
35507
+ * @param {Object} res 当前点击操作按钮数据
35508
+ * @date 2022年5月25日
35454
35509
  **/
35455
35510
  goView: function goView(res) {
35456
35511
  // 驳回并办结:rejectAndEndHtml
@@ -35538,11 +35593,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35538
35593
  // isCanStartSubFlow
35539
35594
  },
35540
35595
 
35541
- /**
35542
- * toTakeAdvice
35543
- * @desc:征求意见
35544
- * @author liufan
35545
- * @date 2022年9月29日
35596
+ /**
35597
+ * toTakeAdvice
35598
+ * @desc:征求意见
35599
+ * @author liufan
35600
+ * @date 2022年9月29日
35546
35601
  **/
35547
35602
  toTakeAdvice: function toTakeAdvice(res) {
35548
35603
  var _this22 = this;
@@ -35586,11 +35641,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35586
35641
  });
35587
35642
  },
35588
35643
 
35589
- /**
35590
- * toStartDraf
35591
- * @desc: 稿件递送、联合审核、复核
35592
- * @author liufan
35593
- * @date 2022年9月29日
35644
+ /**
35645
+ * toStartDraf
35646
+ * @desc: 稿件递送、联合审核、复核
35647
+ * @author liufan
35648
+ * @date 2022年9月29日
35594
35649
  **/
35595
35650
  toStartDraf: function toStartDraf(res) {
35596
35651
  var _this24 = this;
@@ -35604,11 +35659,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35604
35659
  }
35605
35660
  },
35606
35661
 
35607
- /**
35608
- * toSendMsg
35609
- * @desc:核稿通知
35610
- * @author liufan
35611
- * @date 2022年9月29日
35662
+ /**
35663
+ * toSendMsg
35664
+ * @desc:核稿通知
35665
+ * @author liufan
35666
+ * @date 2022年9月29日
35612
35667
  **/
35613
35668
  toSendMsg: function toSendMsg(res) {
35614
35669
  var _this25 = this;
@@ -35622,11 +35677,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35622
35677
  }
35623
35678
  },
35624
35679
 
35625
- /**
35626
- * toTaskReadAndEnd
35627
- * @desc:分阅并办结
35628
- * @author liufan
35629
- * @date 2022年9月29日
35680
+ /**
35681
+ * toTaskReadAndEnd
35682
+ * @desc:分阅并办结
35683
+ * @author liufan
35684
+ * @date 2022年9月29日
35630
35685
  **/
35631
35686
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
35632
35687
  var _this26 = this;
@@ -35644,11 +35699,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35644
35699
  }
35645
35700
  },
35646
35701
 
35647
- /**
35648
- * rejectAndEnd
35649
- * @desc:驳回并办结
35650
- * @author liufan
35651
- * @date 2022年9月29日
35702
+ /**
35703
+ * rejectAndEnd
35704
+ * @desc:驳回并办结
35705
+ * @author liufan
35706
+ * @date 2022年9月29日
35652
35707
  **/
35653
35708
  rejectAndEnd: function rejectAndEnd(res) {
35654
35709
  var _this27 = this;
@@ -35704,11 +35759,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35704
35759
  });
35705
35760
  },
35706
35761
 
35707
- /**
35708
- * toTransfer
35709
- * @desc:转办
35710
- * @author liufan
35711
- * @date 2022年9月29日
35762
+ /**
35763
+ * toTransfer
35764
+ * @desc:转办
35765
+ * @author liufan
35766
+ * @date 2022年9月29日
35712
35767
  **/
35713
35768
  toTransfer: function toTransfer(res) {
35714
35769
  var _this29 = this;
@@ -35727,11 +35782,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35727
35782
  this.nextNode.customLimitTime = val;
35728
35783
  },
35729
35784
 
35730
- /**
35731
- * getNodeInfo
35732
- * @desc:获取节点信息
35733
- * @author liufan
35734
- * @date 2022年5月25日
35785
+ /**
35786
+ * getNodeInfo
35787
+ * @desc:获取节点信息
35788
+ * @author liufan
35789
+ * @date 2022年5月25日
35735
35790
  **/
35736
35791
  getNodeInfo: function getNodeInfo() {
35737
35792
  var _this30 = this;
@@ -35878,12 +35933,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35878
35933
  });
35879
35934
  },
35880
35935
 
35881
- /**
35882
- * selecNext
35883
- * @desc:下步节点变化时更新数据
35884
- * @author liufan
35885
- * @param {String} val 当前选中值
35886
- * @date 2022年5月25日
35936
+ /**
35937
+ * selecNext
35938
+ * @desc:下步节点变化时更新数据
35939
+ * @author liufan
35940
+ * @param {String} val 当前选中值
35941
+ * @date 2022年5月25日
35887
35942
  **/
35888
35943
  selecNext: function selecNext(val, type, isDef) {
35889
35944
  var _this31 = this;
@@ -36023,11 +36078,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36023
36078
  }
36024
36079
  },
36025
36080
 
36026
- /**
36027
- * isMultiple
36028
- * @desc:是否多选
36029
- * @author liufan
36030
- * @date 2022年9月13日
36081
+ /**
36082
+ * isMultiple
36083
+ * @desc:是否多选
36084
+ * @author liufan
36085
+ * @date 2022年9月13日
36031
36086
  **/
36032
36087
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
36033
36088
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -36059,11 +36114,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36059
36114
  }
36060
36115
  },
36061
36116
 
36062
- /**
36063
- * getHedInfo
36064
- * @desc:获取审核页面数据
36065
- * @author liufan
36066
- * @date 2022年5月25日
36117
+ /**
36118
+ * getHedInfo
36119
+ * @desc:获取审核页面数据
36120
+ * @author liufan
36121
+ * @date 2022年5月25日
36067
36122
  **/
36068
36123
  getHedInfo: function getHedInfo() {
36069
36124
  var _this32 = this;
@@ -36382,13 +36437,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36382
36437
  });
36383
36438
  },
36384
36439
 
36385
- /**
36386
- * closeProcess
36387
- * @desc:关闭弹窗
36388
- * @author liufan
36389
- * @param {boolean} val 当前是否办理流程
36390
- * @param {String} type 当前点击的弹窗类型
36391
- * @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日
36392
36447
  **/
36393
36448
  closeProcess: function closeProcess(val, type, closeParent) {
36394
36449
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -36408,23 +36463,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36408
36463
  }
36409
36464
  },
36410
36465
 
36411
- /**
36412
- * selectChange
36413
- * @desc:常用语选择
36414
- * @author liufan
36415
- * @param {String} val 选中值
36416
- * @date 2022年5月25日
36466
+ /**
36467
+ * selectChange
36468
+ * @desc:常用语选择
36469
+ * @author liufan
36470
+ * @param {String} val 选中值
36471
+ * @date 2022年5月25日
36417
36472
  **/
36418
36473
  selectChange: function selectChange(val) {
36419
36474
  this.value = val;
36420
36475
  },
36421
36476
 
36422
- /**
36423
- * upDate
36424
- * @desc:修改常用语
36425
- * @author liufan
36426
- * @param {Object} val 修改值
36427
- * @date 2022年5月25日
36477
+ /**
36478
+ * upDate
36479
+ * @desc:修改常用语
36480
+ * @author liufan
36481
+ * @param {Object} val 修改值
36482
+ * @date 2022年5月25日
36428
36483
  **/
36429
36484
  upDate: function upDate(val) {
36430
36485
  this.FormData.id = val.id;
@@ -36432,11 +36487,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36432
36487
  },
36433
36488
 
36434
36489
 
36435
- /**
36436
- * getProcess
36437
- * @desc:获取选择流程
36438
- * @author liufan
36439
- * @date 2022年5月25日
36490
+ /**
36491
+ * getProcess
36492
+ * @desc:获取选择流程
36493
+ * @author liufan
36494
+ * @date 2022年5月25日
36440
36495
  **/
36441
36496
  getProcess: function getProcess(val) {
36442
36497
  var _this33 = this;
@@ -36499,11 +36554,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36499
36554
  });
36500
36555
  },
36501
36556
 
36502
- /**
36503
- * getPendedhistoryList
36504
- * @desc:获取流程列表
36505
- * @author liufan
36506
- * @date 2022年5月25日
36557
+ /**
36558
+ * getPendedhistoryList
36559
+ * @desc:获取流程列表
36560
+ * @author liufan
36561
+ * @date 2022年5月25日
36507
36562
  **/
36508
36563
  getPendedhistoryList: function getPendedhistoryList() {
36509
36564
  var _this34 = this;
@@ -36576,12 +36631,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36576
36631
  beforeSubProcess: function beforeSubProcess() {},
36577
36632
 
36578
36633
  // 提交流程
36579
- /**
36580
- * subProcess
36581
- * @desc:提交流程
36582
- * @author liufan
36583
- * @param {String} formName 当前form表单ref值
36584
- * @date 2022年5月25日
36634
+ /**
36635
+ * subProcess
36636
+ * @desc:提交流程
36637
+ * @author liufan
36638
+ * @param {String} formName 当前form表单ref值
36639
+ * @date 2022年5月25日
36585
36640
  **/
36586
36641
  subProcess: function subProcess(val, type) {
36587
36642
  var _this36 = this;