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.
@@ -29337,8 +29337,8 @@ form_src_main.install = function (Vue) {
29337
29337
  };
29338
29338
 
29339
29339
  /* harmony default export */ var packages_form = (form_src_main);
29340
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=48a0a0a2&
29341
- var mainvue_type_template_id_48a0a0a2_render = function () {
29340
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
29341
+ var mainvue_type_template_id_791d3fbc_render = function () {
29342
29342
  var _vm = this
29343
29343
  var _h = _vm.$createElement
29344
29344
  var _c = _vm._self._c || _h
@@ -29365,6 +29365,7 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
29365
29365
  pendingId: _vm.pendingId,
29366
29366
  nodeName: _vm.nodeName,
29367
29367
  typeCode: _vm.typeCode,
29368
+ ownerType: _vm.ownerType,
29368
29369
  selectorConfig: _vm.selectorConfig,
29369
29370
  flowTypeCode: _vm.flowTypeCode,
29370
29371
  defaultProcessKey: _vm.defaultProcessKey,
@@ -29391,7 +29392,10 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
29391
29392
  flowLabelConfig: _vm.flowLabelConfig,
29392
29393
  isEndMessage: _vm.isEndMessage,
29393
29394
  },
29394
- on: { success: _vm.handleNewFlowSuccess },
29395
+ on: {
29396
+ buttonClick: _vm.handleButtonClick,
29397
+ success: _vm.handleNewFlowSuccess,
29398
+ },
29395
29399
  },
29396
29400
  "FlowNew",
29397
29401
  _vm.$attrs,
@@ -32161,6 +32165,14 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
32161
32165
  },
32162
32166
  [
32163
32167
  _c("img", {
32168
+ directives: [
32169
+ {
32170
+ name: "show",
32171
+ rawName: "v-show",
32172
+ value: _vm.showFlowImg,
32173
+ expression: "showFlowImg",
32174
+ },
32175
+ ],
32164
32176
  staticStyle: { width: "100%" },
32165
32177
  attrs: {
32166
32178
  src:
@@ -32169,6 +32181,14 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
32169
32181
  _vm.nodeInfo.nextNode,
32170
32182
  alt: "加载失败",
32171
32183
  },
32184
+ on: {
32185
+ error: function ($event) {
32186
+ _vm.handleErrorImg("error")
32187
+ },
32188
+ load: function ($event) {
32189
+ _vm.handleErrorImg("load")
32190
+ },
32191
+ },
32172
32192
  }),
32173
32193
  ]
32174
32194
  )
@@ -32199,6 +32219,8 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
32199
32219
  option: _vm.value,
32200
32220
  showTooltip: _vm.showTooltip,
32201
32221
  simpleTips: _vm.simpleTips,
32222
+ isCancelSecondConfirmationType:
32223
+ _vm.isCancelSecondConfirmationType,
32202
32224
  flowLabelConfig: _vm.flowLabelConfig,
32203
32225
  hideMessage: _vm.hideMessage,
32204
32226
  "show-reject": _vm.showReject,
@@ -32471,11 +32493,11 @@ var mainvue_type_template_id_48a0a0a2_render = function () {
32471
32493
  )
32472
32494
  : _vm._e()
32473
32495
  }
32474
- var mainvue_type_template_id_48a0a0a2_staticRenderFns = []
32475
- mainvue_type_template_id_48a0a0a2_render._withStripped = true
32496
+ var mainvue_type_template_id_791d3fbc_staticRenderFns = []
32497
+ mainvue_type_template_id_791d3fbc_render._withStripped = true
32476
32498
 
32477
32499
 
32478
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=48a0a0a2&
32500
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=791d3fbc&
32479
32501
 
32480
32502
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
32481
32503
  var CommonOpinionsvue_type_template_id_8458f882_render = function () {
@@ -33526,8 +33548,8 @@ var CommonOpinions_component = normalizeComponent(
33526
33548
  )
33527
33549
 
33528
33550
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
33529
- // 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&
33530
- var flowvue_type_template_id_68430d4b_render = function () {
33551
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
33552
+ var flowvue_type_template_id_160c0322_render = function () {
33531
33553
  var _vm = this
33532
33554
  var _h = _vm.$createElement
33533
33555
  var _c = _vm._self._c || _h
@@ -35747,6 +35769,8 @@ var flowvue_type_template_id_68430d4b_render = function () {
35747
35769
  showTooltip: _vm.showTooltip,
35748
35770
  simpleTips: _vm.simpleTips,
35749
35771
  flowLabelConfig: _vm.flowLabelConfig,
35772
+ isCancelSecondConfirmationType:
35773
+ _vm.isCancelSecondConfirmationType,
35750
35774
  hideMessage: _vm.hideMessage,
35751
35775
  "show-reject": _vm.showReject,
35752
35776
  "news-info": _vm.nextNode.notificationMsg,
@@ -36162,6 +36186,8 @@ var flowvue_type_template_id_68430d4b_render = function () {
36162
36186
  "pending-id": _vm.pendingId,
36163
36187
  option: _vm.value,
36164
36188
  showTooltip: _vm.showTooltip,
36189
+ isCancelSecondConfirmationType:
36190
+ _vm.isCancelSecondConfirmationType,
36165
36191
  simpleTips: _vm.simpleTips,
36166
36192
  flowLabelConfig: _vm.flowLabelConfig,
36167
36193
  hideMessage: _vm.hideMessage,
@@ -36436,11 +36462,11 @@ var flowvue_type_template_id_68430d4b_render = function () {
36436
36462
  )
36437
36463
  : _vm._e()
36438
36464
  }
36439
- var flowvue_type_template_id_68430d4b_staticRenderFns = []
36440
- flowvue_type_template_id_68430d4b_render._withStripped = true
36465
+ var flowvue_type_template_id_160c0322_staticRenderFns = []
36466
+ flowvue_type_template_id_160c0322_render._withStripped = true
36441
36467
 
36442
36468
 
36443
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=68430d4b&
36469
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=160c0322&
36444
36470
 
36445
36471
  // 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&
36446
36472
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -37152,8 +37178,8 @@ var Opinions_component = normalizeComponent(
37152
37178
  )
37153
37179
 
37154
37180
  /* harmony default export */ var Opinions = (Opinions_component.exports);
37155
- // 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&
37156
- var processFormvue_type_template_id_1fcc557e_render = function () {
37181
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
37182
+ var processFormvue_type_template_id_20fb5670_render = function () {
37157
37183
  var _vm = this
37158
37184
  var _h = _vm.$createElement
37159
37185
  var _c = _vm._self._c || _h
@@ -38107,14 +38133,14 @@ var processFormvue_type_template_id_1fcc557e_render = function () {
38107
38133
  1
38108
38134
  )
38109
38135
  }
38110
- var processFormvue_type_template_id_1fcc557e_staticRenderFns = []
38111
- processFormvue_type_template_id_1fcc557e_render._withStripped = true
38136
+ var processFormvue_type_template_id_20fb5670_staticRenderFns = []
38137
+ processFormvue_type_template_id_20fb5670_render._withStripped = true
38112
38138
 
38113
38139
 
38114
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1fcc557e&
38140
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=20fb5670&
38115
38141
 
38116
- // 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&
38117
- var selectUservue_type_template_id_e270ebde_render = function () {
38142
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
38143
+ var selectUservue_type_template_id_3a5614a4_render = function () {
38118
38144
  var _vm = this
38119
38145
  var _h = _vm.$createElement
38120
38146
  var _c = _vm._self._c || _h
@@ -38233,6 +38259,7 @@ var selectUservue_type_template_id_e270ebde_render = function () {
38233
38259
  types: _vm.types,
38234
38260
  tabs: _vm.tabs,
38235
38261
  title: _vm.title,
38262
+ showFilterListDep: false,
38236
38263
  reset: "",
38237
38264
  classify: _vm.classify,
38238
38265
  "collapse-tags": _vm.selectorTags,
@@ -38275,11 +38302,11 @@ var selectUservue_type_template_id_e270ebde_render = function () {
38275
38302
  1
38276
38303
  )
38277
38304
  }
38278
- var selectUservue_type_template_id_e270ebde_staticRenderFns = []
38279
- selectUservue_type_template_id_e270ebde_render._withStripped = true
38305
+ var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
38306
+ selectUservue_type_template_id_3a5614a4_render._withStripped = true
38280
38307
 
38281
38308
 
38282
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
38309
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
38283
38310
 
38284
38311
  // 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&
38285
38312
  var selectUservue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -38386,6 +38413,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38386
38413
  //
38387
38414
  //
38388
38415
  //
38416
+ //
38389
38417
 
38390
38418
 
38391
38419
 
@@ -38593,7 +38621,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38593
38621
  },
38594
38622
  mounted: function mounted() {
38595
38623
  console.log(this.nextUser, 'nextUser');
38596
- this.classify = utils_util.getStorage('classify') != undefined ? utils_util.getStorage('classify') : true;
38624
+ this.classify = utils_util.getStorage('classify') != undefined ? utils_util.getStorage('classify') : false;
38597
38625
  },
38598
38626
 
38599
38627
 
@@ -38809,8 +38837,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38809
38837
 
38810
38838
  var selectUser_component = normalizeComponent(
38811
38839
  src_selectUservue_type_script_lang_js_,
38812
- selectUservue_type_template_id_e270ebde_render,
38813
- selectUservue_type_template_id_e270ebde_staticRenderFns,
38840
+ selectUservue_type_template_id_3a5614a4_render,
38841
+ selectUservue_type_template_id_3a5614a4_staticRenderFns,
38814
38842
  false,
38815
38843
  null,
38816
38844
  null,
@@ -38819,8 +38847,8 @@ var selectUser_component = normalizeComponent(
38819
38847
  )
38820
38848
 
38821
38849
  /* harmony default export */ var selectUser = (selectUser_component.exports);
38822
- // 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&
38823
- var CustomPresetvue_type_template_id_9f7598ce_render = function () {
38850
+ // 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&
38851
+ var CustomPresetvue_type_template_id_36ac9599_render = function () {
38824
38852
  var _vm = this
38825
38853
  var _h = _vm.$createElement
38826
38854
  var _c = _vm._self._c || _h
@@ -38923,11 +38951,11 @@ var CustomPresetvue_type_template_id_9f7598ce_render = function () {
38923
38951
  1
38924
38952
  )
38925
38953
  }
38926
- var CustomPresetvue_type_template_id_9f7598ce_staticRenderFns = []
38927
- CustomPresetvue_type_template_id_9f7598ce_render._withStripped = true
38954
+ var CustomPresetvue_type_template_id_36ac9599_staticRenderFns = []
38955
+ CustomPresetvue_type_template_id_36ac9599_render._withStripped = true
38928
38956
 
38929
38957
 
38930
- // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=9f7598ce&
38958
+ // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=36ac9599&
38931
38959
 
38932
38960
  // 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&
38933
38961
  var CustomPresetvue_type_script_lang_js_components;
@@ -39226,9 +39254,13 @@ var CustomPresetvue_type_script_lang_js_components;
39226
39254
  changeSelectData: function changeSelectData() {
39227
39255
  var customPresetUserJson = [];
39228
39256
  this.newPresetList.map(function (item) {
39257
+ var label = item.option.filter(function (x) {
39258
+ return x.nodeId == item.name;
39259
+ });
39229
39260
  customPresetUserJson.push({
39230
39261
  name: item.name,
39231
39262
  lastName: item.lastName,
39263
+ label: label.length > 0 ? label[0].nodeName : '',
39232
39264
  value: item.name != 'endEvent' ? item.multiple ? item.nextUser.join(',') : item.nextUser : '',
39233
39265
  sequence: item.sequence
39234
39266
  });
@@ -39250,8 +39282,8 @@ var CustomPresetvue_type_script_lang_js_components;
39250
39282
 
39251
39283
  var CustomPreset_component = normalizeComponent(
39252
39284
  component_CustomPresetvue_type_script_lang_js_,
39253
- CustomPresetvue_type_template_id_9f7598ce_render,
39254
- CustomPresetvue_type_template_id_9f7598ce_staticRenderFns,
39285
+ CustomPresetvue_type_template_id_36ac9599_render,
39286
+ CustomPresetvue_type_template_id_36ac9599_staticRenderFns,
39255
39287
  false,
39256
39288
  null,
39257
39289
  null,
@@ -40237,6 +40269,7 @@ var processFormvue_type_script_lang_js_components;
40237
40269
  isCurrentNodeForbiddenChangeCandidate: 0,
40238
40270
  allLoading: null,
40239
40271
  selectUser: false,
40272
+ pOrgId: '',
40240
40273
  multiple: false,
40241
40274
  readMultiple: true,
40242
40275
  showOpinion: true,
@@ -40456,11 +40489,11 @@ var processFormvue_type_script_lang_js_components;
40456
40489
  },
40457
40490
 
40458
40491
  methods: {
40459
- /**
40460
- * getProcess
40461
- * @desc:获取选择流程
40462
- * @author liufan
40463
- * @date 2022年5月25日
40492
+ /**
40493
+ * getProcess
40494
+ * @desc:获取选择流程
40495
+ * @author liufan
40496
+ * @date 2022年5月25日
40464
40497
  **/
40465
40498
  getProcess: function getProcess(val) {
40466
40499
  var _this2 = this;
@@ -40850,6 +40883,17 @@ var processFormvue_type_script_lang_js_components;
40850
40883
  if ((_this8.isHideOtherOrg || _this8.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
40851
40884
  return _this8.$message.warning('请选择办理对象');
40852
40885
  }
40886
+ if (_this8.isCustomPreset && _this8.activeNames == '1') {
40887
+ for (var i = 0; i < _this8.presetList.length; i++) {
40888
+ if (_this8.presetList[i].name && _this8.presetList[i].name != '1' && _this8.presetList[i].name != 'endEvent' && (!_this8.presetList[i].value || _this8.presetList[i].value.length == 0)) {
40889
+
40890
+ return _this8.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this8.presetList[i].sequence + '-' + _this8.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01');
40891
+ } else {
40892
+ delete _this8.presetList[i].label;
40893
+ }
40894
+ }
40895
+ }
40896
+
40853
40897
  if (_this8.isCancelSecondConfirmationType) {
40854
40898
  _this8.$confirm('确认提交吗?', '提示', {
40855
40899
  confirmButtonText: '确定',
@@ -41266,11 +41310,11 @@ var processFormvue_type_script_lang_js_components;
41266
41310
  });
41267
41311
  },
41268
41312
 
41269
- /**
41270
- * isMultiple
41271
- * @desc:是否多选
41272
- * @author liufan
41273
- * @date 2022年9月13日
41313
+ /**
41314
+ * isMultiple
41315
+ * @desc:是否多选
41316
+ * @author liufan
41317
+ * @date 2022年9月13日
41274
41318
  **/
41275
41319
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
41276
41320
  var multiple = false;
@@ -41296,7 +41340,7 @@ var processFormvue_type_script_lang_js_components;
41296
41340
  }
41297
41341
  }
41298
41342
  if (val == 15 || val == 16) {
41299
- params.filid = this.userModel.orgId;
41343
+ params.filid = this.pOrgId;
41300
41344
  if (pOrgId) {
41301
41345
  params.filid = pOrgId;
41302
41346
  }
@@ -41407,6 +41451,7 @@ var processFormvue_type_script_lang_js_components;
41407
41451
  _this11.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
41408
41452
  _this11.presetTaskNodeMap = data.presetTaskNodeMap;
41409
41453
  _this11.isSinglePage = data.taskExamine.isSinglePage;
41454
+ _this11.pOrgId = data.pOrgId;
41410
41455
  _this11.isSinglePage && (_this11.nextNode.opinion = data.taskExamine.opinion);
41411
41456
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
41412
41457
  _this11.nextNode.nodeName = data.taskExamine.nodeName;
@@ -41428,7 +41473,11 @@ var processFormvue_type_script_lang_js_components;
41428
41473
  }
41429
41474
  _this11.getNodeInfos(undefined, undefined, processId);
41430
41475
  // this.getPresetFlowInfo();
41431
- _this11.isCustomPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
41476
+ if (_this11.isCustomPreset) {
41477
+ _this11.$nextTick(function () {
41478
+ _this11.$refs.customPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
41479
+ });
41480
+ }
41432
41481
  _this11.getFind();
41433
41482
  _this11.getMessage();
41434
41483
  } else {
@@ -41459,8 +41508,8 @@ var processFormvue_type_script_lang_js_components;
41459
41508
 
41460
41509
  var processForm_component = normalizeComponent(
41461
41510
  src_processFormvue_type_script_lang_js_,
41462
- processFormvue_type_template_id_1fcc557e_render,
41463
- processFormvue_type_template_id_1fcc557e_staticRenderFns,
41511
+ processFormvue_type_template_id_20fb5670_render,
41512
+ processFormvue_type_template_id_20fb5670_staticRenderFns,
41464
41513
  false,
41465
41514
  null,
41466
41515
  null,
@@ -42507,8 +42556,8 @@ var TimeLimit_component = normalizeComponent(
42507
42556
  )
42508
42557
 
42509
42558
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
42510
- // 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&
42511
- var processRejectvue_type_template_id_6c65370c_render = function () {
42559
+ // 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&
42560
+ var processRejectvue_type_template_id_1d2ca35f_render = function () {
42512
42561
  var _vm = this
42513
42562
  var _h = _vm.$createElement
42514
42563
  var _c = _vm._self._c || _h
@@ -42751,11 +42800,11 @@ var processRejectvue_type_template_id_6c65370c_render = function () {
42751
42800
  1
42752
42801
  )
42753
42802
  }
42754
- var processRejectvue_type_template_id_6c65370c_staticRenderFns = []
42755
- processRejectvue_type_template_id_6c65370c_render._withStripped = true
42803
+ var processRejectvue_type_template_id_1d2ca35f_staticRenderFns = []
42804
+ processRejectvue_type_template_id_1d2ca35f_render._withStripped = true
42756
42805
 
42757
42806
 
42758
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
42807
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=1d2ca35f&
42759
42808
 
42760
42809
  // 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&
42761
42810
  //
@@ -42863,7 +42912,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
42863
42912
  option: { type: String, default: '' },
42864
42913
  hideBtn: { type: Boolean, default: false },
42865
42914
  simpleTips: { type: Boolean, default: true },
42866
- hideMessage: { type: Boolean, default: false }
42915
+ hideMessage: { type: Boolean, default: false },
42916
+ isCancelSecondConfirmationType: { type: Boolean, default: false }
42867
42917
  },
42868
42918
  data: function data() {
42869
42919
  return {
@@ -42932,47 +42982,59 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
42932
42982
 
42933
42983
  // 提交表单
42934
42984
  subProcess: function subProcess(formName, isNoObj) {
42985
+ var _this2 = this;
42986
+
42935
42987
  if (isNoObj) {
42936
42988
  this.quit(false);
42937
42989
  return;
42938
42990
  }
42939
- this.saveProcess(formName);
42991
+ if (this.isCancelSecondConfirmationType) {
42992
+ this.$confirm('确认提交吗?', '提示', {
42993
+ confirmButtonText: '确定',
42994
+ cancelButtonText: '取消',
42995
+ type: 'warning'
42996
+ }).then(function () {
42997
+ _this2.saveProcess(formName);
42998
+ }).catch(function () {});
42999
+ } else {
43000
+ this.saveProcess(formName);
43001
+ }
42940
43002
  },
42941
43003
  saveProcess: function saveProcess(formName) {
42942
- var _this2 = this;
43004
+ var _this3 = this;
42943
43005
 
42944
43006
  this.$refs[formName].validate(function (valid) {
42945
43007
  if (valid) {
42946
- if (!_this2.option && _this2.isOpinionRequired === 1) {
42947
- _this2.$message.warning('请选择输入审批意见');
43008
+ if (!_this3.option && _this3.isOpinionRequired === 1) {
43009
+ _this3.$message.warning('请选择输入审批意见');
42948
43010
  return;
42949
43011
  }
42950
- _this2.loading = true;
42951
- var noticeType = _this2.nextNode.noticeType.join(',');
43012
+ _this3.loading = true;
43013
+ var noticeType = _this3.nextNode.noticeType.join(',');
42952
43014
  var params = {
42953
- pendingId: _this2.pendingId,
42954
- opinion: _this2.option, // 审批意见
42955
- notificationMsg: _this2.newsInformation, // 系统消息
43015
+ pendingId: _this3.pendingId,
43016
+ opinion: _this3.option, // 审批意见
43017
+ notificationMsg: _this3.newsInformation, // 系统消息
42956
43018
  notificationType: noticeType,
42957
43019
  userId: utils_util.getStorage('userId'),
42958
- nextNodeId: _this2.nextNode.nextNodeId
43020
+ nextNodeId: _this3.nextNode.nextNodeId
42959
43021
  };
42960
43022
  utils_util.ajax({ url: taskRejectHtml, method: 'post', data: params }).then(function (res) {
42961
43023
  var status = res.status,
42962
43024
  message = res.message;
42963
43025
 
42964
- _this2.loading = false;
43026
+ _this3.loading = false;
42965
43027
  if (status === 'success') {
42966
- _this2.quit(true);
42967
- _this2.simpleTips && _this2.$message.success('操作成功');
43028
+ _this3.quit(true);
43029
+ _this3.simpleTips && _this3.$message.success('操作成功');
42968
43030
  } else {
42969
- _this2.$message.error(message || '系统错误,请联系管理员!');
42970
- _this2.quit(false);
43031
+ _this3.$message.error(message || '系统错误,请联系管理员!');
43032
+ _this3.quit(false);
42971
43033
  }
42972
43034
  }).catch(function (err) {
42973
- _this2.loading = false;
43035
+ _this3.loading = false;
42974
43036
  if (err.message && err.message !== 'canceled') {
42975
- _this2.$message.error(err.message);
43037
+ _this3.$message.error(err.message);
42976
43038
  }
42977
43039
  });
42978
43040
  } else {
@@ -42986,7 +43048,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
42986
43048
  this.$emit('cancel', val);
42987
43049
  },
42988
43050
  getFind: function getFind() {
42989
- var _this3 = this;
43051
+ var _this4 = this;
42990
43052
 
42991
43053
  utils_util.ajax({
42992
43054
  url: findSysCodes
@@ -42995,27 +43057,27 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
42995
43057
  message = res.message;
42996
43058
 
42997
43059
  if (status === 'success') {
42998
- if (_this3.hideMessage) return;
42999
- _this3.nextNode.noticeType = message.split(',');
43060
+ if (_this4.hideMessage) return;
43061
+ _this4.nextNode.noticeType = message.split(',');
43000
43062
  var arr = [];
43001
- _this3.nextNode.noticeList.map(function (item) {
43002
- _this3.nextNode.noticeType.map(function (x) {
43063
+ _this4.nextNode.noticeList.map(function (item) {
43064
+ _this4.nextNode.noticeType.map(function (x) {
43003
43065
  if (x == item.cciValue) {
43004
43066
  arr.push(x);
43005
43067
  }
43006
43068
  });
43007
43069
  });
43008
- _this3.nextNode.noticeType = arr;
43070
+ _this4.nextNode.noticeType = arr;
43009
43071
  }
43010
43072
  }).catch(function (err) {
43011
- _this3.loading = false;
43073
+ _this4.loading = false;
43012
43074
  if (err.message && err.message !== 'canceled') {
43013
- _this3.$message.error(err.message);
43075
+ _this4.$message.error(err.message);
43014
43076
  }
43015
43077
  });
43016
43078
  },
43017
43079
  getProcessReject: function getProcessReject() {
43018
- var _this4 = this;
43080
+ var _this5 = this;
43019
43081
 
43020
43082
  this.loading = true;
43021
43083
  var params = {
@@ -43024,7 +43086,7 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
43024
43086
  opinion: this.option
43025
43087
  };
43026
43088
  utils_util.ajax({ url: toTaskRejectHtml, params: params }).then(function (res) {
43027
- _this4.loading = false;
43089
+ _this5.loading = false;
43028
43090
  if (res.status === 'success') {
43029
43091
  var _res$data = res.data,
43030
43092
  rejectTaskNodes = _res$data.rejectTaskNodes,
@@ -43033,11 +43095,11 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
43033
43095
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
43034
43096
  readOnlyNotificationType = _res$data.readOnlyNotificationType;
43035
43097
 
43036
- _this4.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
43037
- _this4.readOnlyNotificationType = readOnlyNotificationType;
43038
- _this4.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
43039
- if (!_this4.isOpinionRequired) {
43040
- _this4.isOpinionRequired = 0;
43098
+ _this5.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
43099
+ _this5.readOnlyNotificationType = readOnlyNotificationType;
43100
+ _this5.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
43101
+ if (!_this5.isOpinionRequired) {
43102
+ _this5.isOpinionRequired = 0;
43041
43103
  }
43042
43104
  var list = [];
43043
43105
  if (rejectTaskNodes) {
@@ -43048,18 +43110,18 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
43048
43110
  };
43049
43111
  list.push(obj);
43050
43112
  }
43051
- _this4.nodeName = taskExamine.nodeName;
43052
- _this4.rejectObj = list;
43053
- _this4.rejectObj.length != 0 && (_this4.nextNode.nextNodeId = _this4.rejectObj[0].id);
43113
+ _this5.nodeName = taskExamine.nodeName;
43114
+ _this5.rejectObj = list;
43115
+ _this5.rejectObj.length != 0 && (_this5.nextNode.nextNodeId = _this5.rejectObj[0].id);
43054
43116
  }
43055
43117
  } else {
43056
- _this4.$message.error(res.message || '系统错误,请联系管理员!');
43057
- _this4.quit(false);
43118
+ _this5.$message.error(res.message || '系统错误,请联系管理员!');
43119
+ _this5.quit(false);
43058
43120
  }
43059
43121
  }).catch(function (err) {
43060
- _this4.loading = false;
43122
+ _this5.loading = false;
43061
43123
  if (err.message && err.message !== 'canceled') {
43062
- _this4.$message.error(err.message);
43124
+ _this5.$message.error(err.message);
43063
43125
  }
43064
43126
  });
43065
43127
  }
@@ -43077,8 +43139,8 @@ processRejectvue_type_template_id_6c65370c_render._withStripped = true
43077
43139
 
43078
43140
  var processReject_component = normalizeComponent(
43079
43141
  src_processRejectvue_type_script_lang_js_,
43080
- processRejectvue_type_template_id_6c65370c_render,
43081
- processRejectvue_type_template_id_6c65370c_staticRenderFns,
43142
+ processRejectvue_type_template_id_1d2ca35f_render,
43143
+ processRejectvue_type_template_id_1d2ca35f_staticRenderFns,
43082
43144
  false,
43083
43145
  null,
43084
43146
  null,
@@ -45705,8 +45767,8 @@ var reset_component = normalizeComponent(
45705
45767
  )
45706
45768
 
45707
45769
  /* harmony default export */ var src_reset = (reset_component.exports);
45708
- // 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&
45709
- var taskUnionExaminevue_type_template_id_3256c512_render = function () {
45770
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
45771
+ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
45710
45772
  var _vm = this
45711
45773
  var _h = _vm.$createElement
45712
45774
  var _c = _vm._self._c || _h
@@ -45732,7 +45794,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
45732
45794
  attrs: {
45733
45795
  model: _vm.infoList,
45734
45796
  rules: _vm.rules,
45735
- "label-width": "120px",
45797
+ "label-width": _vm.type != "startDraf" ? "80px" : "120px",
45736
45798
  },
45737
45799
  },
45738
45800
  [
@@ -45786,6 +45848,7 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
45786
45848
  selectorTags: 4,
45787
45849
  showTooltip: _vm.showTooltip,
45788
45850
  mix: _vm.currentMix,
45851
+ title: "选择对象",
45789
45852
  isUnionSeal: _vm.type == "unionSeal",
45790
45853
  selectUserList: _vm.unionSealData || [],
45791
45854
  types:
@@ -46021,11 +46084,11 @@ var taskUnionExaminevue_type_template_id_3256c512_render = function () {
46021
46084
  1
46022
46085
  )
46023
46086
  }
46024
- var taskUnionExaminevue_type_template_id_3256c512_staticRenderFns = []
46025
- taskUnionExaminevue_type_template_id_3256c512_render._withStripped = true
46087
+ var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
46088
+ taskUnionExaminevue_type_template_id_f2f9c652_render._withStripped = true
46026
46089
 
46027
46090
 
46028
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=3256c512&
46091
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
46029
46092
 
46030
46093
  // 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&
46031
46094
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -46204,6 +46267,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
46204
46267
  //
46205
46268
  //
46206
46269
  //
46270
+ //
46207
46271
 
46208
46272
 
46209
46273
 
@@ -46459,13 +46523,13 @@ var taskUnionExaminevue_type_script_lang_js_components;
46459
46523
  var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
46460
46524
  _this3.currentOrgTabs.map(function (x, i) {
46461
46525
  _this3.params[x] = {
46462
- filid: param[i] == 'my' ? _this3.params.filid = JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId : param[i],
46526
+ filid: param[i] == 'my' ? _this3.params.filid = choiceOrgId || JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId : param[i],
46463
46527
  only_filid: true
46464
46528
  };
46465
46529
  });
46466
46530
  } else {
46467
46531
  if (_this3.type == 'takeAdvice') {
46468
- _this3.params.filid = JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId;
46532
+ _this3.params.filid = choiceOrgId || JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId;
46469
46533
  }
46470
46534
  }
46471
46535
 
@@ -46732,8 +46796,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
46732
46796
 
46733
46797
  var taskUnionExamine_component = normalizeComponent(
46734
46798
  component_taskUnionExaminevue_type_script_lang_js_,
46735
- taskUnionExaminevue_type_template_id_3256c512_render,
46736
- taskUnionExaminevue_type_template_id_3256c512_staticRenderFns,
46799
+ taskUnionExaminevue_type_template_id_f2f9c652_render,
46800
+ taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
46737
46801
  false,
46738
46802
  null,
46739
46803
  null,
@@ -46742,8 +46806,8 @@ var taskUnionExamine_component = normalizeComponent(
46742
46806
  )
46743
46807
 
46744
46808
  /* harmony default export */ var component_taskUnionExamine = (taskUnionExamine_component.exports);
46745
- // 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&
46746
- var freeStartFlowvue_type_template_id_458144cd_render = function () {
46809
+ // 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&
46810
+ var freeStartFlowvue_type_template_id_61ab09c6_render = function () {
46747
46811
  var _vm = this
46748
46812
  var _h = _vm.$createElement
46749
46813
  var _c = _vm._self._c || _h
@@ -48860,11 +48924,11 @@ var freeStartFlowvue_type_template_id_458144cd_render = function () {
48860
48924
  )
48861
48925
  : _vm._e()
48862
48926
  }
48863
- var freeStartFlowvue_type_template_id_458144cd_staticRenderFns = []
48864
- freeStartFlowvue_type_template_id_458144cd_render._withStripped = true
48927
+ var freeStartFlowvue_type_template_id_61ab09c6_staticRenderFns = []
48928
+ freeStartFlowvue_type_template_id_61ab09c6_render._withStripped = true
48865
48929
 
48866
48930
 
48867
- // CONCATENATED MODULE: ./packages/flow/src/freeStartFlow.vue?vue&type=template&id=458144cd&
48931
+ // CONCATENATED MODULE: ./packages/flow/src/freeStartFlow.vue?vue&type=template&id=61ab09c6&
48868
48932
 
48869
48933
  // 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&
48870
48934
 
@@ -50226,11 +50290,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50226
50290
  });
50227
50291
  },
50228
50292
 
50229
- /**
50230
- * saveInfo
50231
- * @desc:暂存
50232
- * @author liufan
50233
- * @date 2022年9月9日
50293
+ /**
50294
+ * saveInfo
50295
+ * @desc:暂存
50296
+ * @author liufan
50297
+ * @date 2022年9月9日
50234
50298
  **/
50235
50299
  saveInfo: function saveInfo(type, btn) {
50236
50300
  var _this6 = this;
@@ -50292,11 +50356,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50292
50356
  });
50293
50357
  },
50294
50358
 
50295
- /**
50296
- * rejectBtn
50297
- * @desc:点击驳回
50298
- * @author liufan
50299
- * @date 2022年5月25日
50359
+ /**
50360
+ * rejectBtn
50361
+ * @desc:点击驳回
50362
+ * @author liufan
50363
+ * @date 2022年5月25日
50300
50364
  **/
50301
50365
  rejectBtn: function rejectBtn() {
50302
50366
  var _this8 = this;
@@ -50314,11 +50378,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50314
50378
  }
50315
50379
  },
50316
50380
 
50317
- /**
50318
- * taskReadBtn
50319
- * @desc:点击分阅
50320
- * @author liufan
50321
- * @date 2022年5月25日
50381
+ /**
50382
+ * taskReadBtn
50383
+ * @desc:点击分阅
50384
+ * @author liufan
50385
+ * @date 2022年5月25日
50322
50386
  **/
50323
50387
  taskReadBtn: function taskReadBtn() {
50324
50388
  var _this9 = this;
@@ -50337,11 +50401,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50337
50401
  }
50338
50402
  },
50339
50403
 
50340
- /**
50341
- * getFind
50342
- * @desc:获取通知方式
50343
- * @author liufan
50344
- * @date 2022年5月25日
50404
+ /**
50405
+ * getFind
50406
+ * @desc:获取通知方式
50407
+ * @author liufan
50408
+ * @date 2022年5月25日
50345
50409
  **/
50346
50410
  getFind: function getFind() {
50347
50411
  var _this10 = this;
@@ -50397,12 +50461,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50397
50461
  });
50398
50462
  },
50399
50463
 
50400
- /**
50401
- * endFlows
50402
- * @desc:直接办结
50403
- * @author liufan
50404
- * @param {Object} res 直接办结数据
50405
- * @date 2022年5月25日
50464
+ /**
50465
+ * endFlows
50466
+ * @desc:直接办结
50467
+ * @author liufan
50468
+ * @param {Object} res 直接办结数据
50469
+ * @date 2022年5月25日
50406
50470
  **/
50407
50471
  endFlows: function endFlows(res) {
50408
50472
  var _this12 = this;
@@ -50456,12 +50520,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50456
50520
  }).catch(function (e) {});
50457
50521
  },
50458
50522
 
50459
- /**
50460
- * goView
50461
- * @desc:更多流程按钮操作
50462
- * @author liufan
50463
- * @param {Object} res 当前点击操作按钮数据
50464
- * @date 2022年5月25日
50523
+ /**
50524
+ * goView
50525
+ * @desc:更多流程按钮操作
50526
+ * @author liufan
50527
+ * @param {Object} res 当前点击操作按钮数据
50528
+ * @date 2022年5月25日
50465
50529
  **/
50466
50530
  goView: function goView(res) {
50467
50531
  // 驳回并办结:rejectAndEndHtml
@@ -50546,11 +50610,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50546
50610
  // isCanStartSubFlow
50547
50611
  },
50548
50612
 
50549
- /**
50550
- * toTakeAdvice
50551
- * @desc:征求意见
50552
- * @author liufan
50553
- * @date 2022年9月29日
50613
+ /**
50614
+ * toTakeAdvice
50615
+ * @desc:征求意见
50616
+ * @author liufan
50617
+ * @date 2022年9月29日
50554
50618
  **/
50555
50619
  toTakeAdvice: function toTakeAdvice(res) {
50556
50620
  var _this14 = this;
@@ -50594,11 +50658,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50594
50658
  });
50595
50659
  },
50596
50660
 
50597
- /**
50598
- * toStartDraf
50599
- * @desc: 稿件递送、联合审核、复核
50600
- * @author liufan
50601
- * @date 2022年9月29日
50661
+ /**
50662
+ * toStartDraf
50663
+ * @desc: 稿件递送、联合审核、复核
50664
+ * @author liufan
50665
+ * @date 2022年9月29日
50602
50666
  **/
50603
50667
  toStartDraf: function toStartDraf(res) {
50604
50668
  var _this16 = this;
@@ -50612,11 +50676,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50612
50676
  }
50613
50677
  },
50614
50678
 
50615
- /**
50616
- * toSendMsg
50617
- * @desc:核稿通知
50618
- * @author liufan
50619
- * @date 2022年9月29日
50679
+ /**
50680
+ * toSendMsg
50681
+ * @desc:核稿通知
50682
+ * @author liufan
50683
+ * @date 2022年9月29日
50620
50684
  **/
50621
50685
  toSendMsg: function toSendMsg(res) {
50622
50686
  var _this17 = this;
@@ -50630,11 +50694,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50630
50694
  }
50631
50695
  },
50632
50696
 
50633
- /**
50634
- * toTaskReadAndEnd
50635
- * @desc:分阅并办结
50636
- * @author liufan
50637
- * @date 2022年9月29日
50697
+ /**
50698
+ * toTaskReadAndEnd
50699
+ * @desc:分阅并办结
50700
+ * @author liufan
50701
+ * @date 2022年9月29日
50638
50702
  **/
50639
50703
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
50640
50704
  var _this18 = this;
@@ -50652,11 +50716,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50652
50716
  }
50653
50717
  },
50654
50718
 
50655
- /**
50656
- * rejectAndEnd
50657
- * @desc:驳回并办结
50658
- * @author liufan
50659
- * @date 2022年9月29日
50719
+ /**
50720
+ * rejectAndEnd
50721
+ * @desc:驳回并办结
50722
+ * @author liufan
50723
+ * @date 2022年9月29日
50660
50724
  **/
50661
50725
  rejectAndEnd: function rejectAndEnd(res) {
50662
50726
  var _this19 = this;
@@ -50711,11 +50775,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50711
50775
  });
50712
50776
  },
50713
50777
 
50714
- /**
50715
- * toTransfer
50716
- * @desc:转办
50717
- * @author liufan
50718
- * @date 2022年9月29日
50778
+ /**
50779
+ * toTransfer
50780
+ * @desc:转办
50781
+ * @author liufan
50782
+ * @date 2022年9月29日
50719
50783
  **/
50720
50784
  toTransfer: function toTransfer(res) {
50721
50785
  var _this21 = this;
@@ -50731,11 +50795,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50731
50795
  }
50732
50796
  },
50733
50797
 
50734
- /**
50735
- * getNodeInfo
50736
- * @desc:获取节点信息
50737
- * @author liufan
50738
- * @date 2022年5月25日
50798
+ /**
50799
+ * getNodeInfo
50800
+ * @desc:获取节点信息
50801
+ * @author liufan
50802
+ * @date 2022年5月25日
50739
50803
  **/
50740
50804
  getNodeInfo: function getNodeInfo() {
50741
50805
  var _this22 = this;
@@ -50822,7 +50886,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50822
50886
  _this22.handleMode = data.countersignaturetypeText;
50823
50887
  data.globalNodeType === 'endEvent' ? _this22.endFlow = true : '';
50824
50888
  }
50825
- _this22.isCustomPreset && _this22.$refs.customPreset.getPresetFlowInfo(_this22.nextNode.nextNodeId, _this22.nodeInfo.nextNode, true);
50889
+ if (_this22.isCustomPreset) {
50890
+ _this22.$nextTick(function () {
50891
+ _this22.$refs.customPreset && _this22.$refs.customPreset.getPresetFlowInfo(_this22.nextNode.nextNodeId, _this22.nodeInfo.nextNode, true);
50892
+ });
50893
+ }
50826
50894
  } else {
50827
50895
  _this22.$message.error(message || '系统错误,请联系管理员!');
50828
50896
  }
@@ -50834,12 +50902,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50834
50902
  });
50835
50903
  },
50836
50904
 
50837
- /**
50838
- * selecNext
50839
- * @desc:下步节点变化时更新数据
50840
- * @author liufan
50841
- * @param {String} val 当前选中值
50842
- * @date 2022年5月25日
50905
+ /**
50906
+ * selecNext
50907
+ * @desc:下步节点变化时更新数据
50908
+ * @author liufan
50909
+ * @param {String} val 当前选中值
50910
+ * @date 2022年5月25日
50843
50911
  **/
50844
50912
  selecNext: function selecNext(val, type, isDef) {
50845
50913
  var _this23 = this;
@@ -50948,11 +51016,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50948
51016
  if (isDef !== true) this.getNodeInfo();
50949
51017
  },
50950
51018
 
50951
- /**
50952
- * isMultiple
50953
- * @desc:是否多选
50954
- * @author liufan
50955
- * @date 2022年9月13日
51019
+ /**
51020
+ * isMultiple
51021
+ * @desc:是否多选
51022
+ * @author liufan
51023
+ * @date 2022年9月13日
50956
51024
  **/
50957
51025
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
50958
51026
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -50984,11 +51052,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
50984
51052
  }
50985
51053
  },
50986
51054
 
50987
- /**
50988
- * getHedInfo
50989
- * @desc:获取审核页面数据
50990
- * @author liufan
50991
- * @date 2022年5月25日
51055
+ /**
51056
+ * getHedInfo
51057
+ * @desc:获取审核页面数据
51058
+ * @author liufan
51059
+ * @date 2022年5月25日
50992
51060
  **/
50993
51061
  getHedInfo: function getHedInfo() {
50994
51062
  var _this24 = this;
@@ -51224,13 +51292,13 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51224
51292
  });
51225
51293
  },
51226
51294
 
51227
- /**
51228
- * closeProcess
51229
- * @desc:关闭弹窗
51230
- * @author liufan
51231
- * @param {boolean} val 当前是否办理流程
51232
- * @param {String} type 当前点击的弹窗类型
51233
- * @date 2022年5月25日
51295
+ /**
51296
+ * closeProcess
51297
+ * @desc:关闭弹窗
51298
+ * @author liufan
51299
+ * @param {boolean} val 当前是否办理流程
51300
+ * @param {String} type 当前点击的弹窗类型
51301
+ * @date 2022年5月25日
51234
51302
  **/
51235
51303
  closeProcess: function closeProcess(val, type, closeParent) {
51236
51304
  if (closeParent) {
@@ -51247,23 +51315,23 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51247
51315
  }
51248
51316
  },
51249
51317
 
51250
- /**
51251
- * selectChange
51252
- * @desc:常用语选择
51253
- * @author liufan
51254
- * @param {String} val 选中值
51255
- * @date 2022年5月25日
51318
+ /**
51319
+ * selectChange
51320
+ * @desc:常用语选择
51321
+ * @author liufan
51322
+ * @param {String} val 选中值
51323
+ * @date 2022年5月25日
51256
51324
  **/
51257
51325
  selectChange: function selectChange(val) {
51258
51326
  this.value = val;
51259
51327
  },
51260
51328
 
51261
- /**
51262
- * upDate
51263
- * @desc:修改常用语
51264
- * @author liufan
51265
- * @param {Object} val 修改值
51266
- * @date 2022年5月25日
51329
+ /**
51330
+ * upDate
51331
+ * @desc:修改常用语
51332
+ * @author liufan
51333
+ * @param {Object} val 修改值
51334
+ * @date 2022年5月25日
51267
51335
  **/
51268
51336
  upDate: function upDate(val) {
51269
51337
  this.FormData.id = val.id;
@@ -51271,11 +51339,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51271
51339
  },
51272
51340
 
51273
51341
 
51274
- /**
51275
- * getProcess
51276
- * @desc:获取选择流程
51277
- * @author liufan
51278
- * @date 2022年5月25日
51342
+ /**
51343
+ * getProcess
51344
+ * @desc:获取选择流程
51345
+ * @author liufan
51346
+ * @date 2022年5月25日
51279
51347
  **/
51280
51348
  getProcess: function getProcess() {
51281
51349
  var _this25 = this;
@@ -51329,11 +51397,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51329
51397
  });
51330
51398
  },
51331
51399
 
51332
- /**
51333
- * getPendedhistoryList
51334
- * @desc:获取流程列表
51335
- * @author liufan
51336
- * @date 2022年5月25日
51400
+ /**
51401
+ * getPendedhistoryList
51402
+ * @desc:获取流程列表
51403
+ * @author liufan
51404
+ * @date 2022年5月25日
51337
51405
  **/
51338
51406
  getPendedhistoryList: function getPendedhistoryList() {
51339
51407
  var _this26 = this;
@@ -51365,12 +51433,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51365
51433
  },
51366
51434
 
51367
51435
  // 提交流程
51368
- /**
51369
- * subProcess
51370
- * @desc:提交流程
51371
- * @author liufan
51372
- * @param {String} formName 当前form表单ref值
51373
- * @date 2022年5月25日
51436
+ /**
51437
+ * subProcess
51438
+ * @desc:提交流程
51439
+ * @author liufan
51440
+ * @param {String} formName 当前form表单ref值
51441
+ * @date 2022年5月25日
51374
51442
  **/
51375
51443
  subProcess: function subProcess(val) {
51376
51444
  var _this27 = this;
@@ -51620,8 +51688,8 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
51620
51688
 
51621
51689
  var freeStartFlow_component = normalizeComponent(
51622
51690
  src_freeStartFlowvue_type_script_lang_js_,
51623
- freeStartFlowvue_type_template_id_458144cd_render,
51624
- freeStartFlowvue_type_template_id_458144cd_staticRenderFns,
51691
+ freeStartFlowvue_type_template_id_61ab09c6_render,
51692
+ freeStartFlowvue_type_template_id_61ab09c6_staticRenderFns,
51625
51693
  false,
51626
51694
  null,
51627
51695
  null,
@@ -54567,6 +54635,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54567
54635
  //
54568
54636
  //
54569
54637
  //
54638
+ //
54639
+ //
54570
54640
 
54571
54641
 
54572
54642
 
@@ -54607,6 +54677,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54607
54677
  hideBtn: { type: Boolean, default: false },
54608
54678
  isCirculate: { type: Boolean, default: false },
54609
54679
  newFlow: { type: Boolean, default: false },
54680
+ ownerType: { type: String, default: '' },
54610
54681
  formLabelPosition: {
54611
54682
  type: String,
54612
54683
  default: 'left'
@@ -55518,11 +55589,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55518
55589
  });
55519
55590
  },
55520
55591
 
55521
- /**
55522
- * saveInfo
55523
- * @desc:暂存
55524
- * @author liufan
55525
- * @date 2022年9月9日
55592
+ /**
55593
+ * saveInfo
55594
+ * @desc:暂存
55595
+ * @author liufan
55596
+ * @date 2022年9月9日
55526
55597
  **/
55527
55598
  saveInfo: function saveInfo(type, btn) {
55528
55599
  var _this14 = this;
@@ -55584,11 +55655,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55584
55655
  });
55585
55656
  },
55586
55657
 
55587
- /**
55588
- * rejectBtn
55589
- * @desc:点击驳回
55590
- * @author liufan
55591
- * @date 2022年5月25日
55658
+ /**
55659
+ * rejectBtn
55660
+ * @desc:点击驳回
55661
+ * @author liufan
55662
+ * @date 2022年5月25日
55592
55663
  **/
55593
55664
  rejectBtn: function rejectBtn(res) {
55594
55665
  var _this16 = this;
@@ -55608,11 +55679,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55608
55679
  }
55609
55680
  },
55610
55681
 
55611
- /**
55612
- * taskReadBtn
55613
- * @desc:点击分阅
55614
- * @author liufan
55615
- * @date 2022年5月25日
55682
+ /**
55683
+ * taskReadBtn
55684
+ * @desc:点击分阅
55685
+ * @author liufan
55686
+ * @date 2022年5月25日
55616
55687
  **/
55617
55688
  taskReadBtn: function taskReadBtn(res) {
55618
55689
  var _this17 = this;
@@ -55634,11 +55705,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55634
55705
  }
55635
55706
  },
55636
55707
 
55637
- /**
55638
- * getFind
55639
- * @desc:获取通知方式
55640
- * @author liufan
55641
- * @date 2022年5月25日
55708
+ /**
55709
+ * getFind
55710
+ * @desc:获取通知方式
55711
+ * @author liufan
55712
+ * @date 2022年5月25日
55642
55713
  **/
55643
55714
  getFind: function getFind() {
55644
55715
  var _this18 = this;
@@ -55705,12 +55776,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55705
55776
  });
55706
55777
  },
55707
55778
 
55708
- /**
55709
- * endFlows
55710
- * @desc:直接办结
55711
- * @author liufan
55712
- * @param {Object} res 直接办结数据
55713
- * @date 2022年5月25日
55779
+ /**
55780
+ * endFlows
55781
+ * @desc:直接办结
55782
+ * @author liufan
55783
+ * @param {Object} res 直接办结数据
55784
+ * @date 2022年5月25日
55714
55785
  **/
55715
55786
  endFlows: function endFlows(res) {
55716
55787
  var _this20 = this;
@@ -55724,9 +55795,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55724
55795
  }
55725
55796
  },
55726
55797
 
55727
- /**
55728
- * 获取弹性布局样式
55729
- * @returns {string} 弹性布局值
55798
+ /**
55799
+ * 获取弹性布局样式
55800
+ * @returns {string} 弹性布局值
55730
55801
  */
55731
55802
  getFlexStyle: function getFlexStyle() {
55732
55803
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -55774,12 +55845,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55774
55845
  }).catch(function (e) {});
55775
55846
  },
55776
55847
 
55777
- /**
55778
- * goView
55779
- * @desc:更多流程按钮操作
55780
- * @author liufan
55781
- * @param {Object} res 当前点击操作按钮数据
55782
- * @date 2022年5月25日
55848
+ /**
55849
+ * goView
55850
+ * @desc:更多流程按钮操作
55851
+ * @author liufan
55852
+ * @param {Object} res 当前点击操作按钮数据
55853
+ * @date 2022年5月25日
55783
55854
  **/
55784
55855
  goView: function goView(res) {
55785
55856
  // 驳回并办结:rejectAndEndHtml
@@ -55791,7 +55862,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55791
55862
  // 驳回:taskRejectHtml
55792
55863
  // 直接办结:endFlowHtml
55793
55864
  // 自由发起子流程:toFreeStartFlow
55794
- console.log(res, '123');
55795
55865
  if (res.type == 4) {
55796
55866
  this.$emit('buttonClick', { fun: res.fun, opinion: this.value }, this.sendData);
55797
55867
  } else if (res.fun === 'toStartTaskRead()') {
@@ -55869,11 +55939,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55869
55939
  // isCanStartSubFlow
55870
55940
  },
55871
55941
 
55872
- /**
55873
- * toTakeAdvice
55874
- * @desc:征求意见
55875
- * @author liufan
55876
- * @date 2022年9月29日
55942
+ /**
55943
+ * toTakeAdvice
55944
+ * @desc:征求意见
55945
+ * @author liufan
55946
+ * @date 2022年9月29日
55877
55947
  **/
55878
55948
  toTakeAdvice: function toTakeAdvice(res) {
55879
55949
  var _this22 = this;
@@ -55921,16 +55991,15 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55921
55991
  });
55922
55992
  },
55923
55993
 
55924
- /**
55925
- * toStartDraf
55926
- * @desc: 稿件递送、联合审核、复核
55927
- * @author liufan
55928
- * @date 2022年9月29日
55994
+ /**
55995
+ * toStartDraf
55996
+ * @desc: 稿件递送、联合审核、复核
55997
+ * @author liufan
55998
+ * @date 2022年9月29日
55929
55999
  **/
55930
56000
  toStartDraf: function toStartDraf(res) {
55931
56001
  var _this24 = this;
55932
56002
 
55933
- console.log(res);
55934
56003
  if (this.beforeSubmit != undefined) {
55935
56004
  this.beforeSubmit().then(function (next) {
55936
56005
  // this.showTaskUnionExamine = true;
@@ -55949,11 +56018,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55949
56018
  }
55950
56019
  },
55951
56020
 
55952
- /**
55953
- * toSendMsg
55954
- * @desc:核稿通知
55955
- * @author liufan
55956
- * @date 2022年9月29日
56021
+ /**
56022
+ * toSendMsg
56023
+ * @desc:核稿通知
56024
+ * @author liufan
56025
+ * @date 2022年9月29日
55957
56026
  **/
55958
56027
  toSendMsg: function toSendMsg(res) {
55959
56028
  var _this25 = this;
@@ -55967,11 +56036,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55967
56036
  }
55968
56037
  },
55969
56038
 
55970
- /**
55971
- * toTaskReadAndEnd
55972
- * @desc:分阅并办结
55973
- * @author liufan
55974
- * @date 2022年9月29日
56039
+ /**
56040
+ * toTaskReadAndEnd
56041
+ * @desc:分阅并办结
56042
+ * @author liufan
56043
+ * @date 2022年9月29日
55975
56044
  **/
55976
56045
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
55977
56046
  var _this26 = this;
@@ -55989,11 +56058,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55989
56058
  }
55990
56059
  },
55991
56060
 
55992
- /**
55993
- * rejectAndEnd
55994
- * @desc:驳回并办结
55995
- * @author liufan
55996
- * @date 2022年9月29日
56061
+ /**
56062
+ * rejectAndEnd
56063
+ * @desc:驳回并办结
56064
+ * @author liufan
56065
+ * @date 2022年9月29日
55997
56066
  **/
55998
56067
  rejectAndEnd: function rejectAndEnd(res) {
55999
56068
  var _this27 = this;
@@ -56049,11 +56118,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56049
56118
  });
56050
56119
  },
56051
56120
 
56052
- /**
56053
- * toTransfer
56054
- * @desc:转办
56055
- * @author liufan
56056
- * @date 2022年9月29日
56121
+ /**
56122
+ * toTransfer
56123
+ * @desc:转办
56124
+ * @author liufan
56125
+ * @date 2022年9月29日
56057
56126
  **/
56058
56127
  toTransfer: function toTransfer(res) {
56059
56128
  var _this29 = this;
@@ -56072,11 +56141,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56072
56141
  this.nextNode.customLimitTime = val;
56073
56142
  },
56074
56143
 
56075
- /**
56076
- * getNodeInfo
56077
- * @desc:获取节点信息
56078
- * @author liufan
56079
- * @date 2022年5月25日
56144
+ /**
56145
+ * getNodeInfo
56146
+ * @desc:获取节点信息
56147
+ * @author liufan
56148
+ * @date 2022年5月25日
56080
56149
  **/
56081
56150
  getNodeInfo: function getNodeInfo() {
56082
56151
  var _this30 = this;
@@ -56207,8 +56276,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56207
56276
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
56208
56277
  }
56209
56278
  }
56210
- console.log(_this30.$refs.customPreset.getPresetFlowInfo, 'his.$refs.customPreset');
56211
- _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
56279
+ if (_this30.isCustomPreset) {
56280
+ _this30.$nextTick(function () {
56281
+ _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
56282
+ });
56283
+ }
56212
56284
  } else {
56213
56285
  _this30.$message.error(message || '系统错误,请联系管理员!');
56214
56286
  }
@@ -56220,12 +56292,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56220
56292
  });
56221
56293
  },
56222
56294
 
56223
- /**
56224
- * selecNext
56225
- * @desc:下步节点变化时更新数据
56226
- * @author liufan
56227
- * @param {String} val 当前选中值
56228
- * @date 2022年5月25日
56295
+ /**
56296
+ * selecNext
56297
+ * @desc:下步节点变化时更新数据
56298
+ * @author liufan
56299
+ * @param {String} val 当前选中值
56300
+ * @date 2022年5月25日
56229
56301
  **/
56230
56302
  selecNext: function selecNext(val, type, isDef) {
56231
56303
  var _this31 = this;
@@ -56365,11 +56437,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56365
56437
  }
56366
56438
  },
56367
56439
 
56368
- /**
56369
- * isMultiple
56370
- * @desc:是否多选
56371
- * @author liufan
56372
- * @date 2022年9月13日
56440
+ /**
56441
+ * isMultiple
56442
+ * @desc:是否多选
56443
+ * @author liufan
56444
+ * @date 2022年9月13日
56373
56445
  **/
56374
56446
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
56375
56447
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -56394,7 +56466,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56394
56466
  }
56395
56467
  }
56396
56468
  if (val == 15 || val == 16) {
56397
- this.params.filid = this.userModel.orgId;
56469
+ this.params.filid = this.pOrgId;
56398
56470
  if (pOrgId) {
56399
56471
  this.params.filid = pOrgId;
56400
56472
  }
@@ -56404,11 +56476,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56404
56476
  return fun.replace('()', '');
56405
56477
  },
56406
56478
 
56407
- /**
56408
- * getHedInfo
56409
- * @desc:获取审核页面数据
56410
- * @author liufan
56411
- * @date 2022年5月25日
56479
+ /**
56480
+ * getHedInfo
56481
+ * @desc:获取审核页面数据
56482
+ * @author liufan
56483
+ * @date 2022年5月25日
56412
56484
  **/
56413
56485
  getHedInfo: function getHedInfo() {
56414
56486
  var _this32 = this;
@@ -56684,7 +56756,6 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56684
56756
  // opinion && (this.value = opinion);
56685
56757
  _this32.nextNode.notificationMsg = defaultNotificationMessage;
56686
56758
  _this32.moreList = [];
56687
- console.log(taskButtonList, 'taskButtonList');
56688
56759
  if (taskButtonList && taskButtonList.length != 0) {
56689
56760
  taskButtonList.map(function (item) {
56690
56761
  if (item.fun === 'reject()') {
@@ -56727,13 +56798,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56727
56798
  });
56728
56799
  },
56729
56800
 
56730
- /**
56731
- * closeProcess
56732
- * @desc:关闭弹窗
56733
- * @author liufan
56734
- * @param {boolean} val 当前是否办理流程
56735
- * @param {String} type 当前点击的弹窗类型
56736
- * @date 2022年5月25日
56801
+ /**
56802
+ * closeProcess
56803
+ * @desc:关闭弹窗
56804
+ * @author liufan
56805
+ * @param {boolean} val 当前是否办理流程
56806
+ * @param {String} type 当前点击的弹窗类型
56807
+ * @date 2022年5月25日
56737
56808
  **/
56738
56809
  closeProcess: function closeProcess(val, type, closeParent) {
56739
56810
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -56753,23 +56824,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56753
56824
  }
56754
56825
  },
56755
56826
 
56756
- /**
56757
- * selectChange
56758
- * @desc:常用语选择
56759
- * @author liufan
56760
- * @param {String} val 选中值
56761
- * @date 2022年5月25日
56827
+ /**
56828
+ * selectChange
56829
+ * @desc:常用语选择
56830
+ * @author liufan
56831
+ * @param {String} val 选中值
56832
+ * @date 2022年5月25日
56762
56833
  **/
56763
56834
  selectChange: function selectChange(val) {
56764
56835
  this.value = val;
56765
56836
  },
56766
56837
 
56767
- /**
56768
- * upDate
56769
- * @desc:修改常用语
56770
- * @author liufan
56771
- * @param {Object} val 修改值
56772
- * @date 2022年5月25日
56838
+ /**
56839
+ * upDate
56840
+ * @desc:修改常用语
56841
+ * @author liufan
56842
+ * @param {Object} val 修改值
56843
+ * @date 2022年5月25日
56773
56844
  **/
56774
56845
  upDate: function upDate(val) {
56775
56846
  this.FormData.id = val.id;
@@ -56777,11 +56848,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56777
56848
  },
56778
56849
 
56779
56850
 
56780
- /**
56781
- * getProcess
56782
- * @desc:获取选择流程
56783
- * @author liufan
56784
- * @date 2022年5月25日
56851
+ /**
56852
+ * getProcess
56853
+ * @desc:获取选择流程
56854
+ * @author liufan
56855
+ * @date 2022年5月25日
56785
56856
  **/
56786
56857
  getProcess: function getProcess(val) {
56787
56858
  var _this33 = this;
@@ -56793,6 +56864,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56793
56864
  isOnly: true,
56794
56865
  hideTempSave: true
56795
56866
  }, this.param);
56867
+ if (this.ownerType) {
56868
+ params.ownerType = this.ownerType;
56869
+ }
56796
56870
  this.loading = utils_util.loading(this.$loading, '加载中...');
56797
56871
  utils_util.ajax({ url: getProcessDefList, params: params }).then(function (res) {
56798
56872
  var status = res.status,
@@ -56841,11 +56915,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56841
56915
  });
56842
56916
  },
56843
56917
 
56844
- /**
56845
- * getPendedhistoryList
56846
- * @desc:获取流程列表
56847
- * @author liufan
56848
- * @date 2022年5月25日
56918
+ /**
56919
+ * getPendedhistoryList
56920
+ * @desc:获取流程列表
56921
+ * @author liufan
56922
+ * @date 2022年5月25日
56849
56923
  **/
56850
56924
  getPendedhistoryList: function getPendedhistoryList() {
56851
56925
  var _this34 = this;
@@ -56913,28 +56987,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56913
56987
  },
56914
56988
 
56915
56989
  // 提交流程前验证
56916
- beforeSubProcess: function beforeSubProcess() {},
56917
-
56918
- // 提交流程
56919
- /**
56920
- * subProcess
56921
- * @desc:提交流程
56922
- * @author liufan
56923
- * @param {String} formName 当前form表单ref值
56924
- * @date 2022年5月25日
56925
- **/
56926
- subProcess: function subProcess(val, type) {
56990
+ beforeSubProcess: function beforeSubProcess(val, type) {
56927
56991
  var _this36 = this;
56928
56992
 
56929
- if (this.btnType != 'default') {
56930
- if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
56931
- warning('暂无可驳回节点及对象');
56932
- return;
56933
- }
56934
- console.log('taskReadBtn', this.btnType);
56935
- this.$refs[this.btnType].subProcess('nextNode');
56936
- return;
56937
- }
56938
56993
  return this.$refs['nextNode'].validate(function (valid) {
56939
56994
  if (valid) {
56940
56995
  if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
@@ -56955,6 +57010,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56955
57010
  // this.reqCircularRead(type);
56956
57011
  // return;
56957
57012
  // }
57013
+
56958
57014
  if (_this36.submitButtonFunKey) {
56959
57015
  var btnInfo = _this36.taskNodeButtons.filter(function (x) {
56960
57016
  return x.key === _this36.submitButtonFunKey;
@@ -56975,13 +57031,39 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56975
57031
  if (_this36.beforeSubmit == undefined) {
56976
57032
  _this36.subFun(_this36.sendData);
56977
57033
  } else {
56978
- _this36.beforeSubmit(1).then(function (next) {
56979
- _this36.sendData();
56980
- }).catch(function (e) {});
57034
+ _this36.sendData();
56981
57035
  }
56982
57036
  }
56983
57037
  });
56984
57038
  },
57039
+
57040
+ // 提交流程
57041
+ /**
57042
+ * subProcess
57043
+ * @desc:提交流程
57044
+ * @author liufan
57045
+ * @param {String} formName 当前form表单ref值
57046
+ * @date 2022年5月25日
57047
+ **/
57048
+ subProcess: function subProcess(val, type) {
57049
+ var _this37 = this;
57050
+
57051
+ if (this.btnType != 'default') {
57052
+ if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
57053
+ warning('暂无可驳回节点及对象');
57054
+ return;
57055
+ }
57056
+ this.$refs[this.btnType].subProcess('nextNode');
57057
+ return;
57058
+ }
57059
+ if (this.beforeSubmit == undefined) {
57060
+ this.beforeSubProcess(val, type);
57061
+ } else {
57062
+ this.beforeSubmit(1).then(function (next) {
57063
+ _this37.beforeSubProcess(val, type);
57064
+ }).catch(function (e) {});
57065
+ }
57066
+ },
56985
57067
  validInfo: function validInfo() {
56986
57068
  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) {
56987
57069
  if (this.isShowNextUser) {
@@ -57021,14 +57103,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57021
57103
  return true;
57022
57104
  },
57023
57105
  flowSuccess: function flowSuccess(hideMessage) {
57024
- var _this37 = this;
57106
+ var _this38 = this;
57025
57107
 
57026
57108
  if (!this.simpleTips) {
57027
57109
  this.$alert('提交成功', '', {
57028
57110
  confirmButtonText: '确定',
57029
57111
  type: 'success',
57030
57112
  callback: function callback(action) {
57031
- _this37.$emit('success');
57113
+ _this38.$emit('success');
57032
57114
  }
57033
57115
  });
57034
57116
  } else {
@@ -57039,7 +57121,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57039
57121
  }
57040
57122
  },
57041
57123
  sendData: function sendData(freetype) {
57042
- var _this38 = this;
57124
+ var _this39 = this;
57043
57125
 
57044
57126
  if (this.isFlow && !this.nodeInfo.nextNode) {
57045
57127
  this.$message.warning('请选择流程');
@@ -57055,85 +57137,114 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57055
57137
  }
57056
57138
  this.$refs['nextNode'].validate(function () {
57057
57139
  var _ref2 = flowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
57058
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
57140
+ var nextUserId, addSignUserId, removeSignUserId, str, i, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
57059
57141
  return regenerator_default.a.wrap(function _callee2$(_context2) {
57060
57142
  while (1) {
57061
57143
  switch (_context2.prev = _context2.next) {
57062
57144
  case 0:
57063
57145
  if (!valid) {
57064
- _context2.next = 60;
57146
+ _context2.next = 71;
57065
57147
  break;
57066
57148
  }
57067
57149
 
57068
- if (!_this38.isFlow) {
57150
+ if (!_this39.isFlow) {
57069
57151
  _context2.next = 7;
57070
57152
  break;
57071
57153
  }
57072
57154
 
57073
- if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
57155
+ if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
57074
57156
  _context2.next = 5;
57075
57157
  break;
57076
57158
  }
57077
57159
 
57078
- _this38.$message.warning('请输入审批意见');
57160
+ _this39.$message.warning('请输入审批意见');
57079
57161
  return _context2.abrupt('return');
57080
57162
 
57081
57163
  case 5:
57082
- if (_this38.directCreateCircularReadWhenFlowStarted) {
57083
- _this38.circulateVisible = true;
57164
+ if (_this39.directCreateCircularReadWhenFlowStarted) {
57165
+ _this39.circulateVisible = true;
57084
57166
  } else {
57085
- _this38.handleVisible = true;
57167
+ _this39.handleVisible = true;
57086
57168
  }
57087
57169
  return _context2.abrupt('return');
57088
57170
 
57089
57171
  case 7:
57090
57172
  nextUserId = [];
57091
57173
 
57092
- if (_this38.multiple) {
57093
- _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
57174
+ if (_this39.multiple) {
57175
+ _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
57094
57176
  return nextUserId.push(item);
57095
57177
  });
57096
57178
  }
57097
57179
  addSignUserId = [];
57098
57180
 
57099
- if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
57100
- _this38.nextNode.addSignUserId.map(function (item) {
57181
+ if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
57182
+ _this39.nextNode.addSignUserId.map(function (item) {
57101
57183
  addSignUserId.push(item);
57102
57184
  });
57103
57185
  }
57104
57186
  removeSignUserId = [];
57105
57187
 
57106
- if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
57107
- _this38.nextNode.removeSignUserId.map(function (item) {
57188
+ if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
57189
+ _this39.nextNode.removeSignUserId.map(function (item) {
57108
57190
  removeSignUserId.push(item);
57109
57191
  });
57110
57192
  }
57111
57193
  str = '';
57112
57194
 
57113
- if (_this38.value) {
57114
- str = _this38.value.replace(/\s+/g, '');
57195
+ if (_this39.value) {
57196
+ str = _this39.value.replace(/\s+/g, '');
57115
57197
  }
57116
- if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
57117
- _this38.value = _this38.nodeDefaultSubmitOpinion;
57198
+ if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
57199
+ _this39.value = _this39.nodeDefaultSubmitOpinion;
57118
57200
  }
57119
- if (!_this38.isSpecial) {
57120
- delete _this38.nextNode.nextOperate;
57121
- delete _this38.nextNode.nextNodeId;
57201
+ if (!_this39.isSpecial) {
57202
+ delete _this39.nextNode.nextOperate;
57203
+ delete _this39.nextNode.nextNodeId;
57122
57204
  }
57123
- if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
57124
- _this38.nextNode.isReturnRejectNode = 1;
57125
- _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
57205
+ if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
57206
+ _this39.nextNode.isReturnRejectNode = 1;
57207
+ _this39.nextNode.processDefinitionId = _this39.processObj.taskExamine.processDefinitionId;
57126
57208
  }
57127
- if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
57128
- delete _this38.nextNode.nextNodeId;
57209
+ if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
57210
+ delete _this39.nextNode.nextNodeId;
57129
57211
  }
57130
57212
 
57131
- if (!_this38.isCancelSecondConfirmationType) {
57132
- _context2.next = 22;
57213
+ if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
57214
+ _context2.next = 30;
57133
57215
  break;
57134
57216
  }
57135
57217
 
57136
- _this38.$confirm('确认提交吗?', '提示', {
57218
+ i = 0;
57219
+
57220
+ case 21:
57221
+ if (!(i < _this39.presetList.length)) {
57222
+ _context2.next = 30;
57223
+ break;
57224
+ }
57225
+
57226
+ if (!(_this39.presetList[i].name && _this39.presetList[i].name != '1' && _this39.presetList[i].name != 'endEvent' && (!_this39.presetList[i].value || _this39.presetList[i].value.length == 0))) {
57227
+ _context2.next = 26;
57228
+ break;
57229
+ }
57230
+
57231
+ return _context2.abrupt('return', _this39.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this39.presetList[i].sequence + '-' + _this39.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
57232
+
57233
+ case 26:
57234
+ delete _this39.presetList[i].label;
57235
+
57236
+ case 27:
57237
+ i++;
57238
+ _context2.next = 21;
57239
+ break;
57240
+
57241
+ case 30:
57242
+ if (!_this39.isCancelSecondConfirmationType) {
57243
+ _context2.next = 33;
57244
+ break;
57245
+ }
57246
+
57247
+ _this39.$confirm('确认提交吗?', '提示', {
57137
57248
  confirmButtonText: '确定',
57138
57249
  cancelButtonText: '取消',
57139
57250
  type: 'warning'
@@ -57149,46 +57260,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57149
57260
  }
57150
57261
 
57151
57262
  _context.next = 3;
57152
- return _this38.saveInfo('subMit');
57263
+ return _this39.saveInfo('subMit');
57153
57264
 
57154
57265
  case 3:
57155
- _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
57266
+ _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57156
57267
 
57157
57268
  case 4:
57158
57269
  notificationType = '';
57159
57270
 
57160
- notificationType = _this38.nextNode.notificationType.join(',');
57271
+ notificationType = _this39.nextNode.notificationType.join(',');
57161
57272
  addSignUserId = addSignUserId.join(',');
57162
57273
  removeSignUserId = removeSignUserId.join(',');
57163
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
57164
- delete _this38.nextNode.addSignMode;
57274
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57275
+ delete _this39.nextNode.addSignMode;
57165
57276
  }
57166
57277
 
57167
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
57168
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
57169
- pendingId: _this38.pendingId,
57170
- opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
57278
+ params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57279
+ nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57280
+ pendingId: _this39.pendingId,
57281
+ opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57171
57282
  userId: utils_util.getStorage('userId'),
57172
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
57283
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57173
57284
  addSignUserId: addSignUserId,
57174
- customPresetUserJson: JSON.stringify(_this38.presetList),
57175
- presetUserJson: JSON.stringify(_this38.presetUserJson),
57285
+ customPresetUserJson: JSON.stringify(_this39.presetList),
57286
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
57176
57287
  removeSignUserId: removeSignUserId,
57177
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
57178
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
57179
- presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
57288
+ nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
57289
+ nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57290
+ presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57180
57291
  notificationType: notificationType
57181
57292
  });
57182
57293
 
57183
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
57294
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57184
57295
  delete params.customLimitTimeText;
57185
- if (_this38.nextNode.isRemoveSign != '1') {
57296
+ if (_this39.nextNode.isRemoveSign != '1') {
57186
57297
  delete params.removeSignUserId;
57187
57298
  }
57188
- if (_this38.nextNode.isAddSign != '1') {
57299
+ if (_this39.nextNode.isAddSign != '1') {
57189
57300
  delete params.addSignUserId;
57190
57301
  }
57191
- if (!_this38.isSpecial) {
57302
+ if (!_this39.isSpecial) {
57192
57303
  delete params.nextUserId;
57193
57304
  }
57194
57305
 
@@ -57197,13 +57308,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57197
57308
  break;
57198
57309
  }
57199
57310
 
57200
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
57201
- _this38.taskParams = params;
57311
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57312
+ _this39.taskParams = params;
57202
57313
  return _context.abrupt('return');
57203
57314
 
57204
57315
  case 19:
57205
- _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
57206
- 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;
57316
+ _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57317
+ isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57207
57318
 
57208
57319
  params.isEndUserTask = isEndUserTask;
57209
57320
  params.choiceOrgId = choiceOrgId;
@@ -57227,17 +57338,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57227
57338
  var status = res.status,
57228
57339
  message = res.message;
57229
57340
 
57230
- _this38.loading.close();
57341
+ _this39.loading.close();
57231
57342
  if (status === 'success') {
57232
- _this38.flowSuccess();
57343
+ _this39.flowSuccess();
57233
57344
  } else {
57234
- _this38.$message.error(message || '系统错误,请联系管理员!');
57235
- _this38.$emit('error');
57345
+ _this39.$message.error(message || '系统错误,请联系管理员!');
57346
+ _this39.$emit('error');
57236
57347
  }
57237
57348
  }).catch(function (err) {
57238
- _this38.loading.close();
57349
+ _this39.loading.close();
57239
57350
  if (err.message && err.message !== 'canceled') {
57240
- _this38.$message.error(err.message);
57351
+ _this39.$message.error(err.message);
57241
57352
  }
57242
57353
  }));
57243
57354
 
@@ -57246,72 +57357,72 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57246
57357
  return _context.stop();
57247
57358
  }
57248
57359
  }
57249
- }, _callee, _this38);
57360
+ }, _callee, _this39);
57250
57361
  })));
57251
57362
  return _context2.abrupt('return');
57252
57363
 
57253
- case 22:
57364
+ case 33:
57254
57365
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
57255
- _context2.next = 26;
57366
+ _context2.next = 37;
57256
57367
  break;
57257
57368
  }
57258
57369
 
57259
- _context2.next = 25;
57260
- return _this38.saveInfo('subMit');
57370
+ _context2.next = 36;
57371
+ return _this39.saveInfo('subMit');
57261
57372
 
57262
- case 25:
57263
- _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
57373
+ case 36:
57374
+ _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57264
57375
 
57265
- case 26:
57376
+ case 37:
57266
57377
  notificationType = '';
57267
57378
 
57268
- notificationType = _this38.nextNode.notificationType.join(',');
57379
+ notificationType = _this39.nextNode.notificationType.join(',');
57269
57380
  addSignUserId = addSignUserId.join(',');
57270
57381
  removeSignUserId = removeSignUserId.join(',');
57271
- if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
57272
- delete _this38.nextNode.addSignMode;
57382
+ if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57383
+ delete _this39.nextNode.addSignMode;
57273
57384
  }
57274
57385
 
57275
- params = flowvue_type_script_lang_js_extends({}, _this38.nextNode, {
57276
- nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
57277
- pendingId: _this38.pendingId,
57278
- opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
57386
+ params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57387
+ nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57388
+ pendingId: _this39.pendingId,
57389
+ opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57279
57390
  userId: utils_util.getStorage('userId'),
57280
- nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
57391
+ nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57281
57392
  addSignUserId: addSignUserId,
57282
- customPresetUserJson: JSON.stringify(_this38.presetList),
57283
- presetUserJson: JSON.stringify(_this38.presetUserJson),
57393
+ customPresetUserJson: JSON.stringify(_this39.presetList),
57394
+ presetUserJson: JSON.stringify(_this39.presetUserJson),
57284
57395
  removeSignUserId: removeSignUserId,
57285
- nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
57286
- nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
57287
- presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
57396
+ nextReadUserId: _this39.readMultiple ? _this39.mixReadList && _this39.mixReadList.join('|') : _this39.nextNode.nextReadUserId,
57397
+ nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57398
+ presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57288
57399
  notificationType: notificationType
57289
57400
  });
57290
57401
 
57291
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
57402
+ if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57292
57403
  delete params.customLimitTimeText;
57293
- if (_this38.nextNode.isRemoveSign != '1') {
57404
+ if (_this39.nextNode.isRemoveSign != '1') {
57294
57405
  delete params.removeSignUserId;
57295
57406
  }
57296
- if (_this38.nextNode.isAddSign != '1') {
57407
+ if (_this39.nextNode.isAddSign != '1') {
57297
57408
  delete params.addSignUserId;
57298
57409
  }
57299
- if (!_this38.isSpecial) {
57410
+ if (!_this39.isSpecial) {
57300
57411
  delete params.nextUserId;
57301
57412
  }
57302
57413
 
57303
57414
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
57304
- _context2.next = 41;
57415
+ _context2.next = 52;
57305
57416
  break;
57306
57417
  }
57307
57418
 
57308
- params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
57309
- _this38.taskParams = params;
57419
+ params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57420
+ _this39.taskParams = params;
57310
57421
  return _context2.abrupt('return');
57311
57422
 
57312
- case 41:
57313
- _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
57314
- 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;
57423
+ case 52:
57424
+ _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57425
+ isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57315
57426
 
57316
57427
  params.isEndUserTask = isEndUserTask;
57317
57428
  params.choiceOrgId = choiceOrgId;
@@ -57335,29 +57446,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57335
57446
  var status = res.status,
57336
57447
  message = res.message;
57337
57448
 
57338
- _this38.loading.close();
57449
+ _this39.loading.close();
57339
57450
  if (status === 'success') {
57340
- _this38.flowSuccess();
57451
+ _this39.flowSuccess();
57341
57452
  } else {
57342
- _this38.$message.error(message || '系统错误,请联系管理员!');
57343
- _this38.$emit('error');
57453
+ _this39.$message.error(message || '系统错误,请联系管理员!');
57454
+ _this39.$emit('error');
57344
57455
  }
57345
57456
  }).catch(function (err) {
57346
- _this38.loading.close();
57457
+ _this39.loading.close();
57347
57458
  if (err.message && err.message !== 'canceled') {
57348
- _this38.$message.error(err.message);
57459
+ _this39.$message.error(err.message);
57349
57460
  }
57350
57461
  }));
57351
57462
 
57352
- case 60:
57463
+ case 71:
57353
57464
  return _context2.abrupt('return', false);
57354
57465
 
57355
- case 61:
57466
+ case 72:
57356
57467
  case 'end':
57357
57468
  return _context2.stop();
57358
57469
  }
57359
57470
  }
57360
- }, _callee2, _this38);
57471
+ }, _callee2, _this39);
57361
57472
  }));
57362
57473
 
57363
57474
  return function (_x) {
@@ -57413,8 +57524,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57413
57524
 
57414
57525
  var flow_component = normalizeComponent(
57415
57526
  src_flowvue_type_script_lang_js_,
57416
- flowvue_type_template_id_68430d4b_render,
57417
- flowvue_type_template_id_68430d4b_staticRenderFns,
57527
+ flowvue_type_template_id_160c0322_render,
57528
+ flowvue_type_template_id_160c0322_staticRenderFns,
57418
57529
  false,
57419
57530
  null,
57420
57531
  null,
@@ -58722,6 +58833,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58722
58833
  //
58723
58834
  //
58724
58835
  //
58836
+ //
58837
+ //
58838
+ //
58839
+ //
58840
+ //
58841
+ //
58725
58842
 
58726
58843
 
58727
58844
 
@@ -58762,6 +58879,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58762
58879
  hideBtn: { type: Boolean, default: false },
58763
58880
  isCirculate: { type: Boolean, default: false },
58764
58881
  newFlow: { type: Boolean, default: false },
58882
+ ownerType: { type: String, default: '' },
58765
58883
  formLabelPosition: {
58766
58884
  type: String,
58767
58885
  default: 'left'
@@ -58847,6 +58965,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58847
58965
  oldNextOperate: '',
58848
58966
  showOpinion: true,
58849
58967
  submitButtonFunKey: '',
58968
+ showFlowImg: true,
58850
58969
  activitiDefinitionSort: false,
58851
58970
  taskNodeButtons: [],
58852
58971
  taskOperationShiftedNodeList: null,
@@ -59153,6 +59272,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59153
59272
  }
59154
59273
  },
59155
59274
  methods: {
59275
+ handleButtonClick: function handleButtonClick(val, call) {
59276
+ this.$emit('buttonClick', val, call);
59277
+ },
59278
+ handleErrorImg: function handleErrorImg(type) {
59279
+ this.showFlowImg = type != 'error';
59280
+ },
59156
59281
  sortSuccess: function sortSuccess(list) {
59157
59282
  this.nodeInfo.option = list;
59158
59283
  if (this.defaultProcessKey == '') {
@@ -59654,11 +59779,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59654
59779
  });
59655
59780
  },
59656
59781
 
59657
- /**
59658
- * saveInfo
59659
- * @desc:暂存
59660
- * @author liufan
59661
- * @date 2022年9月9日
59782
+ /**
59783
+ * saveInfo
59784
+ * @desc:暂存
59785
+ * @author liufan
59786
+ * @date 2022年9月9日
59662
59787
  **/
59663
59788
  saveInfo: function saveInfo(type, btn) {
59664
59789
  var _this14 = this;
@@ -59720,11 +59845,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59720
59845
  });
59721
59846
  },
59722
59847
 
59723
- /**
59724
- * rejectBtn
59725
- * @desc:点击驳回
59726
- * @author liufan
59727
- * @date 2022年5月25日
59848
+ /**
59849
+ * rejectBtn
59850
+ * @desc:点击驳回
59851
+ * @author liufan
59852
+ * @date 2022年5月25日
59728
59853
  **/
59729
59854
  rejectBtn: function rejectBtn() {
59730
59855
  var _this16 = this;
@@ -59742,11 +59867,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59742
59867
  }
59743
59868
  },
59744
59869
 
59745
- /**
59746
- * taskReadBtn
59747
- * @desc:点击分阅
59748
- * @author liufan
59749
- * @date 2022年5月25日
59870
+ /**
59871
+ * taskReadBtn
59872
+ * @desc:点击分阅
59873
+ * @author liufan
59874
+ * @date 2022年5月25日
59750
59875
  **/
59751
59876
  taskReadBtn: function taskReadBtn() {
59752
59877
  var _this17 = this;
@@ -59765,11 +59890,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59765
59890
  }
59766
59891
  },
59767
59892
 
59768
- /**
59769
- * getFind
59770
- * @desc:获取通知方式
59771
- * @author liufan
59772
- * @date 2022年5月25日
59893
+ /**
59894
+ * getFind
59895
+ * @desc:获取通知方式
59896
+ * @author liufan
59897
+ * @date 2022年5月25日
59773
59898
  **/
59774
59899
  getFind: function getFind() {
59775
59900
  var _this18 = this;
@@ -59836,12 +59961,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59836
59961
  });
59837
59962
  },
59838
59963
 
59839
- /**
59840
- * endFlows
59841
- * @desc:直接办结
59842
- * @author liufan
59843
- * @param {Object} res 直接办结数据
59844
- * @date 2022年5月25日
59964
+ /**
59965
+ * endFlows
59966
+ * @desc:直接办结
59967
+ * @author liufan
59968
+ * @param {Object} res 直接办结数据
59969
+ * @date 2022年5月25日
59845
59970
  **/
59846
59971
  endFlows: function endFlows(res) {
59847
59972
  var _this20 = this;
@@ -59896,12 +60021,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59896
60021
  }).catch(function (e) {});
59897
60022
  },
59898
60023
 
59899
- /**
59900
- * goView
59901
- * @desc:更多流程按钮操作
59902
- * @author liufan
59903
- * @param {Object} res 当前点击操作按钮数据
59904
- * @date 2022年5月25日
60024
+ /**
60025
+ * goView
60026
+ * @desc:更多流程按钮操作
60027
+ * @author liufan
60028
+ * @param {Object} res 当前点击操作按钮数据
60029
+ * @date 2022年5月25日
59905
60030
  **/
59906
60031
  goView: function goView(res) {
59907
60032
  // 驳回并办结:rejectAndEndHtml
@@ -59944,6 +60069,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59944
60069
  this.toStartDraf(res);
59945
60070
  } else if (res.fun === 'toTakeAdvice()') {
59946
60071
  //征求意见
60072
+ if (this.isOpinionRequired && !this.value) return this.$message.warning('请选择或输入审批意见');
59947
60073
  this.flowType = 'takeAdvice';
59948
60074
  this.flowMultiple = true;
59949
60075
  this.flowDisabled = false;
@@ -59988,11 +60114,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59988
60114
  // isCanStartSubFlow
59989
60115
  },
59990
60116
 
59991
- /**
59992
- * toTakeAdvice
59993
- * @desc:征求意见
59994
- * @author liufan
59995
- * @date 2022年9月29日
60117
+ /**
60118
+ * toTakeAdvice
60119
+ * @desc:征求意见
60120
+ * @author liufan
60121
+ * @date 2022年9月29日
59996
60122
  **/
59997
60123
  toTakeAdvice: function toTakeAdvice(res) {
59998
60124
  var _this22 = this;
@@ -60036,11 +60162,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60036
60162
  });
60037
60163
  },
60038
60164
 
60039
- /**
60040
- * toStartDraf
60041
- * @desc: 稿件递送、联合审核、复核
60042
- * @author liufan
60043
- * @date 2022年9月29日
60165
+ /**
60166
+ * toStartDraf
60167
+ * @desc: 稿件递送、联合审核、复核
60168
+ * @author liufan
60169
+ * @date 2022年9月29日
60044
60170
  **/
60045
60171
  toStartDraf: function toStartDraf(res) {
60046
60172
  var _this24 = this;
@@ -60054,11 +60180,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60054
60180
  }
60055
60181
  },
60056
60182
 
60057
- /**
60058
- * toSendMsg
60059
- * @desc:核稿通知
60060
- * @author liufan
60061
- * @date 2022年9月29日
60183
+ /**
60184
+ * toSendMsg
60185
+ * @desc:核稿通知
60186
+ * @author liufan
60187
+ * @date 2022年9月29日
60062
60188
  **/
60063
60189
  toSendMsg: function toSendMsg(res) {
60064
60190
  var _this25 = this;
@@ -60072,11 +60198,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60072
60198
  }
60073
60199
  },
60074
60200
 
60075
- /**
60076
- * toTaskReadAndEnd
60077
- * @desc:分阅并办结
60078
- * @author liufan
60079
- * @date 2022年9月29日
60201
+ /**
60202
+ * toTaskReadAndEnd
60203
+ * @desc:分阅并办结
60204
+ * @author liufan
60205
+ * @date 2022年9月29日
60080
60206
  **/
60081
60207
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
60082
60208
  var _this26 = this;
@@ -60094,11 +60220,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60094
60220
  }
60095
60221
  },
60096
60222
 
60097
- /**
60098
- * rejectAndEnd
60099
- * @desc:驳回并办结
60100
- * @author liufan
60101
- * @date 2022年9月29日
60223
+ /**
60224
+ * rejectAndEnd
60225
+ * @desc:驳回并办结
60226
+ * @author liufan
60227
+ * @date 2022年9月29日
60102
60228
  **/
60103
60229
  rejectAndEnd: function rejectAndEnd(res) {
60104
60230
  var _this27 = this;
@@ -60154,11 +60280,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60154
60280
  });
60155
60281
  },
60156
60282
 
60157
- /**
60158
- * toTransfer
60159
- * @desc:转办
60160
- * @author liufan
60161
- * @date 2022年9月29日
60283
+ /**
60284
+ * toTransfer
60285
+ * @desc:转办
60286
+ * @author liufan
60287
+ * @date 2022年9月29日
60162
60288
  **/
60163
60289
  toTransfer: function toTransfer(res) {
60164
60290
  var _this29 = this;
@@ -60177,11 +60303,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60177
60303
  this.nextNode.customLimitTime = val;
60178
60304
  },
60179
60305
 
60180
- /**
60181
- * getNodeInfo
60182
- * @desc:获取节点信息
60183
- * @author liufan
60184
- * @date 2022年5月25日
60306
+ /**
60307
+ * getNodeInfo
60308
+ * @desc:获取节点信息
60309
+ * @author liufan
60310
+ * @date 2022年5月25日
60185
60311
  **/
60186
60312
  getNodeInfo: function getNodeInfo() {
60187
60313
  var _this30 = this;
@@ -60312,7 +60438,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60312
60438
  data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
60313
60439
  }
60314
60440
  }
60315
- _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
60441
+ if (_this30.isCustomPreset && !_this30.newFlow) {
60442
+ _this30.$nextTick(function () {
60443
+ _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
60444
+ });
60445
+ }
60316
60446
  } else {
60317
60447
  _this30.$message.error(message || '系统错误,请联系管理员!');
60318
60448
  }
@@ -60324,12 +60454,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60324
60454
  });
60325
60455
  },
60326
60456
 
60327
- /**
60328
- * selecNext
60329
- * @desc:下步节点变化时更新数据
60330
- * @author liufan
60331
- * @param {String} val 当前选中值
60332
- * @date 2022年5月25日
60457
+ /**
60458
+ * selecNext
60459
+ * @desc:下步节点变化时更新数据
60460
+ * @author liufan
60461
+ * @param {String} val 当前选中值
60462
+ * @date 2022年5月25日
60333
60463
  **/
60334
60464
  selecNext: function selecNext(val, type, isDef) {
60335
60465
  var _this31 = this;
@@ -60469,11 +60599,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60469
60599
  }
60470
60600
  },
60471
60601
 
60472
- /**
60473
- * isMultiple
60474
- * @desc:是否多选
60475
- * @author liufan
60476
- * @date 2022年9月13日
60602
+ /**
60603
+ * isMultiple
60604
+ * @desc:是否多选
60605
+ * @author liufan
60606
+ * @date 2022年9月13日
60477
60607
  **/
60478
60608
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
60479
60609
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -60497,19 +60627,19 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60497
60627
  this.params.filid = choiceOrgId;
60498
60628
  }
60499
60629
  }
60500
- if (val == 15 || val == 16) {
60501
- this.params.filid = this.userModel.orgId;
60630
+ if (val == 15) {
60631
+ this.params.filid = this.pOrgId;
60502
60632
  if (pOrgId) {
60503
60633
  this.params.filid = pOrgId;
60504
60634
  }
60505
60635
  }
60506
60636
  },
60507
60637
 
60508
- /**
60509
- * getHedInfo
60510
- * @desc:获取审核页面数据
60511
- * @author liufan
60512
- * @date 2022年5月25日
60638
+ /**
60639
+ * getHedInfo
60640
+ * @desc:获取审核页面数据
60641
+ * @author liufan
60642
+ * @date 2022年5月25日
60513
60643
  **/
60514
60644
  getHedInfo: function getHedInfo() {
60515
60645
  var _this32 = this;
@@ -60828,13 +60958,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60828
60958
  });
60829
60959
  },
60830
60960
 
60831
- /**
60832
- * closeProcess
60833
- * @desc:关闭弹窗
60834
- * @author liufan
60835
- * @param {boolean} val 当前是否办理流程
60836
- * @param {String} type 当前点击的弹窗类型
60837
- * @date 2022年5月25日
60961
+ /**
60962
+ * closeProcess
60963
+ * @desc:关闭弹窗
60964
+ * @author liufan
60965
+ * @param {boolean} val 当前是否办理流程
60966
+ * @param {String} type 当前点击的弹窗类型
60967
+ * @date 2022年5月25日
60838
60968
  **/
60839
60969
  closeProcess: function closeProcess(val, type, closeParent) {
60840
60970
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -60854,23 +60984,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60854
60984
  }
60855
60985
  },
60856
60986
 
60857
- /**
60858
- * selectChange
60859
- * @desc:常用语选择
60860
- * @author liufan
60861
- * @param {String} val 选中值
60862
- * @date 2022年5月25日
60987
+ /**
60988
+ * selectChange
60989
+ * @desc:常用语选择
60990
+ * @author liufan
60991
+ * @param {String} val 选中值
60992
+ * @date 2022年5月25日
60863
60993
  **/
60864
60994
  selectChange: function selectChange(val) {
60865
60995
  this.value = val;
60866
60996
  },
60867
60997
 
60868
- /**
60869
- * upDate
60870
- * @desc:修改常用语
60871
- * @author liufan
60872
- * @param {Object} val 修改值
60873
- * @date 2022年5月25日
60998
+ /**
60999
+ * upDate
61000
+ * @desc:修改常用语
61001
+ * @author liufan
61002
+ * @param {Object} val 修改值
61003
+ * @date 2022年5月25日
60874
61004
  **/
60875
61005
  upDate: function upDate(val) {
60876
61006
  this.FormData.id = val.id;
@@ -60878,11 +61008,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60878
61008
  },
60879
61009
 
60880
61010
 
60881
- /**
60882
- * getProcess
60883
- * @desc:获取选择流程
60884
- * @author liufan
60885
- * @date 2022年5月25日
61011
+ /**
61012
+ * getProcess
61013
+ * @desc:获取选择流程
61014
+ * @author liufan
61015
+ * @date 2022年5月25日
60886
61016
  **/
60887
61017
  getProcess: function getProcess(val) {
60888
61018
  var _this33 = this;
@@ -60894,6 +61024,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60894
61024
  isOnly: true,
60895
61025
  hideTempSave: true
60896
61026
  }, this.param);
61027
+ if (this.ownerType) {
61028
+ params.ownerType = this.ownerType;
61029
+ }
60897
61030
  this.loading = utils_util.loading(this.$loading, '加载中...');
60898
61031
  utils_util.ajax({ url: getProcessDefList, params: params }).then(function (res) {
60899
61032
  var status = res.status,
@@ -60942,11 +61075,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60942
61075
  });
60943
61076
  },
60944
61077
 
60945
- /**
60946
- * getPendedhistoryList
60947
- * @desc:获取流程列表
60948
- * @author liufan
60949
- * @date 2022年5月25日
61078
+ /**
61079
+ * getPendedhistoryList
61080
+ * @desc:获取流程列表
61081
+ * @author liufan
61082
+ * @date 2022年5月25日
60950
61083
  **/
60951
61084
  getPendedhistoryList: function getPendedhistoryList() {
60952
61085
  var _this34 = this;
@@ -61019,12 +61152,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61019
61152
  beforeSubProcess: function beforeSubProcess() {},
61020
61153
 
61021
61154
  // 提交流程
61022
- /**
61023
- * subProcess
61024
- * @desc:提交流程
61025
- * @author liufan
61026
- * @param {String} formName 当前form表单ref值
61027
- * @date 2022年5月25日
61155
+ /**
61156
+ * subProcess
61157
+ * @desc:提交流程
61158
+ * @author liufan
61159
+ * @param {String} formName 当前form表单ref值
61160
+ * @date 2022年5月25日
61028
61161
  **/
61029
61162
  subProcess: function subProcess(val, type) {
61030
61163
  var _this36 = this;
@@ -61149,13 +61282,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61149
61282
  }
61150
61283
  this.$refs['nextNode'].validate(function () {
61151
61284
  var _ref2 = flow_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid) {
61152
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
61285
+ var nextUserId, addSignUserId, removeSignUserId, str, i, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, currentNodeIsCircularReadNode, needRetrialAuth, circularReadParamsMap, currentNodeEnableItemHandleDescription;
61153
61286
  return regenerator_default.a.wrap(function _callee2$(_context2) {
61154
61287
  while (1) {
61155
61288
  switch (_context2.prev = _context2.next) {
61156
61289
  case 0:
61157
61290
  if (!valid) {
61158
- _context2.next = 60;
61291
+ _context2.next = 71;
61159
61292
  break;
61160
61293
  }
61161
61294
 
@@ -61222,8 +61355,37 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61222
61355
  delete _this38.nextNode.nextNodeId;
61223
61356
  }
61224
61357
 
61358
+ if (!(_this38.isCustomPreset && _this38.activeNames == '1')) {
61359
+ _context2.next = 30;
61360
+ break;
61361
+ }
61362
+
61363
+ i = 0;
61364
+
61365
+ case 21:
61366
+ if (!(i < _this38.presetList.length)) {
61367
+ _context2.next = 30;
61368
+ break;
61369
+ }
61370
+
61371
+ 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))) {
61372
+ _context2.next = 26;
61373
+ break;
61374
+ }
61375
+
61376
+ 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'));
61377
+
61378
+ case 26:
61379
+ delete _this38.presetList[i].label;
61380
+
61381
+ case 27:
61382
+ i++;
61383
+ _context2.next = 21;
61384
+ break;
61385
+
61386
+ case 30:
61225
61387
  if (!_this38.isCancelSecondConfirmationType) {
61226
- _context2.next = 22;
61388
+ _context2.next = 33;
61227
61389
  break;
61228
61390
  }
61229
61391
 
@@ -61274,7 +61436,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61274
61436
  notificationType: notificationType
61275
61437
  });
61276
61438
 
61277
- if (_this38.activeNames != '1') delete params.customPresetUserJson;
61439
+ if (_this38.activeNames != '1' || !_this38.isCustomPreset) delete params.customPresetUserJson;
61278
61440
  delete params.customLimitTimeText;
61279
61441
  if (_this38.nextNode.isRemoveSign != '1') {
61280
61442
  delete params.removeSignUserId;
@@ -61344,19 +61506,19 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61344
61506
  })));
61345
61507
  return _context2.abrupt('return');
61346
61508
 
61347
- case 22:
61509
+ case 33:
61348
61510
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
61349
- _context2.next = 26;
61511
+ _context2.next = 37;
61350
61512
  break;
61351
61513
  }
61352
61514
 
61353
- _context2.next = 25;
61515
+ _context2.next = 36;
61354
61516
  return _this38.saveInfo('subMit');
61355
61517
 
61356
- case 25:
61518
+ case 36:
61357
61519
  _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
61358
61520
 
61359
- case 26:
61521
+ case 37:
61360
61522
  notificationType = '';
61361
61523
 
61362
61524
  notificationType = _this38.nextNode.notificationType.join(',');
@@ -61395,7 +61557,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61395
61557
  }
61396
61558
 
61397
61559
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
61398
- _context2.next = 41;
61560
+ _context2.next = 52;
61399
61561
  break;
61400
61562
  }
61401
61563
 
@@ -61403,7 +61565,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61403
61565
  _this38.taskParams = params;
61404
61566
  return _context2.abrupt('return');
61405
61567
 
61406
- case 41:
61568
+ case 52:
61407
61569
  _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
61408
61570
  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;
61409
61571
 
@@ -61443,10 +61605,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61443
61605
  }
61444
61606
  }));
61445
61607
 
61446
- case 60:
61608
+ case 71:
61447
61609
  return _context2.abrupt('return', false);
61448
61610
 
61449
- case 61:
61611
+ case 72:
61450
61612
  case 'end':
61451
61613
  return _context2.stop();
61452
61614
  }
@@ -61507,8 +61669,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61507
61669
 
61508
61670
  var flow_src_main_component = normalizeComponent(
61509
61671
  packages_flow_src_mainvue_type_script_lang_js_,
61510
- mainvue_type_template_id_48a0a0a2_render,
61511
- mainvue_type_template_id_48a0a0a2_staticRenderFns,
61672
+ mainvue_type_template_id_791d3fbc_render,
61673
+ mainvue_type_template_id_791d3fbc_staticRenderFns,
61512
61674
  false,
61513
61675
  null,
61514
61676
  null,
@@ -112979,7 +113141,7 @@ if (typeof window !== 'undefined' && window.Vue) {
112979
113141
  }
112980
113142
 
112981
113143
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
112982
- version: '0.8.36',
113144
+ version: '0.8.37',
112983
113145
  install: install,
112984
113146
  Archives: archives,
112985
113147
  Button: packages_button,