eoss-ui 0.8.11 → 0.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flow.js CHANGED
@@ -4834,7 +4834,7 @@ module.exports = require("vuedraggable");
4834
4834
  // ESM COMPAT FLAG
4835
4835
  __webpack_require__.r(__webpack_exports__);
4836
4836
 
4837
- // 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=70db76e0&
4837
+ // 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=8f765236&
4838
4838
  var render = function () {
4839
4839
  var _vm = this
4840
4840
  var _h = _vm.$createElement
@@ -4965,104 +4965,121 @@ var render = function () {
4965
4965
  (_vm.formLabelPosition == "left"
4966
4966
  ? "form-left"
4967
4967
  : "form-right"),
4968
+ style: { flex: _vm.fullFlow ? "1" : "unset" },
4968
4969
  },
4969
4970
  [
4970
- _c(
4971
- "el-form",
4972
- {
4973
- ref: "form",
4974
- attrs: {
4975
- model: _vm.circulateForm,
4976
- "label-width": "120px",
4977
- "label-position": _vm.formLabelPosition,
4978
- },
4979
- },
4980
- [
4981
- _c(
4982
- "el-form-item",
4971
+ _vm.showCirculate
4972
+ ? _c(
4973
+ "el-form",
4983
4974
  {
4984
- staticStyle: { "margin-top": "20px" },
4985
- attrs: { prop: "nextNodeId", label: "下步节点" },
4975
+ ref: "form",
4976
+ attrs: {
4977
+ model: _vm.circulateForm,
4978
+ "label-width": "120px",
4979
+ "label-position": _vm.formLabelPosition,
4980
+ },
4986
4981
  },
4987
4982
  [
4988
- _vm.nextNodeCheckType == "select"
4989
- ? _c(
4990
- "el-select",
4991
- {
4992
- staticStyle: { width: "100% !important" },
4993
- attrs: { placeholder: "请选择下步节点" },
4994
- model: {
4995
- value: _vm.circulateForm.nextNodeId,
4996
- callback: function ($$v) {
4997
- _vm.$set(
4998
- _vm.circulateForm,
4999
- "nextNodeId",
5000
- $$v
5001
- )
4983
+ _c(
4984
+ "el-form-item",
4985
+ {
4986
+ staticStyle: { "margin-top": "20px" },
4987
+ attrs: {
4988
+ prop: "nextNodeId",
4989
+ label: "下步节点",
4990
+ },
4991
+ },
4992
+ [
4993
+ _vm.nextNodeCheckType == "select"
4994
+ ? _c(
4995
+ "el-select",
4996
+ {
4997
+ staticStyle: {
4998
+ width: "100% !important",
4999
+ },
5000
+ attrs: {
5001
+ placeholder: "请选择下步节点",
5002
+ },
5003
+ model: {
5004
+ value: _vm.circulateForm.nextNodeId,
5005
+ callback: function ($$v) {
5006
+ _vm.$set(
5007
+ _vm.circulateForm,
5008
+ "nextNodeId",
5009
+ $$v
5010
+ )
5011
+ },
5012
+ expression:
5013
+ "circulateForm.nextNodeId",
5014
+ },
5002
5015
  },
5003
- expression: "circulateForm.nextNodeId",
5004
- },
5005
- },
5006
- [
5007
- _c("el-option", {
5008
- attrs: { label: "传阅", value: "111" },
5009
- }),
5010
- ],
5011
- 1
5012
- )
5013
- : _vm.nextNodeCheckType == "radio"
5014
- ? _c("es-radio-group", {
5015
- attrs: {
5016
- data: [
5017
- { nodeId: "111", nodeName: "传阅" },
5018
- ],
5019
- "value-key": "nodeId",
5020
- "label-key": "nodeName",
5021
- },
5022
- model: {
5023
- value: _vm.circulateForm.nextNodeId,
5024
- callback: function ($$v) {
5025
- _vm.$set(
5026
- _vm.circulateForm,
5027
- "nextNodeId",
5028
- $$v
5029
- )
5030
- },
5031
- expression: "circulateForm.nextNodeId",
5032
- },
5033
- })
5034
- : _vm._e(),
5016
+ [
5017
+ _c("el-option", {
5018
+ attrs: {
5019
+ label: "传阅",
5020
+ value: "111",
5021
+ },
5022
+ }),
5023
+ ],
5024
+ 1
5025
+ )
5026
+ : _vm.nextNodeCheckType == "radio"
5027
+ ? _c("es-radio-group", {
5028
+ attrs: {
5029
+ data: [
5030
+ { nodeId: "111", nodeName: "传阅" },
5031
+ ],
5032
+ "value-key": "nodeId",
5033
+ "label-key": "nodeName",
5034
+ },
5035
+ model: {
5036
+ value: _vm.circulateForm.nextNodeId,
5037
+ callback: function ($$v) {
5038
+ _vm.$set(
5039
+ _vm.circulateForm,
5040
+ "nextNodeId",
5041
+ $$v
5042
+ )
5043
+ },
5044
+ expression:
5045
+ "circulateForm.nextNodeId",
5046
+ },
5047
+ })
5048
+ : _vm._e(),
5049
+ ],
5050
+ 1
5051
+ ),
5035
5052
  ],
5036
5053
  1
5037
- ),
5038
- ],
5039
- 1
5040
- ),
5041
- _c("circulate", {
5042
- ref: "circulate",
5043
- staticStyle: { "margin-top": "10px" },
5044
- attrs: {
5045
- businessId: _vm.businessIds,
5046
- "label-position": _vm.formLabelPosition,
5047
- showTooltip: _vm.showTooltip,
5048
- selectorParams: _vm.selectorParams,
5049
- "pending-id": _vm.pendingId,
5050
- showBtn: false,
5051
- formTitle: _vm.formTitle,
5052
- flowLabelConfig: _vm.flowLabelConfig,
5053
- hideMessage: _vm.hideMessage,
5054
- startFlowPageEmbeddedIntoStartFlowIndex:
5055
- _vm.startFlowPageEmbeddedIntoStartFlowIndex,
5056
- processDefinitionId: _vm.nodeInfo.nextNode,
5057
- simpleTips: _vm.simpleTips,
5058
- oldOption: _vm.value,
5059
- },
5060
- on: {
5061
- cancel: function ($event) {
5062
- _vm.closeProcess($event, "circulateVisible")
5063
- },
5064
- },
5065
- }),
5054
+ )
5055
+ : _vm._e(),
5056
+ _vm.showCirculate
5057
+ ? _c("circulate", {
5058
+ ref: "circulate",
5059
+ staticStyle: { "margin-top": "10px" },
5060
+ attrs: {
5061
+ businessId: _vm.businessIds,
5062
+ "label-position": _vm.formLabelPosition,
5063
+ showTooltip: _vm.showTooltip,
5064
+ selectorParams: _vm.selectorParams,
5065
+ "pending-id": _vm.pendingId,
5066
+ showBtn: false,
5067
+ formTitle: _vm.formTitle,
5068
+ flowLabelConfig: _vm.flowLabelConfig,
5069
+ hideMessage: _vm.hideMessage,
5070
+ startFlowPageEmbeddedIntoStartFlowIndex:
5071
+ _vm.startFlowPageEmbeddedIntoStartFlowIndex,
5072
+ processDefinitionId: _vm.nodeInfo.nextNode,
5073
+ simpleTips: _vm.simpleTips,
5074
+ oldOption: _vm.value,
5075
+ },
5076
+ on: {
5077
+ cancel: function ($event) {
5078
+ _vm.closeProcess($event, "circulateVisible")
5079
+ },
5080
+ },
5081
+ })
5082
+ : _vm._e(),
5066
5083
  ],
5067
5084
  1
5068
5085
  ),
@@ -5161,7 +5178,12 @@ var render = function () {
5161
5178
  })
5162
5179
  : _c(
5163
5180
  "div",
5164
- { staticClass: "es-flow-content" },
5181
+ {
5182
+ staticClass: "es-flow-content",
5183
+ style: {
5184
+ "justify-content": _vm.fullFlow ? "space-between" : "unset",
5185
+ },
5186
+ },
5165
5187
  [
5166
5188
  _c(
5167
5189
  "div",
@@ -5419,6 +5441,7 @@ var render = function () {
5419
5441
  (_vm.formLabelPosition == "left"
5420
5442
  ? "form-left"
5421
5443
  : "form-right"),
5444
+ style: { flex: _vm.fullFlow ? "1" : "unset" },
5422
5445
  },
5423
5446
  [
5424
5447
  _c(
@@ -5447,11 +5470,7 @@ var render = function () {
5447
5470
  prop: "nextNode",
5448
5471
  label: "选择流程",
5449
5472
  rules: [
5450
- {
5451
- required: true,
5452
- message: "请选择流程",
5453
- trigger: "blur",
5454
- },
5473
+ // { required: true, message: `请选择流程`, trigger: 'blur' }
5455
5474
  ],
5456
5475
  },
5457
5476
  },
@@ -7897,7 +7916,7 @@ var staticRenderFns = []
7897
7916
  render._withStripped = true
7898
7917
 
7899
7918
 
7900
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=70db76e0&
7919
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=8f765236&
7901
7920
 
7902
7921
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7903
7922
  var regenerator_ = __webpack_require__(4);
@@ -23249,8 +23268,8 @@ var supervise_component = Object(componentNormalizer["a" /* default */])(
23249
23268
  )
23250
23269
 
23251
23270
  /* harmony default export */ var supervise = (supervise_component.exports);
23252
- // 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/Circulate.vue?vue&type=template&id=535aafac&
23253
- var Circulatevue_type_template_id_535aafac_render = function () {
23271
+ // 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/Circulate.vue?vue&type=template&id=6d27b4d0&
23272
+ var Circulatevue_type_template_id_6d27b4d0_render = function () {
23254
23273
  var _vm = this
23255
23274
  var _h = _vm.$createElement
23256
23275
  var _c = _vm._self._c || _h
@@ -23438,11 +23457,11 @@ var Circulatevue_type_template_id_535aafac_render = function () {
23438
23457
  1
23439
23458
  )
23440
23459
  }
23441
- var Circulatevue_type_template_id_535aafac_staticRenderFns = []
23442
- Circulatevue_type_template_id_535aafac_render._withStripped = true
23460
+ var Circulatevue_type_template_id_6d27b4d0_staticRenderFns = []
23461
+ Circulatevue_type_template_id_6d27b4d0_render._withStripped = true
23443
23462
 
23444
23463
 
23445
- // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=535aafac&
23464
+ // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=6d27b4d0&
23446
23465
 
23447
23466
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
23448
23467
  var Circulatevue_type_script_lang_js_components;
@@ -23584,6 +23603,7 @@ var Circulatevue_type_script_lang_js_components;
23584
23603
  nextOtherOrgObj: [],
23585
23604
  nextCurrentOrgObj: [],
23586
23605
  noticeType: [],
23606
+ noticeList: [],
23587
23607
  noticeInfo: '',
23588
23608
  opinion: ''
23589
23609
  },
@@ -23862,8 +23882,8 @@ var Circulatevue_type_script_lang_js_components;
23862
23882
 
23863
23883
  var Circulate_component = Object(componentNormalizer["a" /* default */])(
23864
23884
  component_Circulatevue_type_script_lang_js_,
23865
- Circulatevue_type_template_id_535aafac_render,
23866
- Circulatevue_type_template_id_535aafac_staticRenderFns,
23885
+ Circulatevue_type_template_id_6d27b4d0_render,
23886
+ Circulatevue_type_template_id_6d27b4d0_staticRenderFns,
23867
23887
  false,
23868
23888
  null,
23869
23889
  null,
@@ -25667,6 +25687,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25667
25687
  //
25668
25688
  //
25669
25689
  //
25690
+ //
25691
+ //
25692
+ //
25670
25693
 
25671
25694
 
25672
25695
 
@@ -25748,6 +25771,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25748
25771
  return {};
25749
25772
  }
25750
25773
  },
25774
+ fullFlow: {
25775
+ type: Boolean,
25776
+ default: true
25777
+ },
25778
+ showReadConfirm: {
25779
+ type: Boolean,
25780
+ default: true
25781
+ },
25751
25782
  width: {
25752
25783
  type: String
25753
25784
  },
@@ -26392,63 +26423,72 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26392
26423
  this.loading.close();
26393
26424
  }
26394
26425
  },
26395
- taskRead: function taskRead() {
26426
+ subRead: function subRead() {
26396
26427
  var _this8 = this;
26397
26428
 
26429
+ this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26430
+ var _taskExamineInfo2 = this.taskExamineInfo,
26431
+ businessId = _taskExamineInfo2.businessId,
26432
+ appId = _taskExamineInfo2.appId,
26433
+ processDefinitionId = _taskExamineInfo2.processDefinitionId,
26434
+ pendingId = _taskExamineInfo2.pendingId;
26435
+
26436
+ var params = {
26437
+ businessId: businessId,
26438
+ appId: appId,
26439
+ processDefinitionId: processDefinitionId,
26440
+ pendingId: pendingId,
26441
+ opinion: this.value,
26442
+ taskAction: 'complete'
26443
+ };
26444
+ util["a" /* default */].ajax({
26445
+ url: api["dc" /* taskReadHtml */],
26446
+ params: { taskAction: 'complete' },
26447
+ headers: {
26448
+ Accept: 'application/json,text/plain'
26449
+ },
26450
+ method: 'post',
26451
+ data: params
26452
+ }).then(function (res) {
26453
+ var status = res.status,
26454
+ message = res.message;
26455
+
26456
+ _this8.loading.close();
26457
+ if (status === 'success') {
26458
+ _this8.flowSuccess();
26459
+ // this.$message.success('提交成功');
26460
+ // this.$emit('success');
26461
+ } else {
26462
+ _this8.$message.error(message || '系统错误,请联系管理员!');
26463
+ _this8.$emit('error');
26464
+ }
26465
+ }).catch(function (err) {
26466
+ _this8.loading.close();
26467
+ if (err.message && err.message !== 'canceled') {
26468
+ _this8.$message.error(err.message);
26469
+ }
26470
+ });
26471
+ },
26472
+ taskRead: function taskRead() {
26473
+ var _this9 = this;
26474
+
26398
26475
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
26399
26476
  if (!this.$refs.commonOpinions.validate()) return;
26400
26477
  }
26401
- this.$confirm('确认提交?', '提示', {
26402
- confirmButtonText: '确定',
26403
- cancelButtonText: '取消',
26404
- type: 'warning'
26405
- }).then(function () {
26406
- _this8.loading = util["a" /* default */].loading(_this8.$loading, '加载中...');
26407
- var _taskExamineInfo2 = _this8.taskExamineInfo,
26408
- businessId = _taskExamineInfo2.businessId,
26409
- appId = _taskExamineInfo2.appId,
26410
- processDefinitionId = _taskExamineInfo2.processDefinitionId,
26411
- pendingId = _taskExamineInfo2.pendingId;
26412
-
26413
- var params = {
26414
- businessId: businessId,
26415
- appId: appId,
26416
- processDefinitionId: processDefinitionId,
26417
- pendingId: pendingId,
26418
- opinion: _this8.value,
26419
- taskAction: 'complete'
26420
- };
26421
- util["a" /* default */].ajax({
26422
- url: api["dc" /* taskReadHtml */],
26423
- params: { taskAction: 'complete' },
26424
- headers: {
26425
- Accept: 'application/json,text/plain'
26426
- },
26427
- method: 'post',
26428
- data: params
26429
- }).then(function (res) {
26430
- var status = res.status,
26431
- message = res.message;
26432
-
26433
- _this8.loading.close();
26434
- if (status === 'success') {
26435
- _this8.flowSuccess();
26436
- // this.$message.success('提交成功');
26437
- // this.$emit('success');
26438
- } else {
26439
- _this8.$message.error(message || '系统错误,请联系管理员!');
26440
- _this8.$emit('error');
26441
- }
26442
- }).catch(function (err) {
26443
- _this8.loading.close();
26444
- if (err.message && err.message !== 'canceled') {
26445
- _this8.$message.error(err.message);
26446
- }
26447
- });
26448
- }).catch(function () {});
26478
+ if (this.showReadConfirm) {
26479
+ this.$confirm('确认提交?', '提示', {
26480
+ confirmButtonText: '确定',
26481
+ cancelButtonText: '取消',
26482
+ type: 'warning'
26483
+ }).then(function () {
26484
+ _this9.subRead();
26485
+ }).catch(function () {});
26486
+ } else {
26487
+ this.subRead();
26488
+ }
26449
26489
  },
26450
26490
  validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
26451
- var _this9 = this;
26491
+ var _this10 = this;
26452
26492
 
26453
26493
  var params = {
26454
26494
  url: api["e" /* checkBusinessIdStartedReadTransferHandle */],
@@ -26459,14 +26499,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26459
26499
  }
26460
26500
  };
26461
26501
  util["a" /* default */].ajax(params).then(function (res) {
26462
- _this9.loading.close();
26502
+ _this10.loading.close();
26463
26503
  if (res.rCode == 0) {
26464
- _this9.readTransferHandleDisabled = !res.results.canReadTransferHandle;
26504
+ _this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
26465
26505
  }
26466
26506
  });
26467
26507
  },
26468
26508
  getTaskReadFlow: function getTaskReadFlow() {
26469
- var _this10 = this;
26509
+ var _this11 = this;
26470
26510
 
26471
26511
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26472
26512
  util["a" /* default */].ajax({
@@ -26483,32 +26523,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26483
26523
  defaultNotificationMessage = _res$data.defaultNotificationMessage;
26484
26524
 
26485
26525
  if (status === 'success') {
26486
- _this10.taskExamineInfo = taskExamine;
26487
- _this10.nodeName = _this10.nodename || taskExamine.nodeName || '分阅';
26488
- _this10.taskReadOpinionRequired = taskReadOpinionRequired;
26489
- _this10.nextNode.notificationMsg = defaultNotificationMessage;
26490
- _this10.isCanReadTransferHandle = isCanReadTransferHandle;
26491
- _this10.isCanFenyue = isCanFenyue;
26492
- if (_this10.nodeName) {
26493
- _this10.NodeName = _this10.nodeName;
26526
+ _this11.taskExamineInfo = taskExamine;
26527
+ _this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
26528
+ _this11.taskReadOpinionRequired = taskReadOpinionRequired;
26529
+ _this11.nextNode.notificationMsg = defaultNotificationMessage;
26530
+ _this11.isCanReadTransferHandle = isCanReadTransferHandle;
26531
+ _this11.isCanFenyue = isCanFenyue;
26532
+ if (_this11.nodeName) {
26533
+ _this11.NodeName = _this11.nodeName;
26494
26534
  }
26495
- if (_this10.isCanReadTransferHandle) {
26496
- _this10.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
26535
+ if (_this11.isCanReadTransferHandle) {
26536
+ _this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
26497
26537
  }
26498
- _this10.getNodeType();
26538
+ _this11.getNodeType();
26499
26539
  } else {
26500
- _this10.$message.error(message || '系统错误,请联系管理员!');
26540
+ _this11.$message.error(message || '系统错误,请联系管理员!');
26501
26541
  }
26502
- _this10.loading.close();
26542
+ _this11.loading.close();
26503
26543
  }).catch(function (err) {
26504
- _this10.loading.close();
26544
+ _this11.loading.close();
26505
26545
  if (err.message && err.message !== 'canceled') {
26506
- _this10.$message.error(err.message);
26546
+ _this11.$message.error(err.message);
26507
26547
  }
26508
26548
  });
26509
26549
  },
26510
26550
  getUserInfo: function getUserInfo() {
26511
- var _this11 = this;
26551
+ var _this12 = this;
26512
26552
 
26513
26553
  var mainConfig = util["a" /* default */].getStorage('mainConfig');
26514
26554
  if (mainConfig) {
@@ -26519,14 +26559,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26519
26559
  data = res.data;
26520
26560
 
26521
26561
  if (status == 'success') {
26522
- _this11.userModel = data;
26562
+ _this12.userModel = data;
26523
26563
  } else {
26524
26564
  var msg = res.msg || '系统错误,请联系管理员!';
26525
- _this11.$message.error(msg);
26565
+ _this12.$message.error(msg);
26526
26566
  }
26527
26567
  }).catch(function (err) {
26528
26568
  if (err.message && err.message !== 'canceled') {
26529
- _this11.$message.error(err.message);
26569
+ _this12.$message.error(err.message);
26530
26570
  }
26531
26571
  });
26532
26572
  }
@@ -26546,7 +26586,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26546
26586
  }
26547
26587
  },
26548
26588
  getNodeType: function getNodeType() {
26549
- var _this12 = this;
26589
+ var _this13 = this;
26550
26590
 
26551
26591
  var params = {
26552
26592
  url: api["B" /* findCodeValues */],
@@ -26561,11 +26601,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26561
26601
  data = res.data;
26562
26602
 
26563
26603
  if (status === 'success') {
26564
- _this12.newsList = data;
26604
+ _this13.newsList = data;
26565
26605
  }
26566
26606
  }).catch(function (err) {
26567
26607
  if (err.message && err.message !== 'canceled') {
26568
- _this12.$message.error(err.message);
26608
+ _this13.$message.error(err.message);
26569
26609
  }
26570
26610
  });
26571
26611
  },
@@ -26577,17 +26617,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26577
26617
  * @date 2022年9月9日
26578
26618
  **/
26579
26619
  saveInfo: function saveInfo(type, btn) {
26580
- var _this13 = this;
26620
+ var _this14 = this;
26581
26621
 
26582
26622
  if (this.isFlow) {
26583
26623
  if (!type) {
26584
26624
  if (btn && btn.before) {
26585
26625
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
26586
- _this13.$emit('save', _this13.businessIds);
26626
+ _this14.$emit('save', _this14.businessIds);
26587
26627
  }).catch(function (e) {});
26588
26628
  } else if (this.beforeSubmit != undefined) {
26589
26629
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
26590
- _this13.$emit('save', _this13.businessIds);
26630
+ _this14.$emit('save', _this14.businessIds);
26591
26631
  }).catch(function (e) {});
26592
26632
  } else {
26593
26633
  this.$emit('save', this.businessIds);
@@ -26596,13 +26636,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26596
26636
  } else {
26597
26637
  if (btn && btn.before && !type) {
26598
26638
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
26599
- _this13.saveFlowInfo();
26639
+ _this14.saveFlowInfo();
26600
26640
  }).catch(function (e) {});
26601
26641
  } else if (this.beforeSubmit == undefined && !type) {
26602
26642
  this.subFun(this.saveFlowInfo);
26603
26643
  } else if (!type && this.beforeSubmit != undefined) {
26604
26644
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
26605
- _this13.saveFlowInfo();
26645
+ _this14.saveFlowInfo();
26606
26646
  }).catch(function (e) {});
26607
26647
  } else {
26608
26648
  this.saveFlowInfo(type);
@@ -26610,7 +26650,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26610
26650
  }
26611
26651
  },
26612
26652
  saveFlowInfo: function saveFlowInfo(isSave) {
26613
- var _this14 = this;
26653
+ var _this15 = this;
26614
26654
 
26615
26655
  var params = {
26616
26656
  opinion: this.value,
@@ -26621,17 +26661,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26621
26661
  var status = res.status,
26622
26662
  message = res.message;
26623
26663
 
26624
- if (!isSave) _this14.loading.close();
26664
+ if (!isSave) _this15.loading.close();
26625
26665
  if (status == 'success') {
26626
26666
  // this.$message.success('暂存成功');
26627
- !isSave && _this14.$emit('save', _this14.businessIds);
26667
+ !isSave && _this15.$emit('save', _this15.businessIds);
26628
26668
  } else {
26629
- _this14.$message.error(message || '系统错误,请联系管理员!');
26669
+ _this15.$message.error(message || '系统错误,请联系管理员!');
26630
26670
  }
26631
26671
  }).catch(function (err) {
26632
- if (!isSave) _this14.loading.close();
26672
+ if (!isSave) _this15.loading.close();
26633
26673
  if (err.message && err.message !== 'canceled') {
26634
- _this14.$message.error(err.message);
26674
+ _this15.$message.error(err.message);
26635
26675
  }
26636
26676
  });
26637
26677
  },
@@ -26643,7 +26683,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26643
26683
  * @date 2022年5月25日
26644
26684
  **/
26645
26685
  rejectBtn: function rejectBtn() {
26646
- var _this15 = this;
26686
+ var _this16 = this;
26647
26687
 
26648
26688
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
26649
26689
  if (!this.value) {
@@ -26651,7 +26691,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26651
26691
  }
26652
26692
  if (this.beforeSubmit != undefined) {
26653
26693
  this.beforeSubmit(0).then(function (next) {
26654
- _this15.showReject = true;
26694
+ _this16.showReject = true;
26655
26695
  }).catch(function (e) {});
26656
26696
  } else {
26657
26697
  this.showReject = true;
@@ -26665,14 +26705,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26665
26705
  * @date 2022年5月25日
26666
26706
  **/
26667
26707
  taskReadBtn: function taskReadBtn() {
26668
- var _this16 = this;
26708
+ var _this17 = this;
26669
26709
 
26670
26710
  // return this.$message.warning('暂未开放!敬请期待');
26671
26711
  if (this.beforeSubmit != undefined) {
26672
26712
  this.beforeSubmit().then(function (next) {
26673
- if (_this16.value === '') _this16.value = _this16.nodeDefaultRejectOpinion;
26674
- _this16.taskReadType = 'create';
26675
- _this16.showTaskRead = true;
26713
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
26714
+ _this17.taskReadType = 'create';
26715
+ _this17.showTaskRead = true;
26676
26716
  }).catch(function (e) {});
26677
26717
  } else {
26678
26718
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -26688,7 +26728,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26688
26728
  * @date 2022年5月25日
26689
26729
  **/
26690
26730
  getFind: function getFind() {
26691
- var _this17 = this;
26731
+ var _this18 = this;
26692
26732
 
26693
26733
  util["a" /* default */].ajax({
26694
26734
  url: api["D" /* findSysCodes */]
@@ -26697,26 +26737,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26697
26737
  message = res.message;
26698
26738
 
26699
26739
  if (status === 'success') {
26700
- if (_this17.hideMessage) return;
26701
- _this17.nextNode.notificationType = message.split(',');
26740
+ if (_this18.hideMessage) return;
26741
+ _this18.nextNode.notificationType = message.split(',');
26702
26742
  var arr = [];
26703
- _this17.newsList.map(function (item) {
26704
- _this17.nextNode.notificationType.map(function (x) {
26743
+ _this18.newsList.map(function (item) {
26744
+ _this18.nextNode.notificationType.map(function (x) {
26705
26745
  if (x == item.cciValue) {
26706
26746
  arr.push(x);
26707
26747
  }
26708
26748
  });
26709
26749
  });
26710
- _this17.nextNode.notificationType = arr;
26750
+ _this18.nextNode.notificationType = arr;
26711
26751
  }
26712
26752
  }).catch(function (err) {
26713
26753
  if (err.message && err.message !== 'canceled') {
26714
- _this17.$message.error(err.message);
26754
+ _this18.$message.error(err.message);
26715
26755
  }
26716
26756
  });
26717
26757
  },
26718
26758
  getFreeStartParams: function getFreeStartParams() {
26719
- var _this18 = this;
26759
+ var _this19 = this;
26720
26760
 
26721
26761
  var _endFlowInfo = this.endFlowInfo,
26722
26762
  businessId = _endFlowInfo.businessId,
@@ -26734,20 +26774,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26734
26774
  };
26735
26775
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26736
26776
  util["a" /* default */].ajax(param).then(function (res) {
26737
- _this18.loading.close();
26777
+ _this19.loading.close();
26738
26778
  if (res.rCode == 0 || res.status == 'success') {
26739
- _this18.freeStartFlowParams = res.results;
26740
- if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this18.subProcess('同意。', res.results.useScene);
26741
- if (!_this18.freeValid) return;
26742
- if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this18.$message.warning('未找到流程定义!');
26779
+ _this19.freeStartFlowParams = res.results;
26780
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
26781
+ if (!_this19.freeValid) return;
26782
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
26743
26783
  if (res.results.startFlowIndexProcessKeys.length == 1) {
26744
- _this18.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
26745
- _this18.handleVisible = true;
26784
+ _this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
26785
+ _this19.handleVisible = true;
26746
26786
  } else {
26747
- _this18.showFreeStartFlow = true;
26787
+ _this19.showFreeStartFlow = true;
26748
26788
  }
26749
26789
  } else {
26750
- _this18.$message.error(res.message || '系统错误,请联系管理员!');
26790
+ _this19.$message.error(res.message || '系统错误,请联系管理员!');
26751
26791
  }
26752
26792
  });
26753
26793
  },
@@ -26760,53 +26800,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26760
26800
  * @date 2022年5月25日
26761
26801
  **/
26762
26802
  endFlows: function endFlows(res) {
26763
- var _this19 = this;
26803
+ var _this20 = this;
26764
26804
 
26765
26805
  if (this.beforeSubmit != undefined) {
26766
26806
  this.beforeSubmit().then(function (next) {
26767
- _this19.saveEndFlows(res);
26807
+ _this20.saveEndFlows(res);
26768
26808
  }).catch(function (e) {});
26769
26809
  } else {
26770
26810
  this.saveEndFlows(res);
26771
26811
  }
26772
26812
  },
26773
26813
  saveEndFlows: function saveEndFlows(res) {
26774
- var _this20 = this;
26814
+ var _this21 = this;
26775
26815
 
26776
26816
  this.$confirm('确认' + res.value + '?').then(function () {
26777
26817
  var params = {
26778
26818
  url: api["A" /* endFlowHtml */],
26779
26819
  headers: { Accept: 'application/json,text/plain' },
26780
26820
  method: 'post',
26781
- data: mainvue_type_script_lang_js_extends({}, _this20.endFlowInfo, _this20.nextNode, {
26782
- opinion: _this20.value,
26821
+ data: mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
26822
+ opinion: _this21.value,
26783
26823
  userId: util["a" /* default */].getStorage('userId'),
26784
- nextUserId: _this20.multiple ? _this20.nextNode.nextUserId.join(',') : _this20.nextNode.nextUserId,
26785
- addSignUserId: _this20.nextNode.addSignUserId.join(','),
26786
- customPresetUserJson: JSON.stringify(_this20.presetList),
26787
- presetUserJson: JSON.stringify(_this20.presetUserJson),
26788
- removeSignUserId: _this20.nextNode.removeSignUserId.join(','),
26789
- notificationType: _this20.nextNode.notificationType.join(',')
26824
+ nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
26825
+ addSignUserId: _this21.nextNode.addSignUserId.join(','),
26826
+ customPresetUserJson: JSON.stringify(_this21.presetList),
26827
+ presetUserJson: JSON.stringify(_this21.presetUserJson),
26828
+ removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
26829
+ notificationType: _this21.nextNode.notificationType.join(',')
26790
26830
  })
26791
26831
  };
26792
- _this20.loading = util["a" /* default */].loading(_this20.$loading, '加载中...');
26832
+ _this21.loading = util["a" /* default */].loading(_this21.$loading, '加载中...');
26793
26833
  util["a" /* default */].ajax(params).then(function (res) {
26794
26834
  var status = res.status,
26795
26835
  message = res.message;
26796
26836
 
26797
- _this20.loading.close();
26837
+ _this21.loading.close();
26798
26838
  if (status === 'success') {
26799
- _this20.flowSuccess();
26839
+ _this21.flowSuccess();
26800
26840
  // this.$message.success('提交成功');
26801
26841
  // this.$emit('success');
26802
26842
  } else {
26803
- _this20.$message.error(message || '系统错误,请联系管理员!');
26804
- _this20.$emit('error');
26843
+ _this21.$message.error(message || '系统错误,请联系管理员!');
26844
+ _this21.$emit('error');
26805
26845
  }
26806
26846
  }).catch(function (err) {
26807
- _this20.loading.close();
26847
+ _this21.loading.close();
26808
26848
  if (err.message && err.message !== 'canceled') {
26809
- _this20.$message.error(err.message);
26849
+ _this21.$message.error(err.message);
26810
26850
  }
26811
26851
  });
26812
26852
  }).catch(function (e) {});
@@ -26911,11 +26951,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26911
26951
  * @date 2022年9月29日
26912
26952
  **/
26913
26953
  toTakeAdvice: function toTakeAdvice(res) {
26914
- var _this21 = this;
26954
+ var _this22 = this;
26915
26955
 
26916
26956
  if (this.beforeSubmit != undefined) {
26917
26957
  this.beforeSubmit().then(function (next) {
26918
- _this21.saveToTakeAdvice(res);
26958
+ _this22.saveToTakeAdvice(res);
26919
26959
  }).catch(function (e) {});
26920
26960
  } else {
26921
26961
  this.saveToTakeAdvice(res);
@@ -26923,7 +26963,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26923
26963
  // return this.$message.warning('暂未开放!敬请期待');
26924
26964
  },
26925
26965
  saveToTakeAdvice: function saveToTakeAdvice(res) {
26926
- var _this22 = this;
26966
+ var _this23 = this;
26927
26967
 
26928
26968
  var params = {
26929
26969
  url: api["ub" /* isCanStartSubFlow */],
@@ -26938,16 +26978,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26938
26978
  util["a" /* default */].ajax(params).then(function (res) {
26939
26979
  var message = res.message;
26940
26980
 
26941
- _this22.loading.close();
26981
+ _this23.loading.close();
26942
26982
  if (message == 'success') {
26943
- _this22.showTaskUnionExamine = true;
26983
+ _this23.showTaskUnionExamine = true;
26944
26984
  } else {
26945
- _this22.$message.error(message || '系统错误,请联系管理员!');
26985
+ _this23.$message.error(message || '系统错误,请联系管理员!');
26946
26986
  }
26947
26987
  }).catch(function (err) {
26948
- _this22.loading.close();
26988
+ _this23.loading.close();
26949
26989
  if (err.message && err.message !== 'canceled') {
26950
- _this22.$message.error(err.message);
26990
+ _this23.$message.error(err.message);
26951
26991
  }
26952
26992
  });
26953
26993
  },
@@ -26959,11 +26999,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26959
26999
  * @date 2022年9月29日
26960
27000
  **/
26961
27001
  toStartDraf: function toStartDraf(res) {
26962
- var _this23 = this;
27002
+ var _this24 = this;
26963
27003
 
26964
27004
  if (this.beforeSubmit != undefined) {
26965
27005
  this.beforeSubmit().then(function (next) {
26966
- _this23.showTaskUnionExamine = true;
27006
+ _this24.showTaskUnionExamine = true;
26967
27007
  }).catch(function (e) {});
26968
27008
  } else {
26969
27009
  this.showTaskUnionExamine = true;
@@ -26977,11 +27017,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26977
27017
  * @date 2022年9月29日
26978
27018
  **/
26979
27019
  toSendMsg: function toSendMsg(res) {
26980
- var _this24 = this;
27020
+ var _this25 = this;
26981
27021
 
26982
27022
  if (this.beforeSubmit != undefined) {
26983
27023
  this.beforeSubmit().then(function (next) {
26984
- _this24.showSendMsg = true;
27024
+ _this25.showSendMsg = true;
26985
27025
  }).catch(function (e) {});
26986
27026
  } else {
26987
27027
  this.showSendMsg = true;
@@ -26995,13 +27035,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26995
27035
  * @date 2022年9月29日
26996
27036
  **/
26997
27037
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
26998
- var _this25 = this;
27038
+ var _this26 = this;
26999
27039
 
27000
27040
  if (this.beforeSubmit != undefined) {
27001
27041
  this.beforeSubmit().then(function (next) {
27002
- if (_this25.value === '') _this25.value = _this25.nodeDefaultRejectOpinion;
27003
- _this25.taskReadType = 'taskReadAndEnd';
27004
- _this25.showTaskRead = true;
27042
+ if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
27043
+ _this26.taskReadType = 'taskReadAndEnd';
27044
+ _this26.showTaskRead = true;
27005
27045
  }).catch(function (e) {});
27006
27046
  } else {
27007
27047
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -27017,21 +27057,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27017
27057
  * @date 2022年9月29日
27018
27058
  **/
27019
27059
  rejectAndEnd: function rejectAndEnd(res) {
27020
- var _this26 = this;
27060
+ var _this27 = this;
27021
27061
 
27022
27062
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
27023
27063
  if (!this.$refs.commonOpinions.validate()) return;
27024
27064
  }
27025
27065
  if (this.beforeSubmit != undefined) {
27026
27066
  this.beforeSubmit().then(function (next) {
27027
- _this26.saveRejectAndEnd(res);
27067
+ _this27.saveRejectAndEnd(res);
27028
27068
  }).catch(function (e) {});
27029
27069
  } else {
27030
27070
  this.saveRejectAndEnd(res);
27031
27071
  }
27032
27072
  },
27033
27073
  saveRejectAndEnd: function saveRejectAndEnd(res) {
27034
- var _this27 = this;
27074
+ var _this28 = this;
27035
27075
 
27036
27076
  this.$confirm('确认' + res.value + '?').then(function () {
27037
27077
  // return this.$message.warning('请填写意见');
@@ -27040,29 +27080,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27040
27080
  headers: { Accept: 'application/json,text/plain' },
27041
27081
  method: 'post',
27042
27082
  data: {
27043
- opinion: _this27.value,
27044
- pendingId: _this27.pendingId,
27083
+ opinion: _this28.value,
27084
+ pendingId: _this28.pendingId,
27045
27085
  isSinglePage: false
27046
27086
  }
27047
27087
  };
27048
- _this27.loading = util["a" /* default */].loading(_this27.$loading, '加载中...');
27088
+ _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
27049
27089
  util["a" /* default */].ajax(params).then(function (res) {
27050
27090
  var status = res.status,
27051
27091
  message = res.message;
27052
27092
 
27053
- _this27.loading.close();
27093
+ _this28.loading.close();
27054
27094
  if (status === 'success') {
27055
- _this27.flowSuccess();
27095
+ _this28.flowSuccess();
27056
27096
  // this.$message.success('提交成功');
27057
27097
  // this.$emit('success');
27058
27098
  } else {
27059
- _this27.$message.error(message || '系统错误,请联系管理员!');
27060
- _this27.$emit('error');
27099
+ _this28.$message.error(message || '系统错误,请联系管理员!');
27100
+ _this28.$emit('error');
27061
27101
  }
27062
27102
  }).catch(function (err) {
27063
- _this27.loading.close();
27103
+ _this28.loading.close();
27064
27104
  if (err.message && err.message !== 'canceled') {
27065
- _this27.$message.error(err.message);
27105
+ _this28.$message.error(err.message);
27066
27106
  }
27067
27107
  });
27068
27108
  }).catch(function () {
@@ -27077,12 +27117,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27077
27117
  * @date 2022年9月29日
27078
27118
  **/
27079
27119
  toTransfer: function toTransfer(res) {
27080
- var _this28 = this;
27120
+ var _this29 = this;
27081
27121
 
27082
27122
  if (this.beforeSubmit != undefined) {
27083
27123
  this.beforeSubmit(0).then(function (next) {
27084
- _this28.taskReadType = 'transfer';
27085
- _this28.showTaskRead = true;
27124
+ _this29.taskReadType = 'transfer';
27125
+ _this29.showTaskRead = true;
27086
27126
  }).catch(function (e) {});
27087
27127
  } else {
27088
27128
  this.taskReadType = 'transfer';
@@ -27100,7 +27140,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27100
27140
  * @date 2022年5月25日
27101
27141
  **/
27102
27142
  getNodeInfo: function getNodeInfo() {
27103
- var _this29 = this;
27143
+ var _this30 = this;
27104
27144
 
27105
27145
  var params = {
27106
27146
  processDefinitionId: this.nodeInfo.nextNode,
@@ -27115,53 +27155,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27115
27155
  message = res.message,
27116
27156
  data = res.data;
27117
27157
 
27118
- _this29.loading.close();
27158
+ _this30.loading.close();
27119
27159
  if (status === 'success') {
27120
- _this29.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
27121
- _this29.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
27122
- _this29.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
27123
- if (_this29.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
27124
- _this29.nextNode.customLimitTime = _this29.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
27160
+ _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
27161
+ _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
27162
+ _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
27163
+ if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
27164
+ _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
27125
27165
  }
27126
27166
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
27127
- _this29.params.only_filid = true;
27167
+ _this30.params.only_filid = true;
27128
27168
  }
27129
- data.otherOrgDisabledObjId && (_this29.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
27130
- data.currentOrgDisabledObjId && (_this29.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
27169
+ data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
27170
+ data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
27131
27171
  if (data != null) {
27132
27172
  if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
27133
- _this29.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27173
+ _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27134
27174
  } else {
27135
- _this29.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this29.choiceOrgId, _this29.choiceDeptId, _this29.pOrgId);
27175
+ _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
27136
27176
  }
27137
- _this29.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27138
- _this29.isTaskread = data.nodeExtAttr.isTaskread;
27139
- _this29.isHandleExplain = data.nodeExtAttr.isHandleExplain;
27140
- _this29.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27141
- _this29.nodeType = data.nodeExtAttr.nodeType;
27177
+ _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27178
+ _this30.isTaskread = data.nodeExtAttr.isTaskread;
27179
+ _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
27180
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27181
+ _this30.nodeType = data.nodeExtAttr.nodeType;
27142
27182
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
27143
- if (_this29.nodeType === 1 || _this29.nodeType === 2) {
27144
- _this29.isMainSubProcess === true ? _this29.isNodeShowProcess = true : _this29.isNodeShowProcess = false;
27145
- _this29.isMainSubProcess === true ? _this29.isMainSubProcess = true : _this29.isMainSubProcess = false;
27146
- _this29.isNextUser = false;
27147
- _this29.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
27148
- _this29.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
27183
+ if (_this30.nodeType === 1 || _this30.nodeType === 2) {
27184
+ _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
27185
+ _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
27186
+ _this30.isNextUser = false;
27187
+ _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
27188
+ _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
27149
27189
  } else {
27150
- _this29.isHideCurrentOrg = false;
27151
- _this29.isHideOtherOrg = false;
27152
- _this29.isNodeShowProcess = false;
27153
- _this29.isMainSubProcess = false;
27154
- _this29.isNextUser = _this29.nextNode.nextOperate != 9;
27190
+ _this30.isHideCurrentOrg = false;
27191
+ _this30.isHideOtherOrg = false;
27192
+ _this30.isNodeShowProcess = false;
27193
+ _this30.isMainSubProcess = false;
27194
+ _this30.isNextUser = _this30.nextNode.nextOperate != 9;
27155
27195
  // this.isMainSubProcess === true
27156
27196
  // ? (this.isMainSubProcess = true)
27157
27197
  // : (this.isMainSubProcess = false);
27158
27198
  }
27159
- _this29.multiple ? _this29.nextNode.nextUserId = [] : _this29.nextNode.nextUserId = '';
27160
- if (_this29.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
27199
+ _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
27200
+ if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
27161
27201
  data.nextUserList.map(function (item) {
27162
27202
  if (item.userId && item.username) {
27163
- _this29.nextNode.nextUserId.push(item.userId);
27164
- _this29.selectUserList.push({
27203
+ _this30.nextNode.nextUserId.push(item.userId);
27204
+ _this30.selectUserList.push({
27165
27205
  showname: item.username,
27166
27206
  showid: item.userId
27167
27207
  });
@@ -27170,40 +27210,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27170
27210
  }
27171
27211
  data.nextUserList.map(function (item) {
27172
27212
  if (item.userId && item.username) {
27173
- _this29.options.push({
27213
+ _this30.options.push({
27174
27214
  showname: item.username,
27175
27215
  showid: item.userId
27176
27216
  });
27177
27217
  }
27178
27218
  });
27179
27219
  if (data.nodeExtAttr.presetEdit != 0) {
27180
- _this29.radioList = _this29.options;
27220
+ _this30.radioList = _this30.options;
27181
27221
  }
27182
- if (!_this29.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
27183
- _this29.nextNode.nextUserId = data.nextUserList[0].userId;
27184
- _this29.selectUserList.push({
27222
+ if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
27223
+ _this30.nextNode.nextUserId = data.nextUserList[0].userId;
27224
+ _this30.selectUserList.push({
27185
27225
  showname: data.nextUserList[0].username,
27186
27226
  showid: data.nextUserList[0].userId
27187
27227
  });
27188
27228
  }
27189
- _this29.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27190
- _this29.isCustomUser = data.nodeExtAttr.isCustomUser;
27191
- _this29.presetEdit = data.nodeExtAttr.presetEdit;
27192
- _this29.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
27193
- _this29.handleMode = data.countersignaturetypeText;
27229
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27230
+ _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
27231
+ _this30.presetEdit = data.nodeExtAttr.presetEdit;
27232
+ _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
27233
+ _this30.handleMode = data.countersignaturetypeText;
27194
27234
  if (data.globalNodeType === 'endEvent') {
27195
- _this29.isNextUser = data.globalNodeType != 'endEvent';
27196
- data.globalNodeType === 'endEvent' ? _this29.endFlow = true : '';
27235
+ _this30.isNextUser = data.globalNodeType != 'endEvent';
27236
+ data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
27197
27237
  }
27198
27238
  }
27199
- _this29.isCustomPreset && _this29.$refs.customPreset.getPresetFlowInfo(_this29.nextNode.nextNodeId, _this29.nodeInfo.nextNode, true);
27239
+ _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
27200
27240
  } else {
27201
- _this29.$message.error(message || '系统错误,请联系管理员!');
27241
+ _this30.$message.error(message || '系统错误,请联系管理员!');
27202
27242
  }
27203
27243
  }).catch(function (err) {
27204
- _this29.loading.close();
27244
+ _this30.loading.close();
27205
27245
  if (err.message && err.message !== 'canceled') {
27206
- _this29.$message.error(err.message);
27246
+ _this30.$message.error(err.message);
27207
27247
  }
27208
27248
  });
27209
27249
  },
@@ -27216,7 +27256,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27216
27256
  * @date 2022年5月25日
27217
27257
  **/
27218
27258
  selecNext: function selecNext(val, type, isDef) {
27219
- var _this30 = this;
27259
+ var _this31 = this;
27220
27260
 
27221
27261
  var isNextNode = false;
27222
27262
  if (type && val && this.operationList.length > 0) {
@@ -27266,13 +27306,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27266
27306
  this.operationList.forEach(function (item) {
27267
27307
  if (item.key === val) {
27268
27308
  if (!item.taskNodeList) {
27269
- _this30.nodeInfos = [];
27309
+ _this31.nodeInfos = [];
27270
27310
  } else {
27271
- _this30.nodeInfos = item.taskNodeList;
27311
+ _this31.nodeInfos = item.taskNodeList;
27272
27312
 
27273
- if (_this30.taskOperationShiftedNodeList) {
27274
- _this30.nodeInfos = item.taskNodeList.filter(function (x) {
27275
- return _this30.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
27313
+ if (_this31.taskOperationShiftedNodeList) {
27314
+ _this31.nodeInfos = item.taskNodeList.filter(function (x) {
27315
+ return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
27276
27316
  });
27277
27317
  }
27278
27318
  }
@@ -27281,7 +27321,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27281
27321
  });
27282
27322
  if (this.defaultNextNode) {
27283
27323
  var defaultNode = this.nodeInfos.filter(function (item) {
27284
- return item.nodeId == _this30.defaultNextNode;
27324
+ return item.nodeId == _this31.defaultNextNode;
27285
27325
  });
27286
27326
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
27287
27327
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -27396,7 +27436,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27396
27436
  * @date 2022年5月25日
27397
27437
  **/
27398
27438
  getHedInfo: function getHedInfo() {
27399
- var _this31 = this;
27439
+ var _this32 = this;
27400
27440
 
27401
27441
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
27402
27442
  var params = {
@@ -27406,7 +27446,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27406
27446
  util["a" /* default */].ajax({ url: api["Q" /* getHandleInfoHtml */], params: params }).then(function (res) {
27407
27447
  //pc返回数据
27408
27448
 
27409
- _this31.loading.close();
27449
+ _this32.loading.close();
27410
27450
 
27411
27451
  if (res.status === 'success') {
27412
27452
  var _res$data2 = res.data,
@@ -27448,17 +27488,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27448
27488
  isCanPreAddSign = _res$data2.isCanPreAddSign;
27449
27489
 
27450
27490
  if (temporarySaveButtonName) {
27451
- _this31.saveButtonName = temporarySaveButtonName;
27491
+ _this32.saveButtonName = temporarySaveButtonName;
27452
27492
  }
27453
27493
  if (simpleTips != undefined) {
27454
- _this31.simpleTips = simpleTips;
27494
+ _this32.simpleTips = simpleTips;
27455
27495
  }
27456
- _this31.$emit('startTaskRead', res);
27457
- _this31.$emit('start-task-read', res);
27496
+ _this32.$emit('startTaskRead', res);
27497
+ _this32.$emit('start-task-read', res);
27458
27498
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
27459
- _this31.taskOperationShiftedNodeList = [];
27499
+ _this32.taskOperationShiftedNodeList = [];
27460
27500
  taskOperationShiftedNodeList.map(function (x) {
27461
- _this31.taskOperationShiftedNodeList.push(x.nodeId);
27501
+ _this32.taskOperationShiftedNodeList.push(x.nodeId);
27462
27502
  taskOperations.push({
27463
27503
  key: x.nodeId,
27464
27504
  value: x.nodeName,
@@ -27467,158 +27507,160 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27467
27507
  });
27468
27508
  });
27469
27509
  }
27470
- _this31.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
27471
- _this31.pendingItemHandleDescription = pendingItemHandleDescription;
27510
+ _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
27511
+ _this32.pendingItemHandleDescription = pendingItemHandleDescription;
27472
27512
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
27473
- _this31.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
27513
+ _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
27474
27514
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
27475
- _this31.currentOrgSelectorTabs.map(function (x, i) {
27476
- _this31.currentOrgSelectorParams[x] = {
27515
+ _this32.currentOrgSelectorTabs.map(function (x, i) {
27516
+ _this32.currentOrgSelectorParams[x] = {
27477
27517
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
27478
27518
  only_filid: true
27479
27519
  };
27480
27520
  });
27481
27521
  }
27482
27522
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
27483
- _this31.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
27523
+ _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
27484
27524
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
27485
- _this31.foreignOrgSelectorTabs.map(function (x, i) {
27486
- _this31.foreignOrgSelectorParams[x] = {
27525
+ _this32.foreignOrgSelectorTabs.map(function (x, i) {
27526
+ _this32.foreignOrgSelectorParams[x] = {
27487
27527
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
27488
27528
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
27489
- roleid: _this31.circularReadParamsMap.circularReadOrgRoleCode || _this31.foreignOrgSelectorParams.roleid
27529
+ roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
27490
27530
  };
27491
27531
  });
27492
27532
  }
27493
- _this31.circularReadParamsMap = circularReadParamsMap || {};
27494
- if (_this31.circularReadParamsMap.circularReadOrgRoleCode) {
27495
- _this31.foreignOrgSelectorParams.roleid = _this31.circularReadParamsMap.circularReadOrgRoleCode;
27533
+ _this32.circularReadParamsMap = circularReadParamsMap || {};
27534
+ if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
27535
+ _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
27496
27536
  }
27497
- _this31.currentOrgName = currentOrgName;
27498
- _this31.nextOperateCheckType = nextOperateCheckType || 'select';
27499
- _this31.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
27500
-
27501
- _this31.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
27502
- _this31.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
27503
- _this31.readOnlyNotificationType = readOnlyNotificationType;
27504
-
27505
- _this31.readOnlyNotificationType = readOnlyNotificationType;
27506
- _this31.isSpecial = isSpecial;
27507
- _this31.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
27508
- _this31.otherOrgName = otherOrgName;
27509
- _this31.isCanPreAddSign = isCanPreAddSign;
27510
- _this31.endFlowInfo.choiceOrgId = choiceOrgId;
27511
- _this31.endFlowInfo.choiceDeptId = choiceDeptId;
27512
- _this31.endFlowInfo.pendingId = _this31.pendingId;
27513
- _this31.attachedCode = attachedCode;
27514
- _this31.endFlowInfo.pOrgId = pOrgId;
27515
- _this31.canPresetRead = canPresetRead;
27516
- _this31.isCdjxjTaskHandle = isCdjxjTaskHandle;
27517
- nextNodeCheckType && (_this31.nextNodeCheckType = nextNodeCheckType);
27518
- _this31.operationList = taskOperations || [];
27519
- _this31.customPresetHintMessage = customPresetHintMessage;
27537
+ _this32.currentOrgName = currentOrgName;
27538
+ _this32.nextOperateCheckType = nextOperateCheckType || 'select';
27539
+ _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
27540
+
27541
+ _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
27542
+ _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
27543
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
27544
+
27545
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
27546
+ _this32.isSpecial = isSpecial;
27547
+ _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
27548
+ _this32.otherOrgName = otherOrgName;
27549
+ _this32.isCanPreAddSign = isCanPreAddSign;
27550
+ _this32.endFlowInfo.choiceOrgId = choiceOrgId;
27551
+ _this32.endFlowInfo.choiceDeptId = choiceDeptId;
27552
+ _this32.endFlowInfo.pendingId = _this32.pendingId;
27553
+ _this32.attachedCode = attachedCode;
27554
+ _this32.endFlowInfo.pOrgId = pOrgId;
27555
+ _this32.canPresetRead = canPresetRead;
27556
+ _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
27557
+ nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
27558
+ _this32.operationList = taskOperations || [];
27559
+ _this32.customPresetHintMessage = customPresetHintMessage;
27520
27560
  if (canPresetRead) {
27521
27561
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
27522
27562
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
27523
27563
  ids.map(function (item, index) {
27524
- _this31.presetReadUserId.push({
27564
+ _this32.presetReadUserId.push({
27525
27565
  showid: item,
27526
27566
  showname: names[index]
27527
27567
  });
27528
- _this31.selectPresetUserList.push({
27568
+ _this32.selectPresetUserList.push({
27529
27569
  showid: item,
27530
27570
  showname: names[index]
27531
27571
  });
27532
- _this31.nextNode.presetReadUserId.push(item);
27572
+ _this32.nextNode.presetReadUserId.push(item);
27533
27573
  });
27534
27574
  }
27535
- if (!_this31.isFlow) _this31.getFile(_this31.pendingId, attachedCode);
27575
+ if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
27536
27576
  if (nextNodeList && nextNodeList.length != 0) {
27537
- _this31.nextNodeList = nextNodeList;
27538
- if (nextNodeList[0].nodeType === 'endEvent') {
27539
- _this31.isNextUser = nextNodeList[0].nodeType != 'endEvent';
27540
- nextNodeList[0].nodeType === 'endEvent' ? _this31.endFlow = true : '';
27541
- }
27577
+ _this32.nextNodeList = nextNodeList;
27578
+ // if (nextNodeList[0].nodeType === 'endEvent') {
27579
+ // this.isNextUser = nextNodeList[0].nodeType != 'endEvent';
27580
+ // nextNodeList[0].nodeType === 'endEvent'
27581
+ // ? (this.endFlow = true)
27582
+ // : '';
27583
+ // }
27542
27584
  }
27543
27585
 
27544
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this31.removeUsers = canRemoveSignUserList;
27586
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
27545
27587
  if (taskOperations && taskOperations.length != 0) {
27546
27588
  var isSelected = false;
27547
27589
  taskOperations.map(function (item) {
27548
- if (item.key === 9) _this31.isReject = true;
27590
+ if (item.key === 9) _this32.isReject = true;
27549
27591
  if (item.isSelected) {
27550
- _this31.nodeInfos = [];
27551
- _this31.nextNode.nextOperate = item.key;
27592
+ _this32.nodeInfos = [];
27593
+ _this32.nextNode.nextOperate = item.key;
27552
27594
  if (item.taskNodeList != null) {
27553
- _this31.nodeInfos = item.taskNodeList;
27595
+ _this32.nodeInfos = item.taskNodeList;
27554
27596
  }
27555
27597
  isSelected = true;
27556
27598
  }
27557
27599
  });
27558
27600
  if (taskOperations.length > 0 && !isSelected) {
27559
- _this31.nodeInfos = [];
27560
- _this31.nextNode.nextOperate = taskOperations[0].key;
27601
+ _this32.nodeInfos = [];
27602
+ _this32.nextNode.nextOperate = taskOperations[0].key;
27561
27603
  if (taskOperations[0].taskNodeList != null) {
27562
- _this31.nodeInfos = taskOperations[0].taskNodeList;
27604
+ _this32.nodeInfos = taskOperations[0].taskNodeList;
27563
27605
  }
27564
27606
  }
27565
27607
  }
27566
27608
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
27567
- _this31.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
27609
+ _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
27568
27610
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
27569
27611
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
27570
27612
  notice.map(function (x) {
27571
- _this31.nodeFixedOpinionSelectList.push({ content: x });
27613
+ _this32.nodeFixedOpinionSelectList.push({ content: x });
27572
27614
  });
27573
27615
  }
27574
27616
 
27575
- _this31.value = opinion || '';
27576
- _this31.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
27577
- _this31.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
27578
- _this31.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
27579
- _this31.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
27580
- _this31.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
27581
- _this31.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
27617
+ _this32.value = opinion || '';
27618
+ _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
27619
+ _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
27620
+ _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
27621
+ _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
27622
+ _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
27623
+ _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
27582
27624
  // this.isHideDefaultOperation =
27583
27625
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
27584
- _this31.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
27626
+ _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
27585
27627
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
27586
- var defaultNode = _this31.nodeInfos.filter(function (item) {
27628
+ var defaultNode = _this32.nodeInfos.filter(function (item) {
27587
27629
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
27588
27630
  });
27589
- if (_this31.nodeInfos.length > 0 && defaultNode.length == 0) {
27590
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
27631
+ if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
27632
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
27591
27633
  } else {
27592
- _this31.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
27634
+ _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
27593
27635
  }
27594
- } else if (_this31.nodeInfos.length > 0) {
27595
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
27636
+ } else if (_this32.nodeInfos.length > 0) {
27637
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
27596
27638
  }
27597
- _this31.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
27639
+ _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
27598
27640
  if (nodeInfoMap.nodeExtAttr.submitText) {
27599
- _this31.btnList.map(function (x) {
27641
+ _this32.btnList.map(function (x) {
27600
27642
  if (x.event === 'sub') {
27601
27643
  x.text = nodeInfoMap.nodeExtAttr.submitText;
27602
27644
  }
27603
27645
  });
27604
27646
  }
27605
27647
  }
27606
- _this31.choiceOrgId = choiceOrgId;
27607
- _this31.choiceDeptId = choiceDeptId;
27608
- _this31.pOrgId = pOrgId;
27648
+ _this32.choiceOrgId = choiceOrgId;
27649
+ _this32.choiceDeptId = choiceDeptId;
27650
+ _this32.pOrgId = pOrgId;
27609
27651
  if (res.data && res.data.isEndUserTask != undefined) {
27610
- _this31.isEndUserTask = res.data.isEndUserTask;
27652
+ _this32.isEndUserTask = res.data.isEndUserTask;
27611
27653
  }
27612
27654
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
27613
- _this31.nodeInfo.nextNode = taskExamine.processDefinitionId;
27614
- _this31.NodeName = taskExamine.nodeName;
27615
- _this31.taskId = taskExamine.taskId;
27616
- _this31.businessIds = taskExamine.businessId;
27617
- _this31.appId = taskExamine.appId;
27618
- _this31.taskExamineInfo = taskExamine;
27619
- _this31.taskExamineInfo.choiceOrgId = choiceOrgId;
27620
- _this31.taskExamineInfo.choiceDeptId = choiceDeptId;
27621
- _this31.endFlowInfo.processType = taskExamine.processType;
27655
+ _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
27656
+ _this32.NodeName = taskExamine.nodeName;
27657
+ _this32.taskId = taskExamine.taskId;
27658
+ _this32.businessIds = taskExamine.businessId;
27659
+ _this32.appId = taskExamine.appId;
27660
+ _this32.taskExamineInfo = taskExamine;
27661
+ _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
27662
+ _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
27663
+ _this32.endFlowInfo.processType = taskExamine.processType;
27622
27664
  // this.endFlowInfo.isReturnSubmitter =
27623
27665
  // taskExamine.isReturnSubmitter;
27624
27666
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -27630,81 +27672,81 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27630
27672
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
27631
27673
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
27632
27674
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
27633
- _this31.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
27634
- _this31.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
27635
- _this31.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
27636
- _this31.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
27637
- _this31.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
27638
- _this31.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
27639
- _this31.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
27640
- _this31.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
27641
- _this31.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
27675
+ _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
27676
+ _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
27677
+ _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
27678
+ _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
27679
+ _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
27680
+ _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
27681
+ _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
27682
+ _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
27683
+ _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
27642
27684
  // this.endFlowInfo.isReadDealReply =
27643
27685
  // taskExamine.isReadDealReplybusinessId;
27644
- _this31.endFlowInfo.appId = taskExamine.appId;
27645
- _this31.endFlowInfo.businessId = taskExamine.businessId;
27646
- _this31.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
27647
- _this31.endFlowInfo.nodeId = taskExamine.nodeId;
27686
+ _this32.endFlowInfo.appId = taskExamine.appId;
27687
+ _this32.endFlowInfo.businessId = taskExamine.businessId;
27688
+ _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
27689
+ _this32.endFlowInfo.nodeId = taskExamine.nodeId;
27648
27690
  }
27649
27691
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
27650
- _this31.NodeName = extendData.pendingData.itemname;
27692
+ _this32.NodeName = extendData.pendingData.itemname;
27651
27693
  }
27652
- if (_this31.nodeName) {
27653
- _this31.NodeName = _this31.nodeName;
27694
+ if (_this32.nodeName) {
27695
+ _this32.NodeName = _this32.nodeName;
27654
27696
  }
27655
- _this31.isCanAddSign = isCanAddSign;
27656
- _this31.processObj = res.data;
27657
- if (_this31.isCanAddSign) {
27658
- _this31.nextNode.isAddSign = '2';
27697
+ _this32.isCanAddSign = isCanAddSign;
27698
+ _this32.processObj = res.data;
27699
+ if (_this32.isCanAddSign) {
27700
+ _this32.nextNode.isAddSign = '2';
27659
27701
  }
27660
- _this31.isCanRemoveSign = isCanRemoveSign;
27661
- if (_this31.isCanRemoveSign) {
27662
- _this31.nextNode.isRemoveSign = '2';
27702
+ _this32.isCanRemoveSign = isCanRemoveSign;
27703
+ if (_this32.isCanRemoveSign) {
27704
+ _this32.nextNode.isRemoveSign = '2';
27663
27705
  }
27664
27706
 
27665
- if (!_this31.isOpinionRequired) {
27666
- _this31.isOpinionRequired = 0;
27707
+ if (!_this32.isOpinionRequired) {
27708
+ _this32.isOpinionRequired = 0;
27667
27709
  }
27668
27710
  // opinion && (this.value = opinion);
27669
- _this31.nextNode.notificationMsg = defaultNotificationMessage;
27670
- _this31.moreList = [];
27711
+ _this32.nextNode.notificationMsg = defaultNotificationMessage;
27712
+ _this32.moreList = [];
27671
27713
  if (taskButtonList && taskButtonList.length != 0) {
27672
27714
  taskButtonList.map(function (item) {
27673
27715
  if (item.fun === 'reject()') {
27674
- _this31.rejectObj = item;
27716
+ _this32.rejectObj = item;
27675
27717
  } else if (item.fun === 'toStartTaskRead()') {
27676
- _this31.pointsReadingObj = item;
27718
+ _this32.pointsReadingObj = item;
27677
27719
  } else {
27678
- _this31.moreList.push(item);
27720
+ _this32.moreList.push(item);
27679
27721
  }
27680
27722
  });
27681
27723
  }
27682
- _this31.isMainSubProcess = res.data.isMainSubProcess == 'true';
27683
- _this31.isCustomPreset = isCustomPreset;
27684
- _this31.isPreset = isPreset;
27685
- _this31.presetTaskNodeMap = presetTaskNodeMap;
27686
- _this31.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
27687
- _this31.getFind();
27688
- _this31.selecNext(_this31.nextNode.nextOperate, true, true);
27724
+ _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
27725
+ _this32.isCustomPreset = isCustomPreset;
27726
+ _this32.isPreset = isPreset;
27727
+ _this32.presetTaskNodeMap = presetTaskNodeMap;
27728
+ _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
27729
+ _this32.getFind();
27730
+ _this32.selecNext(_this32.nextNode.nextOperate, true, true);
27689
27731
  // this.getNodeInfo();
27690
- _this31.StartTaskReadKey++;
27732
+ _this32.StartTaskReadKey++;
27691
27733
  } else {
27692
27734
  if (res.status === 'taskCompleted') {
27693
- _this31.$emit('shrink', true);
27694
- _this31.shrinkAbled = true;
27695
- _this31.$message.warning(res.message || '系统错误,请联系管理员!');
27735
+ _this32.$emit('shrink', true);
27736
+ _this32.shrinkAbled = true;
27737
+ _this32.$message.warning(res.message || '系统错误,请联系管理员!');
27696
27738
  } else {
27697
- _this31.$message.error(res.message || '系统错误,请联系管理员!');
27739
+ _this32.$message.error(res.message || '系统错误,请联系管理员!');
27698
27740
  }
27699
27741
  }
27700
- _this31.showOpinion = false;
27742
+ _this32.showOpinion = false;
27701
27743
  setTimeout(function () {
27702
- _this31.showOpinion = true;
27744
+ _this32.showOpinion = true;
27703
27745
  }, 0);
27704
27746
  }).catch(function (err) {
27705
- _this31.loading.close();
27747
+ _this32.loading.close();
27706
27748
  if (err.message && err.message !== 'canceled') {
27707
- _this31.$message.error(err.message);
27749
+ _this32.$message.error(err.message);
27708
27750
  }
27709
27751
  });
27710
27752
  },
@@ -27766,7 +27808,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27766
27808
  * @date 2022年5月25日
27767
27809
  **/
27768
27810
  getProcess: function getProcess(val) {
27769
- var _this32 = this;
27811
+ var _this33 = this;
27770
27812
 
27771
27813
  var params = mainvue_type_script_lang_js_extends({
27772
27814
  businessId: this.businessId,
@@ -27781,44 +27823,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27781
27823
  message = res.message,
27782
27824
  data = res.data;
27783
27825
 
27784
- _this32.loading.close();
27826
+ _this33.loading.close();
27785
27827
  if (status === 'success') {
27786
27828
  if (data.simpleTips != undefined) {
27787
- _this32.simpleTips = data.simpleTips;
27829
+ _this33.simpleTips = data.simpleTips;
27788
27830
  }
27789
- _this32.isStartFlowChartView = data.isStartFlowChartView;
27831
+ _this33.isStartFlowChartView = data.isStartFlowChartView;
27790
27832
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
27791
- _this32.$message.error('流程不存在或未关联对应流程!');
27833
+ _this33.$message.error('流程不存在或未关联对应流程!');
27792
27834
  } else {
27793
- _this32.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
27794
- _this32.activitiDefinitionSort = data.activitiDefinitionSort;
27795
- _this32.nodeInfo.option = data.definitionList;
27796
- _this32.nodeInfo.nextNode = data.definitionList.filter(function (item) {
27797
- return item.processDefKey == _this32.defaultProcessKey;
27835
+ _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
27836
+ _this33.activitiDefinitionSort = data.activitiDefinitionSort;
27837
+ _this33.nodeInfo.option = data.definitionList;
27838
+ _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
27839
+ return item.processDefKey == _this33.defaultProcessKey;
27798
27840
  });
27799
- if (_this32.nodeInfo.nextNode.length) {
27800
- _this32.nodeInfo.nextNode = _this32.nodeInfo.nextNode[0].processDefId;
27841
+ if (_this33.nodeInfo.nextNode.length) {
27842
+ _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
27801
27843
  } else {
27802
27844
  if (data.definitionList.length != 0) {
27803
- _this32.nodeInfo.nextNode = data.definitionList[0].processDefId;
27845
+ _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
27804
27846
  } else {
27805
- _this32.nodeInfo.nextNode = '';
27847
+ _this33.nodeInfo.nextNode = '';
27806
27848
  }
27807
27849
  }
27808
- if (_this32.nodeInfo.nextNode) {
27809
- _this32.handleChange(_this32.nodeInfo.nextNode, true);
27850
+ if (_this33.nodeInfo.nextNode) {
27851
+ _this33.handleChange(_this33.nodeInfo.nextNode, true);
27810
27852
  }
27811
- if (_this32.showCirculate != undefined && !_this32.showCirculate && _this32.urgencyLevel) {
27812
- _this32.getAdminMsgType();
27853
+ if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
27854
+ _this33.getAdminMsgType();
27813
27855
  }
27814
27856
  }
27815
27857
  } else {
27816
- _this32.$message.error(message || '系统错误,请联系管理员!');
27858
+ _this33.$message.error(message || '系统错误,请联系管理员!');
27817
27859
  }
27818
27860
  }).catch(function (err) {
27819
- _this32.loading.close();
27861
+ _this33.loading.close();
27820
27862
  if (err.message && err.message !== 'canceled') {
27821
- _this32.$message.error(err.message);
27863
+ _this33.$message.error(err.message);
27822
27864
  }
27823
27865
  });
27824
27866
  },
@@ -27830,7 +27872,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27830
27872
  * @date 2022年5月25日
27831
27873
  **/
27832
27874
  getPendedhistoryList: function getPendedhistoryList() {
27833
- var _this33 = this;
27875
+ var _this34 = this;
27834
27876
 
27835
27877
  var params = {
27836
27878
  apprecordId: this.businessIds,
@@ -27843,22 +27885,22 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27843
27885
  results = res.results;
27844
27886
 
27845
27887
  if (!rCode) {
27846
- _this33.nextNode.nextUserId = [];
27847
- _this33.showNews = false;
27848
- _this33.nextNode.notificationType = [];
27849
- _this33.pendingId = results[results.length - 1].attachId;
27850
- _this33.getHedInfo();
27888
+ _this34.nextNode.nextUserId = [];
27889
+ _this34.showNews = false;
27890
+ _this34.nextNode.notificationType = [];
27891
+ _this34.pendingId = results[results.length - 1].attachId;
27892
+ _this34.getHedInfo();
27851
27893
  } else {
27852
- _this33.$message.error(msg || '系统错误,请联系管理员!');
27894
+ _this34.$message.error(msg || '系统错误,请联系管理员!');
27853
27895
  }
27854
27896
  }).catch(function (err) {
27855
27897
  if (err.message && err.message !== 'canceled') {
27856
- _this33.$message.error(err.message);
27898
+ _this34.$message.error(err.message);
27857
27899
  }
27858
27900
  });
27859
27901
  },
27860
27902
  reqCircularRead: function reqCircularRead(type) {
27861
- var _this34 = this;
27903
+ var _this35 = this;
27862
27904
 
27863
27905
  var _that = this;
27864
27906
  var params = {
@@ -27872,7 +27914,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27872
27914
  };
27873
27915
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
27874
27916
  util["a" /* default */].ajax(params).then(function (res) {
27875
- _this34.loading.close();
27917
+ _this35.loading.close();
27876
27918
  if (res.rCode == 0) {
27877
27919
  if (res.results.alert) {
27878
27920
  _that.$confirm(res.results.message, {
@@ -27906,20 +27948,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27906
27948
  * @date 2022年5月25日
27907
27949
  **/
27908
27950
  subProcess: function subProcess(val, type) {
27909
- var _this35 = this;
27951
+ var _this36 = this;
27910
27952
 
27911
27953
  return this.$refs['nextNode'].validate(function (valid) {
27912
27954
  if (valid) {
27913
- if (_this35.isSubmitButtonShowAgreeAndDisagree == 1) {
27914
- _this35.value = _this35.value.replace(RegExp('不同意。', 'g'), '');
27915
- _this35.value = _this35.value.replace(RegExp('同意。', 'g'), '');
27916
- _this35.value = val + _this35.value;
27955
+ if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
27956
+ _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
27957
+ _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
27958
+ _this36.value = val + _this36.value;
27917
27959
  }
27918
- if (!_this35.validInfo()) {
27919
- _this35.freeValid = false;
27960
+ if (!_this36.validInfo()) {
27961
+ _this36.freeValid = false;
27920
27962
  return;
27921
27963
  } else {
27922
- _this35.freeValid = true;
27964
+ _this36.freeValid = true;
27923
27965
  }
27924
27966
  // if (
27925
27967
  // this.currentNodeIsCircularReadNode &&
@@ -27928,28 +27970,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27928
27970
  // this.reqCircularRead(type);
27929
27971
  // return;
27930
27972
  // }
27931
- if (_this35.submitButtonFunKey) {
27932
- var btnInfo = _this35.taskNodeButtons.filter(function (x) {
27933
- return x.key === _this35.submitButtonFunKey;
27973
+ if (_this36.submitButtonFunKey) {
27974
+ var btnInfo = _this36.taskNodeButtons.filter(function (x) {
27975
+ return x.key === _this36.submitButtonFunKey;
27934
27976
  });
27935
27977
  if (btnInfo.length > 0) {
27936
27978
  if (btnInfo[0].type == 4) {
27937
- _this35.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this35.value }, _this35.sendData);
27979
+ _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
27938
27980
  } else if (btnInfo[0].type == 2) {
27939
- _this35.goView(btnInfo[0]);
27981
+ _this36.goView(btnInfo[0]);
27940
27982
  }
27941
27983
  }
27942
27984
  return;
27943
27985
  }
27944
27986
  if (type == 'multiInsMidwayWithSubmitScene') {
27945
- _this35.sendData(type);
27987
+ _this36.sendData(type);
27946
27988
  return;
27947
27989
  }
27948
- if (_this35.beforeSubmit == undefined) {
27949
- _this35.subFun(_this35.sendData);
27990
+ if (_this36.beforeSubmit == undefined) {
27991
+ _this36.subFun(_this36.sendData);
27950
27992
  } else {
27951
- _this35.beforeSubmit(1).then(function (next) {
27952
- _this35.sendData();
27993
+ _this36.beforeSubmit(1).then(function (next) {
27994
+ _this36.sendData();
27953
27995
  }).catch(function (e) {});
27954
27996
  }
27955
27997
  }
@@ -27994,14 +28036,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27994
28036
  return true;
27995
28037
  },
27996
28038
  flowSuccess: function flowSuccess(hideMessage) {
27997
- var _this36 = this;
28039
+ var _this37 = this;
27998
28040
 
27999
28041
  if (!this.simpleTips) {
28000
28042
  this.$alert('提交成功', '', {
28001
28043
  confirmButtonText: '确定',
28002
28044
  type: 'success',
28003
28045
  callback: function callback(action) {
28004
- _this36.$emit('success');
28046
+ _this37.$emit('success');
28005
28047
  }
28006
28048
  });
28007
28049
  } else {
@@ -28012,8 +28054,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28012
28054
  }
28013
28055
  },
28014
28056
  sendData: function sendData(freetype) {
28015
- var _this37 = this;
28057
+ var _this38 = this;
28016
28058
 
28059
+ if (this.isFlow && !this.nodeInfo.nextNode) {
28060
+ this.$message.warning('请选择流程');
28061
+ return;
28062
+ }
28017
28063
  if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
28018
28064
  if (this.directCreateCircularReadWhenFlowStarted) {
28019
28065
  this.$refs.flowCirculate.subMit();
@@ -28034,75 +28080,75 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28034
28080
  break;
28035
28081
  }
28036
28082
 
28037
- if (!_this37.isFlow) {
28083
+ if (!_this38.isFlow) {
28038
28084
  _context2.next = 7;
28039
28085
  break;
28040
28086
  }
28041
28087
 
28042
- if (!(_this37.isOpinionRequired && !_this37.$refs.commonOpinions.validate())) {
28088
+ if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
28043
28089
  _context2.next = 5;
28044
28090
  break;
28045
28091
  }
28046
28092
 
28047
- _this37.$message.warning('请输入审批意见');
28093
+ _this38.$message.warning('请输入审批意见');
28048
28094
  return _context2.abrupt('return');
28049
28095
 
28050
28096
  case 5:
28051
- if (_this37.directCreateCircularReadWhenFlowStarted) {
28052
- _this37.circulateVisible = true;
28097
+ if (_this38.directCreateCircularReadWhenFlowStarted) {
28098
+ _this38.circulateVisible = true;
28053
28099
  } else {
28054
- _this37.handleVisible = true;
28100
+ _this38.handleVisible = true;
28055
28101
  }
28056
28102
  return _context2.abrupt('return');
28057
28103
 
28058
28104
  case 7:
28059
28105
  nextUserId = [];
28060
28106
 
28061
- if (_this37.multiple) {
28062
- _this37.nextNode.nextUserId && _this37.nextNode.nextUserId.map(function (item) {
28107
+ if (_this38.multiple) {
28108
+ _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
28063
28109
  return nextUserId.push(item);
28064
28110
  });
28065
28111
  }
28066
28112
  addSignUserId = [];
28067
28113
 
28068
- if (_this37.isCanAddSign && _this37.nextNode.isAddSign == '1') {
28069
- _this37.nextNode.addSignUserId.map(function (item) {
28114
+ if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
28115
+ _this38.nextNode.addSignUserId.map(function (item) {
28070
28116
  addSignUserId.push(item);
28071
28117
  });
28072
28118
  }
28073
28119
  removeSignUserId = [];
28074
28120
 
28075
- if (_this37.isCanRemoveSign && _this37.nextNode.isRemoveSign == '1') {
28076
- _this37.nextNode.removeSignUserId.map(function (item) {
28121
+ if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
28122
+ _this38.nextNode.removeSignUserId.map(function (item) {
28077
28123
  removeSignUserId.push(item);
28078
28124
  });
28079
28125
  }
28080
28126
  str = '';
28081
28127
 
28082
- if (_this37.value) {
28083
- str = _this37.value.replace(/\s+/g, '');
28128
+ if (_this38.value) {
28129
+ str = _this38.value.replace(/\s+/g, '');
28084
28130
  }
28085
- if ((!_this37.value || str === '') && _this37.nodeDefaultSubmitOpinion) {
28086
- _this37.value = _this37.nodeDefaultSubmitOpinion;
28131
+ if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
28132
+ _this38.value = _this38.nodeDefaultSubmitOpinion;
28087
28133
  }
28088
- if (!_this37.isSpecial) {
28089
- delete _this37.nextNode.nextOperate;
28090
- delete _this37.nextNode.nextNodeId;
28134
+ if (!_this38.isSpecial) {
28135
+ delete _this38.nextNode.nextOperate;
28136
+ delete _this38.nextNode.nextNodeId;
28091
28137
  }
28092
- if (_this37.nextNode.nextOperate === 9 || _this37.oldNextOperate == 9) {
28093
- _this37.nextNode.isReturnRejectNode = 1;
28094
- _this37.nextNode.processDefinitionId = _this37.processObj.taskExamine.processDefinitionId;
28138
+ if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
28139
+ _this38.nextNode.isReturnRejectNode = 1;
28140
+ _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
28095
28141
  }
28096
- if (_this37.nextNode.nextOperate != 0 && _this37.nextNode.nextOperate != 1 && _this37.oldNextOperate === '' || _this37.oldNextOperate !== '' && _this37.oldNextOperate != 0 && _this37.oldNextOperate != 1) {
28097
- delete _this37.nextNode.nextNodeId;
28142
+ if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
28143
+ delete _this38.nextNode.nextNodeId;
28098
28144
  }
28099
28145
 
28100
- if (!_this37.isCancelSecondConfirmationType) {
28146
+ if (!_this38.isCancelSecondConfirmationType) {
28101
28147
  _context2.next = 22;
28102
28148
  break;
28103
28149
  }
28104
28150
 
28105
- _this37.$confirm('确认提交吗?', '提示', {
28151
+ _this38.$confirm('确认提交吗?', '提示', {
28106
28152
  confirmButtonText: '确定',
28107
28153
  cancelButtonText: '取消',
28108
28154
  type: 'warning'
@@ -28118,46 +28164,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28118
28164
  }
28119
28165
 
28120
28166
  _context.next = 3;
28121
- return _this37.saveInfo('subMit');
28167
+ return _this38.saveInfo('subMit');
28122
28168
 
28123
28169
  case 3:
28124
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '加载中...');
28170
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
28125
28171
 
28126
28172
  case 4:
28127
28173
  notificationType = '';
28128
28174
 
28129
- notificationType = _this37.nextNode.notificationType.join(',');
28175
+ notificationType = _this38.nextNode.notificationType.join(',');
28130
28176
  addSignUserId = addSignUserId.join(',');
28131
28177
  removeSignUserId = removeSignUserId.join(',');
28132
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
28133
- delete _this37.nextNode.addSignMode;
28178
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
28179
+ delete _this38.nextNode.addSignMode;
28134
28180
  }
28135
28181
 
28136
- params = mainvue_type_script_lang_js_extends({}, _this37.nextNode, {
28137
- nextOperate: _this37.oldNextOperate !== '' ? _this37.oldNextOperate : _this37.nextNode.nextOperate,
28138
- pendingId: _this37.pendingId,
28139
- opinion: _this37.isForceDisplayDefaultOptionForPrefix && !_this37.value.startsWith(_this37.nodeDefaultSubmitOpinion) ? _this37.nodeDefaultSubmitOpinion + _this37.value : _this37.value,
28182
+ params = mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
28183
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
28184
+ pendingId: _this38.pendingId,
28185
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
28140
28186
  userId: util["a" /* default */].getStorage('userId'),
28141
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
28187
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
28142
28188
  addSignUserId: addSignUserId,
28143
- customPresetUserJson: JSON.stringify(_this37.presetList),
28144
- presetUserJson: JSON.stringify(_this37.presetUserJson),
28189
+ customPresetUserJson: JSON.stringify(_this38.presetList),
28190
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
28145
28191
  removeSignUserId: removeSignUserId,
28146
- nextReadUserId: _this37.readMultiple ? _this37.mixReadList && _this37.mixReadList.join('|') : _this37.nextNode.nextReadUserId,
28147
- nextOrgId: !_this37.isShowNextUser ? _this37.multiple ? _this37.mixOrgIdList && _this37.mixOrgIdList.join('|') : _this37.nextNode.nextOrgId : '',
28148
- presetReadUserId: _this37.mixPresetList && _this37.mixPresetList.length > 0 ? _this37.mixPresetList.join('|') : _this37.nextNode.presetReadUserId.join(','),
28192
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
28193
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
28194
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
28149
28195
  notificationType: notificationType
28150
28196
  });
28151
28197
 
28152
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
28198
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
28153
28199
  delete params.customLimitTimeText;
28154
- if (_this37.nextNode.isRemoveSign != '1') {
28200
+ if (_this38.nextNode.isRemoveSign != '1') {
28155
28201
  delete params.removeSignUserId;
28156
28202
  }
28157
- if (_this37.nextNode.isAddSign != '1') {
28203
+ if (_this38.nextNode.isAddSign != '1') {
28158
28204
  delete params.addSignUserId;
28159
28205
  }
28160
- if (!_this37.isSpecial) {
28206
+ if (!_this38.isSpecial) {
28161
28207
  delete params.nextUserId;
28162
28208
  }
28163
28209
 
@@ -28166,13 +28212,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28166
28212
  break;
28167
28213
  }
28168
28214
 
28169
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
28170
- _this37.taskParams = params;
28215
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
28216
+ _this38.taskParams = params;
28171
28217
  return _context.abrupt('return');
28172
28218
 
28173
28219
  case 19:
28174
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '提交中...');
28175
- isEndUserTask = _this37.isEndUserTask, choiceOrgId = _this37.choiceOrgId, choiceDeptId = _this37.choiceDeptId, pOrgId = _this37.pOrgId, taskExamineInfo = _this37.taskExamineInfo, currentNodeIsCircularReadNode = _this37.currentNodeIsCircularReadNode, needRetrialAuth = _this37.needRetrialAuth, circularReadParamsMap = _this37.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this37.currentNodeEnableItemHandleDescription;
28220
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
28221
+ 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;
28176
28222
 
28177
28223
  params.isEndUserTask = isEndUserTask;
28178
28224
  params.choiceOrgId = choiceOrgId;
@@ -28196,17 +28242,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28196
28242
  var status = res.status,
28197
28243
  message = res.message;
28198
28244
 
28199
- _this37.loading.close();
28245
+ _this38.loading.close();
28200
28246
  if (status === 'success') {
28201
- _this37.flowSuccess();
28247
+ _this38.flowSuccess();
28202
28248
  } else {
28203
- _this37.$message.error(message || '系统错误,请联系管理员!');
28204
- _this37.$emit('error');
28249
+ _this38.$message.error(message || '系统错误,请联系管理员!');
28250
+ _this38.$emit('error');
28205
28251
  }
28206
28252
  }).catch(function (err) {
28207
- _this37.loading.close();
28253
+ _this38.loading.close();
28208
28254
  if (err.message && err.message !== 'canceled') {
28209
- _this37.$message.error(err.message);
28255
+ _this38.$message.error(err.message);
28210
28256
  }
28211
28257
  }));
28212
28258
 
@@ -28215,7 +28261,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28215
28261
  return _context.stop();
28216
28262
  }
28217
28263
  }
28218
- }, _callee, _this37);
28264
+ }, _callee, _this38);
28219
28265
  })));
28220
28266
  return _context2.abrupt('return');
28221
28267
 
@@ -28226,46 +28272,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28226
28272
  }
28227
28273
 
28228
28274
  _context2.next = 25;
28229
- return _this37.saveInfo('subMit');
28275
+ return _this38.saveInfo('subMit');
28230
28276
 
28231
28277
  case 25:
28232
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '加载中...');
28278
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
28233
28279
 
28234
28280
  case 26:
28235
28281
  notificationType = '';
28236
28282
 
28237
- notificationType = _this37.nextNode.notificationType.join(',');
28283
+ notificationType = _this38.nextNode.notificationType.join(',');
28238
28284
  addSignUserId = addSignUserId.join(',');
28239
28285
  removeSignUserId = removeSignUserId.join(',');
28240
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
28241
- delete _this37.nextNode.addSignMode;
28286
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
28287
+ delete _this38.nextNode.addSignMode;
28242
28288
  }
28243
28289
 
28244
- params = mainvue_type_script_lang_js_extends({}, _this37.nextNode, {
28245
- nextOperate: _this37.oldNextOperate !== '' ? _this37.oldNextOperate : _this37.nextNode.nextOperate,
28246
- pendingId: _this37.pendingId,
28247
- opinion: _this37.isForceDisplayDefaultOptionForPrefix && !_this37.value.startsWith(_this37.nodeDefaultSubmitOpinion) ? _this37.nodeDefaultSubmitOpinion + _this37.value : _this37.value,
28290
+ params = mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
28291
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
28292
+ pendingId: _this38.pendingId,
28293
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
28248
28294
  userId: util["a" /* default */].getStorage('userId'),
28249
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
28295
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
28250
28296
  addSignUserId: addSignUserId,
28251
- customPresetUserJson: JSON.stringify(_this37.presetList),
28252
- presetUserJson: JSON.stringify(_this37.presetUserJson),
28297
+ customPresetUserJson: JSON.stringify(_this38.presetList),
28298
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
28253
28299
  removeSignUserId: removeSignUserId,
28254
- nextReadUserId: _this37.readMultiple ? _this37.mixReadList && _this37.mixReadList.join('|') : _this37.nextNode.nextReadUserId,
28255
- nextOrgId: !_this37.isShowNextUser ? _this37.multiple ? _this37.mixOrgIdList && _this37.mixOrgIdList.join('|') : _this37.nextNode.nextOrgId : '',
28256
- presetReadUserId: _this37.mixPresetList && _this37.mixPresetList.length > 0 ? _this37.mixPresetList.join('|') : _this37.nextNode.presetReadUserId.join(','),
28300
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
28301
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
28302
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
28257
28303
  notificationType: notificationType
28258
28304
  });
28259
28305
 
28260
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
28306
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
28261
28307
  delete params.customLimitTimeText;
28262
- if (_this37.nextNode.isRemoveSign != '1') {
28308
+ if (_this38.nextNode.isRemoveSign != '1') {
28263
28309
  delete params.removeSignUserId;
28264
28310
  }
28265
- if (_this37.nextNode.isAddSign != '1') {
28311
+ if (_this38.nextNode.isAddSign != '1') {
28266
28312
  delete params.addSignUserId;
28267
28313
  }
28268
- if (!_this37.isSpecial) {
28314
+ if (!_this38.isSpecial) {
28269
28315
  delete params.nextUserId;
28270
28316
  }
28271
28317
 
@@ -28274,13 +28320,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28274
28320
  break;
28275
28321
  }
28276
28322
 
28277
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
28278
- _this37.taskParams = params;
28323
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
28324
+ _this38.taskParams = params;
28279
28325
  return _context2.abrupt('return');
28280
28326
 
28281
28327
  case 41:
28282
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '提交中...');
28283
- isEndUserTask = _this37.isEndUserTask, choiceOrgId = _this37.choiceOrgId, choiceDeptId = _this37.choiceDeptId, pOrgId = _this37.pOrgId, taskExamineInfo = _this37.taskExamineInfo, currentNodeIsCircularReadNode = _this37.currentNodeIsCircularReadNode, needRetrialAuth = _this37.needRetrialAuth, circularReadParamsMap = _this37.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this37.currentNodeEnableItemHandleDescription;
28328
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
28329
+ 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;
28284
28330
 
28285
28331
  params.isEndUserTask = isEndUserTask;
28286
28332
  params.choiceOrgId = choiceOrgId;
@@ -28304,17 +28350,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28304
28350
  var status = res.status,
28305
28351
  message = res.message;
28306
28352
 
28307
- _this37.loading.close();
28353
+ _this38.loading.close();
28308
28354
  if (status === 'success') {
28309
- _this37.flowSuccess();
28355
+ _this38.flowSuccess();
28310
28356
  } else {
28311
- _this37.$message.error(message || '系统错误,请联系管理员!');
28312
- _this37.$emit('error');
28357
+ _this38.$message.error(message || '系统错误,请联系管理员!');
28358
+ _this38.$emit('error');
28313
28359
  }
28314
28360
  }).catch(function (err) {
28315
- _this37.loading.close();
28361
+ _this38.loading.close();
28316
28362
  if (err.message && err.message !== 'canceled') {
28317
- _this37.$message.error(err.message);
28363
+ _this38.$message.error(err.message);
28318
28364
  }
28319
28365
  }));
28320
28366
 
@@ -28326,7 +28372,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28326
28372
  return _context2.stop();
28327
28373
  }
28328
28374
  }
28329
- }, _callee2, _this37);
28375
+ }, _callee2, _this38);
28330
28376
  }));
28331
28377
 
28332
28378
  return function (_x) {