eoss-ui 0.8.36 → 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=48a0a0a2&
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,
@@ -7702,6 +7706,14 @@ var render = function () {
7702
7706
  },
7703
7707
  [
7704
7708
  _c("img", {
7709
+ directives: [
7710
+ {
7711
+ name: "show",
7712
+ rawName: "v-show",
7713
+ value: _vm.showFlowImg,
7714
+ expression: "showFlowImg",
7715
+ },
7716
+ ],
7705
7717
  staticStyle: { width: "100%" },
7706
7718
  attrs: {
7707
7719
  src:
@@ -7710,6 +7722,14 @@ var render = function () {
7710
7722
  _vm.nodeInfo.nextNode,
7711
7723
  alt: "加载失败",
7712
7724
  },
7725
+ on: {
7726
+ error: function ($event) {
7727
+ _vm.handleErrorImg("error")
7728
+ },
7729
+ load: function ($event) {
7730
+ _vm.handleErrorImg("load")
7731
+ },
7732
+ },
7713
7733
  }),
7714
7734
  ]
7715
7735
  )
@@ -7740,6 +7760,8 @@ var render = function () {
7740
7760
  option: _vm.value,
7741
7761
  showTooltip: _vm.showTooltip,
7742
7762
  simpleTips: _vm.simpleTips,
7763
+ isCancelSecondConfirmationType:
7764
+ _vm.isCancelSecondConfirmationType,
7743
7765
  flowLabelConfig: _vm.flowLabelConfig,
7744
7766
  hideMessage: _vm.hideMessage,
7745
7767
  "show-reject": _vm.showReject,
@@ -8016,7 +8038,7 @@ var staticRenderFns = []
8016
8038
  render._withStripped = true
8017
8039
 
8018
8040
 
8019
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=48a0a0a2&
8041
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
8020
8042
 
8021
8043
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
8022
8044
  var regenerator_ = __webpack_require__(4);
@@ -9080,8 +9102,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
9080
9102
  )
9081
9103
 
9082
9104
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
9083
- // 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=68430d4b&
9084
- var flowvue_type_template_id_68430d4b_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 () {
9085
9107
  var _vm = this
9086
9108
  var _h = _vm.$createElement
9087
9109
  var _c = _vm._self._c || _h
@@ -11301,6 +11323,8 @@ var flowvue_type_template_id_68430d4b_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_68430d4b_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_68430d4b_render = function () {
11990
12016
  )
11991
12017
  : _vm._e()
11992
12018
  }
11993
- var flowvue_type_template_id_68430d4b_staticRenderFns = []
11994
- flowvue_type_template_id_68430d4b_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=68430d4b&
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=1fcc557e&
12710
- var processFormvue_type_template_id_1fcc557e_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
@@ -13661,14 +13687,14 @@ var processFormvue_type_template_id_1fcc557e_render = function () {
13661
13687
  1
13662
13688
  )
13663
13689
  }
13664
- var processFormvue_type_template_id_1fcc557e_staticRenderFns = []
13665
- processFormvue_type_template_id_1fcc557e_render._withStripped = true
13690
+ var processFormvue_type_template_id_20fb5670_staticRenderFns = []
13691
+ processFormvue_type_template_id_20fb5670_render._withStripped = true
13666
13692
 
13667
13693
 
13668
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1fcc557e&
13694
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
13669
13695
 
13670
- // 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&
13671
- 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 () {
13672
13698
  var _vm = this
13673
13699
  var _h = _vm.$createElement
13674
13700
  var _c = _vm._self._c || _h
@@ -13787,6 +13813,7 @@ var selectUservue_type_template_id_e270ebde_render = function () {
13787
13813
  types: _vm.types,
13788
13814
  tabs: _vm.tabs,
13789
13815
  title: _vm.title,
13816
+ showFilterListDep: false,
13790
13817
  reset: "",
13791
13818
  classify: _vm.classify,
13792
13819
  "collapse-tags": _vm.selectorTags,
@@ -13829,11 +13856,11 @@ var selectUservue_type_template_id_e270ebde_render = function () {
13829
13856
  1
13830
13857
  )
13831
13858
  }
13832
- var selectUservue_type_template_id_e270ebde_staticRenderFns = []
13833
- 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
13834
13861
 
13835
13862
 
13836
- // 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&
13837
13864
 
13838
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&
13839
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; };
@@ -13940,6 +13967,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
13940
13967
  //
13941
13968
  //
13942
13969
  //
13970
+ //
13943
13971
 
13944
13972
 
13945
13973
 
@@ -14147,7 +14175,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14147
14175
  },
14148
14176
  mounted: function mounted() {
14149
14177
  console.log(this.nextUser, 'nextUser');
14150
- 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;
14151
14179
  },
14152
14180
 
14153
14181
 
@@ -14363,8 +14391,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14363
14391
 
14364
14392
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14365
14393
  src_selectUservue_type_script_lang_js_,
14366
- selectUservue_type_template_id_e270ebde_render,
14367
- selectUservue_type_template_id_e270ebde_staticRenderFns,
14394
+ selectUservue_type_template_id_3a5614a4_render,
14395
+ selectUservue_type_template_id_3a5614a4_staticRenderFns,
14368
14396
  false,
14369
14397
  null,
14370
14398
  null,
@@ -14373,8 +14401,8 @@ var selectUser_component = Object(componentNormalizer["a" /* default */])(
14373
14401
  )
14374
14402
 
14375
14403
  /* harmony default export */ var selectUser = (selectUser_component.exports);
14376
- // 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&
14377
- 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 () {
14378
14406
  var _vm = this
14379
14407
  var _h = _vm.$createElement
14380
14408
  var _c = _vm._self._c || _h
@@ -14477,11 +14505,11 @@ var CustomPresetvue_type_template_id_9f7598ce_render = function () {
14477
14505
  1
14478
14506
  )
14479
14507
  }
14480
- var CustomPresetvue_type_template_id_9f7598ce_staticRenderFns = []
14481
- 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
14482
14510
 
14483
14511
 
14484
- // 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&
14485
14513
 
14486
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&
14487
14515
  var CustomPresetvue_type_script_lang_js_components;
@@ -14780,9 +14808,13 @@ var CustomPresetvue_type_script_lang_js_components;
14780
14808
  changeSelectData: function changeSelectData() {
14781
14809
  var customPresetUserJson = [];
14782
14810
  this.newPresetList.map(function (item) {
14811
+ var label = item.option.filter(function (x) {
14812
+ return x.nodeId == item.name;
14813
+ });
14783
14814
  customPresetUserJson.push({
14784
14815
  name: item.name,
14785
14816
  lastName: item.lastName,
14817
+ label: label.length > 0 ? label[0].nodeName : '',
14786
14818
  value: item.name != 'endEvent' ? item.multiple ? item.nextUser.join(',') : item.nextUser : '',
14787
14819
  sequence: item.sequence
14788
14820
  });
@@ -14804,8 +14836,8 @@ var CustomPresetvue_type_script_lang_js_components;
14804
14836
 
14805
14837
  var CustomPreset_component = Object(componentNormalizer["a" /* default */])(
14806
14838
  component_CustomPresetvue_type_script_lang_js_,
14807
- CustomPresetvue_type_template_id_9f7598ce_render,
14808
- CustomPresetvue_type_template_id_9f7598ce_staticRenderFns,
14839
+ CustomPresetvue_type_template_id_36ac9599_render,
14840
+ CustomPresetvue_type_template_id_36ac9599_staticRenderFns,
14809
14841
  false,
14810
14842
  null,
14811
14843
  null,
@@ -15791,6 +15823,7 @@ var processFormvue_type_script_lang_js_components;
15791
15823
  isCurrentNodeForbiddenChangeCandidate: 0,
15792
15824
  allLoading: null,
15793
15825
  selectUser: false,
15826
+ pOrgId: '',
15794
15827
  multiple: false,
15795
15828
  readMultiple: true,
15796
15829
  showOpinion: true,
@@ -16010,11 +16043,11 @@ var processFormvue_type_script_lang_js_components;
16010
16043
  },
16011
16044
 
16012
16045
  methods: {
16013
- /**
16014
- * getProcess
16015
- * @desc:获取选择流程
16016
- * @author liufan
16017
- * @date 2022年5月25日
16046
+ /**
16047
+ * getProcess
16048
+ * @desc:获取选择流程
16049
+ * @author liufan
16050
+ * @date 2022年5月25日
16018
16051
  **/
16019
16052
  getProcess: function getProcess(val) {
16020
16053
  var _this2 = this;
@@ -16404,6 +16437,17 @@ var processFormvue_type_script_lang_js_components;
16404
16437
  if ((_this8.isHideOtherOrg || _this8.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
16405
16438
  return _this8.$message.warning('请选择办理对象');
16406
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
+
16407
16451
  if (_this8.isCancelSecondConfirmationType) {
16408
16452
  _this8.$confirm('确认提交吗?', '提示', {
16409
16453
  confirmButtonText: '确定',
@@ -16820,11 +16864,11 @@ var processFormvue_type_script_lang_js_components;
16820
16864
  });
16821
16865
  },
16822
16866
 
16823
- /**
16824
- * isMultiple
16825
- * @desc:是否多选
16826
- * @author liufan
16827
- * @date 2022年9月13日
16867
+ /**
16868
+ * isMultiple
16869
+ * @desc:是否多选
16870
+ * @author liufan
16871
+ * @date 2022年9月13日
16828
16872
  **/
16829
16873
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
16830
16874
  var multiple = false;
@@ -16850,7 +16894,7 @@ var processFormvue_type_script_lang_js_components;
16850
16894
  }
16851
16895
  }
16852
16896
  if (val == 15 || val == 16) {
16853
- params.filid = this.userModel.orgId;
16897
+ params.filid = this.pOrgId;
16854
16898
  if (pOrgId) {
16855
16899
  params.filid = pOrgId;
16856
16900
  }
@@ -16961,6 +17005,7 @@ var processFormvue_type_script_lang_js_components;
16961
17005
  _this11.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
16962
17006
  _this11.presetTaskNodeMap = data.presetTaskNodeMap;
16963
17007
  _this11.isSinglePage = data.taskExamine.isSinglePage;
17008
+ _this11.pOrgId = data.pOrgId;
16964
17009
  _this11.isSinglePage && (_this11.nextNode.opinion = data.taskExamine.opinion);
16965
17010
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
16966
17011
  _this11.nextNode.nodeName = data.taskExamine.nodeName;
@@ -16982,7 +17027,11 @@ var processFormvue_type_script_lang_js_components;
16982
17027
  }
16983
17028
  _this11.getNodeInfos(undefined, undefined, processId);
16984
17029
  // this.getPresetFlowInfo();
16985
- _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
+ }
16986
17035
  _this11.getFind();
16987
17036
  _this11.getMessage();
16988
17037
  } else {
@@ -17013,8 +17062,8 @@ var processFormvue_type_script_lang_js_components;
17013
17062
 
17014
17063
  var processForm_component = Object(componentNormalizer["a" /* default */])(
17015
17064
  src_processFormvue_type_script_lang_js_,
17016
- processFormvue_type_template_id_1fcc557e_render,
17017
- processFormvue_type_template_id_1fcc557e_staticRenderFns,
17065
+ processFormvue_type_template_id_20fb5670_render,
17066
+ processFormvue_type_template_id_20fb5670_staticRenderFns,
17018
17067
  false,
17019
17068
  null,
17020
17069
  null,
@@ -17906,8 +17955,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
17906
17955
  )
17907
17956
 
17908
17957
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
17909
- // 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&
17910
- 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 () {
17911
17960
  var _vm = this
17912
17961
  var _h = _vm.$createElement
17913
17962
  var _c = _vm._self._c || _h
@@ -18150,11 +18199,11 @@ var processRejectvue_type_template_id_6c65370c_render = function () {
18150
18199
  1
18151
18200
  )
18152
18201
  }
18153
- var processRejectvue_type_template_id_6c65370c_staticRenderFns = []
18154
- 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
18155
18204
 
18156
18205
 
18157
- // 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&
18158
18207
 
18159
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&
18160
18209
  //
@@ -18262,7 +18311,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18262
18311
  option: { type: String, default: '' },
18263
18312
  hideBtn: { type: Boolean, default: false },
18264
18313
  simpleTips: { type: Boolean, default: true },
18265
- hideMessage: { type: Boolean, default: false }
18314
+ hideMessage: { type: Boolean, default: false },
18315
+ isCancelSecondConfirmationType: { type: Boolean, default: false }
18266
18316
  },
18267
18317
  data: function data() {
18268
18318
  return {
@@ -18331,47 +18381,59 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18331
18381
 
18332
18382
  // 提交表单
18333
18383
  subProcess: function subProcess(formName, isNoObj) {
18384
+ var _this2 = this;
18385
+
18334
18386
  if (isNoObj) {
18335
18387
  this.quit(false);
18336
18388
  return;
18337
18389
  }
18338
- 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
+ }
18339
18401
  },
18340
18402
  saveProcess: function saveProcess(formName) {
18341
- var _this2 = this;
18403
+ var _this3 = this;
18342
18404
 
18343
18405
  this.$refs[formName].validate(function (valid) {
18344
18406
  if (valid) {
18345
- if (!_this2.option && _this2.isOpinionRequired === 1) {
18346
- _this2.$message.warning('请选择输入审批意见');
18407
+ if (!_this3.option && _this3.isOpinionRequired === 1) {
18408
+ _this3.$message.warning('请选择输入审批意见');
18347
18409
  return;
18348
18410
  }
18349
- _this2.loading = true;
18350
- var noticeType = _this2.nextNode.noticeType.join(',');
18411
+ _this3.loading = true;
18412
+ var noticeType = _this3.nextNode.noticeType.join(',');
18351
18413
  var params = {
18352
- pendingId: _this2.pendingId,
18353
- opinion: _this2.option, // 审批意见
18354
- notificationMsg: _this2.newsInformation, // 系统消息
18414
+ pendingId: _this3.pendingId,
18415
+ opinion: _this3.option, // 审批意见
18416
+ notificationMsg: _this3.newsInformation, // 系统消息
18355
18417
  notificationType: noticeType,
18356
18418
  userId: util["a" /* default */].getStorage('userId'),
18357
- nextNodeId: _this2.nextNode.nextNodeId
18419
+ nextNodeId: _this3.nextNode.nextNodeId
18358
18420
  };
18359
18421
  util["a" /* default */].ajax({ url: api["lc" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
18360
18422
  var status = res.status,
18361
18423
  message = res.message;
18362
18424
 
18363
- _this2.loading = false;
18425
+ _this3.loading = false;
18364
18426
  if (status === 'success') {
18365
- _this2.quit(true);
18366
- _this2.simpleTips && _this2.$message.success('操作成功');
18427
+ _this3.quit(true);
18428
+ _this3.simpleTips && _this3.$message.success('操作成功');
18367
18429
  } else {
18368
- _this2.$message.error(message || '系统错误,请联系管理员!');
18369
- _this2.quit(false);
18430
+ _this3.$message.error(message || '系统错误,请联系管理员!');
18431
+ _this3.quit(false);
18370
18432
  }
18371
18433
  }).catch(function (err) {
18372
- _this2.loading = false;
18434
+ _this3.loading = false;
18373
18435
  if (err.message && err.message !== 'canceled') {
18374
- _this2.$message.error(err.message);
18436
+ _this3.$message.error(err.message);
18375
18437
  }
18376
18438
  });
18377
18439
  } else {
@@ -18385,7 +18447,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18385
18447
  this.$emit('cancel', val);
18386
18448
  },
18387
18449
  getFind: function getFind() {
18388
- var _this3 = this;
18450
+ var _this4 = this;
18389
18451
 
18390
18452
  util["a" /* default */].ajax({
18391
18453
  url: api["I" /* findSysCodes */]
@@ -18394,27 +18456,27 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18394
18456
  message = res.message;
18395
18457
 
18396
18458
  if (status === 'success') {
18397
- if (_this3.hideMessage) return;
18398
- _this3.nextNode.noticeType = message.split(',');
18459
+ if (_this4.hideMessage) return;
18460
+ _this4.nextNode.noticeType = message.split(',');
18399
18461
  var arr = [];
18400
- _this3.nextNode.noticeList.map(function (item) {
18401
- _this3.nextNode.noticeType.map(function (x) {
18462
+ _this4.nextNode.noticeList.map(function (item) {
18463
+ _this4.nextNode.noticeType.map(function (x) {
18402
18464
  if (x == item.cciValue) {
18403
18465
  arr.push(x);
18404
18466
  }
18405
18467
  });
18406
18468
  });
18407
- _this3.nextNode.noticeType = arr;
18469
+ _this4.nextNode.noticeType = arr;
18408
18470
  }
18409
18471
  }).catch(function (err) {
18410
- _this3.loading = false;
18472
+ _this4.loading = false;
18411
18473
  if (err.message && err.message !== 'canceled') {
18412
- _this3.$message.error(err.message);
18474
+ _this4.$message.error(err.message);
18413
18475
  }
18414
18476
  });
18415
18477
  },
18416
18478
  getProcessReject: function getProcessReject() {
18417
- var _this4 = this;
18479
+ var _this5 = this;
18418
18480
 
18419
18481
  this.loading = true;
18420
18482
  var params = {
@@ -18423,7 +18485,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18423
18485
  opinion: this.option
18424
18486
  };
18425
18487
  util["a" /* default */].ajax({ url: api["Cc" /* toTaskRejectHtml */], params: params }).then(function (res) {
18426
- _this4.loading = false;
18488
+ _this5.loading = false;
18427
18489
  if (res.status === 'success') {
18428
18490
  var _res$data = res.data,
18429
18491
  rejectTaskNodes = _res$data.rejectTaskNodes,
@@ -18432,11 +18494,11 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18432
18494
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
18433
18495
  readOnlyNotificationType = _res$data.readOnlyNotificationType;
18434
18496
 
18435
- _this4.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
18436
- _this4.readOnlyNotificationType = readOnlyNotificationType;
18437
- _this4.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
18438
- if (!_this4.isOpinionRequired) {
18439
- _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;
18440
18502
  }
18441
18503
  var list = [];
18442
18504
  if (rejectTaskNodes) {
@@ -18447,18 +18509,18 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18447
18509
  };
18448
18510
  list.push(obj);
18449
18511
  }
18450
- _this4.nodeName = taskExamine.nodeName;
18451
- _this4.rejectObj = list;
18452
- _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);
18453
18515
  }
18454
18516
  } else {
18455
- _this4.$message.error(res.message || '系统错误,请联系管理员!');
18456
- _this4.quit(false);
18517
+ _this5.$message.error(res.message || '系统错误,请联系管理员!');
18518
+ _this5.quit(false);
18457
18519
  }
18458
18520
  }).catch(function (err) {
18459
- _this4.loading = false;
18521
+ _this5.loading = false;
18460
18522
  if (err.message && err.message !== 'canceled') {
18461
- _this4.$message.error(err.message);
18523
+ _this5.$message.error(err.message);
18462
18524
  }
18463
18525
  });
18464
18526
  }
@@ -18476,8 +18538,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
18476
18538
 
18477
18539
  var processReject_component = Object(componentNormalizer["a" /* default */])(
18478
18540
  src_processRejectvue_type_script_lang_js_,
18479
- processRejectvue_type_template_id_6c65370c_render,
18480
- processRejectvue_type_template_id_6c65370c_staticRenderFns,
18541
+ processRejectvue_type_template_id_1d2ca35f_render,
18542
+ processRejectvue_type_template_id_1d2ca35f_staticRenderFns,
18481
18543
  false,
18482
18544
  null,
18483
18545
  null,
@@ -21104,8 +21166,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
21104
21166
  )
21105
21167
 
21106
21168
  /* harmony default export */ var src_reset = (reset_component.exports);
21107
- // 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&
21108
- 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 () {
21109
21171
  var _vm = this
21110
21172
  var _h = _vm.$createElement
21111
21173
  var _c = _vm._self._c || _h
@@ -21131,7 +21193,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21131
21193
  attrs: {
21132
21194
  model: _vm.infoList,
21133
21195
  rules: _vm.rules,
21134
- "label-width": "120px",
21196
+ "label-width": _vm.type != "startDraf" ? "80px" : "120px",
21135
21197
  },
21136
21198
  },
21137
21199
  [
@@ -21185,6 +21247,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21185
21247
  selectorTags: 4,
21186
21248
  showTooltip: _vm.showTooltip,
21187
21249
  mix: _vm.currentMix,
21250
+ title: "选择对象",
21188
21251
  isUnionSeal: _vm.type == "unionSeal",
21189
21252
  selectUserList: _vm.unionSealData || [],
21190
21253
  types:
@@ -21420,11 +21483,11 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
21420
21483
  1
21421
21484
  )
21422
21485
  }
21423
- var taskUnionExaminevue_type_template_id_3256c512_staticRenderFns = []
21424
- 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
21425
21488
 
21426
21489
 
21427
- // 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&
21428
21491
 
21429
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&
21430
21493
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -21603,6 +21666,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
21603
21666
  //
21604
21667
  //
21605
21668
  //
21669
+ //
21606
21670
 
21607
21671
 
21608
21672
 
@@ -21858,13 +21922,13 @@ var taskUnionExaminevue_type_script_lang_js_components;
21858
21922
  var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
21859
21923
  _this3.currentOrgTabs.map(function (x, i) {
21860
21924
  _this3.params[x] = {
21861
- 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],
21862
21926
  only_filid: true
21863
21927
  };
21864
21928
  });
21865
21929
  } else {
21866
21930
  if (_this3.type == 'takeAdvice') {
21867
- _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;
21868
21932
  }
21869
21933
  }
21870
21934
 
@@ -22131,8 +22195,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
22131
22195
 
22132
22196
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22133
22197
  component_taskUnionExaminevue_type_script_lang_js_,
22134
- taskUnionExaminevue_type_template_id_3256c512_render,
22135
- taskUnionExaminevue_type_template_id_3256c512_staticRenderFns,
22198
+ taskUnionExaminevue_type_template_id_f2f9c652_render,
22199
+ taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
22136
22200
  false,
22137
22201
  null,
22138
22202
  null,
@@ -22141,8 +22205,8 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
22141
22205
  )
22142
22206
 
22143
22207
  /* harmony default export */ var taskUnionExamine = (taskUnionExamine_component.exports);
22144
- // 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&
22145
- 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 () {
22146
22210
  var _vm = this
22147
22211
  var _h = _vm.$createElement
22148
22212
  var _c = _vm._self._c || _h
@@ -24259,11 +24323,11 @@ var freeStartFlowvue_type_template_id_458144cd_render = function () {
24259
24323
  )
24260
24324
  : _vm._e()
24261
24325
  }
24262
- var freeStartFlowvue_type_template_id_458144cd_staticRenderFns = []
24263
- 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
24264
24328
 
24265
24329
 
24266
- // 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&
24267
24331
 
24268
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&
24269
24333
 
@@ -25625,11 +25689,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25625
25689
  });
25626
25690
  },
25627
25691
 
25628
- /**
25629
- * saveInfo
25630
- * @desc:暂存
25631
- * @author liufan
25632
- * @date 2022年9月9日
25692
+ /**
25693
+ * saveInfo
25694
+ * @desc:暂存
25695
+ * @author liufan
25696
+ * @date 2022年9月9日
25633
25697
  **/
25634
25698
  saveInfo: function saveInfo(type, btn) {
25635
25699
  var _this6 = this;
@@ -25691,11 +25755,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25691
25755
  });
25692
25756
  },
25693
25757
 
25694
- /**
25695
- * rejectBtn
25696
- * @desc:点击驳回
25697
- * @author liufan
25698
- * @date 2022年5月25日
25758
+ /**
25759
+ * rejectBtn
25760
+ * @desc:点击驳回
25761
+ * @author liufan
25762
+ * @date 2022年5月25日
25699
25763
  **/
25700
25764
  rejectBtn: function rejectBtn() {
25701
25765
  var _this8 = this;
@@ -25713,11 +25777,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25713
25777
  }
25714
25778
  },
25715
25779
 
25716
- /**
25717
- * taskReadBtn
25718
- * @desc:点击分阅
25719
- * @author liufan
25720
- * @date 2022年5月25日
25780
+ /**
25781
+ * taskReadBtn
25782
+ * @desc:点击分阅
25783
+ * @author liufan
25784
+ * @date 2022年5月25日
25721
25785
  **/
25722
25786
  taskReadBtn: function taskReadBtn() {
25723
25787
  var _this9 = this;
@@ -25736,11 +25800,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25736
25800
  }
25737
25801
  },
25738
25802
 
25739
- /**
25740
- * getFind
25741
- * @desc:获取通知方式
25742
- * @author liufan
25743
- * @date 2022年5月25日
25803
+ /**
25804
+ * getFind
25805
+ * @desc:获取通知方式
25806
+ * @author liufan
25807
+ * @date 2022年5月25日
25744
25808
  **/
25745
25809
  getFind: function getFind() {
25746
25810
  var _this10 = this;
@@ -25796,12 +25860,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25796
25860
  });
25797
25861
  },
25798
25862
 
25799
- /**
25800
- * endFlows
25801
- * @desc:直接办结
25802
- * @author liufan
25803
- * @param {Object} res 直接办结数据
25804
- * @date 2022年5月25日
25863
+ /**
25864
+ * endFlows
25865
+ * @desc:直接办结
25866
+ * @author liufan
25867
+ * @param {Object} res 直接办结数据
25868
+ * @date 2022年5月25日
25805
25869
  **/
25806
25870
  endFlows: function endFlows(res) {
25807
25871
  var _this12 = this;
@@ -25855,12 +25919,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25855
25919
  }).catch(function (e) {});
25856
25920
  },
25857
25921
 
25858
- /**
25859
- * goView
25860
- * @desc:更多流程按钮操作
25861
- * @author liufan
25862
- * @param {Object} res 当前点击操作按钮数据
25863
- * @date 2022年5月25日
25922
+ /**
25923
+ * goView
25924
+ * @desc:更多流程按钮操作
25925
+ * @author liufan
25926
+ * @param {Object} res 当前点击操作按钮数据
25927
+ * @date 2022年5月25日
25864
25928
  **/
25865
25929
  goView: function goView(res) {
25866
25930
  // 驳回并办结:rejectAndEndHtml
@@ -25945,11 +26009,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25945
26009
  // isCanStartSubFlow
25946
26010
  },
25947
26011
 
25948
- /**
25949
- * toTakeAdvice
25950
- * @desc:征求意见
25951
- * @author liufan
25952
- * @date 2022年9月29日
26012
+ /**
26013
+ * toTakeAdvice
26014
+ * @desc:征求意见
26015
+ * @author liufan
26016
+ * @date 2022年9月29日
25953
26017
  **/
25954
26018
  toTakeAdvice: function toTakeAdvice(res) {
25955
26019
  var _this14 = this;
@@ -25993,11 +26057,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
25993
26057
  });
25994
26058
  },
25995
26059
 
25996
- /**
25997
- * toStartDraf
25998
- * @desc: 稿件递送、联合审核、复核
25999
- * @author liufan
26000
- * @date 2022年9月29日
26060
+ /**
26061
+ * toStartDraf
26062
+ * @desc: 稿件递送、联合审核、复核
26063
+ * @author liufan
26064
+ * @date 2022年9月29日
26001
26065
  **/
26002
26066
  toStartDraf: function toStartDraf(res) {
26003
26067
  var _this16 = this;
@@ -26011,11 +26075,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26011
26075
  }
26012
26076
  },
26013
26077
 
26014
- /**
26015
- * toSendMsg
26016
- * @desc:核稿通知
26017
- * @author liufan
26018
- * @date 2022年9月29日
26078
+ /**
26079
+ * toSendMsg
26080
+ * @desc:核稿通知
26081
+ * @author liufan
26082
+ * @date 2022年9月29日
26019
26083
  **/
26020
26084
  toSendMsg: function toSendMsg(res) {
26021
26085
  var _this17 = this;
@@ -26029,11 +26093,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26029
26093
  }
26030
26094
  },
26031
26095
 
26032
- /**
26033
- * toTaskReadAndEnd
26034
- * @desc:分阅并办结
26035
- * @author liufan
26036
- * @date 2022年9月29日
26096
+ /**
26097
+ * toTaskReadAndEnd
26098
+ * @desc:分阅并办结
26099
+ * @author liufan
26100
+ * @date 2022年9月29日
26037
26101
  **/
26038
26102
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
26039
26103
  var _this18 = this;
@@ -26051,11 +26115,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26051
26115
  }
26052
26116
  },
26053
26117
 
26054
- /**
26055
- * rejectAndEnd
26056
- * @desc:驳回并办结
26057
- * @author liufan
26058
- * @date 2022年9月29日
26118
+ /**
26119
+ * rejectAndEnd
26120
+ * @desc:驳回并办结
26121
+ * @author liufan
26122
+ * @date 2022年9月29日
26059
26123
  **/
26060
26124
  rejectAndEnd: function rejectAndEnd(res) {
26061
26125
  var _this19 = this;
@@ -26110,11 +26174,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26110
26174
  });
26111
26175
  },
26112
26176
 
26113
- /**
26114
- * toTransfer
26115
- * @desc:转办
26116
- * @author liufan
26117
- * @date 2022年9月29日
26177
+ /**
26178
+ * toTransfer
26179
+ * @desc:转办
26180
+ * @author liufan
26181
+ * @date 2022年9月29日
26118
26182
  **/
26119
26183
  toTransfer: function toTransfer(res) {
26120
26184
  var _this21 = this;
@@ -26130,11 +26194,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26130
26194
  }
26131
26195
  },
26132
26196
 
26133
- /**
26134
- * getNodeInfo
26135
- * @desc:获取节点信息
26136
- * @author liufan
26137
- * @date 2022年5月25日
26197
+ /**
26198
+ * getNodeInfo
26199
+ * @desc:获取节点信息
26200
+ * @author liufan
26201
+ * @date 2022年5月25日
26138
26202
  **/
26139
26203
  getNodeInfo: function getNodeInfo() {
26140
26204
  var _this22 = this;
@@ -26221,7 +26285,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26221
26285
  _this22.handleMode = data.countersignaturetypeText;
26222
26286
  data.globalNodeType === 'endEvent' ? _this22.endFlow = true : '';
26223
26287
  }
26224
- _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
+ }
26225
26293
  } else {
26226
26294
  _this22.$message.error(message || '系统错误,请联系管理员!');
26227
26295
  }
@@ -26233,12 +26301,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26233
26301
  });
26234
26302
  },
26235
26303
 
26236
- /**
26237
- * selecNext
26238
- * @desc:下步节点变化时更新数据
26239
- * @author liufan
26240
- * @param {String} val 当前选中值
26241
- * @date 2022年5月25日
26304
+ /**
26305
+ * selecNext
26306
+ * @desc:下步节点变化时更新数据
26307
+ * @author liufan
26308
+ * @param {String} val 当前选中值
26309
+ * @date 2022年5月25日
26242
26310
  **/
26243
26311
  selecNext: function selecNext(val, type, isDef) {
26244
26312
  var _this23 = this;
@@ -26347,11 +26415,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26347
26415
  if (isDef !== true) this.getNodeInfo();
26348
26416
  },
26349
26417
 
26350
- /**
26351
- * isMultiple
26352
- * @desc:是否多选
26353
- * @author liufan
26354
- * @date 2022年9月13日
26418
+ /**
26419
+ * isMultiple
26420
+ * @desc:是否多选
26421
+ * @author liufan
26422
+ * @date 2022年9月13日
26355
26423
  **/
26356
26424
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
26357
26425
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -26383,11 +26451,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26383
26451
  }
26384
26452
  },
26385
26453
 
26386
- /**
26387
- * getHedInfo
26388
- * @desc:获取审核页面数据
26389
- * @author liufan
26390
- * @date 2022年5月25日
26454
+ /**
26455
+ * getHedInfo
26456
+ * @desc:获取审核页面数据
26457
+ * @author liufan
26458
+ * @date 2022年5月25日
26391
26459
  **/
26392
26460
  getHedInfo: function getHedInfo() {
26393
26461
  var _this24 = this;
@@ -26623,13 +26691,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26623
26691
  });
26624
26692
  },
26625
26693
 
26626
- /**
26627
- * closeProcess
26628
- * @desc:关闭弹窗
26629
- * @author liufan
26630
- * @param {boolean} val 当前是否办理流程
26631
- * @param {String} type 当前点击的弹窗类型
26632
- * @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日
26633
26701
  **/
26634
26702
  closeProcess: function closeProcess(val, type, closeParent) {
26635
26703
  if (closeParent) {
@@ -26646,23 +26714,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26646
26714
  }
26647
26715
  },
26648
26716
 
26649
- /**
26650
- * selectChange
26651
- * @desc:常用语选择
26652
- * @author liufan
26653
- * @param {String} val 选中值
26654
- * @date 2022年5月25日
26717
+ /**
26718
+ * selectChange
26719
+ * @desc:常用语选择
26720
+ * @author liufan
26721
+ * @param {String} val 选中值
26722
+ * @date 2022年5月25日
26655
26723
  **/
26656
26724
  selectChange: function selectChange(val) {
26657
26725
  this.value = val;
26658
26726
  },
26659
26727
 
26660
- /**
26661
- * upDate
26662
- * @desc:修改常用语
26663
- * @author liufan
26664
- * @param {Object} val 修改值
26665
- * @date 2022年5月25日
26728
+ /**
26729
+ * upDate
26730
+ * @desc:修改常用语
26731
+ * @author liufan
26732
+ * @param {Object} val 修改值
26733
+ * @date 2022年5月25日
26666
26734
  **/
26667
26735
  upDate: function upDate(val) {
26668
26736
  this.FormData.id = val.id;
@@ -26670,11 +26738,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26670
26738
  },
26671
26739
 
26672
26740
 
26673
- /**
26674
- * getProcess
26675
- * @desc:获取选择流程
26676
- * @author liufan
26677
- * @date 2022年5月25日
26741
+ /**
26742
+ * getProcess
26743
+ * @desc:获取选择流程
26744
+ * @author liufan
26745
+ * @date 2022年5月25日
26678
26746
  **/
26679
26747
  getProcess: function getProcess() {
26680
26748
  var _this25 = this;
@@ -26728,11 +26796,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26728
26796
  });
26729
26797
  },
26730
26798
 
26731
- /**
26732
- * getPendedhistoryList
26733
- * @desc:获取流程列表
26734
- * @author liufan
26735
- * @date 2022年5月25日
26799
+ /**
26800
+ * getPendedhistoryList
26801
+ * @desc:获取流程列表
26802
+ * @author liufan
26803
+ * @date 2022年5月25日
26736
26804
  **/
26737
26805
  getPendedhistoryList: function getPendedhistoryList() {
26738
26806
  var _this26 = this;
@@ -26764,12 +26832,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
26764
26832
  },
26765
26833
 
26766
26834
  // 提交流程
26767
- /**
26768
- * subProcess
26769
- * @desc:提交流程
26770
- * @author liufan
26771
- * @param {String} formName 当前form表单ref值
26772
- * @date 2022年5月25日
26835
+ /**
26836
+ * subProcess
26837
+ * @desc:提交流程
26838
+ * @author liufan
26839
+ * @param {String} formName 当前form表单ref值
26840
+ * @date 2022年5月25日
26773
26841
  **/
26774
26842
  subProcess: function subProcess(val) {
26775
26843
  var _this27 = this;
@@ -27019,8 +27087,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
27019
27087
 
27020
27088
  var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
27021
27089
  src_freeStartFlowvue_type_script_lang_js_,
27022
- freeStartFlowvue_type_template_id_458144cd_render,
27023
- freeStartFlowvue_type_template_id_458144cd_staticRenderFns,
27090
+ freeStartFlowvue_type_template_id_61ab09c6_render,
27091
+ freeStartFlowvue_type_template_id_61ab09c6_staticRenderFns,
27024
27092
  false,
27025
27093
  null,
27026
27094
  null,
@@ -29966,6 +30034,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
29966
30034
  //
29967
30035
  //
29968
30036
  //
30037
+ //
30038
+ //
29969
30039
 
29970
30040
 
29971
30041
 
@@ -30006,6 +30076,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30006
30076
  hideBtn: { type: Boolean, default: false },
30007
30077
  isCirculate: { type: Boolean, default: false },
30008
30078
  newFlow: { type: Boolean, default: false },
30079
+ ownerType: { type: String, default: '' },
30009
30080
  formLabelPosition: {
30010
30081
  type: String,
30011
30082
  default: 'left'
@@ -30917,11 +30988,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30917
30988
  });
30918
30989
  },
30919
30990
 
30920
- /**
30921
- * saveInfo
30922
- * @desc:暂存
30923
- * @author liufan
30924
- * @date 2022年9月9日
30991
+ /**
30992
+ * saveInfo
30993
+ * @desc:暂存
30994
+ * @author liufan
30995
+ * @date 2022年9月9日
30925
30996
  **/
30926
30997
  saveInfo: function saveInfo(type, btn) {
30927
30998
  var _this14 = this;
@@ -30983,11 +31054,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30983
31054
  });
30984
31055
  },
30985
31056
 
30986
- /**
30987
- * rejectBtn
30988
- * @desc:点击驳回
30989
- * @author liufan
30990
- * @date 2022年5月25日
31057
+ /**
31058
+ * rejectBtn
31059
+ * @desc:点击驳回
31060
+ * @author liufan
31061
+ * @date 2022年5月25日
30991
31062
  **/
30992
31063
  rejectBtn: function rejectBtn(res) {
30993
31064
  var _this16 = this;
@@ -31007,11 +31078,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31007
31078
  }
31008
31079
  },
31009
31080
 
31010
- /**
31011
- * taskReadBtn
31012
- * @desc:点击分阅
31013
- * @author liufan
31014
- * @date 2022年5月25日
31081
+ /**
31082
+ * taskReadBtn
31083
+ * @desc:点击分阅
31084
+ * @author liufan
31085
+ * @date 2022年5月25日
31015
31086
  **/
31016
31087
  taskReadBtn: function taskReadBtn(res) {
31017
31088
  var _this17 = this;
@@ -31033,11 +31104,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31033
31104
  }
31034
31105
  },
31035
31106
 
31036
- /**
31037
- * getFind
31038
- * @desc:获取通知方式
31039
- * @author liufan
31040
- * @date 2022年5月25日
31107
+ /**
31108
+ * getFind
31109
+ * @desc:获取通知方式
31110
+ * @author liufan
31111
+ * @date 2022年5月25日
31041
31112
  **/
31042
31113
  getFind: function getFind() {
31043
31114
  var _this18 = this;
@@ -31104,12 +31175,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31104
31175
  });
31105
31176
  },
31106
31177
 
31107
- /**
31108
- * endFlows
31109
- * @desc:直接办结
31110
- * @author liufan
31111
- * @param {Object} res 直接办结数据
31112
- * @date 2022年5月25日
31178
+ /**
31179
+ * endFlows
31180
+ * @desc:直接办结
31181
+ * @author liufan
31182
+ * @param {Object} res 直接办结数据
31183
+ * @date 2022年5月25日
31113
31184
  **/
31114
31185
  endFlows: function endFlows(res) {
31115
31186
  var _this20 = this;
@@ -31123,9 +31194,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31123
31194
  }
31124
31195
  },
31125
31196
 
31126
- /**
31127
- * 获取弹性布局样式
31128
- * @returns {string} 弹性布局值
31197
+ /**
31198
+ * 获取弹性布局样式
31199
+ * @returns {string} 弹性布局值
31129
31200
  */
31130
31201
  getFlexStyle: function getFlexStyle() {
31131
31202
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -31173,12 +31244,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31173
31244
  }).catch(function (e) {});
31174
31245
  },
31175
31246
 
31176
- /**
31177
- * goView
31178
- * @desc:更多流程按钮操作
31179
- * @author liufan
31180
- * @param {Object} res 当前点击操作按钮数据
31181
- * @date 2022年5月25日
31247
+ /**
31248
+ * goView
31249
+ * @desc:更多流程按钮操作
31250
+ * @author liufan
31251
+ * @param {Object} res 当前点击操作按钮数据
31252
+ * @date 2022年5月25日
31182
31253
  **/
31183
31254
  goView: function goView(res) {
31184
31255
  // 驳回并办结:rejectAndEndHtml
@@ -31190,7 +31261,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31190
31261
  // 驳回:taskRejectHtml
31191
31262
  // 直接办结:endFlowHtml
31192
31263
  // 自由发起子流程:toFreeStartFlow
31193
- console.log(res, '123');
31194
31264
  if (res.type == 4) {
31195
31265
  this.$emit('buttonClick', { fun: res.fun, opinion: this.value }, this.sendData);
31196
31266
  } else if (res.fun === 'toStartTaskRead()') {
@@ -31268,11 +31338,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31268
31338
  // isCanStartSubFlow
31269
31339
  },
31270
31340
 
31271
- /**
31272
- * toTakeAdvice
31273
- * @desc:征求意见
31274
- * @author liufan
31275
- * @date 2022年9月29日
31341
+ /**
31342
+ * toTakeAdvice
31343
+ * @desc:征求意见
31344
+ * @author liufan
31345
+ * @date 2022年9月29日
31276
31346
  **/
31277
31347
  toTakeAdvice: function toTakeAdvice(res) {
31278
31348
  var _this22 = this;
@@ -31320,16 +31390,15 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31320
31390
  });
31321
31391
  },
31322
31392
 
31323
- /**
31324
- * toStartDraf
31325
- * @desc: 稿件递送、联合审核、复核
31326
- * @author liufan
31327
- * @date 2022年9月29日
31393
+ /**
31394
+ * toStartDraf
31395
+ * @desc: 稿件递送、联合审核、复核
31396
+ * @author liufan
31397
+ * @date 2022年9月29日
31328
31398
  **/
31329
31399
  toStartDraf: function toStartDraf(res) {
31330
31400
  var _this24 = this;
31331
31401
 
31332
- console.log(res);
31333
31402
  if (this.beforeSubmit != undefined) {
31334
31403
  this.beforeSubmit().then(function (next) {
31335
31404
  // this.showTaskUnionExamine = true;
@@ -31348,11 +31417,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31348
31417
  }
31349
31418
  },
31350
31419
 
31351
- /**
31352
- * toSendMsg
31353
- * @desc:核稿通知
31354
- * @author liufan
31355
- * @date 2022年9月29日
31420
+ /**
31421
+ * toSendMsg
31422
+ * @desc:核稿通知
31423
+ * @author liufan
31424
+ * @date 2022年9月29日
31356
31425
  **/
31357
31426
  toSendMsg: function toSendMsg(res) {
31358
31427
  var _this25 = this;
@@ -31366,11 +31435,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31366
31435
  }
31367
31436
  },
31368
31437
 
31369
- /**
31370
- * toTaskReadAndEnd
31371
- * @desc:分阅并办结
31372
- * @author liufan
31373
- * @date 2022年9月29日
31438
+ /**
31439
+ * toTaskReadAndEnd
31440
+ * @desc:分阅并办结
31441
+ * @author liufan
31442
+ * @date 2022年9月29日
31374
31443
  **/
31375
31444
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31376
31445
  var _this26 = this;
@@ -31388,11 +31457,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31388
31457
  }
31389
31458
  },
31390
31459
 
31391
- /**
31392
- * rejectAndEnd
31393
- * @desc:驳回并办结
31394
- * @author liufan
31395
- * @date 2022年9月29日
31460
+ /**
31461
+ * rejectAndEnd
31462
+ * @desc:驳回并办结
31463
+ * @author liufan
31464
+ * @date 2022年9月29日
31396
31465
  **/
31397
31466
  rejectAndEnd: function rejectAndEnd(res) {
31398
31467
  var _this27 = this;
@@ -31448,11 +31517,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31448
31517
  });
31449
31518
  },
31450
31519
 
31451
- /**
31452
- * toTransfer
31453
- * @desc:转办
31454
- * @author liufan
31455
- * @date 2022年9月29日
31520
+ /**
31521
+ * toTransfer
31522
+ * @desc:转办
31523
+ * @author liufan
31524
+ * @date 2022年9月29日
31456
31525
  **/
31457
31526
  toTransfer: function toTransfer(res) {
31458
31527
  var _this29 = this;
@@ -31471,11 +31540,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31471
31540
  this.nextNode.customLimitTime = val;
31472
31541
  },
31473
31542
 
31474
- /**
31475
- * getNodeInfo
31476
- * @desc:获取节点信息
31477
- * @author liufan
31478
- * @date 2022年5月25日
31543
+ /**
31544
+ * getNodeInfo
31545
+ * @desc:获取节点信息
31546
+ * @author liufan
31547
+ * @date 2022年5月25日
31479
31548
  **/
31480
31549
  getNodeInfo: function getNodeInfo() {
31481
31550
  var _this30 = this;
@@ -31606,8 +31675,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31606
31675
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
31607
31676
  }
31608
31677
  }
31609
- console.log(_this30.$refs.customPreset.getPresetFlowInfo, 'his.$refs.customPreset');
31610
- _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
+ }
31611
31683
  } else {
31612
31684
  _this30.$message.error(message || '系统错误,请联系管理员!');
31613
31685
  }
@@ -31619,12 +31691,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31619
31691
  });
31620
31692
  },
31621
31693
 
31622
- /**
31623
- * selecNext
31624
- * @desc:下步节点变化时更新数据
31625
- * @author liufan
31626
- * @param {String} val 当前选中值
31627
- * @date 2022年5月25日
31694
+ /**
31695
+ * selecNext
31696
+ * @desc:下步节点变化时更新数据
31697
+ * @author liufan
31698
+ * @param {String} val 当前选中值
31699
+ * @date 2022年5月25日
31628
31700
  **/
31629
31701
  selecNext: function selecNext(val, type, isDef) {
31630
31702
  var _this31 = this;
@@ -31764,11 +31836,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31764
31836
  }
31765
31837
  },
31766
31838
 
31767
- /**
31768
- * isMultiple
31769
- * @desc:是否多选
31770
- * @author liufan
31771
- * @date 2022年9月13日
31839
+ /**
31840
+ * isMultiple
31841
+ * @desc:是否多选
31842
+ * @author liufan
31843
+ * @date 2022年9月13日
31772
31844
  **/
31773
31845
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
31774
31846
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -31793,7 +31865,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31793
31865
  }
31794
31866
  }
31795
31867
  if (val == 15 || val == 16) {
31796
- this.params.filid = this.userModel.orgId;
31868
+ this.params.filid = this.pOrgId;
31797
31869
  if (pOrgId) {
31798
31870
  this.params.filid = pOrgId;
31799
31871
  }
@@ -31803,11 +31875,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31803
31875
  return fun.replace('()', '');
31804
31876
  },
31805
31877
 
31806
- /**
31807
- * getHedInfo
31808
- * @desc:获取审核页面数据
31809
- * @author liufan
31810
- * @date 2022年5月25日
31878
+ /**
31879
+ * getHedInfo
31880
+ * @desc:获取审核页面数据
31881
+ * @author liufan
31882
+ * @date 2022年5月25日
31811
31883
  **/
31812
31884
  getHedInfo: function getHedInfo() {
31813
31885
  var _this32 = this;
@@ -32083,7 +32155,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32083
32155
  // opinion && (this.value = opinion);
32084
32156
  _this32.nextNode.notificationMsg = defaultNotificationMessage;
32085
32157
  _this32.moreList = [];
32086
- console.log(taskButtonList, 'taskButtonList');
32087
32158
  if (taskButtonList && taskButtonList.length != 0) {
32088
32159
  taskButtonList.map(function (item) {
32089
32160
  if (item.fun === 'reject()') {
@@ -32126,13 +32197,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32126
32197
  });
32127
32198
  },
32128
32199
 
32129
- /**
32130
- * closeProcess
32131
- * @desc:关闭弹窗
32132
- * @author liufan
32133
- * @param {boolean} val 当前是否办理流程
32134
- * @param {String} type 当前点击的弹窗类型
32135
- * @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日
32136
32207
  **/
32137
32208
  closeProcess: function closeProcess(val, type, closeParent) {
32138
32209
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -32152,23 +32223,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32152
32223
  }
32153
32224
  },
32154
32225
 
32155
- /**
32156
- * selectChange
32157
- * @desc:常用语选择
32158
- * @author liufan
32159
- * @param {String} val 选中值
32160
- * @date 2022年5月25日
32226
+ /**
32227
+ * selectChange
32228
+ * @desc:常用语选择
32229
+ * @author liufan
32230
+ * @param {String} val 选中值
32231
+ * @date 2022年5月25日
32161
32232
  **/
32162
32233
  selectChange: function selectChange(val) {
32163
32234
  this.value = val;
32164
32235
  },
32165
32236
 
32166
- /**
32167
- * upDate
32168
- * @desc:修改常用语
32169
- * @author liufan
32170
- * @param {Object} val 修改值
32171
- * @date 2022年5月25日
32237
+ /**
32238
+ * upDate
32239
+ * @desc:修改常用语
32240
+ * @author liufan
32241
+ * @param {Object} val 修改值
32242
+ * @date 2022年5月25日
32172
32243
  **/
32173
32244
  upDate: function upDate(val) {
32174
32245
  this.FormData.id = val.id;
@@ -32176,11 +32247,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32176
32247
  },
32177
32248
 
32178
32249
 
32179
- /**
32180
- * getProcess
32181
- * @desc:获取选择流程
32182
- * @author liufan
32183
- * @date 2022年5月25日
32250
+ /**
32251
+ * getProcess
32252
+ * @desc:获取选择流程
32253
+ * @author liufan
32254
+ * @date 2022年5月25日
32184
32255
  **/
32185
32256
  getProcess: function getProcess(val) {
32186
32257
  var _this33 = this;
@@ -32192,6 +32263,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32192
32263
  isOnly: true,
32193
32264
  hideTempSave: true
32194
32265
  }, this.param);
32266
+ if (this.ownerType) {
32267
+ params.ownerType = this.ownerType;
32268
+ }
32195
32269
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
32196
32270
  util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
32197
32271
  var status = res.status,
@@ -32240,11 +32314,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32240
32314
  });
32241
32315
  },
32242
32316
 
32243
- /**
32244
- * getPendedhistoryList
32245
- * @desc:获取流程列表
32246
- * @author liufan
32247
- * @date 2022年5月25日
32317
+ /**
32318
+ * getPendedhistoryList
32319
+ * @desc:获取流程列表
32320
+ * @author liufan
32321
+ * @date 2022年5月25日
32248
32322
  **/
32249
32323
  getPendedhistoryList: function getPendedhistoryList() {
32250
32324
  var _this34 = this;
@@ -32312,28 +32386,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32312
32386
  },
32313
32387
 
32314
32388
  // 提交流程前验证
32315
- beforeSubProcess: function beforeSubProcess() {},
32316
-
32317
- // 提交流程
32318
- /**
32319
- * subProcess
32320
- * @desc:提交流程
32321
- * @author liufan
32322
- * @param {String} formName 当前form表单ref值
32323
- * @date 2022年5月25日
32324
- **/
32325
- subProcess: function subProcess(val, type) {
32389
+ beforeSubProcess: function beforeSubProcess(val, type) {
32326
32390
  var _this36 = this;
32327
32391
 
32328
- if (this.btnType != 'default') {
32329
- if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
32330
- warning('暂无可驳回节点及对象');
32331
- return;
32332
- }
32333
- console.log('taskReadBtn', this.btnType);
32334
- this.$refs[this.btnType].subProcess('nextNode');
32335
- return;
32336
- }
32337
32392
  return this.$refs['nextNode'].validate(function (valid) {
32338
32393
  if (valid) {
32339
32394
  if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
@@ -32354,6 +32409,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32354
32409
  // this.reqCircularRead(type);
32355
32410
  // return;
32356
32411
  // }
32412
+
32357
32413
  if (_this36.submitButtonFunKey) {
32358
32414
  var btnInfo = _this36.taskNodeButtons.filter(function (x) {
32359
32415
  return x.key === _this36.submitButtonFunKey;
@@ -32374,13 +32430,39 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32374
32430
  if (_this36.beforeSubmit == undefined) {
32375
32431
  _this36.subFun(_this36.sendData);
32376
32432
  } else {
32377
- _this36.beforeSubmit(1).then(function (next) {
32378
- _this36.sendData();
32379
- }).catch(function (e) {});
32433
+ _this36.sendData();
32380
32434
  }
32381
32435
  }
32382
32436
  });
32383
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
+ },
32384
32466
  validInfo: function validInfo() {
32385
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) {
32386
32468
  if (this.isShowNextUser) {
@@ -32420,14 +32502,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32420
32502
  return true;
32421
32503
  },
32422
32504
  flowSuccess: function flowSuccess(hideMessage) {
32423
- var _this37 = this;
32505
+ var _this38 = this;
32424
32506
 
32425
32507
  if (!this.simpleTips) {
32426
32508
  this.$alert('提交成功', '', {
32427
32509
  confirmButtonText: '确定',
32428
32510
  type: 'success',
32429
32511
  callback: function callback(action) {
32430
- _this37.$emit('success');
32512
+ _this38.$emit('success');
32431
32513
  }
32432
32514
  });
32433
32515
  } else {
@@ -32438,7 +32520,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32438
32520
  }
32439
32521
  },
32440
32522
  sendData: function sendData(freetype) {
32441
- var _this38 = this;
32523
+ var _this39 = this;
32442
32524
 
32443
32525
  if (this.isFlow && !this.nodeInfo.nextNode) {
32444
32526
  this.$message.warning('请选择流程');
@@ -32454,85 +32536,114 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32454
32536
  }
32455
32537
  this.$refs['nextNode'].validate(function () {
32456
32538
  var _ref2 = flowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
32457
- 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;
32458
32540
  return regenerator_default.a.wrap(function _callee2$(_context2) {
32459
32541
  while (1) {
32460
32542
  switch (_context2.prev = _context2.next) {
32461
32543
  case 0:
32462
32544
  if (!valid) {
32463
- _context2.next = 60;
32545
+ _context2.next = 71;
32464
32546
  break;
32465
32547
  }
32466
32548
 
32467
- if (!_this38.isFlow) {
32549
+ if (!_this39.isFlow) {
32468
32550
  _context2.next = 7;
32469
32551
  break;
32470
32552
  }
32471
32553
 
32472
- if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
32554
+ if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
32473
32555
  _context2.next = 5;
32474
32556
  break;
32475
32557
  }
32476
32558
 
32477
- _this38.$message.warning('请输入审批意见');
32559
+ _this39.$message.warning('请输入审批意见');
32478
32560
  return _context2.abrupt('return');
32479
32561
 
32480
32562
  case 5:
32481
- if (_this38.directCreateCircularReadWhenFlowStarted) {
32482
- _this38.circulateVisible = true;
32563
+ if (_this39.directCreateCircularReadWhenFlowStarted) {
32564
+ _this39.circulateVisible = true;
32483
32565
  } else {
32484
- _this38.handleVisible = true;
32566
+ _this39.handleVisible = true;
32485
32567
  }
32486
32568
  return _context2.abrupt('return');
32487
32569
 
32488
32570
  case 7:
32489
32571
  nextUserId = [];
32490
32572
 
32491
- if (_this38.multiple) {
32492
- _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
32573
+ if (_this39.multiple) {
32574
+ _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
32493
32575
  return nextUserId.push(item);
32494
32576
  });
32495
32577
  }
32496
32578
  addSignUserId = [];
32497
32579
 
32498
- if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
32499
- _this38.nextNode.addSignUserId.map(function (item) {
32580
+ if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
32581
+ _this39.nextNode.addSignUserId.map(function (item) {
32500
32582
  addSignUserId.push(item);
32501
32583
  });
32502
32584
  }
32503
32585
  removeSignUserId = [];
32504
32586
 
32505
- if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
32506
- _this38.nextNode.removeSignUserId.map(function (item) {
32587
+ if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
32588
+ _this39.nextNode.removeSignUserId.map(function (item) {
32507
32589
  removeSignUserId.push(item);
32508
32590
  });
32509
32591
  }
32510
32592
  str = '';
32511
32593
 
32512
- if (_this38.value) {
32513
- str = _this38.value.replace(/\s+/g, '');
32594
+ if (_this39.value) {
32595
+ str = _this39.value.replace(/\s+/g, '');
32514
32596
  }
32515
- if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
32516
- _this38.value = _this38.nodeDefaultSubmitOpinion;
32597
+ if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
32598
+ _this39.value = _this39.nodeDefaultSubmitOpinion;
32517
32599
  }
32518
- if (!_this38.isSpecial) {
32519
- delete _this38.nextNode.nextOperate;
32520
- delete _this38.nextNode.nextNodeId;
32600
+ if (!_this39.isSpecial) {
32601
+ delete _this39.nextNode.nextOperate;
32602
+ delete _this39.nextNode.nextNodeId;
32521
32603
  }
32522
- if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
32523
- _this38.nextNode.isReturnRejectNode = 1;
32524
- _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;
32525
32607
  }
32526
- if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
32527
- 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;
32528
32610
  }
32529
32611
 
32530
- if (!_this38.isCancelSecondConfirmationType) {
32531
- _context2.next = 22;
32612
+ if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
32613
+ _context2.next = 30;
32532
32614
  break;
32533
32615
  }
32534
32616
 
32535
- _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('确认提交吗?', '提示', {
32536
32647
  confirmButtonText: '确定',
32537
32648
  cancelButtonText: '取消',
32538
32649
  type: 'warning'
@@ -32548,46 +32659,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32548
32659
  }
32549
32660
 
32550
32661
  _context.next = 3;
32551
- return _this38.saveInfo('subMit');
32662
+ return _this39.saveInfo('subMit');
32552
32663
 
32553
32664
  case 3:
32554
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
32665
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32555
32666
 
32556
32667
  case 4:
32557
32668
  notificationType = '';
32558
32669
 
32559
- notificationType = _this38.nextNode.notificationType.join(',');
32670
+ notificationType = _this39.nextNode.notificationType.join(',');
32560
32671
  addSignUserId = addSignUserId.join(',');
32561
32672
  removeSignUserId = removeSignUserId.join(',');
32562
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
32563
- delete _this38.nextNode.addSignMode;
32673
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32674
+ delete _this39.nextNode.addSignMode;
32564
32675
  }
32565
32676
 
32566
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
32567
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
32568
- pendingId: _this38.pendingId,
32569
- 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,
32570
32681
  userId: util["a" /* default */].getStorage('userId'),
32571
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
32682
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32572
32683
  addSignUserId: addSignUserId,
32573
- customPresetUserJson: JSON.stringify(_this38.presetList),
32574
- presetUserJson: JSON.stringify(_this38.presetUserJson),
32684
+ customPresetUserJson: JSON.stringify(_this39.presetList),
32685
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
32575
32686
  removeSignUserId: removeSignUserId,
32576
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
32577
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
32578
- 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(','),
32579
32690
  notificationType: notificationType
32580
32691
  });
32581
32692
 
32582
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
32693
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32583
32694
  delete params.customLimitTimeText;
32584
- if (_this38.nextNode.isRemoveSign != '1') {
32695
+ if (_this39.nextNode.isRemoveSign != '1') {
32585
32696
  delete params.removeSignUserId;
32586
32697
  }
32587
- if (_this38.nextNode.isAddSign != '1') {
32698
+ if (_this39.nextNode.isAddSign != '1') {
32588
32699
  delete params.addSignUserId;
32589
32700
  }
32590
- if (!_this38.isSpecial) {
32701
+ if (!_this39.isSpecial) {
32591
32702
  delete params.nextUserId;
32592
32703
  }
32593
32704
 
@@ -32596,13 +32707,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32596
32707
  break;
32597
32708
  }
32598
32709
 
32599
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
32600
- _this38.taskParams = params;
32710
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32711
+ _this39.taskParams = params;
32601
32712
  return _context.abrupt('return');
32602
32713
 
32603
32714
  case 19:
32604
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
32605
- 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;
32606
32717
 
32607
32718
  params.isEndUserTask = isEndUserTask;
32608
32719
  params.choiceOrgId = choiceOrgId;
@@ -32626,17 +32737,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32626
32737
  var status = res.status,
32627
32738
  message = res.message;
32628
32739
 
32629
- _this38.loading.close();
32740
+ _this39.loading.close();
32630
32741
  if (status === 'success') {
32631
- _this38.flowSuccess();
32742
+ _this39.flowSuccess();
32632
32743
  } else {
32633
- _this38.$message.error(message || '系统错误,请联系管理员!');
32634
- _this38.$emit('error');
32744
+ _this39.$message.error(message || '系统错误,请联系管理员!');
32745
+ _this39.$emit('error');
32635
32746
  }
32636
32747
  }).catch(function (err) {
32637
- _this38.loading.close();
32748
+ _this39.loading.close();
32638
32749
  if (err.message && err.message !== 'canceled') {
32639
- _this38.$message.error(err.message);
32750
+ _this39.$message.error(err.message);
32640
32751
  }
32641
32752
  }));
32642
32753
 
@@ -32645,72 +32756,72 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32645
32756
  return _context.stop();
32646
32757
  }
32647
32758
  }
32648
- }, _callee, _this38);
32759
+ }, _callee, _this39);
32649
32760
  })));
32650
32761
  return _context2.abrupt('return');
32651
32762
 
32652
- case 22:
32763
+ case 33:
32653
32764
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
32654
- _context2.next = 26;
32765
+ _context2.next = 37;
32655
32766
  break;
32656
32767
  }
32657
32768
 
32658
- _context2.next = 25;
32659
- return _this38.saveInfo('subMit');
32769
+ _context2.next = 36;
32770
+ return _this39.saveInfo('subMit');
32660
32771
 
32661
- case 25:
32662
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
32772
+ case 36:
32773
+ _this39.loading = util["a" /* default */].loading(_this39.$loading, '加载中...');
32663
32774
 
32664
- case 26:
32775
+ case 37:
32665
32776
  notificationType = '';
32666
32777
 
32667
- notificationType = _this38.nextNode.notificationType.join(',');
32778
+ notificationType = _this39.nextNode.notificationType.join(',');
32668
32779
  addSignUserId = addSignUserId.join(',');
32669
32780
  removeSignUserId = removeSignUserId.join(',');
32670
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
32671
- delete _this38.nextNode.addSignMode;
32781
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
32782
+ delete _this39.nextNode.addSignMode;
32672
32783
  }
32673
32784
 
32674
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
32675
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
32676
- pendingId: _this38.pendingId,
32677
- 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,
32678
32789
  userId: util["a" /* default */].getStorage('userId'),
32679
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
32790
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
32680
32791
  addSignUserId: addSignUserId,
32681
- customPresetUserJson: JSON.stringify(_this38.presetList),
32682
- presetUserJson: JSON.stringify(_this38.presetUserJson),
32792
+ customPresetUserJson: JSON.stringify(_this39.presetList),
32793
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
32683
32794
  removeSignUserId: removeSignUserId,
32684
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
32685
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
32686
- 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(','),
32687
32798
  notificationType: notificationType
32688
32799
  });
32689
32800
 
32690
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
32801
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
32691
32802
  delete params.customLimitTimeText;
32692
- if (_this38.nextNode.isRemoveSign != '1') {
32803
+ if (_this39.nextNode.isRemoveSign != '1') {
32693
32804
  delete params.removeSignUserId;
32694
32805
  }
32695
- if (_this38.nextNode.isAddSign != '1') {
32806
+ if (_this39.nextNode.isAddSign != '1') {
32696
32807
  delete params.addSignUserId;
32697
32808
  }
32698
- if (!_this38.isSpecial) {
32809
+ if (!_this39.isSpecial) {
32699
32810
  delete params.nextUserId;
32700
32811
  }
32701
32812
 
32702
32813
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
32703
- _context2.next = 41;
32814
+ _context2.next = 52;
32704
32815
  break;
32705
32816
  }
32706
32817
 
32707
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
32708
- _this38.taskParams = params;
32818
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
32819
+ _this39.taskParams = params;
32709
32820
  return _context2.abrupt('return');
32710
32821
 
32711
- case 41:
32712
- _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
32713
- 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;
32714
32825
 
32715
32826
  params.isEndUserTask = isEndUserTask;
32716
32827
  params.choiceOrgId = choiceOrgId;
@@ -32734,29 +32845,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32734
32845
  var status = res.status,
32735
32846
  message = res.message;
32736
32847
 
32737
- _this38.loading.close();
32848
+ _this39.loading.close();
32738
32849
  if (status === 'success') {
32739
- _this38.flowSuccess();
32850
+ _this39.flowSuccess();
32740
32851
  } else {
32741
- _this38.$message.error(message || '系统错误,请联系管理员!');
32742
- _this38.$emit('error');
32852
+ _this39.$message.error(message || '系统错误,请联系管理员!');
32853
+ _this39.$emit('error');
32743
32854
  }
32744
32855
  }).catch(function (err) {
32745
- _this38.loading.close();
32856
+ _this39.loading.close();
32746
32857
  if (err.message && err.message !== 'canceled') {
32747
- _this38.$message.error(err.message);
32858
+ _this39.$message.error(err.message);
32748
32859
  }
32749
32860
  }));
32750
32861
 
32751
- case 60:
32862
+ case 71:
32752
32863
  return _context2.abrupt('return', false);
32753
32864
 
32754
- case 61:
32865
+ case 72:
32755
32866
  case 'end':
32756
32867
  return _context2.stop();
32757
32868
  }
32758
32869
  }
32759
- }, _callee2, _this38);
32870
+ }, _callee2, _this39);
32760
32871
  }));
32761
32872
 
32762
32873
  return function (_x) {
@@ -32812,8 +32923,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
32812
32923
 
32813
32924
  var flow_component = Object(componentNormalizer["a" /* default */])(
32814
32925
  src_flowvue_type_script_lang_js_,
32815
- flowvue_type_template_id_68430d4b_render,
32816
- flowvue_type_template_id_68430d4b_staticRenderFns,
32926
+ flowvue_type_template_id_160c0322_render,
32927
+ flowvue_type_template_id_160c0322_staticRenderFns,
32817
32928
  false,
32818
32929
  null,
32819
32930
  null,
@@ -34121,6 +34232,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34121
34232
  //
34122
34233
  //
34123
34234
  //
34235
+ //
34236
+ //
34237
+ //
34238
+ //
34239
+ //
34240
+ //
34124
34241
 
34125
34242
 
34126
34243
 
@@ -34161,6 +34278,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34161
34278
  hideBtn: { type: Boolean, default: false },
34162
34279
  isCirculate: { type: Boolean, default: false },
34163
34280
  newFlow: { type: Boolean, default: false },
34281
+ ownerType: { type: String, default: '' },
34164
34282
  formLabelPosition: {
34165
34283
  type: String,
34166
34284
  default: 'left'
@@ -34246,6 +34364,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34246
34364
  oldNextOperate: '',
34247
34365
  showOpinion: true,
34248
34366
  submitButtonFunKey: '',
34367
+ showFlowImg: true,
34249
34368
  activitiDefinitionSort: false,
34250
34369
  taskNodeButtons: [],
34251
34370
  taskOperationShiftedNodeList: null,
@@ -34552,6 +34671,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34552
34671
  }
34553
34672
  },
34554
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
+ },
34555
34680
  sortSuccess: function sortSuccess(list) {
34556
34681
  this.nodeInfo.option = list;
34557
34682
  if (this.defaultProcessKey == '') {
@@ -35053,11 +35178,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35053
35178
  });
35054
35179
  },
35055
35180
 
35056
- /**
35057
- * saveInfo
35058
- * @desc:暂存
35059
- * @author liufan
35060
- * @date 2022年9月9日
35181
+ /**
35182
+ * saveInfo
35183
+ * @desc:暂存
35184
+ * @author liufan
35185
+ * @date 2022年9月9日
35061
35186
  **/
35062
35187
  saveInfo: function saveInfo(type, btn) {
35063
35188
  var _this14 = this;
@@ -35119,11 +35244,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35119
35244
  });
35120
35245
  },
35121
35246
 
35122
- /**
35123
- * rejectBtn
35124
- * @desc:点击驳回
35125
- * @author liufan
35126
- * @date 2022年5月25日
35247
+ /**
35248
+ * rejectBtn
35249
+ * @desc:点击驳回
35250
+ * @author liufan
35251
+ * @date 2022年5月25日
35127
35252
  **/
35128
35253
  rejectBtn: function rejectBtn() {
35129
35254
  var _this16 = this;
@@ -35141,11 +35266,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35141
35266
  }
35142
35267
  },
35143
35268
 
35144
- /**
35145
- * taskReadBtn
35146
- * @desc:点击分阅
35147
- * @author liufan
35148
- * @date 2022年5月25日
35269
+ /**
35270
+ * taskReadBtn
35271
+ * @desc:点击分阅
35272
+ * @author liufan
35273
+ * @date 2022年5月25日
35149
35274
  **/
35150
35275
  taskReadBtn: function taskReadBtn() {
35151
35276
  var _this17 = this;
@@ -35164,11 +35289,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35164
35289
  }
35165
35290
  },
35166
35291
 
35167
- /**
35168
- * getFind
35169
- * @desc:获取通知方式
35170
- * @author liufan
35171
- * @date 2022年5月25日
35292
+ /**
35293
+ * getFind
35294
+ * @desc:获取通知方式
35295
+ * @author liufan
35296
+ * @date 2022年5月25日
35172
35297
  **/
35173
35298
  getFind: function getFind() {
35174
35299
  var _this18 = this;
@@ -35235,12 +35360,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35235
35360
  });
35236
35361
  },
35237
35362
 
35238
- /**
35239
- * endFlows
35240
- * @desc:直接办结
35241
- * @author liufan
35242
- * @param {Object} res 直接办结数据
35243
- * @date 2022年5月25日
35363
+ /**
35364
+ * endFlows
35365
+ * @desc:直接办结
35366
+ * @author liufan
35367
+ * @param {Object} res 直接办结数据
35368
+ * @date 2022年5月25日
35244
35369
  **/
35245
35370
  endFlows: function endFlows(res) {
35246
35371
  var _this20 = this;
@@ -35295,12 +35420,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35295
35420
  }).catch(function (e) {});
35296
35421
  },
35297
35422
 
35298
- /**
35299
- * goView
35300
- * @desc:更多流程按钮操作
35301
- * @author liufan
35302
- * @param {Object} res 当前点击操作按钮数据
35303
- * @date 2022年5月25日
35423
+ /**
35424
+ * goView
35425
+ * @desc:更多流程按钮操作
35426
+ * @author liufan
35427
+ * @param {Object} res 当前点击操作按钮数据
35428
+ * @date 2022年5月25日
35304
35429
  **/
35305
35430
  goView: function goView(res) {
35306
35431
  // 驳回并办结:rejectAndEndHtml
@@ -35343,6 +35468,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35343
35468
  this.toStartDraf(res);
35344
35469
  } else if (res.fun === 'toTakeAdvice()') {
35345
35470
  //征求意见
35471
+ if (this.isOpinionRequired && !this.value) return this.$message.warning('请选择或输入审批意见');
35346
35472
  this.flowType = 'takeAdvice';
35347
35473
  this.flowMultiple = true;
35348
35474
  this.flowDisabled = false;
@@ -35387,11 +35513,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35387
35513
  // isCanStartSubFlow
35388
35514
  },
35389
35515
 
35390
- /**
35391
- * toTakeAdvice
35392
- * @desc:征求意见
35393
- * @author liufan
35394
- * @date 2022年9月29日
35516
+ /**
35517
+ * toTakeAdvice
35518
+ * @desc:征求意见
35519
+ * @author liufan
35520
+ * @date 2022年9月29日
35395
35521
  **/
35396
35522
  toTakeAdvice: function toTakeAdvice(res) {
35397
35523
  var _this22 = this;
@@ -35435,11 +35561,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35435
35561
  });
35436
35562
  },
35437
35563
 
35438
- /**
35439
- * toStartDraf
35440
- * @desc: 稿件递送、联合审核、复核
35441
- * @author liufan
35442
- * @date 2022年9月29日
35564
+ /**
35565
+ * toStartDraf
35566
+ * @desc: 稿件递送、联合审核、复核
35567
+ * @author liufan
35568
+ * @date 2022年9月29日
35443
35569
  **/
35444
35570
  toStartDraf: function toStartDraf(res) {
35445
35571
  var _this24 = this;
@@ -35453,11 +35579,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35453
35579
  }
35454
35580
  },
35455
35581
 
35456
- /**
35457
- * toSendMsg
35458
- * @desc:核稿通知
35459
- * @author liufan
35460
- * @date 2022年9月29日
35582
+ /**
35583
+ * toSendMsg
35584
+ * @desc:核稿通知
35585
+ * @author liufan
35586
+ * @date 2022年9月29日
35461
35587
  **/
35462
35588
  toSendMsg: function toSendMsg(res) {
35463
35589
  var _this25 = this;
@@ -35471,11 +35597,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35471
35597
  }
35472
35598
  },
35473
35599
 
35474
- /**
35475
- * toTaskReadAndEnd
35476
- * @desc:分阅并办结
35477
- * @author liufan
35478
- * @date 2022年9月29日
35600
+ /**
35601
+ * toTaskReadAndEnd
35602
+ * @desc:分阅并办结
35603
+ * @author liufan
35604
+ * @date 2022年9月29日
35479
35605
  **/
35480
35606
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
35481
35607
  var _this26 = this;
@@ -35493,11 +35619,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35493
35619
  }
35494
35620
  },
35495
35621
 
35496
- /**
35497
- * rejectAndEnd
35498
- * @desc:驳回并办结
35499
- * @author liufan
35500
- * @date 2022年9月29日
35622
+ /**
35623
+ * rejectAndEnd
35624
+ * @desc:驳回并办结
35625
+ * @author liufan
35626
+ * @date 2022年9月29日
35501
35627
  **/
35502
35628
  rejectAndEnd: function rejectAndEnd(res) {
35503
35629
  var _this27 = this;
@@ -35553,11 +35679,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35553
35679
  });
35554
35680
  },
35555
35681
 
35556
- /**
35557
- * toTransfer
35558
- * @desc:转办
35559
- * @author liufan
35560
- * @date 2022年9月29日
35682
+ /**
35683
+ * toTransfer
35684
+ * @desc:转办
35685
+ * @author liufan
35686
+ * @date 2022年9月29日
35561
35687
  **/
35562
35688
  toTransfer: function toTransfer(res) {
35563
35689
  var _this29 = this;
@@ -35576,11 +35702,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35576
35702
  this.nextNode.customLimitTime = val;
35577
35703
  },
35578
35704
 
35579
- /**
35580
- * getNodeInfo
35581
- * @desc:获取节点信息
35582
- * @author liufan
35583
- * @date 2022年5月25日
35705
+ /**
35706
+ * getNodeInfo
35707
+ * @desc:获取节点信息
35708
+ * @author liufan
35709
+ * @date 2022年5月25日
35584
35710
  **/
35585
35711
  getNodeInfo: function getNodeInfo() {
35586
35712
  var _this30 = this;
@@ -35711,7 +35837,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35711
35837
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
35712
35838
  }
35713
35839
  }
35714
- _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
+ }
35715
35845
  } else {
35716
35846
  _this30.$message.error(message || '系统错误,请联系管理员!');
35717
35847
  }
@@ -35723,12 +35853,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35723
35853
  });
35724
35854
  },
35725
35855
 
35726
- /**
35727
- * selecNext
35728
- * @desc:下步节点变化时更新数据
35729
- * @author liufan
35730
- * @param {String} val 当前选中值
35731
- * @date 2022年5月25日
35856
+ /**
35857
+ * selecNext
35858
+ * @desc:下步节点变化时更新数据
35859
+ * @author liufan
35860
+ * @param {String} val 当前选中值
35861
+ * @date 2022年5月25日
35732
35862
  **/
35733
35863
  selecNext: function selecNext(val, type, isDef) {
35734
35864
  var _this31 = this;
@@ -35868,11 +35998,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35868
35998
  }
35869
35999
  },
35870
36000
 
35871
- /**
35872
- * isMultiple
35873
- * @desc:是否多选
35874
- * @author liufan
35875
- * @date 2022年9月13日
36001
+ /**
36002
+ * isMultiple
36003
+ * @desc:是否多选
36004
+ * @author liufan
36005
+ * @date 2022年9月13日
35876
36006
  **/
35877
36007
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
35878
36008
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -35896,19 +36026,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35896
36026
  this.params.filid = choiceOrgId;
35897
36027
  }
35898
36028
  }
35899
- if (val == 15 || val == 16) {
35900
- this.params.filid = this.userModel.orgId;
36029
+ if (val == 15) {
36030
+ this.params.filid = this.pOrgId;
35901
36031
  if (pOrgId) {
35902
36032
  this.params.filid = pOrgId;
35903
36033
  }
35904
36034
  }
35905
36035
  },
35906
36036
 
35907
- /**
35908
- * getHedInfo
35909
- * @desc:获取审核页面数据
35910
- * @author liufan
35911
- * @date 2022年5月25日
36037
+ /**
36038
+ * getHedInfo
36039
+ * @desc:获取审核页面数据
36040
+ * @author liufan
36041
+ * @date 2022年5月25日
35912
36042
  **/
35913
36043
  getHedInfo: function getHedInfo() {
35914
36044
  var _this32 = this;
@@ -36227,13 +36357,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36227
36357
  });
36228
36358
  },
36229
36359
 
36230
- /**
36231
- * closeProcess
36232
- * @desc:关闭弹窗
36233
- * @author liufan
36234
- * @param {boolean} val 当前是否办理流程
36235
- * @param {String} type 当前点击的弹窗类型
36236
- * @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日
36237
36367
  **/
36238
36368
  closeProcess: function closeProcess(val, type, closeParent) {
36239
36369
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -36253,23 +36383,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36253
36383
  }
36254
36384
  },
36255
36385
 
36256
- /**
36257
- * selectChange
36258
- * @desc:常用语选择
36259
- * @author liufan
36260
- * @param {String} val 选中值
36261
- * @date 2022年5月25日
36386
+ /**
36387
+ * selectChange
36388
+ * @desc:常用语选择
36389
+ * @author liufan
36390
+ * @param {String} val 选中值
36391
+ * @date 2022年5月25日
36262
36392
  **/
36263
36393
  selectChange: function selectChange(val) {
36264
36394
  this.value = val;
36265
36395
  },
36266
36396
 
36267
- /**
36268
- * upDate
36269
- * @desc:修改常用语
36270
- * @author liufan
36271
- * @param {Object} val 修改值
36272
- * @date 2022年5月25日
36397
+ /**
36398
+ * upDate
36399
+ * @desc:修改常用语
36400
+ * @author liufan
36401
+ * @param {Object} val 修改值
36402
+ * @date 2022年5月25日
36273
36403
  **/
36274
36404
  upDate: function upDate(val) {
36275
36405
  this.FormData.id = val.id;
@@ -36277,11 +36407,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36277
36407
  },
36278
36408
 
36279
36409
 
36280
- /**
36281
- * getProcess
36282
- * @desc:获取选择流程
36283
- * @author liufan
36284
- * @date 2022年5月25日
36410
+ /**
36411
+ * getProcess
36412
+ * @desc:获取选择流程
36413
+ * @author liufan
36414
+ * @date 2022年5月25日
36285
36415
  **/
36286
36416
  getProcess: function getProcess(val) {
36287
36417
  var _this33 = this;
@@ -36293,6 +36423,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36293
36423
  isOnly: true,
36294
36424
  hideTempSave: true
36295
36425
  }, this.param);
36426
+ if (this.ownerType) {
36427
+ params.ownerType = this.ownerType;
36428
+ }
36296
36429
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
36297
36430
  util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
36298
36431
  var status = res.status,
@@ -36341,11 +36474,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36341
36474
  });
36342
36475
  },
36343
36476
 
36344
- /**
36345
- * getPendedhistoryList
36346
- * @desc:获取流程列表
36347
- * @author liufan
36348
- * @date 2022年5月25日
36477
+ /**
36478
+ * getPendedhistoryList
36479
+ * @desc:获取流程列表
36480
+ * @author liufan
36481
+ * @date 2022年5月25日
36349
36482
  **/
36350
36483
  getPendedhistoryList: function getPendedhistoryList() {
36351
36484
  var _this34 = this;
@@ -36418,12 +36551,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36418
36551
  beforeSubProcess: function beforeSubProcess() {},
36419
36552
 
36420
36553
  // 提交流程
36421
- /**
36422
- * subProcess
36423
- * @desc:提交流程
36424
- * @author liufan
36425
- * @param {String} formName 当前form表单ref值
36426
- * @date 2022年5月25日
36554
+ /**
36555
+ * subProcess
36556
+ * @desc:提交流程
36557
+ * @author liufan
36558
+ * @param {String} formName 当前form表单ref值
36559
+ * @date 2022年5月25日
36427
36560
  **/
36428
36561
  subProcess: function subProcess(val, type) {
36429
36562
  var _this36 = this;
@@ -36548,13 +36681,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36548
36681
  }
36549
36682
  this.$refs['nextNode'].validate(function () {
36550
36683
  var _ref2 = mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
36551
- 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;
36552
36685
  return regenerator_default.a.wrap(function _callee2$(_context2) {
36553
36686
  while (1) {
36554
36687
  switch (_context2.prev = _context2.next) {
36555
36688
  case 0:
36556
36689
  if (!valid) {
36557
- _context2.next = 60;
36690
+ _context2.next = 71;
36558
36691
  break;
36559
36692
  }
36560
36693
 
@@ -36621,8 +36754,37 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36621
36754
  delete _this38.nextNode.nextNodeId;
36622
36755
  }
36623
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:
36624
36786
  if (!_this38.isCancelSecondConfirmationType) {
36625
- _context2.next = 22;
36787
+ _context2.next = 33;
36626
36788
  break;
36627
36789
  }
36628
36790
 
@@ -36673,7 +36835,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36673
36835
  notificationType: notificationType
36674
36836
  });
36675
36837
 
36676
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
36838
+ if (_this38.activeNames != '1' || !_this38.isCustomPreset) delete params.customPresetUserJson;
36677
36839
  delete params.customLimitTimeText;
36678
36840
  if (_this38.nextNode.isRemoveSign != '1') {
36679
36841
  delete params.removeSignUserId;
@@ -36743,19 +36905,19 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36743
36905
  })));
36744
36906
  return _context2.abrupt('return');
36745
36907
 
36746
- case 22:
36908
+ case 33:
36747
36909
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
36748
- _context2.next = 26;
36910
+ _context2.next = 37;
36749
36911
  break;
36750
36912
  }
36751
36913
 
36752
- _context2.next = 25;
36914
+ _context2.next = 36;
36753
36915
  return _this38.saveInfo('subMit');
36754
36916
 
36755
- case 25:
36917
+ case 36:
36756
36918
  _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
36757
36919
 
36758
- case 26:
36920
+ case 37:
36759
36921
  notificationType = '';
36760
36922
 
36761
36923
  notificationType = _this38.nextNode.notificationType.join(',');
@@ -36794,7 +36956,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36794
36956
  }
36795
36957
 
36796
36958
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
36797
- _context2.next = 41;
36959
+ _context2.next = 52;
36798
36960
  break;
36799
36961
  }
36800
36962
 
@@ -36802,7 +36964,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36802
36964
  _this38.taskParams = params;
36803
36965
  return _context2.abrupt('return');
36804
36966
 
36805
- case 41:
36967
+ case 52:
36806
36968
  _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
36807
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;
36808
36970
 
@@ -36842,10 +37004,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
36842
37004
  }
36843
37005
  }));
36844
37006
 
36845
- case 60:
37007
+ case 71:
36846
37008
  return _context2.abrupt('return', false);
36847
37009
 
36848
- case 61:
37010
+ case 72:
36849
37011
  case 'end':
36850
37012
  return _context2.stop();
36851
37013
  }