eoss-ui 0.8.35 → 0.8.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flow.js CHANGED
@@ -4878,7 +4878,7 @@ module.exports = require("vuedraggable");
4878
4878
  // ESM COMPAT FLAG
4879
4879
  __webpack_require__.r(__webpack_exports__);
4880
4880
 
4881
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5f3621e7&
4881
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
4882
4882
  var render = function () {
4883
4883
  var _vm = this
4884
4884
  var _h = _vm.$createElement
@@ -4906,6 +4906,7 @@ var render = function () {
4906
4906
  pendingId: _vm.pendingId,
4907
4907
  nodeName: _vm.nodeName,
4908
4908
  typeCode: _vm.typeCode,
4909
+ ownerType: _vm.ownerType,
4909
4910
  selectorConfig: _vm.selectorConfig,
4910
4911
  flowTypeCode: _vm.flowTypeCode,
4911
4912
  defaultProcessKey: _vm.defaultProcessKey,
@@ -4932,7 +4933,10 @@ var render = function () {
4932
4933
  flowLabelConfig: _vm.flowLabelConfig,
4933
4934
  isEndMessage: _vm.isEndMessage,
4934
4935
  },
4935
- on: { success: _vm.handleNewFlowSuccess },
4936
+ on: {
4937
+ buttonClick: _vm.handleButtonClick,
4938
+ success: _vm.handleNewFlowSuccess,
4939
+ },
4936
4940
  },
4937
4941
  "FlowNew",
4938
4942
  _vm.$attrs,
@@ -6502,8 +6506,7 @@ var render = function () {
6502
6506
  {
6503
6507
  attrs: {
6504
6508
  prop: "nextReadUserId",
6505
- label:
6506
- "\n 分阅用户\n ",
6509
+ label: "分阅用户",
6507
6510
  },
6508
6511
  },
6509
6512
  [
@@ -7703,6 +7706,14 @@ var render = function () {
7703
7706
  },
7704
7707
  [
7705
7708
  _c("img", {
7709
+ directives: [
7710
+ {
7711
+ name: "show",
7712
+ rawName: "v-show",
7713
+ value: _vm.showFlowImg,
7714
+ expression: "showFlowImg",
7715
+ },
7716
+ ],
7706
7717
  staticStyle: { width: "100%" },
7707
7718
  attrs: {
7708
7719
  src:
@@ -7711,6 +7722,14 @@ var render = function () {
7711
7722
  _vm.nodeInfo.nextNode,
7712
7723
  alt: "加载失败",
7713
7724
  },
7725
+ on: {
7726
+ error: function ($event) {
7727
+ _vm.handleErrorImg("error")
7728
+ },
7729
+ load: function ($event) {
7730
+ _vm.handleErrorImg("load")
7731
+ },
7732
+ },
7714
7733
  }),
7715
7734
  ]
7716
7735
  )
@@ -7741,6 +7760,8 @@ var render = function () {
7741
7760
  option: _vm.value,
7742
7761
  showTooltip: _vm.showTooltip,
7743
7762
  simpleTips: _vm.simpleTips,
7763
+ isCancelSecondConfirmationType:
7764
+ _vm.isCancelSecondConfirmationType,
7744
7765
  flowLabelConfig: _vm.flowLabelConfig,
7745
7766
  hideMessage: _vm.hideMessage,
7746
7767
  "show-reject": _vm.showReject,
@@ -8017,7 +8038,7 @@ var staticRenderFns = []
8017
8038
  render._withStripped = true
8018
8039
 
8019
8040
 
8020
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f3621e7&
8041
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
8021
8042
 
8022
8043
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
8023
8044
  var regenerator_ = __webpack_require__(4);
@@ -9081,8 +9102,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
9081
9102
  )
9082
9103
 
9083
9104
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
9084
- // 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=53d37cbc&
9085
- var flowvue_type_template_id_53d37cbc_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=160c0322&
9106
+ var flowvue_type_template_id_160c0322_render = function () {
9086
9107
  var _vm = this
9087
9108
  var _h = _vm.$createElement
9088
9109
  var _c = _vm._self._c || _h
@@ -9582,7 +9603,7 @@ var flowvue_type_template_id_53d37cbc_render = function () {
9582
9603
  !_vm.shrink &&
9583
9604
  _vm.typeList.length > 1,
9584
9605
  expression:
9585
- "!isStartFlow && !shrink && typeList.length>1",
9606
+ "!isStartFlow && !shrink && typeList.length > 1",
9586
9607
  },
9587
9608
  ],
9588
9609
  staticClass: "es-flow-middle-more-btn",
@@ -10700,8 +10721,7 @@ var flowvue_type_template_id_53d37cbc_render = function () {
10700
10721
  {
10701
10722
  attrs: {
10702
10723
  prop: "nextReadUserId",
10703
- label:
10704
- "\n 分阅用户\n ",
10724
+ label: "分阅用户",
10705
10725
  },
10706
10726
  },
10707
10727
  [
@@ -10718,6 +10738,7 @@ var flowvue_type_template_id_53d37cbc_render = function () {
10718
10738
  showTooltip:
10719
10739
  _vm.showTooltip,
10720
10740
  title: "分阅用户",
10741
+ params: _vm.fyParams,
10721
10742
  mix: true,
10722
10743
  types: _vm.types,
10723
10744
  tabs: _vm.tabs,
@@ -10764,6 +10785,7 @@ var flowvue_type_template_id_53d37cbc_render = function () {
10764
10785
  _vm.presetReadUserId,
10765
10786
  presetEdit: 1,
10766
10787
  title: "分阅用户",
10788
+ params: _vm.fyParams,
10767
10789
  mix: true,
10768
10790
  types: _vm.types,
10769
10791
  tabs: _vm.tabs,
@@ -11301,6 +11323,8 @@ var flowvue_type_template_id_53d37cbc_render = function () {
11301
11323
  showTooltip: _vm.showTooltip,
11302
11324
  simpleTips: _vm.simpleTips,
11303
11325
  flowLabelConfig: _vm.flowLabelConfig,
11326
+ isCancelSecondConfirmationType:
11327
+ _vm.isCancelSecondConfirmationType,
11304
11328
  hideMessage: _vm.hideMessage,
11305
11329
  "show-reject": _vm.showReject,
11306
11330
  "news-info": _vm.nextNode.notificationMsg,
@@ -11716,6 +11740,8 @@ var flowvue_type_template_id_53d37cbc_render = function () {
11716
11740
  "pending-id": _vm.pendingId,
11717
11741
  option: _vm.value,
11718
11742
  showTooltip: _vm.showTooltip,
11743
+ isCancelSecondConfirmationType:
11744
+ _vm.isCancelSecondConfirmationType,
11719
11745
  simpleTips: _vm.simpleTips,
11720
11746
  flowLabelConfig: _vm.flowLabelConfig,
11721
11747
  hideMessage: _vm.hideMessage,
@@ -11990,11 +12016,11 @@ var flowvue_type_template_id_53d37cbc_render = function () {
11990
12016
  )
11991
12017
  : _vm._e()
11992
12018
  }
11993
- var flowvue_type_template_id_53d37cbc_staticRenderFns = []
11994
- flowvue_type_template_id_53d37cbc_render._withStripped = true
12019
+ var flowvue_type_template_id_160c0322_staticRenderFns = []
12020
+ flowvue_type_template_id_160c0322_render._withStripped = true
11995
12021
 
11996
12022
 
11997
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=53d37cbc&
12023
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
11998
12024
 
11999
12025
  // 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&
12000
12026
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -12706,8 +12732,8 @@ var Opinions_component = Object(componentNormalizer["a" /* default */])(
12706
12732
  )
12707
12733
 
12708
12734
  /* harmony default export */ var Opinions = (Opinions_component.exports);
12709
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=f523153e&
12710
- var processFormvue_type_template_id_f523153e_render = function () {
12735
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
12736
+ var processFormvue_type_template_id_20fb5670_render = function () {
12711
12737
  var _vm = this
12712
12738
  var _h = _vm.$createElement
12713
12739
  var _c = _vm._self._c || _h
@@ -13219,6 +13245,7 @@ var processFormvue_type_template_id_f523153e_render = function () {
13219
13245
  title: "分阅用户",
13220
13246
  mix: true,
13221
13247
  types: _vm.types,
13248
+ params: _vm.fyParams,
13222
13249
  tabs: _vm.tabs,
13223
13250
  },
13224
13251
  on: {
@@ -13249,6 +13276,7 @@ var processFormvue_type_template_id_f523153e_render = function () {
13249
13276
  showTooltip: _vm.showTooltip,
13250
13277
  options: _vm.presetOptions,
13251
13278
  title: "分阅用户",
13279
+ params: _vm.fyParams,
13252
13280
  radioList: _vm.presetReadUserId,
13253
13281
  presetEdit: 1,
13254
13282
  mix: true,
@@ -13659,14 +13687,14 @@ var processFormvue_type_template_id_f523153e_render = function () {
13659
13687
  1
13660
13688
  )
13661
13689
  }
13662
- var processFormvue_type_template_id_f523153e_staticRenderFns = []
13663
- processFormvue_type_template_id_f523153e_render._withStripped = true
13690
+ var processFormvue_type_template_id_20fb5670_staticRenderFns = []
13691
+ processFormvue_type_template_id_20fb5670_render._withStripped = true
13664
13692
 
13665
13693
 
13666
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=f523153e&
13694
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
13667
13695
 
13668
- // 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=e270ebde&
13669
- var selectUservue_type_template_id_e270ebde_render = function () {
13696
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
13697
+ var selectUservue_type_template_id_3a5614a4_render = function () {
13670
13698
  var _vm = this
13671
13699
  var _h = _vm.$createElement
13672
13700
  var _c = _vm._self._c || _h
@@ -13785,6 +13813,7 @@ var selectUservue_type_template_id_e270ebde_render = function () {
13785
13813
  types: _vm.types,
13786
13814
  tabs: _vm.tabs,
13787
13815
  title: _vm.title,
13816
+ showFilterListDep: false,
13788
13817
  reset: "",
13789
13818
  classify: _vm.classify,
13790
13819
  "collapse-tags": _vm.selectorTags,
@@ -13827,11 +13856,11 @@ var selectUservue_type_template_id_e270ebde_render = function () {
13827
13856
  1
13828
13857
  )
13829
13858
  }
13830
- var selectUservue_type_template_id_e270ebde_staticRenderFns = []
13831
- selectUservue_type_template_id_e270ebde_render._withStripped = true
13859
+ var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
13860
+ selectUservue_type_template_id_3a5614a4_render._withStripped = true
13832
13861
 
13833
13862
 
13834
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
13863
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
13835
13864
 
13836
13865
  // 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&
13837
13866
  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; };
@@ -13938,6 +13967,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
13938
13967
  //
13939
13968
  //
13940
13969
  //
13970
+ //
13941
13971
 
13942
13972
 
13943
13973
 
@@ -14145,7 +14175,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14145
14175
  },
14146
14176
  mounted: function mounted() {
14147
14177
  console.log(this.nextUser, 'nextUser');
14148
- this.classify = util["a" /* default */].getStorage('classify') != undefined ? util["a" /* default */].getStorage('classify') : true;
14178
+ this.classify = util["a" /* default */].getStorage('classify') != undefined ? util["a" /* default */].getStorage('classify') : false;
14149
14179
  },
14150
14180
 
14151
14181
 
@@ -14361,8 +14391,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14361
14391
 
14362
14392
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14363
14393
  src_selectUservue_type_script_lang_js_,
14364
- selectUservue_type_template_id_e270ebde_render,
14365
- selectUservue_type_template_id_e270ebde_staticRenderFns,
14394
+ selectUservue_type_template_id_3a5614a4_render,
14395
+ selectUservue_type_template_id_3a5614a4_staticRenderFns,
14366
14396
  false,
14367
14397
  null,
14368
14398
  null,
@@ -14371,8 +14401,8 @@ var selectUser_component = Object(componentNormalizer["a" /* default */])(
14371
14401
  )
14372
14402
 
14373
14403
  /* harmony default export */ var selectUser = (selectUser_component.exports);
14374
- // 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/CustomPreset.vue?vue&type=template&id=9f7598ce&
14375
- var CustomPresetvue_type_template_id_9f7598ce_render = function () {
14404
+ // 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/CustomPreset.vue?vue&type=template&id=36ac9599&
14405
+ var CustomPresetvue_type_template_id_36ac9599_render = function () {
14376
14406
  var _vm = this
14377
14407
  var _h = _vm.$createElement
14378
14408
  var _c = _vm._self._c || _h
@@ -14475,11 +14505,11 @@ var CustomPresetvue_type_template_id_9f7598ce_render = function () {
14475
14505
  1
14476
14506
  )
14477
14507
  }
14478
- var CustomPresetvue_type_template_id_9f7598ce_staticRenderFns = []
14479
- CustomPresetvue_type_template_id_9f7598ce_render._withStripped = true
14508
+ var CustomPresetvue_type_template_id_36ac9599_staticRenderFns = []
14509
+ CustomPresetvue_type_template_id_36ac9599_render._withStripped = true
14480
14510
 
14481
14511
 
14482
- // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=9f7598ce&
14512
+ // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=36ac9599&
14483
14513
 
14484
14514
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CustomPreset.vue?vue&type=script&lang=js&
14485
14515
  var CustomPresetvue_type_script_lang_js_components;
@@ -14778,9 +14808,13 @@ var CustomPresetvue_type_script_lang_js_components;
14778
14808
  changeSelectData: function changeSelectData() {
14779
14809
  var customPresetUserJson = [];
14780
14810
  this.newPresetList.map(function (item) {
14811
+ var label = item.option.filter(function (x) {
14812
+ return x.nodeId == item.name;
14813
+ });
14781
14814
  customPresetUserJson.push({
14782
14815
  name: item.name,
14783
14816
  lastName: item.lastName,
14817
+ label: label.length > 0 ? label[0].nodeName : '',
14784
14818
  value: item.name != 'endEvent' ? item.multiple ? item.nextUser.join(',') : item.nextUser : '',
14785
14819
  sequence: item.sequence
14786
14820
  });
@@ -14802,8 +14836,8 @@ var CustomPresetvue_type_script_lang_js_components;
14802
14836
 
14803
14837
  var CustomPreset_component = Object(componentNormalizer["a" /* default */])(
14804
14838
  component_CustomPresetvue_type_script_lang_js_,
14805
- CustomPresetvue_type_template_id_9f7598ce_render,
14806
- CustomPresetvue_type_template_id_9f7598ce_staticRenderFns,
14839
+ CustomPresetvue_type_template_id_36ac9599_render,
14840
+ CustomPresetvue_type_template_id_36ac9599_staticRenderFns,
14807
14841
  false,
14808
14842
  null,
14809
14843
  null,
@@ -15681,6 +15715,8 @@ var processFormvue_type_script_lang_js_components;
15681
15715
  //
15682
15716
  //
15683
15717
  //
15718
+ //
15719
+ //
15684
15720
 
15685
15721
 
15686
15722
 
@@ -15787,6 +15823,7 @@ var processFormvue_type_script_lang_js_components;
15787
15823
  isCurrentNodeForbiddenChangeCandidate: 0,
15788
15824
  allLoading: null,
15789
15825
  selectUser: false,
15826
+ pOrgId: '',
15790
15827
  multiple: false,
15791
15828
  readMultiple: true,
15792
15829
  showOpinion: true,
@@ -15963,6 +16000,28 @@ var processFormvue_type_script_lang_js_components;
15963
16000
  } else {
15964
16001
  return ['employee', 'enterprise', 'department', 'persongroup'];
15965
16002
  }
16003
+ },
16004
+ fyParams: function fyParams() {
16005
+ var orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
16006
+ var params = {};
16007
+ if (this.configInfo.selectPersonValue == 1) {
16008
+ params.filid = orgId;
16009
+ } else if (this.configInfo.selectPersonValue == 2) {
16010
+ params.filid = orgId;
16011
+ } else if (this.configInfo.selectPersonValue == 3) {
16012
+ params.filid = 'all';
16013
+ } else if (this.configInfo.selectPersonValue == 4) {
16014
+ params.filid = 'all';
16015
+ } else if (this.configInfo.selectPersonValue == 5) {
16016
+ params.filid = '';
16017
+ } else if (this.configInfo.selectPersonValue == 6) {
16018
+ params.filid = '';
16019
+ } else if (this.configInfo.selectPersonValue == 7) {
16020
+ params.filid = orgId;
16021
+ } else if (this.configInfo.selectPersonValue == 8) {
16022
+ params.filid = orgId;
16023
+ }
16024
+ return params;
15966
16025
  }
15967
16026
  },
15968
16027
  created: function created() {
@@ -15984,11 +16043,11 @@ var processFormvue_type_script_lang_js_components;
15984
16043
  },
15985
16044
 
15986
16045
  methods: {
15987
- /**
15988
- * getProcess
15989
- * @desc:获取选择流程
15990
- * @author liufan
15991
- * @date 2022年5月25日
16046
+ /**
16047
+ * getProcess
16048
+ * @desc:获取选择流程
16049
+ * @author liufan
16050
+ * @date 2022年5月25日
15992
16051
  **/
15993
16052
  getProcess: function getProcess(val) {
15994
16053
  var _this2 = this;
@@ -16378,6 +16437,17 @@ var processFormvue_type_script_lang_js_components;
16378
16437
  if ((_this8.isHideOtherOrg || _this8.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
16379
16438
  return _this8.$message.warning('请选择办理对象');
16380
16439
  }
16440
+ if (_this8.isCustomPreset && _this8.activeNames == '1') {
16441
+ for (var i = 0; i < _this8.presetList.length; i++) {
16442
+ if (_this8.presetList[i].name && _this8.presetList[i].name != '1' && _this8.presetList[i].name != 'endEvent' && (!_this8.presetList[i].value || _this8.presetList[i].value.length == 0)) {
16443
+
16444
+ return _this8.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this8.presetList[i].sequence + '-' + _this8.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01');
16445
+ } else {
16446
+ delete _this8.presetList[i].label;
16447
+ }
16448
+ }
16449
+ }
16450
+
16381
16451
  if (_this8.isCancelSecondConfirmationType) {
16382
16452
  _this8.$confirm('确认提交吗?', '提示', {
16383
16453
  confirmButtonText: '确定',
@@ -16794,11 +16864,11 @@ var processFormvue_type_script_lang_js_components;
16794
16864
  });
16795
16865
  },
16796
16866
 
16797
- /**
16798
- * isMultiple
16799
- * @desc:是否多选
16800
- * @author liufan
16801
- * @date 2022年9月13日
16867
+ /**
16868
+ * isMultiple
16869
+ * @desc:是否多选
16870
+ * @author liufan
16871
+ * @date 2022年9月13日
16802
16872
  **/
16803
16873
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
16804
16874
  var multiple = false;
@@ -16824,7 +16894,7 @@ var processFormvue_type_script_lang_js_components;
16824
16894
  }
16825
16895
  }
16826
16896
  if (val == 15 || val == 16) {
16827
- params.filid = this.userModel.orgId;
16897
+ params.filid = this.pOrgId;
16828
16898
  if (pOrgId) {
16829
16899
  params.filid = pOrgId;
16830
16900
  }
@@ -16880,6 +16950,7 @@ var processFormvue_type_script_lang_js_components;
16880
16950
  });
16881
16951
  }
16882
16952
  }
16953
+ _this11.configInfo = res.data;
16883
16954
  _this11.customPresetHintMessage = data.customPresetHintMessage;
16884
16955
  _this11.readOnlyNotificationType = data.readOnlyNotificationType;
16885
16956
  _this11.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
@@ -16934,6 +17005,7 @@ var processFormvue_type_script_lang_js_components;
16934
17005
  _this11.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
16935
17006
  _this11.presetTaskNodeMap = data.presetTaskNodeMap;
16936
17007
  _this11.isSinglePage = data.taskExamine.isSinglePage;
17008
+ _this11.pOrgId = data.pOrgId;
16937
17009
  _this11.isSinglePage && (_this11.nextNode.opinion = data.taskExamine.opinion);
16938
17010
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
16939
17011
  _this11.nextNode.nodeName = data.taskExamine.nodeName;
@@ -16955,7 +17027,11 @@ var processFormvue_type_script_lang_js_components;
16955
17027
  }
16956
17028
  _this11.getNodeInfos(undefined, undefined, processId);
16957
17029
  // this.getPresetFlowInfo();
16958
- _this11.isCustomPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
17030
+ if (_this11.isCustomPreset) {
17031
+ _this11.$nextTick(function () {
17032
+ _this11.$refs.customPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
17033
+ });
17034
+ }
16959
17035
  _this11.getFind();
16960
17036
  _this11.getMessage();
16961
17037
  } else {
@@ -16986,8 +17062,8 @@ var processFormvue_type_script_lang_js_components;
16986
17062
 
16987
17063
  var processForm_component = Object(componentNormalizer["a" /* default */])(
16988
17064
  src_processFormvue_type_script_lang_js_,
16989
- processFormvue_type_template_id_f523153e_render,
16990
- processFormvue_type_template_id_f523153e_staticRenderFns,
17065
+ processFormvue_type_template_id_20fb5670_render,
17066
+ processFormvue_type_template_id_20fb5670_staticRenderFns,
16991
17067
  false,
16992
17068
  null,
16993
17069
  null,
@@ -17879,8 +17955,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
17879
17955
  )
17880
17956
 
17881
17957
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
17882
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
17883
- var processRejectvue_type_template_id_6c65370c_render = function () {
17958
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=1d2ca35f&
17959
+ var processRejectvue_type_template_id_1d2ca35f_render = function () {
17884
17960
  var _vm = this
17885
17961
  var _h = _vm.$createElement
17886
17962
  var _c = _vm._self._c || _h
@@ -18123,11 +18199,11 @@ var processRejectvue_type_template_id_6c65370c_render = function () {
18123
18199
  1
18124
18200
  )
18125
18201
  }
18126
- var processRejectvue_type_template_id_6c65370c_staticRenderFns = []
18127
- processRejectvue_type_template_id_6c65370c_render._withStripped = true
18202
+ var processRejectvue_type_template_id_1d2ca35f_staticRenderFns = []
18203
+ processRejectvue_type_template_id_1d2ca35f_render._withStripped = true
18128
18204
 
18129
18205
 
18130
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
18206
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=1d2ca35f&
18131
18207
 
18132
18208
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
18133
18209
  //
@@ -18235,7 +18311,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18235
18311
  option: { type: String, default: '' },
18236
18312
  hideBtn: { type: Boolean, default: false },
18237
18313
  simpleTips: { type: Boolean, default: true },
18238
- hideMessage: { type: Boolean, default: false }
18314
+ hideMessage: { type: Boolean, default: false },
18315
+ isCancelSecondConfirmationType: { type: Boolean, default: false }
18239
18316
  },
18240
18317
  data: function data() {
18241
18318
  return {
@@ -18304,47 +18381,59 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18304
18381
 
18305
18382
  // 提交表单
18306
18383
  subProcess: function subProcess(formName, isNoObj) {
18384
+ var _this2 = this;
18385
+
18307
18386
  if (isNoObj) {
18308
18387
  this.quit(false);
18309
18388
  return;
18310
18389
  }
18311
- this.saveProcess(formName);
18390
+ if (this.isCancelSecondConfirmationType) {
18391
+ this.$confirm('确认提交吗?', '提示', {
18392
+ confirmButtonText: '确定',
18393
+ cancelButtonText: '取消',
18394
+ type: 'warning'
18395
+ }).then(function () {
18396
+ _this2.saveProcess(formName);
18397
+ }).catch(function () {});
18398
+ } else {
18399
+ this.saveProcess(formName);
18400
+ }
18312
18401
  },
18313
18402
  saveProcess: function saveProcess(formName) {
18314
- var _this2 = this;
18403
+ var _this3 = this;
18315
18404
 
18316
18405
  this.$refs[formName].validate(function (valid) {
18317
18406
  if (valid) {
18318
- if (!_this2.option && _this2.isOpinionRequired === 1) {
18319
- _this2.$message.warning('请选择输入审批意见');
18407
+ if (!_this3.option && _this3.isOpinionRequired === 1) {
18408
+ _this3.$message.warning('请选择输入审批意见');
18320
18409
  return;
18321
18410
  }
18322
- _this2.loading = true;
18323
- var noticeType = _this2.nextNode.noticeType.join(',');
18411
+ _this3.loading = true;
18412
+ var noticeType = _this3.nextNode.noticeType.join(',');
18324
18413
  var params = {
18325
- pendingId: _this2.pendingId,
18326
- opinion: _this2.option, // 审批意见
18327
- notificationMsg: _this2.newsInformation, // 系统消息
18414
+ pendingId: _this3.pendingId,
18415
+ opinion: _this3.option, // 审批意见
18416
+ notificationMsg: _this3.newsInformation, // 系统消息
18328
18417
  notificationType: noticeType,
18329
18418
  userId: util["a" /* default */].getStorage('userId'),
18330
- nextNodeId: _this2.nextNode.nextNodeId
18419
+ nextNodeId: _this3.nextNode.nextNodeId
18331
18420
  };
18332
18421
  util["a" /* default */].ajax({ url: api["lc" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
18333
18422
  var status = res.status,
18334
18423
  message = res.message;
18335
18424
 
18336
- _this2.loading = false;
18425
+ _this3.loading = false;
18337
18426
  if (status === 'success') {
18338
- _this2.quit(true);
18339
- _this2.simpleTips && _this2.$message.success('操作成功');
18427
+ _this3.quit(true);
18428
+ _this3.simpleTips && _this3.$message.success('操作成功');
18340
18429
  } else {
18341
- _this2.$message.error(message || '系统错误,请联系管理员!');
18342
- _this2.quit(false);
18430
+ _this3.$message.error(message || '系统错误,请联系管理员!');
18431
+ _this3.quit(false);
18343
18432
  }
18344
18433
  }).catch(function (err) {
18345
- _this2.loading = false;
18434
+ _this3.loading = false;
18346
18435
  if (err.message && err.message !== 'canceled') {
18347
- _this2.$message.error(err.message);
18436
+ _this3.$message.error(err.message);
18348
18437
  }
18349
18438
  });
18350
18439
  } else {
@@ -18358,7 +18447,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18358
18447
  this.$emit('cancel', val);
18359
18448
  },
18360
18449
  getFind: function getFind() {
18361
- var _this3 = this;
18450
+ var _this4 = this;
18362
18451
 
18363
18452
  util["a" /* default */].ajax({
18364
18453
  url: api["I" /* findSysCodes */]
@@ -18367,27 +18456,27 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18367
18456
  message = res.message;
18368
18457
 
18369
18458
  if (status === 'success') {
18370
- if (_this3.hideMessage) return;
18371
- _this3.nextNode.noticeType = message.split(',');
18459
+ if (_this4.hideMessage) return;
18460
+ _this4.nextNode.noticeType = message.split(',');
18372
18461
  var arr = [];
18373
- _this3.nextNode.noticeList.map(function (item) {
18374
- _this3.nextNode.noticeType.map(function (x) {
18462
+ _this4.nextNode.noticeList.map(function (item) {
18463
+ _this4.nextNode.noticeType.map(function (x) {
18375
18464
  if (x == item.cciValue) {
18376
18465
  arr.push(x);
18377
18466
  }
18378
18467
  });
18379
18468
  });
18380
- _this3.nextNode.noticeType = arr;
18469
+ _this4.nextNode.noticeType = arr;
18381
18470
  }
18382
18471
  }).catch(function (err) {
18383
- _this3.loading = false;
18472
+ _this4.loading = false;
18384
18473
  if (err.message && err.message !== 'canceled') {
18385
- _this3.$message.error(err.message);
18474
+ _this4.$message.error(err.message);
18386
18475
  }
18387
18476
  });
18388
18477
  },
18389
18478
  getProcessReject: function getProcessReject() {
18390
- var _this4 = this;
18479
+ var _this5 = this;
18391
18480
 
18392
18481
  this.loading = true;
18393
18482
  var params = {
@@ -18396,7 +18485,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18396
18485
  opinion: this.option
18397
18486
  };
18398
18487
  util["a" /* default */].ajax({ url: api["Cc" /* toTaskRejectHtml */], params: params }).then(function (res) {
18399
- _this4.loading = false;
18488
+ _this5.loading = false;
18400
18489
  if (res.status === 'success') {
18401
18490
  var _res$data = res.data,
18402
18491
  rejectTaskNodes = _res$data.rejectTaskNodes,
@@ -18405,11 +18494,11 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18405
18494
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
18406
18495
  readOnlyNotificationType = _res$data.readOnlyNotificationType;
18407
18496
 
18408
- _this4.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
18409
- _this4.readOnlyNotificationType = readOnlyNotificationType;
18410
- _this4.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
18411
- if (!_this4.isOpinionRequired) {
18412
- _this4.isOpinionRequired = 0;
18497
+ _this5.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
18498
+ _this5.readOnlyNotificationType = readOnlyNotificationType;
18499
+ _this5.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
18500
+ if (!_this5.isOpinionRequired) {
18501
+ _this5.isOpinionRequired = 0;
18413
18502
  }
18414
18503
  var list = [];
18415
18504
  if (rejectTaskNodes) {
@@ -18420,18 +18509,18 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18420
18509
  };
18421
18510
  list.push(obj);
18422
18511
  }
18423
- _this4.nodeName = taskExamine.nodeName;
18424
- _this4.rejectObj = list;
18425
- _this4.rejectObj.length != 0 && (_this4.nextNode.nextNodeId = _this4.rejectObj[0].id);
18512
+ _this5.nodeName = taskExamine.nodeName;
18513
+ _this5.rejectObj = list;
18514
+ _this5.rejectObj.length != 0 && (_this5.nextNode.nextNodeId = _this5.rejectObj[0].id);
18426
18515
  }
18427
18516
  } else {
18428
- _this4.$message.error(res.message || '系统错误,请联系管理员!');
18429
- _this4.quit(false);
18517
+ _this5.$message.error(res.message || '系统错误,请联系管理员!');
18518
+ _this5.quit(false);
18430
18519
  }
18431
18520
  }).catch(function (err) {
18432
- _this4.loading = false;
18521
+ _this5.loading = false;
18433
18522
  if (err.message && err.message !== 'canceled') {
18434
- _this4.$message.error(err.message);
18523
+ _this5.$message.error(err.message);
18435
18524
  }
18436
18525
  });
18437
18526
  }
@@ -18449,8 +18538,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18449
18538
 
18450
18539
  var processReject_component = Object(componentNormalizer["a" /* default */])(
18451
18540
  src_processRejectvue_type_script_lang_js_,
18452
- processRejectvue_type_template_id_6c65370c_render,
18453
- processRejectvue_type_template_id_6c65370c_staticRenderFns,
18541
+ processRejectvue_type_template_id_1d2ca35f_render,
18542
+ processRejectvue_type_template_id_1d2ca35f_staticRenderFns,
18454
18543
  false,
18455
18544
  null,
18456
18545
  null,
@@ -21077,8 +21166,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
21077
21166
  )
21078
21167
 
21079
21168
  /* harmony default export */ var src_reset = (reset_component.exports);
21080
- // 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=3256c512&
21081
- var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21169
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
21170
+ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
21082
21171
  var _vm = this
21083
21172
  var _h = _vm.$createElement
21084
21173
  var _c = _vm._self._c || _h
@@ -21104,7 +21193,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21104
21193
  attrs: {
21105
21194
  model: _vm.infoList,
21106
21195
  rules: _vm.rules,
21107
- "label-width": "120px",
21196
+ "label-width": _vm.type != "startDraf" ? "80px" : "120px",
21108
21197
  },
21109
21198
  },
21110
21199
  [
@@ -21158,6 +21247,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21158
21247
  selectorTags: 4,
21159
21248
  showTooltip: _vm.showTooltip,
21160
21249
  mix: _vm.currentMix,
21250
+ title: "选择对象",
21161
21251
  isUnionSeal: _vm.type == "unionSeal",
21162
21252
  selectUserList: _vm.unionSealData || [],
21163
21253
  types:
@@ -21393,11 +21483,11 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21393
21483
  1
21394
21484
  )
21395
21485
  }
21396
- var taskUnionExaminevue_type_template_id_3256c512_staticRenderFns = []
21397
- taskUnionExaminevue_type_template_id_3256c512_render._withStripped = true
21486
+ var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
21487
+ taskUnionExaminevue_type_template_id_f2f9c652_render._withStripped = true
21398
21488
 
21399
21489
 
21400
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=3256c512&
21490
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
21401
21491
 
21402
21492
  // 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&
21403
21493
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -21576,6 +21666,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
21576
21666
  //
21577
21667
  //
21578
21668
  //
21669
+ //
21579
21670
 
21580
21671
 
21581
21672
 
@@ -21831,13 +21922,13 @@ var taskUnionExaminevue_type_script_lang_js_components;
21831
21922
  var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
21832
21923
  _this3.currentOrgTabs.map(function (x, i) {
21833
21924
  _this3.params[x] = {
21834
- filid: param[i] == 'my' ? _this3.params.filid = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId : param[i],
21925
+ filid: param[i] == 'my' ? _this3.params.filid = choiceOrgId || JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId : param[i],
21835
21926
  only_filid: true
21836
21927
  };
21837
21928
  });
21838
21929
  } else {
21839
21930
  if (_this3.type == 'takeAdvice') {
21840
- _this3.params.filid = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
21931
+ _this3.params.filid = choiceOrgId || JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
21841
21932
  }
21842
21933
  }
21843
21934
 
@@ -22104,8 +22195,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
22104
22195
 
22105
22196
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22106
22197
  component_taskUnionExaminevue_type_script_lang_js_,
22107
- taskUnionExaminevue_type_template_id_3256c512_render,
22108
- taskUnionExaminevue_type_template_id_3256c512_staticRenderFns,
22198
+ taskUnionExaminevue_type_template_id_f2f9c652_render,
22199
+ taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
22109
22200
  false,
22110
22201
  null,
22111
22202
  null,
@@ -22114,8 +22205,8 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22114
22205
  )
22115
22206
 
22116
22207
  /* harmony default export */ var taskUnionExamine = (taskUnionExamine_component.exports);
22117
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/freeStartFlow.vue?vue&type=template&id=458144cd&
22118
- var freeStartFlowvue_type_template_id_458144cd_render = function () {
22208
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/freeStartFlow.vue?vue&type=template&id=61ab09c6&
22209
+ var freeStartFlowvue_type_template_id_61ab09c6_render = function () {
22119
22210
  var _vm = this
22120
22211
  var _h = _vm.$createElement
22121
22212
  var _c = _vm._self._c || _h
@@ -24232,11 +24323,11 @@ var freeStartFlowvue_type_template_id_458144cd_render = function () {
24232
24323
  )
24233
24324
  : _vm._e()
24234
24325
  }
24235
- var freeStartFlowvue_type_template_id_458144cd_staticRenderFns = []
24236
- freeStartFlowvue_type_template_id_458144cd_render._withStripped = true
24326
+ var freeStartFlowvue_type_template_id_61ab09c6_staticRenderFns = []
24327
+ freeStartFlowvue_type_template_id_61ab09c6_render._withStripped = true
24237
24328
 
24238
24329
 
24239
- // CONCATENATED MODULE: ./packages/flow/src/freeStartFlow.vue?vue&type=template&id=458144cd&
24330
+ // CONCATENATED MODULE: ./packages/flow/src/freeStartFlow.vue?vue&type=template&id=61ab09c6&
24240
24331
 
24241
24332
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/freeStartFlow.vue?vue&type=script&lang=js&
24242
24333
 
@@ -25598,11 +25689,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25598
25689
  });
25599
25690
  },
25600
25691
 
25601
- /**
25602
- * saveInfo
25603
- * @desc:暂存
25604
- * @author liufan
25605
- * @date 2022年9月9日
25692
+ /**
25693
+ * saveInfo
25694
+ * @desc:暂存
25695
+ * @author liufan
25696
+ * @date 2022年9月9日
25606
25697
  **/
25607
25698
  saveInfo: function saveInfo(type, btn) {
25608
25699
  var _this6 = this;
@@ -25664,11 +25755,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25664
25755
  });
25665
25756
  },
25666
25757
 
25667
- /**
25668
- * rejectBtn
25669
- * @desc:点击驳回
25670
- * @author liufan
25671
- * @date 2022年5月25日
25758
+ /**
25759
+ * rejectBtn
25760
+ * @desc:点击驳回
25761
+ * @author liufan
25762
+ * @date 2022年5月25日
25672
25763
  **/
25673
25764
  rejectBtn: function rejectBtn() {
25674
25765
  var _this8 = this;
@@ -25686,11 +25777,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25686
25777
  }
25687
25778
  },
25688
25779
 
25689
- /**
25690
- * taskReadBtn
25691
- * @desc:点击分阅
25692
- * @author liufan
25693
- * @date 2022年5月25日
25780
+ /**
25781
+ * taskReadBtn
25782
+ * @desc:点击分阅
25783
+ * @author liufan
25784
+ * @date 2022年5月25日
25694
25785
  **/
25695
25786
  taskReadBtn: function taskReadBtn() {
25696
25787
  var _this9 = this;
@@ -25709,11 +25800,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25709
25800
  }
25710
25801
  },
25711
25802
 
25712
- /**
25713
- * getFind
25714
- * @desc:获取通知方式
25715
- * @author liufan
25716
- * @date 2022年5月25日
25803
+ /**
25804
+ * getFind
25805
+ * @desc:获取通知方式
25806
+ * @author liufan
25807
+ * @date 2022年5月25日
25717
25808
  **/
25718
25809
  getFind: function getFind() {
25719
25810
  var _this10 = this;
@@ -25769,12 +25860,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25769
25860
  });
25770
25861
  },
25771
25862
 
25772
- /**
25773
- * endFlows
25774
- * @desc:直接办结
25775
- * @author liufan
25776
- * @param {Object} res 直接办结数据
25777
- * @date 2022年5月25日
25863
+ /**
25864
+ * endFlows
25865
+ * @desc:直接办结
25866
+ * @author liufan
25867
+ * @param {Object} res 直接办结数据
25868
+ * @date 2022年5月25日
25778
25869
  **/
25779
25870
  endFlows: function endFlows(res) {
25780
25871
  var _this12 = this;
@@ -25828,12 +25919,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25828
25919
  }).catch(function (e) {});
25829
25920
  },
25830
25921
 
25831
- /**
25832
- * goView
25833
- * @desc:更多流程按钮操作
25834
- * @author liufan
25835
- * @param {Object} res 当前点击操作按钮数据
25836
- * @date 2022年5月25日
25922
+ /**
25923
+ * goView
25924
+ * @desc:更多流程按钮操作
25925
+ * @author liufan
25926
+ * @param {Object} res 当前点击操作按钮数据
25927
+ * @date 2022年5月25日
25837
25928
  **/
25838
25929
  goView: function goView(res) {
25839
25930
  // 驳回并办结:rejectAndEndHtml
@@ -25918,11 +26009,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25918
26009
  // isCanStartSubFlow
25919
26010
  },
25920
26011
 
25921
- /**
25922
- * toTakeAdvice
25923
- * @desc:征求意见
25924
- * @author liufan
25925
- * @date 2022年9月29日
26012
+ /**
26013
+ * toTakeAdvice
26014
+ * @desc:征求意见
26015
+ * @author liufan
26016
+ * @date 2022年9月29日
25926
26017
  **/
25927
26018
  toTakeAdvice: function toTakeAdvice(res) {
25928
26019
  var _this14 = this;
@@ -25966,11 +26057,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25966
26057
  });
25967
26058
  },
25968
26059
 
25969
- /**
25970
- * toStartDraf
25971
- * @desc: 稿件递送、联合审核、复核
25972
- * @author liufan
25973
- * @date 2022年9月29日
26060
+ /**
26061
+ * toStartDraf
26062
+ * @desc: 稿件递送、联合审核、复核
26063
+ * @author liufan
26064
+ * @date 2022年9月29日
25974
26065
  **/
25975
26066
  toStartDraf: function toStartDraf(res) {
25976
26067
  var _this16 = this;
@@ -25984,11 +26075,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25984
26075
  }
25985
26076
  },
25986
26077
 
25987
- /**
25988
- * toSendMsg
25989
- * @desc:核稿通知
25990
- * @author liufan
25991
- * @date 2022年9月29日
26078
+ /**
26079
+ * toSendMsg
26080
+ * @desc:核稿通知
26081
+ * @author liufan
26082
+ * @date 2022年9月29日
25992
26083
  **/
25993
26084
  toSendMsg: function toSendMsg(res) {
25994
26085
  var _this17 = this;
@@ -26002,11 +26093,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26002
26093
  }
26003
26094
  },
26004
26095
 
26005
- /**
26006
- * toTaskReadAndEnd
26007
- * @desc:分阅并办结
26008
- * @author liufan
26009
- * @date 2022年9月29日
26096
+ /**
26097
+ * toTaskReadAndEnd
26098
+ * @desc:分阅并办结
26099
+ * @author liufan
26100
+ * @date 2022年9月29日
26010
26101
  **/
26011
26102
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
26012
26103
  var _this18 = this;
@@ -26024,11 +26115,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26024
26115
  }
26025
26116
  },
26026
26117
 
26027
- /**
26028
- * rejectAndEnd
26029
- * @desc:驳回并办结
26030
- * @author liufan
26031
- * @date 2022年9月29日
26118
+ /**
26119
+ * rejectAndEnd
26120
+ * @desc:驳回并办结
26121
+ * @author liufan
26122
+ * @date 2022年9月29日
26032
26123
  **/
26033
26124
  rejectAndEnd: function rejectAndEnd(res) {
26034
26125
  var _this19 = this;
@@ -26083,11 +26174,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26083
26174
  });
26084
26175
  },
26085
26176
 
26086
- /**
26087
- * toTransfer
26088
- * @desc:转办
26089
- * @author liufan
26090
- * @date 2022年9月29日
26177
+ /**
26178
+ * toTransfer
26179
+ * @desc:转办
26180
+ * @author liufan
26181
+ * @date 2022年9月29日
26091
26182
  **/
26092
26183
  toTransfer: function toTransfer(res) {
26093
26184
  var _this21 = this;
@@ -26103,11 +26194,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26103
26194
  }
26104
26195
  },
26105
26196
 
26106
- /**
26107
- * getNodeInfo
26108
- * @desc:获取节点信息
26109
- * @author liufan
26110
- * @date 2022年5月25日
26197
+ /**
26198
+ * getNodeInfo
26199
+ * @desc:获取节点信息
26200
+ * @author liufan
26201
+ * @date 2022年5月25日
26111
26202
  **/
26112
26203
  getNodeInfo: function getNodeInfo() {
26113
26204
  var _this22 = this;
@@ -26194,7 +26285,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26194
26285
  _this22.handleMode = data.countersignaturetypeText;
26195
26286
  data.globalNodeType === 'endEvent' ? _this22.endFlow = true : '';
26196
26287
  }
26197
- _this22.isCustomPreset && _this22.$refs.customPreset.getPresetFlowInfo(_this22.nextNode.nextNodeId, _this22.nodeInfo.nextNode, true);
26288
+ if (_this22.isCustomPreset) {
26289
+ _this22.$nextTick(function () {
26290
+ _this22.$refs.customPreset && _this22.$refs.customPreset.getPresetFlowInfo(_this22.nextNode.nextNodeId, _this22.nodeInfo.nextNode, true);
26291
+ });
26292
+ }
26198
26293
  } else {
26199
26294
  _this22.$message.error(message || '系统错误,请联系管理员!');
26200
26295
  }
@@ -26206,12 +26301,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26206
26301
  });
26207
26302
  },
26208
26303
 
26209
- /**
26210
- * selecNext
26211
- * @desc:下步节点变化时更新数据
26212
- * @author liufan
26213
- * @param {String} val 当前选中值
26214
- * @date 2022年5月25日
26304
+ /**
26305
+ * selecNext
26306
+ * @desc:下步节点变化时更新数据
26307
+ * @author liufan
26308
+ * @param {String} val 当前选中值
26309
+ * @date 2022年5月25日
26215
26310
  **/
26216
26311
  selecNext: function selecNext(val, type, isDef) {
26217
26312
  var _this23 = this;
@@ -26320,11 +26415,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26320
26415
  if (isDef !== true) this.getNodeInfo();
26321
26416
  },
26322
26417
 
26323
- /**
26324
- * isMultiple
26325
- * @desc:是否多选
26326
- * @author liufan
26327
- * @date 2022年9月13日
26418
+ /**
26419
+ * isMultiple
26420
+ * @desc:是否多选
26421
+ * @author liufan
26422
+ * @date 2022年9月13日
26328
26423
  **/
26329
26424
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
26330
26425
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -26356,11 +26451,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26356
26451
  }
26357
26452
  },
26358
26453
 
26359
- /**
26360
- * getHedInfo
26361
- * @desc:获取审核页面数据
26362
- * @author liufan
26363
- * @date 2022年5月25日
26454
+ /**
26455
+ * getHedInfo
26456
+ * @desc:获取审核页面数据
26457
+ * @author liufan
26458
+ * @date 2022年5月25日
26364
26459
  **/
26365
26460
  getHedInfo: function getHedInfo() {
26366
26461
  var _this24 = this;
@@ -26596,13 +26691,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26596
26691
  });
26597
26692
  },
26598
26693
 
26599
- /**
26600
- * closeProcess
26601
- * @desc:关闭弹窗
26602
- * @author liufan
26603
- * @param {boolean} val 当前是否办理流程
26604
- * @param {String} type 当前点击的弹窗类型
26605
- * @date 2022年5月25日
26694
+ /**
26695
+ * closeProcess
26696
+ * @desc:关闭弹窗
26697
+ * @author liufan
26698
+ * @param {boolean} val 当前是否办理流程
26699
+ * @param {String} type 当前点击的弹窗类型
26700
+ * @date 2022年5月25日
26606
26701
  **/
26607
26702
  closeProcess: function closeProcess(val, type, closeParent) {
26608
26703
  if (closeParent) {
@@ -26619,23 +26714,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26619
26714
  }
26620
26715
  },
26621
26716
 
26622
- /**
26623
- * selectChange
26624
- * @desc:常用语选择
26625
- * @author liufan
26626
- * @param {String} val 选中值
26627
- * @date 2022年5月25日
26717
+ /**
26718
+ * selectChange
26719
+ * @desc:常用语选择
26720
+ * @author liufan
26721
+ * @param {String} val 选中值
26722
+ * @date 2022年5月25日
26628
26723
  **/
26629
26724
  selectChange: function selectChange(val) {
26630
26725
  this.value = val;
26631
26726
  },
26632
26727
 
26633
- /**
26634
- * upDate
26635
- * @desc:修改常用语
26636
- * @author liufan
26637
- * @param {Object} val 修改值
26638
- * @date 2022年5月25日
26728
+ /**
26729
+ * upDate
26730
+ * @desc:修改常用语
26731
+ * @author liufan
26732
+ * @param {Object} val 修改值
26733
+ * @date 2022年5月25日
26639
26734
  **/
26640
26735
  upDate: function upDate(val) {
26641
26736
  this.FormData.id = val.id;
@@ -26643,11 +26738,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26643
26738
  },
26644
26739
 
26645
26740
 
26646
- /**
26647
- * getProcess
26648
- * @desc:获取选择流程
26649
- * @author liufan
26650
- * @date 2022年5月25日
26741
+ /**
26742
+ * getProcess
26743
+ * @desc:获取选择流程
26744
+ * @author liufan
26745
+ * @date 2022年5月25日
26651
26746
  **/
26652
26747
  getProcess: function getProcess() {
26653
26748
  var _this25 = this;
@@ -26701,11 +26796,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26701
26796
  });
26702
26797
  },
26703
26798
 
26704
- /**
26705
- * getPendedhistoryList
26706
- * @desc:获取流程列表
26707
- * @author liufan
26708
- * @date 2022年5月25日
26799
+ /**
26800
+ * getPendedhistoryList
26801
+ * @desc:获取流程列表
26802
+ * @author liufan
26803
+ * @date 2022年5月25日
26709
26804
  **/
26710
26805
  getPendedhistoryList: function getPendedhistoryList() {
26711
26806
  var _this26 = this;
@@ -26737,12 +26832,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26737
26832
  },
26738
26833
 
26739
26834
  // 提交流程
26740
- /**
26741
- * subProcess
26742
- * @desc:提交流程
26743
- * @author liufan
26744
- * @param {String} formName 当前form表单ref值
26745
- * @date 2022年5月25日
26835
+ /**
26836
+ * subProcess
26837
+ * @desc:提交流程
26838
+ * @author liufan
26839
+ * @param {String} formName 当前form表单ref值
26840
+ * @date 2022年5月25日
26746
26841
  **/
26747
26842
  subProcess: function subProcess(val) {
26748
26843
  var _this27 = this;
@@ -26992,8 +27087,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26992
27087
 
26993
27088
  var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
26994
27089
  src_freeStartFlowvue_type_script_lang_js_,
26995
- freeStartFlowvue_type_template_id_458144cd_render,
26996
- freeStartFlowvue_type_template_id_458144cd_staticRenderFns,
27090
+ freeStartFlowvue_type_template_id_61ab09c6_render,
27091
+ freeStartFlowvue_type_template_id_61ab09c6_staticRenderFns,
26997
27092
  false,
26998
27093
  null,
26999
27094
  null,
@@ -29939,6 +30034,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
29939
30034
  //
29940
30035
  //
29941
30036
  //
30037
+ //
30038
+ //
29942
30039
 
29943
30040
 
29944
30041
 
@@ -29979,6 +30076,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
29979
30076
  hideBtn: { type: Boolean, default: false },
29980
30077
  isCirculate: { type: Boolean, default: false },
29981
30078
  newFlow: { type: Boolean, default: false },
30079
+ ownerType: { type: String, default: '' },
29982
30080
  formLabelPosition: {
29983
30081
  type: String,
29984
30082
  default: 'left'
@@ -30371,6 +30469,28 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30371
30469
  } else {
30372
30470
  return { width: '100%' };
30373
30471
  }
30472
+ },
30473
+ fyParams: function fyParams() {
30474
+ var orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
30475
+ var params = {};
30476
+ if (this.configInfo.selectPersonValue == 1) {
30477
+ params.filid = orgId;
30478
+ } else if (this.configInfo.selectPersonValue == 2) {
30479
+ params.filid = orgId;
30480
+ } else if (this.configInfo.selectPersonValue == 3) {
30481
+ params.filid = 'all';
30482
+ } else if (this.configInfo.selectPersonValue == 4) {
30483
+ params.filid = 'all';
30484
+ } else if (this.configInfo.selectPersonValue == 5) {
30485
+ params.filid = '';
30486
+ } else if (this.configInfo.selectPersonValue == 6) {
30487
+ params.filid = '';
30488
+ } else if (this.configInfo.selectPersonValue == 7) {
30489
+ params.filid = orgId;
30490
+ } else if (this.configInfo.selectPersonValue == 8) {
30491
+ params.filid = orgId;
30492
+ }
30493
+ return params;
30374
30494
  }
30375
30495
  },
30376
30496
  methods: {
@@ -30868,11 +30988,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30868
30988
  });
30869
30989
  },
30870
30990
 
30871
- /**
30872
- * saveInfo
30873
- * @desc:暂存
30874
- * @author liufan
30875
- * @date 2022年9月9日
30991
+ /**
30992
+ * saveInfo
30993
+ * @desc:暂存
30994
+ * @author liufan
30995
+ * @date 2022年9月9日
30876
30996
  **/
30877
30997
  saveInfo: function saveInfo(type, btn) {
30878
30998
  var _this14 = this;
@@ -30934,11 +31054,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30934
31054
  });
30935
31055
  },
30936
31056
 
30937
- /**
30938
- * rejectBtn
30939
- * @desc:点击驳回
30940
- * @author liufan
30941
- * @date 2022年5月25日
31057
+ /**
31058
+ * rejectBtn
31059
+ * @desc:点击驳回
31060
+ * @author liufan
31061
+ * @date 2022年5月25日
30942
31062
  **/
30943
31063
  rejectBtn: function rejectBtn(res) {
30944
31064
  var _this16 = this;
@@ -30958,11 +31078,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30958
31078
  }
30959
31079
  },
30960
31080
 
30961
- /**
30962
- * taskReadBtn
30963
- * @desc:点击分阅
30964
- * @author liufan
30965
- * @date 2022年5月25日
31081
+ /**
31082
+ * taskReadBtn
31083
+ * @desc:点击分阅
31084
+ * @author liufan
31085
+ * @date 2022年5月25日
30966
31086
  **/
30967
31087
  taskReadBtn: function taskReadBtn(res) {
30968
31088
  var _this17 = this;
@@ -30984,11 +31104,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30984
31104
  }
30985
31105
  },
30986
31106
 
30987
- /**
30988
- * getFind
30989
- * @desc:获取通知方式
30990
- * @author liufan
30991
- * @date 2022年5月25日
31107
+ /**
31108
+ * getFind
31109
+ * @desc:获取通知方式
31110
+ * @author liufan
31111
+ * @date 2022年5月25日
30992
31112
  **/
30993
31113
  getFind: function getFind() {
30994
31114
  var _this18 = this;
@@ -31055,12 +31175,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31055
31175
  });
31056
31176
  },
31057
31177
 
31058
- /**
31059
- * endFlows
31060
- * @desc:直接办结
31061
- * @author liufan
31062
- * @param {Object} res 直接办结数据
31063
- * @date 2022年5月25日
31178
+ /**
31179
+ * endFlows
31180
+ * @desc:直接办结
31181
+ * @author liufan
31182
+ * @param {Object} res 直接办结数据
31183
+ * @date 2022年5月25日
31064
31184
  **/
31065
31185
  endFlows: function endFlows(res) {
31066
31186
  var _this20 = this;
@@ -31074,9 +31194,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31074
31194
  }
31075
31195
  },
31076
31196
 
31077
- /**
31078
- * 获取弹性布局样式
31079
- * @returns {string} 弹性布局值
31197
+ /**
31198
+ * 获取弹性布局样式
31199
+ * @returns {string} 弹性布局值
31080
31200
  */
31081
31201
  getFlexStyle: function getFlexStyle() {
31082
31202
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -31124,12 +31244,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31124
31244
  }).catch(function (e) {});
31125
31245
  },
31126
31246
 
31127
- /**
31128
- * goView
31129
- * @desc:更多流程按钮操作
31130
- * @author liufan
31131
- * @param {Object} res 当前点击操作按钮数据
31132
- * @date 2022年5月25日
31247
+ /**
31248
+ * goView
31249
+ * @desc:更多流程按钮操作
31250
+ * @author liufan
31251
+ * @param {Object} res 当前点击操作按钮数据
31252
+ * @date 2022年5月25日
31133
31253
  **/
31134
31254
  goView: function goView(res) {
31135
31255
  // 驳回并办结:rejectAndEndHtml
@@ -31141,7 +31261,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31141
31261
  // 驳回:taskRejectHtml
31142
31262
  // 直接办结:endFlowHtml
31143
31263
  // 自由发起子流程:toFreeStartFlow
31144
- console.log(res, '123');
31145
31264
  if (res.type == 4) {
31146
31265
  this.$emit('buttonClick', { fun: res.fun, opinion: this.value }, this.sendData);
31147
31266
  } else if (res.fun === 'toStartTaskRead()') {
@@ -31219,11 +31338,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31219
31338
  // isCanStartSubFlow
31220
31339
  },
31221
31340
 
31222
- /**
31223
- * toTakeAdvice
31224
- * @desc:征求意见
31225
- * @author liufan
31226
- * @date 2022年9月29日
31341
+ /**
31342
+ * toTakeAdvice
31343
+ * @desc:征求意见
31344
+ * @author liufan
31345
+ * @date 2022年9月29日
31227
31346
  **/
31228
31347
  toTakeAdvice: function toTakeAdvice(res) {
31229
31348
  var _this22 = this;
@@ -31271,16 +31390,15 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31271
31390
  });
31272
31391
  },
31273
31392
 
31274
- /**
31275
- * toStartDraf
31276
- * @desc: 稿件递送、联合审核、复核
31277
- * @author liufan
31278
- * @date 2022年9月29日
31393
+ /**
31394
+ * toStartDraf
31395
+ * @desc: 稿件递送、联合审核、复核
31396
+ * @author liufan
31397
+ * @date 2022年9月29日
31279
31398
  **/
31280
31399
  toStartDraf: function toStartDraf(res) {
31281
31400
  var _this24 = this;
31282
31401
 
31283
- console.log(res);
31284
31402
  if (this.beforeSubmit != undefined) {
31285
31403
  this.beforeSubmit().then(function (next) {
31286
31404
  // this.showTaskUnionExamine = true;
@@ -31299,11 +31417,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31299
31417
  }
31300
31418
  },
31301
31419
 
31302
- /**
31303
- * toSendMsg
31304
- * @desc:核稿通知
31305
- * @author liufan
31306
- * @date 2022年9月29日
31420
+ /**
31421
+ * toSendMsg
31422
+ * @desc:核稿通知
31423
+ * @author liufan
31424
+ * @date 2022年9月29日
31307
31425
  **/
31308
31426
  toSendMsg: function toSendMsg(res) {
31309
31427
  var _this25 = this;
@@ -31317,11 +31435,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31317
31435
  }
31318
31436
  },
31319
31437
 
31320
- /**
31321
- * toTaskReadAndEnd
31322
- * @desc:分阅并办结
31323
- * @author liufan
31324
- * @date 2022年9月29日
31438
+ /**
31439
+ * toTaskReadAndEnd
31440
+ * @desc:分阅并办结
31441
+ * @author liufan
31442
+ * @date 2022年9月29日
31325
31443
  **/
31326
31444
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31327
31445
  var _this26 = this;
@@ -31339,11 +31457,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31339
31457
  }
31340
31458
  },
31341
31459
 
31342
- /**
31343
- * rejectAndEnd
31344
- * @desc:驳回并办结
31345
- * @author liufan
31346
- * @date 2022年9月29日
31460
+ /**
31461
+ * rejectAndEnd
31462
+ * @desc:驳回并办结
31463
+ * @author liufan
31464
+ * @date 2022年9月29日
31347
31465
  **/
31348
31466
  rejectAndEnd: function rejectAndEnd(res) {
31349
31467
  var _this27 = this;
@@ -31399,11 +31517,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31399
31517
  });
31400
31518
  },
31401
31519
 
31402
- /**
31403
- * toTransfer
31404
- * @desc:转办
31405
- * @author liufan
31406
- * @date 2022年9月29日
31520
+ /**
31521
+ * toTransfer
31522
+ * @desc:转办
31523
+ * @author liufan
31524
+ * @date 2022年9月29日
31407
31525
  **/
31408
31526
  toTransfer: function toTransfer(res) {
31409
31527
  var _this29 = this;
@@ -31422,11 +31540,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31422
31540
  this.nextNode.customLimitTime = val;
31423
31541
  },
31424
31542
 
31425
- /**
31426
- * getNodeInfo
31427
- * @desc:获取节点信息
31428
- * @author liufan
31429
- * @date 2022年5月25日
31543
+ /**
31544
+ * getNodeInfo
31545
+ * @desc:获取节点信息
31546
+ * @author liufan
31547
+ * @date 2022年5月25日
31430
31548
  **/
31431
31549
  getNodeInfo: function getNodeInfo() {
31432
31550
  var _this30 = this;
@@ -31557,8 +31675,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31557
31675
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
31558
31676
  }
31559
31677
  }
31560
- console.log(_this30.$refs.customPreset.getPresetFlowInfo, 'his.$refs.customPreset');
31561
- _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
31678
+ if (_this30.isCustomPreset) {
31679
+ _this30.$nextTick(function () {
31680
+ _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
31681
+ });
31682
+ }
31562
31683
  } else {
31563
31684
  _this30.$message.error(message || '系统错误,请联系管理员!');
31564
31685
  }
@@ -31570,12 +31691,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31570
31691
  });
31571
31692
  },
31572
31693
 
31573
- /**
31574
- * selecNext
31575
- * @desc:下步节点变化时更新数据
31576
- * @author liufan
31577
- * @param {String} val 当前选中值
31578
- * @date 2022年5月25日
31694
+ /**
31695
+ * selecNext
31696
+ * @desc:下步节点变化时更新数据
31697
+ * @author liufan
31698
+ * @param {String} val 当前选中值
31699
+ * @date 2022年5月25日
31579
31700
  **/
31580
31701
  selecNext: function selecNext(val, type, isDef) {
31581
31702
  var _this31 = this;
@@ -31715,11 +31836,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31715
31836
  }
31716
31837
  },
31717
31838
 
31718
- /**
31719
- * isMultiple
31720
- * @desc:是否多选
31721
- * @author liufan
31722
- * @date 2022年9月13日
31839
+ /**
31840
+ * isMultiple
31841
+ * @desc:是否多选
31842
+ * @author liufan
31843
+ * @date 2022年9月13日
31723
31844
  **/
31724
31845
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
31725
31846
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -31744,7 +31865,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31744
31865
  }
31745
31866
  }
31746
31867
  if (val == 15 || val == 16) {
31747
- this.params.filid = this.userModel.orgId;
31868
+ this.params.filid = this.pOrgId;
31748
31869
  if (pOrgId) {
31749
31870
  this.params.filid = pOrgId;
31750
31871
  }
@@ -31754,11 +31875,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31754
31875
  return fun.replace('()', '');
31755
31876
  },
31756
31877
 
31757
- /**
31758
- * getHedInfo
31759
- * @desc:获取审核页面数据
31760
- * @author liufan
31761
- * @date 2022年5月25日
31878
+ /**
31879
+ * getHedInfo
31880
+ * @desc:获取审核页面数据
31881
+ * @author liufan
31882
+ * @date 2022年5月25日
31762
31883
  **/
31763
31884
  getHedInfo: function getHedInfo() {
31764
31885
  var _this32 = this;
@@ -32034,7 +32155,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32034
32155
  // opinion && (this.value = opinion);
32035
32156
  _this32.nextNode.notificationMsg = defaultNotificationMessage;
32036
32157
  _this32.moreList = [];
32037
- console.log(taskButtonList, 'taskButtonList');
32038
32158
  if (taskButtonList && taskButtonList.length != 0) {
32039
32159
  taskButtonList.map(function (item) {
32040
32160
  if (item.fun === 'reject()') {
@@ -32077,13 +32197,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32077
32197
  });
32078
32198
  },
32079
32199
 
32080
- /**
32081
- * closeProcess
32082
- * @desc:关闭弹窗
32083
- * @author liufan
32084
- * @param {boolean} val 当前是否办理流程
32085
- * @param {String} type 当前点击的弹窗类型
32086
- * @date 2022年5月25日
32200
+ /**
32201
+ * closeProcess
32202
+ * @desc:关闭弹窗
32203
+ * @author liufan
32204
+ * @param {boolean} val 当前是否办理流程
32205
+ * @param {String} type 当前点击的弹窗类型
32206
+ * @date 2022年5月25日
32087
32207
  **/
32088
32208
  closeProcess: function closeProcess(val, type, closeParent) {
32089
32209
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -32103,23 +32223,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32103
32223
  }
32104
32224
  },
32105
32225
 
32106
- /**
32107
- * selectChange
32108
- * @desc:常用语选择
32109
- * @author liufan
32110
- * @param {String} val 选中值
32111
- * @date 2022年5月25日
32226
+ /**
32227
+ * selectChange
32228
+ * @desc:常用语选择
32229
+ * @author liufan
32230
+ * @param {String} val 选中值
32231
+ * @date 2022年5月25日
32112
32232
  **/
32113
32233
  selectChange: function selectChange(val) {
32114
32234
  this.value = val;
32115
32235
  },
32116
32236
 
32117
- /**
32118
- * upDate
32119
- * @desc:修改常用语
32120
- * @author liufan
32121
- * @param {Object} val 修改值
32122
- * @date 2022年5月25日
32237
+ /**
32238
+ * upDate
32239
+ * @desc:修改常用语
32240
+ * @author liufan
32241
+ * @param {Object} val 修改值
32242
+ * @date 2022年5月25日
32123
32243
  **/
32124
32244
  upDate: function upDate(val) {
32125
32245
  this.FormData.id = val.id;
@@ -32127,11 +32247,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32127
32247
  },
32128
32248
 
32129
32249
 
32130
- /**
32131
- * getProcess
32132
- * @desc:获取选择流程
32133
- * @author liufan
32134
- * @date 2022年5月25日
32250
+ /**
32251
+ * getProcess
32252
+ * @desc:获取选择流程
32253
+ * @author liufan
32254
+ * @date 2022年5月25日
32135
32255
  **/
32136
32256
  getProcess: function getProcess(val) {
32137
32257
  var _this33 = this;
@@ -32143,6 +32263,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32143
32263
  isOnly: true,
32144
32264
  hideTempSave: true
32145
32265
  }, this.param);
32266
+ if (this.ownerType) {
32267
+ params.ownerType = this.ownerType;
32268
+ }
32146
32269
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
32147
32270
  util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
32148
32271
  var status = res.status,
@@ -32191,11 +32314,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32191
32314
  });
32192
32315
  },
32193
32316
 
32194
- /**
32195
- * getPendedhistoryList
32196
- * @desc:获取流程列表
32197
- * @author liufan
32198
- * @date 2022年5月25日
32317
+ /**
32318
+ * getPendedhistoryList
32319
+ * @desc:获取流程列表
32320
+ * @author liufan
32321
+ * @date 2022年5月25日
32199
32322
  **/
32200
32323
  getPendedhistoryList: function getPendedhistoryList() {
32201
32324
  var _this34 = this;
@@ -32263,28 +32386,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32263
32386
  },
32264
32387
 
32265
32388
  // 提交流程前验证
32266
- beforeSubProcess: function beforeSubProcess() {},
32267
-
32268
- // 提交流程
32269
- /**
32270
- * subProcess
32271
- * @desc:提交流程
32272
- * @author liufan
32273
- * @param {String} formName 当前form表单ref值
32274
- * @date 2022年5月25日
32275
- **/
32276
- subProcess: function subProcess(val, type) {
32389
+ beforeSubProcess: function beforeSubProcess(val, type) {
32277
32390
  var _this36 = this;
32278
32391
 
32279
- if (this.btnType != 'default') {
32280
- if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
32281
- warning('暂无可驳回节点及对象');
32282
- return;
32283
- }
32284
- console.log('taskReadBtn', this.btnType);
32285
- this.$refs[this.btnType].subProcess('nextNode');
32286
- return;
32287
- }
32288
32392
  return this.$refs['nextNode'].validate(function (valid) {
32289
32393
  if (valid) {
32290
32394
  if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
@@ -32305,6 +32409,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32305
32409
  // this.reqCircularRead(type);
32306
32410
  // return;
32307
32411
  // }
32412
+
32308
32413
  if (_this36.submitButtonFunKey) {
32309
32414
  var btnInfo = _this36.taskNodeButtons.filter(function (x) {
32310
32415
  return x.key === _this36.submitButtonFunKey;
@@ -32325,13 +32430,39 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32325
32430
  if (_this36.beforeSubmit == undefined) {
32326
32431
  _this36.subFun(_this36.sendData);
32327
32432
  } else {
32328
- _this36.beforeSubmit(1).then(function (next) {
32329
- _this36.sendData();
32330
- }).catch(function (e) {});
32433
+ _this36.sendData();
32331
32434
  }
32332
32435
  }
32333
32436
  });
32334
32437
  },
32438
+
32439
+ // 提交流程
32440
+ /**
32441
+ * subProcess
32442
+ * @desc:提交流程
32443
+ * @author liufan
32444
+ * @param {String} formName 当前form表单ref值
32445
+ * @date 2022年5月25日
32446
+ **/
32447
+ subProcess: function subProcess(val, type) {
32448
+ var _this37 = this;
32449
+
32450
+ if (this.btnType != 'default') {
32451
+ if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
32452
+ warning('暂无可驳回节点及对象');
32453
+ return;
32454
+ }
32455
+ this.$refs[this.btnType].subProcess('nextNode');
32456
+ return;
32457
+ }
32458
+ if (this.beforeSubmit == undefined) {
32459
+ this.beforeSubProcess(val, type);
32460
+ } else {
32461
+ this.beforeSubmit(1).then(function (next) {
32462
+ _this37.beforeSubProcess(val, type);
32463
+ }).catch(function (e) {});
32464
+ }
32465
+ },
32335
32466
  validInfo: function validInfo() {
32336
32467
  if (!this.endFlow && this.newTypeCode != 'fenyue' && !this.shrink && this.nextNode.isAddSign != '1' && this.nextNode.isRemoveSign != '1' && this.isSpecial && !this.isReject && this.nodeInfos.length != 0 && this.isNextUser) {
32337
32468
  if (this.isShowNextUser) {
@@ -32371,14 +32502,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32371
32502
  return true;
32372
32503
  },
32373
32504
  flowSuccess: function flowSuccess(hideMessage) {
32374
- var _this37 = this;
32505
+ var _this38 = this;
32375
32506
 
32376
32507
  if (!this.simpleTips) {
32377
32508
  this.$alert('提交成功', '', {
32378
32509
  confirmButtonText: '确定',
32379
32510
  type: 'success',
32380
32511
  callback: function callback(action) {
32381
- _this37.$emit('success');
32512
+ _this38.$emit('success');
32382
32513
  }
32383
32514
  });
32384
32515
  } else {
@@ -32389,7 +32520,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32389
32520
  }
32390
32521
  },
32391
32522
  sendData: function sendData(freetype) {
32392
- var _this38 = this;
32523
+ var _this39 = this;
32393
32524
 
32394
32525
  if (this.isFlow && !this.nodeInfo.nextNode) {
32395
32526
  this.$message.warning('请选择流程');
@@ -32405,85 +32536,114 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32405
32536
  }
32406
32537
  this.$refs['nextNode'].validate(function () {
32407
32538
  var _ref2 = flowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
32408
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
32539
+ var nextUserId, addSignUserId, removeSignUserId, str, i, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
32409
32540
  return regenerator_default.a.wrap(function _callee2$(_context2) {
32410
32541
  while (1) {
32411
32542
  switch (_context2.prev = _context2.next) {
32412
32543
  case 0:
32413
32544
  if (!valid) {
32414
- _context2.next = 60;
32545
+ _context2.next = 71;
32415
32546
  break;
32416
32547
  }
32417
32548
 
32418
- if (!_this38.isFlow) {
32549
+ if (!_this39.isFlow) {
32419
32550
  _context2.next = 7;
32420
32551
  break;
32421
32552
  }
32422
32553
 
32423
- if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
32554
+ if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
32424
32555
  _context2.next = 5;
32425
32556
  break;
32426
32557
  }
32427
32558
 
32428
- _this38.$message.warning('请输入审批意见');
32559
+ _this39.$message.warning('请输入审批意见');
32429
32560
  return _context2.abrupt('return');
32430
32561
 
32431
32562
  case 5:
32432
- if (_this38.directCreateCircularReadWhenFlowStarted) {
32433
- _this38.circulateVisible = true;
32563
+ if (_this39.directCreateCircularReadWhenFlowStarted) {
32564
+ _this39.circulateVisible = true;
32434
32565
  } else {
32435
- _this38.handleVisible = true;
32566
+ _this39.handleVisible = true;
32436
32567
  }
32437
32568
  return _context2.abrupt('return');
32438
32569
 
32439
32570
  case 7:
32440
32571
  nextUserId = [];
32441
32572
 
32442
- if (_this38.multiple) {
32443
- _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
32573
+ if (_this39.multiple) {
32574
+ _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
32444
32575
  return nextUserId.push(item);
32445
32576
  });
32446
32577
  }
32447
32578
  addSignUserId = [];
32448
32579
 
32449
- if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
32450
- _this38.nextNode.addSignUserId.map(function (item) {
32580
+ if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
32581
+ _this39.nextNode.addSignUserId.map(function (item) {
32451
32582
  addSignUserId.push(item);
32452
32583
  });
32453
32584
  }
32454
32585
  removeSignUserId = [];
32455
32586
 
32456
- if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
32457
- _this38.nextNode.removeSignUserId.map(function (item) {
32587
+ if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
32588
+ _this39.nextNode.removeSignUserId.map(function (item) {
32458
32589
  removeSignUserId.push(item);
32459
32590
  });
32460
32591
  }
32461
32592
  str = '';
32462
32593
 
32463
- if (_this38.value) {
32464
- str = _this38.value.replace(/\s+/g, '');
32594
+ if (_this39.value) {
32595
+ str = _this39.value.replace(/\s+/g, '');
32465
32596
  }
32466
- if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
32467
- _this38.value = _this38.nodeDefaultSubmitOpinion;
32597
+ if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
32598
+ _this39.value = _this39.nodeDefaultSubmitOpinion;
32468
32599
  }
32469
- if (!_this38.isSpecial) {
32470
- delete _this38.nextNode.nextOperate;
32471
- delete _this38.nextNode.nextNodeId;
32600
+ if (!_this39.isSpecial) {
32601
+ delete _this39.nextNode.nextOperate;
32602
+ delete _this39.nextNode.nextNodeId;
32472
32603
  }
32473
- if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
32474
- _this38.nextNode.isReturnRejectNode = 1;
32475
- _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
32604
+ if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
32605
+ _this39.nextNode.isReturnRejectNode = 1;
32606
+ _this39.nextNode.processDefinitionId = _this39.processObj.taskExamine.processDefinitionId;
32476
32607
  }
32477
- if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
32478
- delete _this38.nextNode.nextNodeId;
32608
+ if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
32609
+ delete _this39.nextNode.nextNodeId;
32479
32610
  }
32480
32611
 
32481
- if (!_this38.isCancelSecondConfirmationType) {
32482
- _context2.next = 22;
32612
+ if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
32613
+ _context2.next = 30;
32483
32614
  break;
32484
32615
  }
32485
32616
 
32486
- _this38.$confirm('确认提交吗?', '提示', {
32617
+ i = 0;
32618
+
32619
+ case 21:
32620
+ if (!(i < _this39.presetList.length)) {
32621
+ _context2.next = 30;
32622
+ break;
32623
+ }
32624
+
32625
+ if (!(_this39.presetList[i].name && _this39.presetList[i].name != '1' && _this39.presetList[i].name != 'endEvent' && (!_this39.presetList[i].value || _this39.presetList[i].value.length == 0))) {
32626
+ _context2.next = 26;
32627
+ break;
32628
+ }
32629
+
32630
+ return _context2.abrupt('return', _this39.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this39.presetList[i].sequence + '-' + _this39.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
32631
+
32632
+ case 26:
32633
+ delete _this39.presetList[i].label;
32634
+
32635
+ case 27:
32636
+ i++;
32637
+ _context2.next = 21;
32638
+ break;
32639
+
32640
+ case 30:
32641
+ if (!_this39.isCancelSecondConfirmationType) {
32642
+ _context2.next = 33;
32643
+ break;
32644
+ }
32645
+
32646
+ _this39.$confirm('确认提交吗?', '提示', {
32487
32647
  confirmButtonText: '确定',
32488
32648
  cancelButtonText: '取消',
32489
32649
  type: 'warning'
@@ -32499,46 +32659,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32499
32659
  }
32500
32660
 
32501
32661
  _context.next = 3;
32502
- return _this38.saveInfo('subMit');
32662
+ return _this39.saveInfo('subMit');
32503
32663
 
32504
32664
  case 3:
32505
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
32665
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32506
32666
 
32507
32667
  case 4:
32508
32668
  notificationType = '';
32509
32669
 
32510
- notificationType = _this38.nextNode.notificationType.join(',');
32670
+ notificationType = _this39.nextNode.notificationType.join(',');
32511
32671
  addSignUserId = addSignUserId.join(',');
32512
32672
  removeSignUserId = removeSignUserId.join(',');
32513
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
32514
- delete _this38.nextNode.addSignMode;
32673
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32674
+ delete _this39.nextNode.addSignMode;
32515
32675
  }
32516
32676
 
32517
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
32518
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
32519
- pendingId: _this38.pendingId,
32520
- opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
32677
+ params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32678
+ nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32679
+ pendingId: _this39.pendingId,
32680
+ opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
32521
32681
  userId: util["a" /* default */].getStorage('userId'),
32522
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
32682
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32523
32683
  addSignUserId: addSignUserId,
32524
- customPresetUserJson: JSON.stringify(_this38.presetList),
32525
- presetUserJson: JSON.stringify(_this38.presetUserJson),
32684
+ customPresetUserJson: JSON.stringify(_this39.presetList),
32685
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
32526
32686
  removeSignUserId: removeSignUserId,
32527
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
32528
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
32529
- presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
32687
+ nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
32688
+ nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32689
+ presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
32530
32690
  notificationType: notificationType
32531
32691
  });
32532
32692
 
32533
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
32693
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32534
32694
  delete params.customLimitTimeText;
32535
- if (_this38.nextNode.isRemoveSign != '1') {
32695
+ if (_this39.nextNode.isRemoveSign != '1') {
32536
32696
  delete params.removeSignUserId;
32537
32697
  }
32538
- if (_this38.nextNode.isAddSign != '1') {
32698
+ if (_this39.nextNode.isAddSign != '1') {
32539
32699
  delete params.addSignUserId;
32540
32700
  }
32541
- if (!_this38.isSpecial) {
32701
+ if (!_this39.isSpecial) {
32542
32702
  delete params.nextUserId;
32543
32703
  }
32544
32704
 
@@ -32547,13 +32707,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32547
32707
  break;
32548
32708
  }
32549
32709
 
32550
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
32551
- _this38.taskParams = params;
32710
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32711
+ _this39.taskParams = params;
32552
32712
  return _context.abrupt('return');
32553
32713
 
32554
32714
  case 19:
32555
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
32556
- isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
32715
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32716
+ isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
32557
32717
 
32558
32718
  params.isEndUserTask = isEndUserTask;
32559
32719
  params.choiceOrgId = choiceOrgId;
@@ -32577,17 +32737,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32577
32737
  var status = res.status,
32578
32738
  message = res.message;
32579
32739
 
32580
- _this38.loading.close();
32740
+ _this39.loading.close();
32581
32741
  if (status === 'success') {
32582
- _this38.flowSuccess();
32742
+ _this39.flowSuccess();
32583
32743
  } else {
32584
- _this38.$message.error(message || '系统错误,请联系管理员!');
32585
- _this38.$emit('error');
32744
+ _this39.$message.error(message || '系统错误,请联系管理员!');
32745
+ _this39.$emit('error');
32586
32746
  }
32587
32747
  }).catch(function (err) {
32588
- _this38.loading.close();
32748
+ _this39.loading.close();
32589
32749
  if (err.message && err.message !== 'canceled') {
32590
- _this38.$message.error(err.message);
32750
+ _this39.$message.error(err.message);
32591
32751
  }
32592
32752
  }));
32593
32753
 
@@ -32596,72 +32756,72 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32596
32756
  return _context.stop();
32597
32757
  }
32598
32758
  }
32599
- }, _callee, _this38);
32759
+ }, _callee, _this39);
32600
32760
  })));
32601
32761
  return _context2.abrupt('return');
32602
32762
 
32603
- case 22:
32763
+ case 33:
32604
32764
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
32605
- _context2.next = 26;
32765
+ _context2.next = 37;
32606
32766
  break;
32607
32767
  }
32608
32768
 
32609
- _context2.next = 25;
32610
- return _this38.saveInfo('subMit');
32769
+ _context2.next = 36;
32770
+ return _this39.saveInfo('subMit');
32611
32771
 
32612
- case 25:
32613
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
32772
+ case 36:
32773
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32614
32774
 
32615
- case 26:
32775
+ case 37:
32616
32776
  notificationType = '';
32617
32777
 
32618
- notificationType = _this38.nextNode.notificationType.join(',');
32778
+ notificationType = _this39.nextNode.notificationType.join(',');
32619
32779
  addSignUserId = addSignUserId.join(',');
32620
32780
  removeSignUserId = removeSignUserId.join(',');
32621
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
32622
- delete _this38.nextNode.addSignMode;
32781
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32782
+ delete _this39.nextNode.addSignMode;
32623
32783
  }
32624
32784
 
32625
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
32626
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
32627
- pendingId: _this38.pendingId,
32628
- opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
32785
+ params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
32786
+ nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
32787
+ pendingId: _this39.pendingId,
32788
+ opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
32629
32789
  userId: util["a" /* default */].getStorage('userId'),
32630
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
32790
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32631
32791
  addSignUserId: addSignUserId,
32632
- customPresetUserJson: JSON.stringify(_this38.presetList),
32633
- presetUserJson: JSON.stringify(_this38.presetUserJson),
32792
+ customPresetUserJson: JSON.stringify(_this39.presetList),
32793
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
32634
32794
  removeSignUserId: removeSignUserId,
32635
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
32636
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
32637
- presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
32795
+ nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
32796
+ nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
32797
+ presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
32638
32798
  notificationType: notificationType
32639
32799
  });
32640
32800
 
32641
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
32801
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32642
32802
  delete params.customLimitTimeText;
32643
- if (_this38.nextNode.isRemoveSign != '1') {
32803
+ if (_this39.nextNode.isRemoveSign != '1') {
32644
32804
  delete params.removeSignUserId;
32645
32805
  }
32646
- if (_this38.nextNode.isAddSign != '1') {
32806
+ if (_this39.nextNode.isAddSign != '1') {
32647
32807
  delete params.addSignUserId;
32648
32808
  }
32649
- if (!_this38.isSpecial) {
32809
+ if (!_this39.isSpecial) {
32650
32810
  delete params.nextUserId;
32651
32811
  }
32652
32812
 
32653
32813
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
32654
- _context2.next = 41;
32814
+ _context2.next = 52;
32655
32815
  break;
32656
32816
  }
32657
32817
 
32658
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
32659
- _this38.taskParams = params;
32818
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32819
+ _this39.taskParams = params;
32660
32820
  return _context2.abrupt('return');
32661
32821
 
32662
- case 41:
32663
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
32664
- isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
32822
+ case 52:
32823
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '提交中...');
32824
+ isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
32665
32825
 
32666
32826
  params.isEndUserTask = isEndUserTask;
32667
32827
  params.choiceOrgId = choiceOrgId;
@@ -32685,29 +32845,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32685
32845
  var status = res.status,
32686
32846
  message = res.message;
32687
32847
 
32688
- _this38.loading.close();
32848
+ _this39.loading.close();
32689
32849
  if (status === 'success') {
32690
- _this38.flowSuccess();
32850
+ _this39.flowSuccess();
32691
32851
  } else {
32692
- _this38.$message.error(message || '系统错误,请联系管理员!');
32693
- _this38.$emit('error');
32852
+ _this39.$message.error(message || '系统错误,请联系管理员!');
32853
+ _this39.$emit('error');
32694
32854
  }
32695
32855
  }).catch(function (err) {
32696
- _this38.loading.close();
32856
+ _this39.loading.close();
32697
32857
  if (err.message && err.message !== 'canceled') {
32698
- _this38.$message.error(err.message);
32858
+ _this39.$message.error(err.message);
32699
32859
  }
32700
32860
  }));
32701
32861
 
32702
- case 60:
32862
+ case 71:
32703
32863
  return _context2.abrupt('return', false);
32704
32864
 
32705
- case 61:
32865
+ case 72:
32706
32866
  case 'end':
32707
32867
  return _context2.stop();
32708
32868
  }
32709
32869
  }
32710
- }, _callee2, _this38);
32870
+ }, _callee2, _this39);
32711
32871
  }));
32712
32872
 
32713
32873
  return function (_x) {
@@ -32763,8 +32923,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32763
32923
 
32764
32924
  var flow_component = Object(componentNormalizer["a" /* default */])(
32765
32925
  src_flowvue_type_script_lang_js_,
32766
- flowvue_type_template_id_53d37cbc_render,
32767
- flowvue_type_template_id_53d37cbc_staticRenderFns,
32926
+ flowvue_type_template_id_160c0322_render,
32927
+ flowvue_type_template_id_160c0322_staticRenderFns,
32768
32928
  false,
32769
32929
  null,
32770
32930
  null,
@@ -34074,6 +34234,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34074
34234
  //
34075
34235
  //
34076
34236
  //
34237
+ //
34238
+ //
34239
+ //
34240
+ //
34077
34241
 
34078
34242
 
34079
34243
 
@@ -34114,6 +34278,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34114
34278
  hideBtn: { type: Boolean, default: false },
34115
34279
  isCirculate: { type: Boolean, default: false },
34116
34280
  newFlow: { type: Boolean, default: false },
34281
+ ownerType: { type: String, default: '' },
34117
34282
  formLabelPosition: {
34118
34283
  type: String,
34119
34284
  default: 'left'
@@ -34199,6 +34364,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34199
34364
  oldNextOperate: '',
34200
34365
  showOpinion: true,
34201
34366
  submitButtonFunKey: '',
34367
+ showFlowImg: true,
34202
34368
  activitiDefinitionSort: false,
34203
34369
  taskNodeButtons: [],
34204
34370
  taskOperationShiftedNodeList: null,
@@ -34440,6 +34606,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34440
34606
  }
34441
34607
  if (this.nodeInfo.nextNode) {
34442
34608
  this.handleChange(this.nodeInfo.nextNode, true);
34609
+ // this.handleChange(val, true);
34443
34610
  }
34444
34611
  }
34445
34612
  },
@@ -34504,6 +34671,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34504
34671
  }
34505
34672
  },
34506
34673
  methods: {
34674
+ handleButtonClick: function handleButtonClick(val, call) {
34675
+ this.$emit('buttonClick', val, call);
34676
+ },
34677
+ handleErrorImg: function handleErrorImg(type) {
34678
+ this.showFlowImg = type != 'error';
34679
+ },
34507
34680
  sortSuccess: function sortSuccess(list) {
34508
34681
  this.nodeInfo.option = list;
34509
34682
  if (this.defaultProcessKey == '') {
@@ -34595,6 +34768,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34595
34768
  getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
34596
34769
  var _this4 = this;
34597
34770
 
34771
+ console.log('processDefinitionId', processDefinitionId);
34598
34772
  var params = {
34599
34773
  url: api["bb" /* getNodeInfoForStart */],
34600
34774
  params: { processDefinitionId: processDefinitionId }
@@ -34685,6 +34859,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34685
34859
  // this.$emit('success');
34686
34860
  },
34687
34861
  handleChange: function handleChange(val, isForStartFlow) {
34862
+ console.log('handleChange val', val);
34688
34863
  this.getNodeInfoForStartFlow(val, isForStartFlow);
34689
34864
  this.$parent.$emit('flowChange', val);
34690
34865
  },
@@ -35003,11 +35178,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35003
35178
  });
35004
35179
  },
35005
35180
 
35006
- /**
35007
- * saveInfo
35008
- * @desc:暂存
35009
- * @author liufan
35010
- * @date 2022年9月9日
35181
+ /**
35182
+ * saveInfo
35183
+ * @desc:暂存
35184
+ * @author liufan
35185
+ * @date 2022年9月9日
35011
35186
  **/
35012
35187
  saveInfo: function saveInfo(type, btn) {
35013
35188
  var _this14 = this;
@@ -35069,11 +35244,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35069
35244
  });
35070
35245
  },
35071
35246
 
35072
- /**
35073
- * rejectBtn
35074
- * @desc:点击驳回
35075
- * @author liufan
35076
- * @date 2022年5月25日
35247
+ /**
35248
+ * rejectBtn
35249
+ * @desc:点击驳回
35250
+ * @author liufan
35251
+ * @date 2022年5月25日
35077
35252
  **/
35078
35253
  rejectBtn: function rejectBtn() {
35079
35254
  var _this16 = this;
@@ -35091,11 +35266,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35091
35266
  }
35092
35267
  },
35093
35268
 
35094
- /**
35095
- * taskReadBtn
35096
- * @desc:点击分阅
35097
- * @author liufan
35098
- * @date 2022年5月25日
35269
+ /**
35270
+ * taskReadBtn
35271
+ * @desc:点击分阅
35272
+ * @author liufan
35273
+ * @date 2022年5月25日
35099
35274
  **/
35100
35275
  taskReadBtn: function taskReadBtn() {
35101
35276
  var _this17 = this;
@@ -35114,11 +35289,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35114
35289
  }
35115
35290
  },
35116
35291
 
35117
- /**
35118
- * getFind
35119
- * @desc:获取通知方式
35120
- * @author liufan
35121
- * @date 2022年5月25日
35292
+ /**
35293
+ * getFind
35294
+ * @desc:获取通知方式
35295
+ * @author liufan
35296
+ * @date 2022年5月25日
35122
35297
  **/
35123
35298
  getFind: function getFind() {
35124
35299
  var _this18 = this;
@@ -35185,12 +35360,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35185
35360
  });
35186
35361
  },
35187
35362
 
35188
- /**
35189
- * endFlows
35190
- * @desc:直接办结
35191
- * @author liufan
35192
- * @param {Object} res 直接办结数据
35193
- * @date 2022年5月25日
35363
+ /**
35364
+ * endFlows
35365
+ * @desc:直接办结
35366
+ * @author liufan
35367
+ * @param {Object} res 直接办结数据
35368
+ * @date 2022年5月25日
35194
35369
  **/
35195
35370
  endFlows: function endFlows(res) {
35196
35371
  var _this20 = this;
@@ -35245,12 +35420,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35245
35420
  }).catch(function (e) {});
35246
35421
  },
35247
35422
 
35248
- /**
35249
- * goView
35250
- * @desc:更多流程按钮操作
35251
- * @author liufan
35252
- * @param {Object} res 当前点击操作按钮数据
35253
- * @date 2022年5月25日
35423
+ /**
35424
+ * goView
35425
+ * @desc:更多流程按钮操作
35426
+ * @author liufan
35427
+ * @param {Object} res 当前点击操作按钮数据
35428
+ * @date 2022年5月25日
35254
35429
  **/
35255
35430
  goView: function goView(res) {
35256
35431
  // 驳回并办结:rejectAndEndHtml
@@ -35293,6 +35468,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35293
35468
  this.toStartDraf(res);
35294
35469
  } else if (res.fun === 'toTakeAdvice()') {
35295
35470
  //征求意见
35471
+ if (this.isOpinionRequired && !this.value) return this.$message.warning('请选择或输入审批意见');
35296
35472
  this.flowType = 'takeAdvice';
35297
35473
  this.flowMultiple = true;
35298
35474
  this.flowDisabled = false;
@@ -35337,11 +35513,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35337
35513
  // isCanStartSubFlow
35338
35514
  },
35339
35515
 
35340
- /**
35341
- * toTakeAdvice
35342
- * @desc:征求意见
35343
- * @author liufan
35344
- * @date 2022年9月29日
35516
+ /**
35517
+ * toTakeAdvice
35518
+ * @desc:征求意见
35519
+ * @author liufan
35520
+ * @date 2022年9月29日
35345
35521
  **/
35346
35522
  toTakeAdvice: function toTakeAdvice(res) {
35347
35523
  var _this22 = this;
@@ -35385,11 +35561,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35385
35561
  });
35386
35562
  },
35387
35563
 
35388
- /**
35389
- * toStartDraf
35390
- * @desc: 稿件递送、联合审核、复核
35391
- * @author liufan
35392
- * @date 2022年9月29日
35564
+ /**
35565
+ * toStartDraf
35566
+ * @desc: 稿件递送、联合审核、复核
35567
+ * @author liufan
35568
+ * @date 2022年9月29日
35393
35569
  **/
35394
35570
  toStartDraf: function toStartDraf(res) {
35395
35571
  var _this24 = this;
@@ -35403,11 +35579,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35403
35579
  }
35404
35580
  },
35405
35581
 
35406
- /**
35407
- * toSendMsg
35408
- * @desc:核稿通知
35409
- * @author liufan
35410
- * @date 2022年9月29日
35582
+ /**
35583
+ * toSendMsg
35584
+ * @desc:核稿通知
35585
+ * @author liufan
35586
+ * @date 2022年9月29日
35411
35587
  **/
35412
35588
  toSendMsg: function toSendMsg(res) {
35413
35589
  var _this25 = this;
@@ -35421,11 +35597,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35421
35597
  }
35422
35598
  },
35423
35599
 
35424
- /**
35425
- * toTaskReadAndEnd
35426
- * @desc:分阅并办结
35427
- * @author liufan
35428
- * @date 2022年9月29日
35600
+ /**
35601
+ * toTaskReadAndEnd
35602
+ * @desc:分阅并办结
35603
+ * @author liufan
35604
+ * @date 2022年9月29日
35429
35605
  **/
35430
35606
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
35431
35607
  var _this26 = this;
@@ -35443,11 +35619,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35443
35619
  }
35444
35620
  },
35445
35621
 
35446
- /**
35447
- * rejectAndEnd
35448
- * @desc:驳回并办结
35449
- * @author liufan
35450
- * @date 2022年9月29日
35622
+ /**
35623
+ * rejectAndEnd
35624
+ * @desc:驳回并办结
35625
+ * @author liufan
35626
+ * @date 2022年9月29日
35451
35627
  **/
35452
35628
  rejectAndEnd: function rejectAndEnd(res) {
35453
35629
  var _this27 = this;
@@ -35503,11 +35679,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35503
35679
  });
35504
35680
  },
35505
35681
 
35506
- /**
35507
- * toTransfer
35508
- * @desc:转办
35509
- * @author liufan
35510
- * @date 2022年9月29日
35682
+ /**
35683
+ * toTransfer
35684
+ * @desc:转办
35685
+ * @author liufan
35686
+ * @date 2022年9月29日
35511
35687
  **/
35512
35688
  toTransfer: function toTransfer(res) {
35513
35689
  var _this29 = this;
@@ -35526,11 +35702,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35526
35702
  this.nextNode.customLimitTime = val;
35527
35703
  },
35528
35704
 
35529
- /**
35530
- * getNodeInfo
35531
- * @desc:获取节点信息
35532
- * @author liufan
35533
- * @date 2022年5月25日
35705
+ /**
35706
+ * getNodeInfo
35707
+ * @desc:获取节点信息
35708
+ * @author liufan
35709
+ * @date 2022年5月25日
35534
35710
  **/
35535
35711
  getNodeInfo: function getNodeInfo() {
35536
35712
  var _this30 = this;
@@ -35661,7 +35837,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35661
35837
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
35662
35838
  }
35663
35839
  }
35664
- _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
35840
+ if (_this30.isCustomPreset && !_this30.newFlow) {
35841
+ _this30.$nextTick(function () {
35842
+ _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
35843
+ });
35844
+ }
35665
35845
  } else {
35666
35846
  _this30.$message.error(message || '系统错误,请联系管理员!');
35667
35847
  }
@@ -35673,12 +35853,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35673
35853
  });
35674
35854
  },
35675
35855
 
35676
- /**
35677
- * selecNext
35678
- * @desc:下步节点变化时更新数据
35679
- * @author liufan
35680
- * @param {String} val 当前选中值
35681
- * @date 2022年5月25日
35856
+ /**
35857
+ * selecNext
35858
+ * @desc:下步节点变化时更新数据
35859
+ * @author liufan
35860
+ * @param {String} val 当前选中值
35861
+ * @date 2022年5月25日
35682
35862
  **/
35683
35863
  selecNext: function selecNext(val, type, isDef) {
35684
35864
  var _this31 = this;
@@ -35818,11 +35998,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35818
35998
  }
35819
35999
  },
35820
36000
 
35821
- /**
35822
- * isMultiple
35823
- * @desc:是否多选
35824
- * @author liufan
35825
- * @date 2022年9月13日
36001
+ /**
36002
+ * isMultiple
36003
+ * @desc:是否多选
36004
+ * @author liufan
36005
+ * @date 2022年9月13日
35826
36006
  **/
35827
36007
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
35828
36008
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -35846,19 +36026,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35846
36026
  this.params.filid = choiceOrgId;
35847
36027
  }
35848
36028
  }
35849
- if (val == 15 || val == 16) {
35850
- this.params.filid = this.userModel.orgId;
36029
+ if (val == 15) {
36030
+ this.params.filid = this.pOrgId;
35851
36031
  if (pOrgId) {
35852
36032
  this.params.filid = pOrgId;
35853
36033
  }
35854
36034
  }
35855
36035
  },
35856
36036
 
35857
- /**
35858
- * getHedInfo
35859
- * @desc:获取审核页面数据
35860
- * @author liufan
35861
- * @date 2022年5月25日
36037
+ /**
36038
+ * getHedInfo
36039
+ * @desc:获取审核页面数据
36040
+ * @author liufan
36041
+ * @date 2022年5月25日
35862
36042
  **/
35863
36043
  getHedInfo: function getHedInfo() {
35864
36044
  var _this32 = this;
@@ -36177,13 +36357,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36177
36357
  });
36178
36358
  },
36179
36359
 
36180
- /**
36181
- * closeProcess
36182
- * @desc:关闭弹窗
36183
- * @author liufan
36184
- * @param {boolean} val 当前是否办理流程
36185
- * @param {String} type 当前点击的弹窗类型
36186
- * @date 2022年5月25日
36360
+ /**
36361
+ * closeProcess
36362
+ * @desc:关闭弹窗
36363
+ * @author liufan
36364
+ * @param {boolean} val 当前是否办理流程
36365
+ * @param {String} type 当前点击的弹窗类型
36366
+ * @date 2022年5月25日
36187
36367
  **/
36188
36368
  closeProcess: function closeProcess(val, type, closeParent) {
36189
36369
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -36203,23 +36383,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36203
36383
  }
36204
36384
  },
36205
36385
 
36206
- /**
36207
- * selectChange
36208
- * @desc:常用语选择
36209
- * @author liufan
36210
- * @param {String} val 选中值
36211
- * @date 2022年5月25日
36386
+ /**
36387
+ * selectChange
36388
+ * @desc:常用语选择
36389
+ * @author liufan
36390
+ * @param {String} val 选中值
36391
+ * @date 2022年5月25日
36212
36392
  **/
36213
36393
  selectChange: function selectChange(val) {
36214
36394
  this.value = val;
36215
36395
  },
36216
36396
 
36217
- /**
36218
- * upDate
36219
- * @desc:修改常用语
36220
- * @author liufan
36221
- * @param {Object} val 修改值
36222
- * @date 2022年5月25日
36397
+ /**
36398
+ * upDate
36399
+ * @desc:修改常用语
36400
+ * @author liufan
36401
+ * @param {Object} val 修改值
36402
+ * @date 2022年5月25日
36223
36403
  **/
36224
36404
  upDate: function upDate(val) {
36225
36405
  this.FormData.id = val.id;
@@ -36227,11 +36407,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36227
36407
  },
36228
36408
 
36229
36409
 
36230
- /**
36231
- * getProcess
36232
- * @desc:获取选择流程
36233
- * @author liufan
36234
- * @date 2022年5月25日
36410
+ /**
36411
+ * getProcess
36412
+ * @desc:获取选择流程
36413
+ * @author liufan
36414
+ * @date 2022年5月25日
36235
36415
  **/
36236
36416
  getProcess: function getProcess(val) {
36237
36417
  var _this33 = this;
@@ -36243,6 +36423,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36243
36423
  isOnly: true,
36244
36424
  hideTempSave: true
36245
36425
  }, this.param);
36426
+ if (this.ownerType) {
36427
+ params.ownerType = this.ownerType;
36428
+ }
36246
36429
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
36247
36430
  util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
36248
36431
  var status = res.status,
@@ -36291,11 +36474,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36291
36474
  });
36292
36475
  },
36293
36476
 
36294
- /**
36295
- * getPendedhistoryList
36296
- * @desc:获取流程列表
36297
- * @author liufan
36298
- * @date 2022年5月25日
36477
+ /**
36478
+ * getPendedhistoryList
36479
+ * @desc:获取流程列表
36480
+ * @author liufan
36481
+ * @date 2022年5月25日
36299
36482
  **/
36300
36483
  getPendedhistoryList: function getPendedhistoryList() {
36301
36484
  var _this34 = this;
@@ -36368,12 +36551,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36368
36551
  beforeSubProcess: function beforeSubProcess() {},
36369
36552
 
36370
36553
  // 提交流程
36371
- /**
36372
- * subProcess
36373
- * @desc:提交流程
36374
- * @author liufan
36375
- * @param {String} formName 当前form表单ref值
36376
- * @date 2022年5月25日
36554
+ /**
36555
+ * subProcess
36556
+ * @desc:提交流程
36557
+ * @author liufan
36558
+ * @param {String} formName 当前form表单ref值
36559
+ * @date 2022年5月25日
36377
36560
  **/
36378
36561
  subProcess: function subProcess(val, type) {
36379
36562
  var _this36 = this;
@@ -36498,13 +36681,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36498
36681
  }
36499
36682
  this.$refs['nextNode'].validate(function () {
36500
36683
  var _ref2 = mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
36501
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
36684
+ var nextUserId, addSignUserId, removeSignUserId, str, i, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
36502
36685
  return regenerator_default.a.wrap(function _callee2$(_context2) {
36503
36686
  while (1) {
36504
36687
  switch (_context2.prev = _context2.next) {
36505
36688
  case 0:
36506
36689
  if (!valid) {
36507
- _context2.next = 60;
36690
+ _context2.next = 71;
36508
36691
  break;
36509
36692
  }
36510
36693
 
@@ -36571,8 +36754,37 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36571
36754
  delete _this38.nextNode.nextNodeId;
36572
36755
  }
36573
36756
 
36757
+ if (!(_this38.isCustomPreset && _this38.activeNames == '1')) {
36758
+ _context2.next = 30;
36759
+ break;
36760
+ }
36761
+
36762
+ i = 0;
36763
+
36764
+ case 21:
36765
+ if (!(i < _this38.presetList.length)) {
36766
+ _context2.next = 30;
36767
+ break;
36768
+ }
36769
+
36770
+ if (!(_this38.presetList[i].name && _this38.presetList[i].name != '1' && _this38.presetList[i].name != 'endEvent' && (!_this38.presetList[i].value || _this38.presetList[i].value.length == 0))) {
36771
+ _context2.next = 26;
36772
+ break;
36773
+ }
36774
+
36775
+ return _context2.abrupt('return', _this38.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this38.presetList[i].sequence + '-' + _this38.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
36776
+
36777
+ case 26:
36778
+ delete _this38.presetList[i].label;
36779
+
36780
+ case 27:
36781
+ i++;
36782
+ _context2.next = 21;
36783
+ break;
36784
+
36785
+ case 30:
36574
36786
  if (!_this38.isCancelSecondConfirmationType) {
36575
- _context2.next = 22;
36787
+ _context2.next = 33;
36576
36788
  break;
36577
36789
  }
36578
36790
 
@@ -36623,7 +36835,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36623
36835
  notificationType: notificationType
36624
36836
  });
36625
36837
 
36626
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
36838
+ if (_this38.activeNames != '1' || !_this38.isCustomPreset) delete params.customPresetUserJson;
36627
36839
  delete params.customLimitTimeText;
36628
36840
  if (_this38.nextNode.isRemoveSign != '1') {
36629
36841
  delete params.removeSignUserId;
@@ -36693,19 +36905,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36693
36905
  })));
36694
36906
  return _context2.abrupt('return');
36695
36907
 
36696
- case 22:
36908
+ case 33:
36697
36909
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
36698
- _context2.next = 26;
36910
+ _context2.next = 37;
36699
36911
  break;
36700
36912
  }
36701
36913
 
36702
- _context2.next = 25;
36914
+ _context2.next = 36;
36703
36915
  return _this38.saveInfo('subMit');
36704
36916
 
36705
- case 25:
36917
+ case 36:
36706
36918
  _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
36707
36919
 
36708
- case 26:
36920
+ case 37:
36709
36921
  notificationType = '';
36710
36922
 
36711
36923
  notificationType = _this38.nextNode.notificationType.join(',');
@@ -36744,7 +36956,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36744
36956
  }
36745
36957
 
36746
36958
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
36747
- _context2.next = 41;
36959
+ _context2.next = 52;
36748
36960
  break;
36749
36961
  }
36750
36962
 
@@ -36752,7 +36964,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36752
36964
  _this38.taskParams = params;
36753
36965
  return _context2.abrupt('return');
36754
36966
 
36755
- case 41:
36967
+ case 52:
36756
36968
  _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
36757
36969
  isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
36758
36970
 
@@ -36792,10 +37004,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36792
37004
  }
36793
37005
  }));
36794
37006
 
36795
- case 60:
37007
+ case 71:
36796
37008
  return _context2.abrupt('return', false);
36797
37009
 
36798
- case 61:
37010
+ case 72:
36799
37011
  case 'end':
36800
37012
  return _context2.stop();
36801
37013
  }