eoss-ui 0.8.11 → 0.8.12

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=5f0c32cd&
4838
4838
  var render = function () {
4839
4839
  var _vm = this
4840
4840
  var _h = _vm.$createElement
@@ -5161,7 +5161,12 @@ var render = function () {
5161
5161
  })
5162
5162
  : _c(
5163
5163
  "div",
5164
- { staticClass: "es-flow-content" },
5164
+ {
5165
+ staticClass: "es-flow-content",
5166
+ style: {
5167
+ "justify-content": _vm.fullFlow ? "space-between" : "unset",
5168
+ },
5169
+ },
5165
5170
  [
5166
5171
  _c(
5167
5172
  "div",
@@ -7897,7 +7902,7 @@ var staticRenderFns = []
7897
7902
  render._withStripped = true
7898
7903
 
7899
7904
 
7900
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=70db76e0&
7905
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f0c32cd&
7901
7906
 
7902
7907
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7903
7908
  var regenerator_ = __webpack_require__(4);
@@ -25748,6 +25753,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25748
25753
  return {};
25749
25754
  }
25750
25755
  },
25756
+ fullFlow: {
25757
+ type: Boolean,
25758
+ default: true
25759
+ },
25760
+ showReadConfirm: {
25761
+ type: Boolean,
25762
+ default: true
25763
+ },
25751
25764
  width: {
25752
25765
  type: String
25753
25766
  },
@@ -26392,63 +26405,72 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26392
26405
  this.loading.close();
26393
26406
  }
26394
26407
  },
26395
- taskRead: function taskRead() {
26408
+ subRead: function subRead() {
26396
26409
  var _this8 = this;
26397
26410
 
26411
+ this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26412
+ var _taskExamineInfo2 = this.taskExamineInfo,
26413
+ businessId = _taskExamineInfo2.businessId,
26414
+ appId = _taskExamineInfo2.appId,
26415
+ processDefinitionId = _taskExamineInfo2.processDefinitionId,
26416
+ pendingId = _taskExamineInfo2.pendingId;
26417
+
26418
+ var params = {
26419
+ businessId: businessId,
26420
+ appId: appId,
26421
+ processDefinitionId: processDefinitionId,
26422
+ pendingId: pendingId,
26423
+ opinion: this.value,
26424
+ taskAction: 'complete'
26425
+ };
26426
+ util["a" /* default */].ajax({
26427
+ url: api["dc" /* taskReadHtml */],
26428
+ params: { taskAction: 'complete' },
26429
+ headers: {
26430
+ Accept: 'application/json,text/plain'
26431
+ },
26432
+ method: 'post',
26433
+ data: params
26434
+ }).then(function (res) {
26435
+ var status = res.status,
26436
+ message = res.message;
26437
+
26438
+ _this8.loading.close();
26439
+ if (status === 'success') {
26440
+ _this8.flowSuccess();
26441
+ // this.$message.success('提交成功');
26442
+ // this.$emit('success');
26443
+ } else {
26444
+ _this8.$message.error(message || '系统错误,请联系管理员!');
26445
+ _this8.$emit('error');
26446
+ }
26447
+ }).catch(function (err) {
26448
+ _this8.loading.close();
26449
+ if (err.message && err.message !== 'canceled') {
26450
+ _this8.$message.error(err.message);
26451
+ }
26452
+ });
26453
+ },
26454
+ taskRead: function taskRead() {
26455
+ var _this9 = this;
26456
+
26398
26457
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
26399
26458
  if (!this.$refs.commonOpinions.validate()) return;
26400
26459
  }
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 () {});
26460
+ if (this.showReadConfirm) {
26461
+ this.$confirm('确认提交?', '提示', {
26462
+ confirmButtonText: '确定',
26463
+ cancelButtonText: '取消',
26464
+ type: 'warning'
26465
+ }).then(function () {
26466
+ _this9.subRead();
26467
+ }).catch(function () {});
26468
+ } else {
26469
+ this.subRead();
26470
+ }
26449
26471
  },
26450
26472
  validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
26451
- var _this9 = this;
26473
+ var _this10 = this;
26452
26474
 
26453
26475
  var params = {
26454
26476
  url: api["e" /* checkBusinessIdStartedReadTransferHandle */],
@@ -26459,14 +26481,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26459
26481
  }
26460
26482
  };
26461
26483
  util["a" /* default */].ajax(params).then(function (res) {
26462
- _this9.loading.close();
26484
+ _this10.loading.close();
26463
26485
  if (res.rCode == 0) {
26464
- _this9.readTransferHandleDisabled = !res.results.canReadTransferHandle;
26486
+ _this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
26465
26487
  }
26466
26488
  });
26467
26489
  },
26468
26490
  getTaskReadFlow: function getTaskReadFlow() {
26469
- var _this10 = this;
26491
+ var _this11 = this;
26470
26492
 
26471
26493
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26472
26494
  util["a" /* default */].ajax({
@@ -26483,32 +26505,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26483
26505
  defaultNotificationMessage = _res$data.defaultNotificationMessage;
26484
26506
 
26485
26507
  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;
26508
+ _this11.taskExamineInfo = taskExamine;
26509
+ _this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
26510
+ _this11.taskReadOpinionRequired = taskReadOpinionRequired;
26511
+ _this11.nextNode.notificationMsg = defaultNotificationMessage;
26512
+ _this11.isCanReadTransferHandle = isCanReadTransferHandle;
26513
+ _this11.isCanFenyue = isCanFenyue;
26514
+ if (_this11.nodeName) {
26515
+ _this11.NodeName = _this11.nodeName;
26494
26516
  }
26495
- if (_this10.isCanReadTransferHandle) {
26496
- _this10.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
26517
+ if (_this11.isCanReadTransferHandle) {
26518
+ _this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
26497
26519
  }
26498
- _this10.getNodeType();
26520
+ _this11.getNodeType();
26499
26521
  } else {
26500
- _this10.$message.error(message || '系统错误,请联系管理员!');
26522
+ _this11.$message.error(message || '系统错误,请联系管理员!');
26501
26523
  }
26502
- _this10.loading.close();
26524
+ _this11.loading.close();
26503
26525
  }).catch(function (err) {
26504
- _this10.loading.close();
26526
+ _this11.loading.close();
26505
26527
  if (err.message && err.message !== 'canceled') {
26506
- _this10.$message.error(err.message);
26528
+ _this11.$message.error(err.message);
26507
26529
  }
26508
26530
  });
26509
26531
  },
26510
26532
  getUserInfo: function getUserInfo() {
26511
- var _this11 = this;
26533
+ var _this12 = this;
26512
26534
 
26513
26535
  var mainConfig = util["a" /* default */].getStorage('mainConfig');
26514
26536
  if (mainConfig) {
@@ -26519,14 +26541,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26519
26541
  data = res.data;
26520
26542
 
26521
26543
  if (status == 'success') {
26522
- _this11.userModel = data;
26544
+ _this12.userModel = data;
26523
26545
  } else {
26524
26546
  var msg = res.msg || '系统错误,请联系管理员!';
26525
- _this11.$message.error(msg);
26547
+ _this12.$message.error(msg);
26526
26548
  }
26527
26549
  }).catch(function (err) {
26528
26550
  if (err.message && err.message !== 'canceled') {
26529
- _this11.$message.error(err.message);
26551
+ _this12.$message.error(err.message);
26530
26552
  }
26531
26553
  });
26532
26554
  }
@@ -26546,7 +26568,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26546
26568
  }
26547
26569
  },
26548
26570
  getNodeType: function getNodeType() {
26549
- var _this12 = this;
26571
+ var _this13 = this;
26550
26572
 
26551
26573
  var params = {
26552
26574
  url: api["B" /* findCodeValues */],
@@ -26561,11 +26583,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26561
26583
  data = res.data;
26562
26584
 
26563
26585
  if (status === 'success') {
26564
- _this12.newsList = data;
26586
+ _this13.newsList = data;
26565
26587
  }
26566
26588
  }).catch(function (err) {
26567
26589
  if (err.message && err.message !== 'canceled') {
26568
- _this12.$message.error(err.message);
26590
+ _this13.$message.error(err.message);
26569
26591
  }
26570
26592
  });
26571
26593
  },
@@ -26577,17 +26599,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26577
26599
  * @date 2022年9月9日
26578
26600
  **/
26579
26601
  saveInfo: function saveInfo(type, btn) {
26580
- var _this13 = this;
26602
+ var _this14 = this;
26581
26603
 
26582
26604
  if (this.isFlow) {
26583
26605
  if (!type) {
26584
26606
  if (btn && btn.before) {
26585
26607
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
26586
- _this13.$emit('save', _this13.businessIds);
26608
+ _this14.$emit('save', _this14.businessIds);
26587
26609
  }).catch(function (e) {});
26588
26610
  } else if (this.beforeSubmit != undefined) {
26589
26611
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
26590
- _this13.$emit('save', _this13.businessIds);
26612
+ _this14.$emit('save', _this14.businessIds);
26591
26613
  }).catch(function (e) {});
26592
26614
  } else {
26593
26615
  this.$emit('save', this.businessIds);
@@ -26596,13 +26618,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26596
26618
  } else {
26597
26619
  if (btn && btn.before && !type) {
26598
26620
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
26599
- _this13.saveFlowInfo();
26621
+ _this14.saveFlowInfo();
26600
26622
  }).catch(function (e) {});
26601
26623
  } else if (this.beforeSubmit == undefined && !type) {
26602
26624
  this.subFun(this.saveFlowInfo);
26603
26625
  } else if (!type && this.beforeSubmit != undefined) {
26604
26626
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
26605
- _this13.saveFlowInfo();
26627
+ _this14.saveFlowInfo();
26606
26628
  }).catch(function (e) {});
26607
26629
  } else {
26608
26630
  this.saveFlowInfo(type);
@@ -26610,7 +26632,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26610
26632
  }
26611
26633
  },
26612
26634
  saveFlowInfo: function saveFlowInfo(isSave) {
26613
- var _this14 = this;
26635
+ var _this15 = this;
26614
26636
 
26615
26637
  var params = {
26616
26638
  opinion: this.value,
@@ -26621,17 +26643,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26621
26643
  var status = res.status,
26622
26644
  message = res.message;
26623
26645
 
26624
- if (!isSave) _this14.loading.close();
26646
+ if (!isSave) _this15.loading.close();
26625
26647
  if (status == 'success') {
26626
26648
  // this.$message.success('暂存成功');
26627
- !isSave && _this14.$emit('save', _this14.businessIds);
26649
+ !isSave && _this15.$emit('save', _this15.businessIds);
26628
26650
  } else {
26629
- _this14.$message.error(message || '系统错误,请联系管理员!');
26651
+ _this15.$message.error(message || '系统错误,请联系管理员!');
26630
26652
  }
26631
26653
  }).catch(function (err) {
26632
- if (!isSave) _this14.loading.close();
26654
+ if (!isSave) _this15.loading.close();
26633
26655
  if (err.message && err.message !== 'canceled') {
26634
- _this14.$message.error(err.message);
26656
+ _this15.$message.error(err.message);
26635
26657
  }
26636
26658
  });
26637
26659
  },
@@ -26643,7 +26665,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26643
26665
  * @date 2022年5月25日
26644
26666
  **/
26645
26667
  rejectBtn: function rejectBtn() {
26646
- var _this15 = this;
26668
+ var _this16 = this;
26647
26669
 
26648
26670
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
26649
26671
  if (!this.value) {
@@ -26651,7 +26673,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26651
26673
  }
26652
26674
  if (this.beforeSubmit != undefined) {
26653
26675
  this.beforeSubmit(0).then(function (next) {
26654
- _this15.showReject = true;
26676
+ _this16.showReject = true;
26655
26677
  }).catch(function (e) {});
26656
26678
  } else {
26657
26679
  this.showReject = true;
@@ -26665,14 +26687,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26665
26687
  * @date 2022年5月25日
26666
26688
  **/
26667
26689
  taskReadBtn: function taskReadBtn() {
26668
- var _this16 = this;
26690
+ var _this17 = this;
26669
26691
 
26670
26692
  // return this.$message.warning('暂未开放!敬请期待');
26671
26693
  if (this.beforeSubmit != undefined) {
26672
26694
  this.beforeSubmit().then(function (next) {
26673
- if (_this16.value === '') _this16.value = _this16.nodeDefaultRejectOpinion;
26674
- _this16.taskReadType = 'create';
26675
- _this16.showTaskRead = true;
26695
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
26696
+ _this17.taskReadType = 'create';
26697
+ _this17.showTaskRead = true;
26676
26698
  }).catch(function (e) {});
26677
26699
  } else {
26678
26700
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -26688,7 +26710,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26688
26710
  * @date 2022年5月25日
26689
26711
  **/
26690
26712
  getFind: function getFind() {
26691
- var _this17 = this;
26713
+ var _this18 = this;
26692
26714
 
26693
26715
  util["a" /* default */].ajax({
26694
26716
  url: api["D" /* findSysCodes */]
@@ -26697,26 +26719,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26697
26719
  message = res.message;
26698
26720
 
26699
26721
  if (status === 'success') {
26700
- if (_this17.hideMessage) return;
26701
- _this17.nextNode.notificationType = message.split(',');
26722
+ if (_this18.hideMessage) return;
26723
+ _this18.nextNode.notificationType = message.split(',');
26702
26724
  var arr = [];
26703
- _this17.newsList.map(function (item) {
26704
- _this17.nextNode.notificationType.map(function (x) {
26725
+ _this18.newsList.map(function (item) {
26726
+ _this18.nextNode.notificationType.map(function (x) {
26705
26727
  if (x == item.cciValue) {
26706
26728
  arr.push(x);
26707
26729
  }
26708
26730
  });
26709
26731
  });
26710
- _this17.nextNode.notificationType = arr;
26732
+ _this18.nextNode.notificationType = arr;
26711
26733
  }
26712
26734
  }).catch(function (err) {
26713
26735
  if (err.message && err.message !== 'canceled') {
26714
- _this17.$message.error(err.message);
26736
+ _this18.$message.error(err.message);
26715
26737
  }
26716
26738
  });
26717
26739
  },
26718
26740
  getFreeStartParams: function getFreeStartParams() {
26719
- var _this18 = this;
26741
+ var _this19 = this;
26720
26742
 
26721
26743
  var _endFlowInfo = this.endFlowInfo,
26722
26744
  businessId = _endFlowInfo.businessId,
@@ -26734,20 +26756,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26734
26756
  };
26735
26757
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
26736
26758
  util["a" /* default */].ajax(param).then(function (res) {
26737
- _this18.loading.close();
26759
+ _this19.loading.close();
26738
26760
  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('未找到流程定义!');
26761
+ _this19.freeStartFlowParams = res.results;
26762
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
26763
+ if (!_this19.freeValid) return;
26764
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
26743
26765
  if (res.results.startFlowIndexProcessKeys.length == 1) {
26744
- _this18.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
26745
- _this18.handleVisible = true;
26766
+ _this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
26767
+ _this19.handleVisible = true;
26746
26768
  } else {
26747
- _this18.showFreeStartFlow = true;
26769
+ _this19.showFreeStartFlow = true;
26748
26770
  }
26749
26771
  } else {
26750
- _this18.$message.error(res.message || '系统错误,请联系管理员!');
26772
+ _this19.$message.error(res.message || '系统错误,请联系管理员!');
26751
26773
  }
26752
26774
  });
26753
26775
  },
@@ -26760,53 +26782,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26760
26782
  * @date 2022年5月25日
26761
26783
  **/
26762
26784
  endFlows: function endFlows(res) {
26763
- var _this19 = this;
26785
+ var _this20 = this;
26764
26786
 
26765
26787
  if (this.beforeSubmit != undefined) {
26766
26788
  this.beforeSubmit().then(function (next) {
26767
- _this19.saveEndFlows(res);
26789
+ _this20.saveEndFlows(res);
26768
26790
  }).catch(function (e) {});
26769
26791
  } else {
26770
26792
  this.saveEndFlows(res);
26771
26793
  }
26772
26794
  },
26773
26795
  saveEndFlows: function saveEndFlows(res) {
26774
- var _this20 = this;
26796
+ var _this21 = this;
26775
26797
 
26776
26798
  this.$confirm('确认' + res.value + '?').then(function () {
26777
26799
  var params = {
26778
26800
  url: api["A" /* endFlowHtml */],
26779
26801
  headers: { Accept: 'application/json,text/plain' },
26780
26802
  method: 'post',
26781
- data: mainvue_type_script_lang_js_extends({}, _this20.endFlowInfo, _this20.nextNode, {
26782
- opinion: _this20.value,
26803
+ data: mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
26804
+ opinion: _this21.value,
26783
26805
  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(',')
26806
+ nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
26807
+ addSignUserId: _this21.nextNode.addSignUserId.join(','),
26808
+ customPresetUserJson: JSON.stringify(_this21.presetList),
26809
+ presetUserJson: JSON.stringify(_this21.presetUserJson),
26810
+ removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
26811
+ notificationType: _this21.nextNode.notificationType.join(',')
26790
26812
  })
26791
26813
  };
26792
- _this20.loading = util["a" /* default */].loading(_this20.$loading, '加载中...');
26814
+ _this21.loading = util["a" /* default */].loading(_this21.$loading, '加载中...');
26793
26815
  util["a" /* default */].ajax(params).then(function (res) {
26794
26816
  var status = res.status,
26795
26817
  message = res.message;
26796
26818
 
26797
- _this20.loading.close();
26819
+ _this21.loading.close();
26798
26820
  if (status === 'success') {
26799
- _this20.flowSuccess();
26821
+ _this21.flowSuccess();
26800
26822
  // this.$message.success('提交成功');
26801
26823
  // this.$emit('success');
26802
26824
  } else {
26803
- _this20.$message.error(message || '系统错误,请联系管理员!');
26804
- _this20.$emit('error');
26825
+ _this21.$message.error(message || '系统错误,请联系管理员!');
26826
+ _this21.$emit('error');
26805
26827
  }
26806
26828
  }).catch(function (err) {
26807
- _this20.loading.close();
26829
+ _this21.loading.close();
26808
26830
  if (err.message && err.message !== 'canceled') {
26809
- _this20.$message.error(err.message);
26831
+ _this21.$message.error(err.message);
26810
26832
  }
26811
26833
  });
26812
26834
  }).catch(function (e) {});
@@ -26911,11 +26933,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26911
26933
  * @date 2022年9月29日
26912
26934
  **/
26913
26935
  toTakeAdvice: function toTakeAdvice(res) {
26914
- var _this21 = this;
26936
+ var _this22 = this;
26915
26937
 
26916
26938
  if (this.beforeSubmit != undefined) {
26917
26939
  this.beforeSubmit().then(function (next) {
26918
- _this21.saveToTakeAdvice(res);
26940
+ _this22.saveToTakeAdvice(res);
26919
26941
  }).catch(function (e) {});
26920
26942
  } else {
26921
26943
  this.saveToTakeAdvice(res);
@@ -26923,7 +26945,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26923
26945
  // return this.$message.warning('暂未开放!敬请期待');
26924
26946
  },
26925
26947
  saveToTakeAdvice: function saveToTakeAdvice(res) {
26926
- var _this22 = this;
26948
+ var _this23 = this;
26927
26949
 
26928
26950
  var params = {
26929
26951
  url: api["ub" /* isCanStartSubFlow */],
@@ -26938,16 +26960,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26938
26960
  util["a" /* default */].ajax(params).then(function (res) {
26939
26961
  var message = res.message;
26940
26962
 
26941
- _this22.loading.close();
26963
+ _this23.loading.close();
26942
26964
  if (message == 'success') {
26943
- _this22.showTaskUnionExamine = true;
26965
+ _this23.showTaskUnionExamine = true;
26944
26966
  } else {
26945
- _this22.$message.error(message || '系统错误,请联系管理员!');
26967
+ _this23.$message.error(message || '系统错误,请联系管理员!');
26946
26968
  }
26947
26969
  }).catch(function (err) {
26948
- _this22.loading.close();
26970
+ _this23.loading.close();
26949
26971
  if (err.message && err.message !== 'canceled') {
26950
- _this22.$message.error(err.message);
26972
+ _this23.$message.error(err.message);
26951
26973
  }
26952
26974
  });
26953
26975
  },
@@ -26959,11 +26981,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26959
26981
  * @date 2022年9月29日
26960
26982
  **/
26961
26983
  toStartDraf: function toStartDraf(res) {
26962
- var _this23 = this;
26984
+ var _this24 = this;
26963
26985
 
26964
26986
  if (this.beforeSubmit != undefined) {
26965
26987
  this.beforeSubmit().then(function (next) {
26966
- _this23.showTaskUnionExamine = true;
26988
+ _this24.showTaskUnionExamine = true;
26967
26989
  }).catch(function (e) {});
26968
26990
  } else {
26969
26991
  this.showTaskUnionExamine = true;
@@ -26977,11 +26999,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26977
26999
  * @date 2022年9月29日
26978
27000
  **/
26979
27001
  toSendMsg: function toSendMsg(res) {
26980
- var _this24 = this;
27002
+ var _this25 = this;
26981
27003
 
26982
27004
  if (this.beforeSubmit != undefined) {
26983
27005
  this.beforeSubmit().then(function (next) {
26984
- _this24.showSendMsg = true;
27006
+ _this25.showSendMsg = true;
26985
27007
  }).catch(function (e) {});
26986
27008
  } else {
26987
27009
  this.showSendMsg = true;
@@ -26995,13 +27017,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
26995
27017
  * @date 2022年9月29日
26996
27018
  **/
26997
27019
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
26998
- var _this25 = this;
27020
+ var _this26 = this;
26999
27021
 
27000
27022
  if (this.beforeSubmit != undefined) {
27001
27023
  this.beforeSubmit().then(function (next) {
27002
- if (_this25.value === '') _this25.value = _this25.nodeDefaultRejectOpinion;
27003
- _this25.taskReadType = 'taskReadAndEnd';
27004
- _this25.showTaskRead = true;
27024
+ if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
27025
+ _this26.taskReadType = 'taskReadAndEnd';
27026
+ _this26.showTaskRead = true;
27005
27027
  }).catch(function (e) {});
27006
27028
  } else {
27007
27029
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -27017,21 +27039,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27017
27039
  * @date 2022年9月29日
27018
27040
  **/
27019
27041
  rejectAndEnd: function rejectAndEnd(res) {
27020
- var _this26 = this;
27042
+ var _this27 = this;
27021
27043
 
27022
27044
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
27023
27045
  if (!this.$refs.commonOpinions.validate()) return;
27024
27046
  }
27025
27047
  if (this.beforeSubmit != undefined) {
27026
27048
  this.beforeSubmit().then(function (next) {
27027
- _this26.saveRejectAndEnd(res);
27049
+ _this27.saveRejectAndEnd(res);
27028
27050
  }).catch(function (e) {});
27029
27051
  } else {
27030
27052
  this.saveRejectAndEnd(res);
27031
27053
  }
27032
27054
  },
27033
27055
  saveRejectAndEnd: function saveRejectAndEnd(res) {
27034
- var _this27 = this;
27056
+ var _this28 = this;
27035
27057
 
27036
27058
  this.$confirm('确认' + res.value + '?').then(function () {
27037
27059
  // return this.$message.warning('请填写意见');
@@ -27040,29 +27062,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27040
27062
  headers: { Accept: 'application/json,text/plain' },
27041
27063
  method: 'post',
27042
27064
  data: {
27043
- opinion: _this27.value,
27044
- pendingId: _this27.pendingId,
27065
+ opinion: _this28.value,
27066
+ pendingId: _this28.pendingId,
27045
27067
  isSinglePage: false
27046
27068
  }
27047
27069
  };
27048
- _this27.loading = util["a" /* default */].loading(_this27.$loading, '加载中...');
27070
+ _this28.loading = util["a" /* default */].loading(_this28.$loading, '加载中...');
27049
27071
  util["a" /* default */].ajax(params).then(function (res) {
27050
27072
  var status = res.status,
27051
27073
  message = res.message;
27052
27074
 
27053
- _this27.loading.close();
27075
+ _this28.loading.close();
27054
27076
  if (status === 'success') {
27055
- _this27.flowSuccess();
27077
+ _this28.flowSuccess();
27056
27078
  // this.$message.success('提交成功');
27057
27079
  // this.$emit('success');
27058
27080
  } else {
27059
- _this27.$message.error(message || '系统错误,请联系管理员!');
27060
- _this27.$emit('error');
27081
+ _this28.$message.error(message || '系统错误,请联系管理员!');
27082
+ _this28.$emit('error');
27061
27083
  }
27062
27084
  }).catch(function (err) {
27063
- _this27.loading.close();
27085
+ _this28.loading.close();
27064
27086
  if (err.message && err.message !== 'canceled') {
27065
- _this27.$message.error(err.message);
27087
+ _this28.$message.error(err.message);
27066
27088
  }
27067
27089
  });
27068
27090
  }).catch(function () {
@@ -27077,12 +27099,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27077
27099
  * @date 2022年9月29日
27078
27100
  **/
27079
27101
  toTransfer: function toTransfer(res) {
27080
- var _this28 = this;
27102
+ var _this29 = this;
27081
27103
 
27082
27104
  if (this.beforeSubmit != undefined) {
27083
27105
  this.beforeSubmit(0).then(function (next) {
27084
- _this28.taskReadType = 'transfer';
27085
- _this28.showTaskRead = true;
27106
+ _this29.taskReadType = 'transfer';
27107
+ _this29.showTaskRead = true;
27086
27108
  }).catch(function (e) {});
27087
27109
  } else {
27088
27110
  this.taskReadType = 'transfer';
@@ -27100,7 +27122,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27100
27122
  * @date 2022年5月25日
27101
27123
  **/
27102
27124
  getNodeInfo: function getNodeInfo() {
27103
- var _this29 = this;
27125
+ var _this30 = this;
27104
27126
 
27105
27127
  var params = {
27106
27128
  processDefinitionId: this.nodeInfo.nextNode,
@@ -27115,53 +27137,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27115
27137
  message = res.message,
27116
27138
  data = res.data;
27117
27139
 
27118
- _this29.loading.close();
27140
+ _this30.loading.close();
27119
27141
  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 + '';
27142
+ _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
27143
+ _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
27144
+ _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
27145
+ if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
27146
+ _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
27125
27147
  }
27126
27148
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
27127
- _this29.params.only_filid = true;
27149
+ _this30.params.only_filid = true;
27128
27150
  }
27129
- data.otherOrgDisabledObjId && (_this29.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
27130
- data.currentOrgDisabledObjId && (_this29.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
27151
+ data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
27152
+ data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
27131
27153
  if (data != null) {
27132
27154
  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);
27155
+ _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27134
27156
  } else {
27135
- _this29.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this29.choiceOrgId, _this29.choiceDeptId, _this29.pOrgId);
27157
+ _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
27136
27158
  }
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;
27159
+ _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
27160
+ _this30.isTaskread = data.nodeExtAttr.isTaskread;
27161
+ _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
27162
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27163
+ _this30.nodeType = data.nodeExtAttr.nodeType;
27142
27164
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
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; //判断是否隐藏外单位
27165
+ if (_this30.nodeType === 1 || _this30.nodeType === 2) {
27166
+ _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
27167
+ _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
27168
+ _this30.isNextUser = false;
27169
+ _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
27170
+ _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
27149
27171
  } else {
27150
- _this29.isHideCurrentOrg = false;
27151
- _this29.isHideOtherOrg = false;
27152
- _this29.isNodeShowProcess = false;
27153
- _this29.isMainSubProcess = false;
27154
- _this29.isNextUser = _this29.nextNode.nextOperate != 9;
27172
+ _this30.isHideCurrentOrg = false;
27173
+ _this30.isHideOtherOrg = false;
27174
+ _this30.isNodeShowProcess = false;
27175
+ _this30.isMainSubProcess = false;
27176
+ _this30.isNextUser = _this30.nextNode.nextOperate != 9;
27155
27177
  // this.isMainSubProcess === true
27156
27178
  // ? (this.isMainSubProcess = true)
27157
27179
  // : (this.isMainSubProcess = false);
27158
27180
  }
27159
- _this29.multiple ? _this29.nextNode.nextUserId = [] : _this29.nextNode.nextUserId = '';
27160
- if (_this29.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
27181
+ _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
27182
+ if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
27161
27183
  data.nextUserList.map(function (item) {
27162
27184
  if (item.userId && item.username) {
27163
- _this29.nextNode.nextUserId.push(item.userId);
27164
- _this29.selectUserList.push({
27185
+ _this30.nextNode.nextUserId.push(item.userId);
27186
+ _this30.selectUserList.push({
27165
27187
  showname: item.username,
27166
27188
  showid: item.userId
27167
27189
  });
@@ -27170,40 +27192,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27170
27192
  }
27171
27193
  data.nextUserList.map(function (item) {
27172
27194
  if (item.userId && item.username) {
27173
- _this29.options.push({
27195
+ _this30.options.push({
27174
27196
  showname: item.username,
27175
27197
  showid: item.userId
27176
27198
  });
27177
27199
  }
27178
27200
  });
27179
27201
  if (data.nodeExtAttr.presetEdit != 0) {
27180
- _this29.radioList = _this29.options;
27202
+ _this30.radioList = _this30.options;
27181
27203
  }
27182
- if (!_this29.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
27183
- _this29.nextNode.nextUserId = data.nextUserList[0].userId;
27184
- _this29.selectUserList.push({
27204
+ if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
27205
+ _this30.nextNode.nextUserId = data.nextUserList[0].userId;
27206
+ _this30.selectUserList.push({
27185
27207
  showname: data.nextUserList[0].username,
27186
27208
  showid: data.nextUserList[0].userId
27187
27209
  });
27188
27210
  }
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;
27211
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
27212
+ _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
27213
+ _this30.presetEdit = data.nodeExtAttr.presetEdit;
27214
+ _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
27215
+ _this30.handleMode = data.countersignaturetypeText;
27194
27216
  if (data.globalNodeType === 'endEvent') {
27195
- _this29.isNextUser = data.globalNodeType != 'endEvent';
27196
- data.globalNodeType === 'endEvent' ? _this29.endFlow = true : '';
27217
+ _this30.isNextUser = data.globalNodeType != 'endEvent';
27218
+ data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
27197
27219
  }
27198
27220
  }
27199
- _this29.isCustomPreset && _this29.$refs.customPreset.getPresetFlowInfo(_this29.nextNode.nextNodeId, _this29.nodeInfo.nextNode, true);
27221
+ _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
27200
27222
  } else {
27201
- _this29.$message.error(message || '系统错误,请联系管理员!');
27223
+ _this30.$message.error(message || '系统错误,请联系管理员!');
27202
27224
  }
27203
27225
  }).catch(function (err) {
27204
- _this29.loading.close();
27226
+ _this30.loading.close();
27205
27227
  if (err.message && err.message !== 'canceled') {
27206
- _this29.$message.error(err.message);
27228
+ _this30.$message.error(err.message);
27207
27229
  }
27208
27230
  });
27209
27231
  },
@@ -27216,7 +27238,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27216
27238
  * @date 2022年5月25日
27217
27239
  **/
27218
27240
  selecNext: function selecNext(val, type, isDef) {
27219
- var _this30 = this;
27241
+ var _this31 = this;
27220
27242
 
27221
27243
  var isNextNode = false;
27222
27244
  if (type && val && this.operationList.length > 0) {
@@ -27266,13 +27288,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27266
27288
  this.operationList.forEach(function (item) {
27267
27289
  if (item.key === val) {
27268
27290
  if (!item.taskNodeList) {
27269
- _this30.nodeInfos = [];
27291
+ _this31.nodeInfos = [];
27270
27292
  } else {
27271
- _this30.nodeInfos = item.taskNodeList;
27293
+ _this31.nodeInfos = item.taskNodeList;
27272
27294
 
27273
- if (_this30.taskOperationShiftedNodeList) {
27274
- _this30.nodeInfos = item.taskNodeList.filter(function (x) {
27275
- return _this30.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
27295
+ if (_this31.taskOperationShiftedNodeList) {
27296
+ _this31.nodeInfos = item.taskNodeList.filter(function (x) {
27297
+ return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
27276
27298
  });
27277
27299
  }
27278
27300
  }
@@ -27281,7 +27303,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27281
27303
  });
27282
27304
  if (this.defaultNextNode) {
27283
27305
  var defaultNode = this.nodeInfos.filter(function (item) {
27284
- return item.nodeId == _this30.defaultNextNode;
27306
+ return item.nodeId == _this31.defaultNextNode;
27285
27307
  });
27286
27308
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
27287
27309
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -27396,7 +27418,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27396
27418
  * @date 2022年5月25日
27397
27419
  **/
27398
27420
  getHedInfo: function getHedInfo() {
27399
- var _this31 = this;
27421
+ var _this32 = this;
27400
27422
 
27401
27423
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
27402
27424
  var params = {
@@ -27406,7 +27428,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27406
27428
  util["a" /* default */].ajax({ url: api["Q" /* getHandleInfoHtml */], params: params }).then(function (res) {
27407
27429
  //pc返回数据
27408
27430
 
27409
- _this31.loading.close();
27431
+ _this32.loading.close();
27410
27432
 
27411
27433
  if (res.status === 'success') {
27412
27434
  var _res$data2 = res.data,
@@ -27448,17 +27470,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27448
27470
  isCanPreAddSign = _res$data2.isCanPreAddSign;
27449
27471
 
27450
27472
  if (temporarySaveButtonName) {
27451
- _this31.saveButtonName = temporarySaveButtonName;
27473
+ _this32.saveButtonName = temporarySaveButtonName;
27452
27474
  }
27453
27475
  if (simpleTips != undefined) {
27454
- _this31.simpleTips = simpleTips;
27476
+ _this32.simpleTips = simpleTips;
27455
27477
  }
27456
- _this31.$emit('startTaskRead', res);
27457
- _this31.$emit('start-task-read', res);
27478
+ _this32.$emit('startTaskRead', res);
27479
+ _this32.$emit('start-task-read', res);
27458
27480
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
27459
- _this31.taskOperationShiftedNodeList = [];
27481
+ _this32.taskOperationShiftedNodeList = [];
27460
27482
  taskOperationShiftedNodeList.map(function (x) {
27461
- _this31.taskOperationShiftedNodeList.push(x.nodeId);
27483
+ _this32.taskOperationShiftedNodeList.push(x.nodeId);
27462
27484
  taskOperations.push({
27463
27485
  key: x.nodeId,
27464
27486
  value: x.nodeName,
@@ -27467,158 +27489,158 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27467
27489
  });
27468
27490
  });
27469
27491
  }
27470
- _this31.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
27471
- _this31.pendingItemHandleDescription = pendingItemHandleDescription;
27492
+ _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
27493
+ _this32.pendingItemHandleDescription = pendingItemHandleDescription;
27472
27494
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
27473
- _this31.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
27495
+ _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
27474
27496
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
27475
- _this31.currentOrgSelectorTabs.map(function (x, i) {
27476
- _this31.currentOrgSelectorParams[x] = {
27497
+ _this32.currentOrgSelectorTabs.map(function (x, i) {
27498
+ _this32.currentOrgSelectorParams[x] = {
27477
27499
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
27478
27500
  only_filid: true
27479
27501
  };
27480
27502
  });
27481
27503
  }
27482
27504
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
27483
- _this31.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
27505
+ _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
27484
27506
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
27485
- _this31.foreignOrgSelectorTabs.map(function (x, i) {
27486
- _this31.foreignOrgSelectorParams[x] = {
27507
+ _this32.foreignOrgSelectorTabs.map(function (x, i) {
27508
+ _this32.foreignOrgSelectorParams[x] = {
27487
27509
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
27488
27510
  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
27511
+ roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
27490
27512
  };
27491
27513
  });
27492
27514
  }
27493
- _this31.circularReadParamsMap = circularReadParamsMap || {};
27494
- if (_this31.circularReadParamsMap.circularReadOrgRoleCode) {
27495
- _this31.foreignOrgSelectorParams.roleid = _this31.circularReadParamsMap.circularReadOrgRoleCode;
27515
+ _this32.circularReadParamsMap = circularReadParamsMap || {};
27516
+ if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
27517
+ _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
27496
27518
  }
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;
27519
+ _this32.currentOrgName = currentOrgName;
27520
+ _this32.nextOperateCheckType = nextOperateCheckType || 'select';
27521
+ _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
27522
+
27523
+ _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
27524
+ _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
27525
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
27526
+
27527
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
27528
+ _this32.isSpecial = isSpecial;
27529
+ _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
27530
+ _this32.otherOrgName = otherOrgName;
27531
+ _this32.isCanPreAddSign = isCanPreAddSign;
27532
+ _this32.endFlowInfo.choiceOrgId = choiceOrgId;
27533
+ _this32.endFlowInfo.choiceDeptId = choiceDeptId;
27534
+ _this32.endFlowInfo.pendingId = _this32.pendingId;
27535
+ _this32.attachedCode = attachedCode;
27536
+ _this32.endFlowInfo.pOrgId = pOrgId;
27537
+ _this32.canPresetRead = canPresetRead;
27538
+ _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
27539
+ nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
27540
+ _this32.operationList = taskOperations || [];
27541
+ _this32.customPresetHintMessage = customPresetHintMessage;
27520
27542
  if (canPresetRead) {
27521
27543
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
27522
27544
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
27523
27545
  ids.map(function (item, index) {
27524
- _this31.presetReadUserId.push({
27546
+ _this32.presetReadUserId.push({
27525
27547
  showid: item,
27526
27548
  showname: names[index]
27527
27549
  });
27528
- _this31.selectPresetUserList.push({
27550
+ _this32.selectPresetUserList.push({
27529
27551
  showid: item,
27530
27552
  showname: names[index]
27531
27553
  });
27532
- _this31.nextNode.presetReadUserId.push(item);
27554
+ _this32.nextNode.presetReadUserId.push(item);
27533
27555
  });
27534
27556
  }
27535
- if (!_this31.isFlow) _this31.getFile(_this31.pendingId, attachedCode);
27557
+ if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
27536
27558
  if (nextNodeList && nextNodeList.length != 0) {
27537
- _this31.nextNodeList = nextNodeList;
27559
+ _this32.nextNodeList = nextNodeList;
27538
27560
  if (nextNodeList[0].nodeType === 'endEvent') {
27539
- _this31.isNextUser = nextNodeList[0].nodeType != 'endEvent';
27540
- nextNodeList[0].nodeType === 'endEvent' ? _this31.endFlow = true : '';
27561
+ _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
27562
+ nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
27541
27563
  }
27542
27564
  }
27543
27565
 
27544
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this31.removeUsers = canRemoveSignUserList;
27566
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
27545
27567
  if (taskOperations && taskOperations.length != 0) {
27546
27568
  var isSelected = false;
27547
27569
  taskOperations.map(function (item) {
27548
- if (item.key === 9) _this31.isReject = true;
27570
+ if (item.key === 9) _this32.isReject = true;
27549
27571
  if (item.isSelected) {
27550
- _this31.nodeInfos = [];
27551
- _this31.nextNode.nextOperate = item.key;
27572
+ _this32.nodeInfos = [];
27573
+ _this32.nextNode.nextOperate = item.key;
27552
27574
  if (item.taskNodeList != null) {
27553
- _this31.nodeInfos = item.taskNodeList;
27575
+ _this32.nodeInfos = item.taskNodeList;
27554
27576
  }
27555
27577
  isSelected = true;
27556
27578
  }
27557
27579
  });
27558
27580
  if (taskOperations.length > 0 && !isSelected) {
27559
- _this31.nodeInfos = [];
27560
- _this31.nextNode.nextOperate = taskOperations[0].key;
27581
+ _this32.nodeInfos = [];
27582
+ _this32.nextNode.nextOperate = taskOperations[0].key;
27561
27583
  if (taskOperations[0].taskNodeList != null) {
27562
- _this31.nodeInfos = taskOperations[0].taskNodeList;
27584
+ _this32.nodeInfos = taskOperations[0].taskNodeList;
27563
27585
  }
27564
27586
  }
27565
27587
  }
27566
27588
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
27567
- _this31.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
27589
+ _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
27568
27590
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
27569
27591
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
27570
27592
  notice.map(function (x) {
27571
- _this31.nodeFixedOpinionSelectList.push({ content: x });
27593
+ _this32.nodeFixedOpinionSelectList.push({ content: x });
27572
27594
  });
27573
27595
  }
27574
27596
 
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;
27597
+ _this32.value = opinion || '';
27598
+ _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
27599
+ _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
27600
+ _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
27601
+ _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
27602
+ _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
27603
+ _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
27582
27604
  // this.isHideDefaultOperation =
27583
27605
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
27584
- _this31.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
27606
+ _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
27585
27607
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
27586
- var defaultNode = _this31.nodeInfos.filter(function (item) {
27608
+ var defaultNode = _this32.nodeInfos.filter(function (item) {
27587
27609
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
27588
27610
  });
27589
- if (_this31.nodeInfos.length > 0 && defaultNode.length == 0) {
27590
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
27611
+ if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
27612
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
27591
27613
  } else {
27592
- _this31.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
27614
+ _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
27593
27615
  }
27594
- } else if (_this31.nodeInfos.length > 0) {
27595
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
27616
+ } else if (_this32.nodeInfos.length > 0) {
27617
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
27596
27618
  }
27597
- _this31.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
27619
+ _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
27598
27620
  if (nodeInfoMap.nodeExtAttr.submitText) {
27599
- _this31.btnList.map(function (x) {
27621
+ _this32.btnList.map(function (x) {
27600
27622
  if (x.event === 'sub') {
27601
27623
  x.text = nodeInfoMap.nodeExtAttr.submitText;
27602
27624
  }
27603
27625
  });
27604
27626
  }
27605
27627
  }
27606
- _this31.choiceOrgId = choiceOrgId;
27607
- _this31.choiceDeptId = choiceDeptId;
27608
- _this31.pOrgId = pOrgId;
27628
+ _this32.choiceOrgId = choiceOrgId;
27629
+ _this32.choiceDeptId = choiceDeptId;
27630
+ _this32.pOrgId = pOrgId;
27609
27631
  if (res.data && res.data.isEndUserTask != undefined) {
27610
- _this31.isEndUserTask = res.data.isEndUserTask;
27632
+ _this32.isEndUserTask = res.data.isEndUserTask;
27611
27633
  }
27612
27634
  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;
27635
+ _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
27636
+ _this32.NodeName = taskExamine.nodeName;
27637
+ _this32.taskId = taskExamine.taskId;
27638
+ _this32.businessIds = taskExamine.businessId;
27639
+ _this32.appId = taskExamine.appId;
27640
+ _this32.taskExamineInfo = taskExamine;
27641
+ _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
27642
+ _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
27643
+ _this32.endFlowInfo.processType = taskExamine.processType;
27622
27644
  // this.endFlowInfo.isReturnSubmitter =
27623
27645
  // taskExamine.isReturnSubmitter;
27624
27646
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -27630,81 +27652,81 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27630
27652
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
27631
27653
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
27632
27654
  // 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;
27655
+ _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
27656
+ _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
27657
+ _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
27658
+ _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
27659
+ _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
27660
+ _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
27661
+ _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
27662
+ _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
27663
+ _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
27642
27664
  // this.endFlowInfo.isReadDealReply =
27643
27665
  // 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;
27666
+ _this32.endFlowInfo.appId = taskExamine.appId;
27667
+ _this32.endFlowInfo.businessId = taskExamine.businessId;
27668
+ _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
27669
+ _this32.endFlowInfo.nodeId = taskExamine.nodeId;
27648
27670
  }
27649
27671
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
27650
- _this31.NodeName = extendData.pendingData.itemname;
27672
+ _this32.NodeName = extendData.pendingData.itemname;
27651
27673
  }
27652
- if (_this31.nodeName) {
27653
- _this31.NodeName = _this31.nodeName;
27674
+ if (_this32.nodeName) {
27675
+ _this32.NodeName = _this32.nodeName;
27654
27676
  }
27655
- _this31.isCanAddSign = isCanAddSign;
27656
- _this31.processObj = res.data;
27657
- if (_this31.isCanAddSign) {
27658
- _this31.nextNode.isAddSign = '2';
27677
+ _this32.isCanAddSign = isCanAddSign;
27678
+ _this32.processObj = res.data;
27679
+ if (_this32.isCanAddSign) {
27680
+ _this32.nextNode.isAddSign = '2';
27659
27681
  }
27660
- _this31.isCanRemoveSign = isCanRemoveSign;
27661
- if (_this31.isCanRemoveSign) {
27662
- _this31.nextNode.isRemoveSign = '2';
27682
+ _this32.isCanRemoveSign = isCanRemoveSign;
27683
+ if (_this32.isCanRemoveSign) {
27684
+ _this32.nextNode.isRemoveSign = '2';
27663
27685
  }
27664
27686
 
27665
- if (!_this31.isOpinionRequired) {
27666
- _this31.isOpinionRequired = 0;
27687
+ if (!_this32.isOpinionRequired) {
27688
+ _this32.isOpinionRequired = 0;
27667
27689
  }
27668
27690
  // opinion && (this.value = opinion);
27669
- _this31.nextNode.notificationMsg = defaultNotificationMessage;
27670
- _this31.moreList = [];
27691
+ _this32.nextNode.notificationMsg = defaultNotificationMessage;
27692
+ _this32.moreList = [];
27671
27693
  if (taskButtonList && taskButtonList.length != 0) {
27672
27694
  taskButtonList.map(function (item) {
27673
27695
  if (item.fun === 'reject()') {
27674
- _this31.rejectObj = item;
27696
+ _this32.rejectObj = item;
27675
27697
  } else if (item.fun === 'toStartTaskRead()') {
27676
- _this31.pointsReadingObj = item;
27698
+ _this32.pointsReadingObj = item;
27677
27699
  } else {
27678
- _this31.moreList.push(item);
27700
+ _this32.moreList.push(item);
27679
27701
  }
27680
27702
  });
27681
27703
  }
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);
27704
+ _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
27705
+ _this32.isCustomPreset = isCustomPreset;
27706
+ _this32.isPreset = isPreset;
27707
+ _this32.presetTaskNodeMap = presetTaskNodeMap;
27708
+ _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
27709
+ _this32.getFind();
27710
+ _this32.selecNext(_this32.nextNode.nextOperate, true, true);
27689
27711
  // this.getNodeInfo();
27690
- _this31.StartTaskReadKey++;
27712
+ _this32.StartTaskReadKey++;
27691
27713
  } else {
27692
27714
  if (res.status === 'taskCompleted') {
27693
- _this31.$emit('shrink', true);
27694
- _this31.shrinkAbled = true;
27695
- _this31.$message.warning(res.message || '系统错误,请联系管理员!');
27715
+ _this32.$emit('shrink', true);
27716
+ _this32.shrinkAbled = true;
27717
+ _this32.$message.warning(res.message || '系统错误,请联系管理员!');
27696
27718
  } else {
27697
- _this31.$message.error(res.message || '系统错误,请联系管理员!');
27719
+ _this32.$message.error(res.message || '系统错误,请联系管理员!');
27698
27720
  }
27699
27721
  }
27700
- _this31.showOpinion = false;
27722
+ _this32.showOpinion = false;
27701
27723
  setTimeout(function () {
27702
- _this31.showOpinion = true;
27724
+ _this32.showOpinion = true;
27703
27725
  }, 0);
27704
27726
  }).catch(function (err) {
27705
- _this31.loading.close();
27727
+ _this32.loading.close();
27706
27728
  if (err.message && err.message !== 'canceled') {
27707
- _this31.$message.error(err.message);
27729
+ _this32.$message.error(err.message);
27708
27730
  }
27709
27731
  });
27710
27732
  },
@@ -27766,7 +27788,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27766
27788
  * @date 2022年5月25日
27767
27789
  **/
27768
27790
  getProcess: function getProcess(val) {
27769
- var _this32 = this;
27791
+ var _this33 = this;
27770
27792
 
27771
27793
  var params = mainvue_type_script_lang_js_extends({
27772
27794
  businessId: this.businessId,
@@ -27781,44 +27803,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27781
27803
  message = res.message,
27782
27804
  data = res.data;
27783
27805
 
27784
- _this32.loading.close();
27806
+ _this33.loading.close();
27785
27807
  if (status === 'success') {
27786
27808
  if (data.simpleTips != undefined) {
27787
- _this32.simpleTips = data.simpleTips;
27809
+ _this33.simpleTips = data.simpleTips;
27788
27810
  }
27789
- _this32.isStartFlowChartView = data.isStartFlowChartView;
27811
+ _this33.isStartFlowChartView = data.isStartFlowChartView;
27790
27812
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
27791
- _this32.$message.error('流程不存在或未关联对应流程!');
27813
+ _this33.$message.error('流程不存在或未关联对应流程!');
27792
27814
  } 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;
27815
+ _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
27816
+ _this33.activitiDefinitionSort = data.activitiDefinitionSort;
27817
+ _this33.nodeInfo.option = data.definitionList;
27818
+ _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
27819
+ return item.processDefKey == _this33.defaultProcessKey;
27798
27820
  });
27799
- if (_this32.nodeInfo.nextNode.length) {
27800
- _this32.nodeInfo.nextNode = _this32.nodeInfo.nextNode[0].processDefId;
27821
+ if (_this33.nodeInfo.nextNode.length) {
27822
+ _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
27801
27823
  } else {
27802
27824
  if (data.definitionList.length != 0) {
27803
- _this32.nodeInfo.nextNode = data.definitionList[0].processDefId;
27825
+ _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
27804
27826
  } else {
27805
- _this32.nodeInfo.nextNode = '';
27827
+ _this33.nodeInfo.nextNode = '';
27806
27828
  }
27807
27829
  }
27808
- if (_this32.nodeInfo.nextNode) {
27809
- _this32.handleChange(_this32.nodeInfo.nextNode, true);
27830
+ if (_this33.nodeInfo.nextNode) {
27831
+ _this33.handleChange(_this33.nodeInfo.nextNode, true);
27810
27832
  }
27811
- if (_this32.showCirculate != undefined && !_this32.showCirculate && _this32.urgencyLevel) {
27812
- _this32.getAdminMsgType();
27833
+ if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
27834
+ _this33.getAdminMsgType();
27813
27835
  }
27814
27836
  }
27815
27837
  } else {
27816
- _this32.$message.error(message || '系统错误,请联系管理员!');
27838
+ _this33.$message.error(message || '系统错误,请联系管理员!');
27817
27839
  }
27818
27840
  }).catch(function (err) {
27819
- _this32.loading.close();
27841
+ _this33.loading.close();
27820
27842
  if (err.message && err.message !== 'canceled') {
27821
- _this32.$message.error(err.message);
27843
+ _this33.$message.error(err.message);
27822
27844
  }
27823
27845
  });
27824
27846
  },
@@ -27830,7 +27852,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27830
27852
  * @date 2022年5月25日
27831
27853
  **/
27832
27854
  getPendedhistoryList: function getPendedhistoryList() {
27833
- var _this33 = this;
27855
+ var _this34 = this;
27834
27856
 
27835
27857
  var params = {
27836
27858
  apprecordId: this.businessIds,
@@ -27843,22 +27865,22 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27843
27865
  results = res.results;
27844
27866
 
27845
27867
  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();
27868
+ _this34.nextNode.nextUserId = [];
27869
+ _this34.showNews = false;
27870
+ _this34.nextNode.notificationType = [];
27871
+ _this34.pendingId = results[results.length - 1].attachId;
27872
+ _this34.getHedInfo();
27851
27873
  } else {
27852
- _this33.$message.error(msg || '系统错误,请联系管理员!');
27874
+ _this34.$message.error(msg || '系统错误,请联系管理员!');
27853
27875
  }
27854
27876
  }).catch(function (err) {
27855
27877
  if (err.message && err.message !== 'canceled') {
27856
- _this33.$message.error(err.message);
27878
+ _this34.$message.error(err.message);
27857
27879
  }
27858
27880
  });
27859
27881
  },
27860
27882
  reqCircularRead: function reqCircularRead(type) {
27861
- var _this34 = this;
27883
+ var _this35 = this;
27862
27884
 
27863
27885
  var _that = this;
27864
27886
  var params = {
@@ -27872,7 +27894,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27872
27894
  };
27873
27895
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
27874
27896
  util["a" /* default */].ajax(params).then(function (res) {
27875
- _this34.loading.close();
27897
+ _this35.loading.close();
27876
27898
  if (res.rCode == 0) {
27877
27899
  if (res.results.alert) {
27878
27900
  _that.$confirm(res.results.message, {
@@ -27906,20 +27928,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27906
27928
  * @date 2022年5月25日
27907
27929
  **/
27908
27930
  subProcess: function subProcess(val, type) {
27909
- var _this35 = this;
27931
+ var _this36 = this;
27910
27932
 
27911
27933
  return this.$refs['nextNode'].validate(function (valid) {
27912
27934
  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;
27935
+ if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
27936
+ _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
27937
+ _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
27938
+ _this36.value = val + _this36.value;
27917
27939
  }
27918
- if (!_this35.validInfo()) {
27919
- _this35.freeValid = false;
27940
+ if (!_this36.validInfo()) {
27941
+ _this36.freeValid = false;
27920
27942
  return;
27921
27943
  } else {
27922
- _this35.freeValid = true;
27944
+ _this36.freeValid = true;
27923
27945
  }
27924
27946
  // if (
27925
27947
  // this.currentNodeIsCircularReadNode &&
@@ -27928,28 +27950,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27928
27950
  // this.reqCircularRead(type);
27929
27951
  // return;
27930
27952
  // }
27931
- if (_this35.submitButtonFunKey) {
27932
- var btnInfo = _this35.taskNodeButtons.filter(function (x) {
27933
- return x.key === _this35.submitButtonFunKey;
27953
+ if (_this36.submitButtonFunKey) {
27954
+ var btnInfo = _this36.taskNodeButtons.filter(function (x) {
27955
+ return x.key === _this36.submitButtonFunKey;
27934
27956
  });
27935
27957
  if (btnInfo.length > 0) {
27936
27958
  if (btnInfo[0].type == 4) {
27937
- _this35.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this35.value }, _this35.sendData);
27959
+ _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
27938
27960
  } else if (btnInfo[0].type == 2) {
27939
- _this35.goView(btnInfo[0]);
27961
+ _this36.goView(btnInfo[0]);
27940
27962
  }
27941
27963
  }
27942
27964
  return;
27943
27965
  }
27944
27966
  if (type == 'multiInsMidwayWithSubmitScene') {
27945
- _this35.sendData(type);
27967
+ _this36.sendData(type);
27946
27968
  return;
27947
27969
  }
27948
- if (_this35.beforeSubmit == undefined) {
27949
- _this35.subFun(_this35.sendData);
27970
+ if (_this36.beforeSubmit == undefined) {
27971
+ _this36.subFun(_this36.sendData);
27950
27972
  } else {
27951
- _this35.beforeSubmit(1).then(function (next) {
27952
- _this35.sendData();
27973
+ _this36.beforeSubmit(1).then(function (next) {
27974
+ _this36.sendData();
27953
27975
  }).catch(function (e) {});
27954
27976
  }
27955
27977
  }
@@ -27994,14 +28016,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
27994
28016
  return true;
27995
28017
  },
27996
28018
  flowSuccess: function flowSuccess(hideMessage) {
27997
- var _this36 = this;
28019
+ var _this37 = this;
27998
28020
 
27999
28021
  if (!this.simpleTips) {
28000
28022
  this.$alert('提交成功', '', {
28001
28023
  confirmButtonText: '确定',
28002
28024
  type: 'success',
28003
28025
  callback: function callback(action) {
28004
- _this36.$emit('success');
28026
+ _this37.$emit('success');
28005
28027
  }
28006
28028
  });
28007
28029
  } else {
@@ -28012,7 +28034,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28012
28034
  }
28013
28035
  },
28014
28036
  sendData: function sendData(freetype) {
28015
- var _this37 = this;
28037
+ var _this38 = this;
28016
28038
 
28017
28039
  if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
28018
28040
  if (this.directCreateCircularReadWhenFlowStarted) {
@@ -28034,75 +28056,75 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28034
28056
  break;
28035
28057
  }
28036
28058
 
28037
- if (!_this37.isFlow) {
28059
+ if (!_this38.isFlow) {
28038
28060
  _context2.next = 7;
28039
28061
  break;
28040
28062
  }
28041
28063
 
28042
- if (!(_this37.isOpinionRequired && !_this37.$refs.commonOpinions.validate())) {
28064
+ if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
28043
28065
  _context2.next = 5;
28044
28066
  break;
28045
28067
  }
28046
28068
 
28047
- _this37.$message.warning('请输入审批意见');
28069
+ _this38.$message.warning('请输入审批意见');
28048
28070
  return _context2.abrupt('return');
28049
28071
 
28050
28072
  case 5:
28051
- if (_this37.directCreateCircularReadWhenFlowStarted) {
28052
- _this37.circulateVisible = true;
28073
+ if (_this38.directCreateCircularReadWhenFlowStarted) {
28074
+ _this38.circulateVisible = true;
28053
28075
  } else {
28054
- _this37.handleVisible = true;
28076
+ _this38.handleVisible = true;
28055
28077
  }
28056
28078
  return _context2.abrupt('return');
28057
28079
 
28058
28080
  case 7:
28059
28081
  nextUserId = [];
28060
28082
 
28061
- if (_this37.multiple) {
28062
- _this37.nextNode.nextUserId && _this37.nextNode.nextUserId.map(function (item) {
28083
+ if (_this38.multiple) {
28084
+ _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
28063
28085
  return nextUserId.push(item);
28064
28086
  });
28065
28087
  }
28066
28088
  addSignUserId = [];
28067
28089
 
28068
- if (_this37.isCanAddSign && _this37.nextNode.isAddSign == '1') {
28069
- _this37.nextNode.addSignUserId.map(function (item) {
28090
+ if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
28091
+ _this38.nextNode.addSignUserId.map(function (item) {
28070
28092
  addSignUserId.push(item);
28071
28093
  });
28072
28094
  }
28073
28095
  removeSignUserId = [];
28074
28096
 
28075
- if (_this37.isCanRemoveSign && _this37.nextNode.isRemoveSign == '1') {
28076
- _this37.nextNode.removeSignUserId.map(function (item) {
28097
+ if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
28098
+ _this38.nextNode.removeSignUserId.map(function (item) {
28077
28099
  removeSignUserId.push(item);
28078
28100
  });
28079
28101
  }
28080
28102
  str = '';
28081
28103
 
28082
- if (_this37.value) {
28083
- str = _this37.value.replace(/\s+/g, '');
28104
+ if (_this38.value) {
28105
+ str = _this38.value.replace(/\s+/g, '');
28084
28106
  }
28085
- if ((!_this37.value || str === '') && _this37.nodeDefaultSubmitOpinion) {
28086
- _this37.value = _this37.nodeDefaultSubmitOpinion;
28107
+ if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
28108
+ _this38.value = _this38.nodeDefaultSubmitOpinion;
28087
28109
  }
28088
- if (!_this37.isSpecial) {
28089
- delete _this37.nextNode.nextOperate;
28090
- delete _this37.nextNode.nextNodeId;
28110
+ if (!_this38.isSpecial) {
28111
+ delete _this38.nextNode.nextOperate;
28112
+ delete _this38.nextNode.nextNodeId;
28091
28113
  }
28092
- if (_this37.nextNode.nextOperate === 9 || _this37.oldNextOperate == 9) {
28093
- _this37.nextNode.isReturnRejectNode = 1;
28094
- _this37.nextNode.processDefinitionId = _this37.processObj.taskExamine.processDefinitionId;
28114
+ if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
28115
+ _this38.nextNode.isReturnRejectNode = 1;
28116
+ _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
28095
28117
  }
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;
28118
+ if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
28119
+ delete _this38.nextNode.nextNodeId;
28098
28120
  }
28099
28121
 
28100
- if (!_this37.isCancelSecondConfirmationType) {
28122
+ if (!_this38.isCancelSecondConfirmationType) {
28101
28123
  _context2.next = 22;
28102
28124
  break;
28103
28125
  }
28104
28126
 
28105
- _this37.$confirm('确认提交吗?', '提示', {
28127
+ _this38.$confirm('确认提交吗?', '提示', {
28106
28128
  confirmButtonText: '确定',
28107
28129
  cancelButtonText: '取消',
28108
28130
  type: 'warning'
@@ -28118,46 +28140,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28118
28140
  }
28119
28141
 
28120
28142
  _context.next = 3;
28121
- return _this37.saveInfo('subMit');
28143
+ return _this38.saveInfo('subMit');
28122
28144
 
28123
28145
  case 3:
28124
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '加载中...');
28146
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
28125
28147
 
28126
28148
  case 4:
28127
28149
  notificationType = '';
28128
28150
 
28129
- notificationType = _this37.nextNode.notificationType.join(',');
28151
+ notificationType = _this38.nextNode.notificationType.join(',');
28130
28152
  addSignUserId = addSignUserId.join(',');
28131
28153
  removeSignUserId = removeSignUserId.join(',');
28132
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
28133
- delete _this37.nextNode.addSignMode;
28154
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
28155
+ delete _this38.nextNode.addSignMode;
28134
28156
  }
28135
28157
 
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,
28158
+ params = mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
28159
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
28160
+ pendingId: _this38.pendingId,
28161
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
28140
28162
  userId: util["a" /* default */].getStorage('userId'),
28141
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
28163
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
28142
28164
  addSignUserId: addSignUserId,
28143
- customPresetUserJson: JSON.stringify(_this37.presetList),
28144
- presetUserJson: JSON.stringify(_this37.presetUserJson),
28165
+ customPresetUserJson: JSON.stringify(_this38.presetList),
28166
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
28145
28167
  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(','),
28168
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
28169
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
28170
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
28149
28171
  notificationType: notificationType
28150
28172
  });
28151
28173
 
28152
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
28174
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
28153
28175
  delete params.customLimitTimeText;
28154
- if (_this37.nextNode.isRemoveSign != '1') {
28176
+ if (_this38.nextNode.isRemoveSign != '1') {
28155
28177
  delete params.removeSignUserId;
28156
28178
  }
28157
- if (_this37.nextNode.isAddSign != '1') {
28179
+ if (_this38.nextNode.isAddSign != '1') {
28158
28180
  delete params.addSignUserId;
28159
28181
  }
28160
- if (!_this37.isSpecial) {
28182
+ if (!_this38.isSpecial) {
28161
28183
  delete params.nextUserId;
28162
28184
  }
28163
28185
 
@@ -28166,13 +28188,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28166
28188
  break;
28167
28189
  }
28168
28190
 
28169
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
28170
- _this37.taskParams = params;
28191
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
28192
+ _this38.taskParams = params;
28171
28193
  return _context.abrupt('return');
28172
28194
 
28173
28195
  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;
28196
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
28197
+ 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
28198
 
28177
28199
  params.isEndUserTask = isEndUserTask;
28178
28200
  params.choiceOrgId = choiceOrgId;
@@ -28196,17 +28218,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28196
28218
  var status = res.status,
28197
28219
  message = res.message;
28198
28220
 
28199
- _this37.loading.close();
28221
+ _this38.loading.close();
28200
28222
  if (status === 'success') {
28201
- _this37.flowSuccess();
28223
+ _this38.flowSuccess();
28202
28224
  } else {
28203
- _this37.$message.error(message || '系统错误,请联系管理员!');
28204
- _this37.$emit('error');
28225
+ _this38.$message.error(message || '系统错误,请联系管理员!');
28226
+ _this38.$emit('error');
28205
28227
  }
28206
28228
  }).catch(function (err) {
28207
- _this37.loading.close();
28229
+ _this38.loading.close();
28208
28230
  if (err.message && err.message !== 'canceled') {
28209
- _this37.$message.error(err.message);
28231
+ _this38.$message.error(err.message);
28210
28232
  }
28211
28233
  }));
28212
28234
 
@@ -28215,7 +28237,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28215
28237
  return _context.stop();
28216
28238
  }
28217
28239
  }
28218
- }, _callee, _this37);
28240
+ }, _callee, _this38);
28219
28241
  })));
28220
28242
  return _context2.abrupt('return');
28221
28243
 
@@ -28226,46 +28248,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28226
28248
  }
28227
28249
 
28228
28250
  _context2.next = 25;
28229
- return _this37.saveInfo('subMit');
28251
+ return _this38.saveInfo('subMit');
28230
28252
 
28231
28253
  case 25:
28232
- _this37.loading = util["a" /* default */].loading(_this37.$loading, '加载中...');
28254
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '加载中...');
28233
28255
 
28234
28256
  case 26:
28235
28257
  notificationType = '';
28236
28258
 
28237
- notificationType = _this37.nextNode.notificationType.join(',');
28259
+ notificationType = _this38.nextNode.notificationType.join(',');
28238
28260
  addSignUserId = addSignUserId.join(',');
28239
28261
  removeSignUserId = removeSignUserId.join(',');
28240
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
28241
- delete _this37.nextNode.addSignMode;
28262
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
28263
+ delete _this38.nextNode.addSignMode;
28242
28264
  }
28243
28265
 
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,
28266
+ params = mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
28267
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
28268
+ pendingId: _this38.pendingId,
28269
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
28248
28270
  userId: util["a" /* default */].getStorage('userId'),
28249
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
28271
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
28250
28272
  addSignUserId: addSignUserId,
28251
- customPresetUserJson: JSON.stringify(_this37.presetList),
28252
- presetUserJson: JSON.stringify(_this37.presetUserJson),
28273
+ customPresetUserJson: JSON.stringify(_this38.presetList),
28274
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
28253
28275
  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(','),
28276
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
28277
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
28278
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
28257
28279
  notificationType: notificationType
28258
28280
  });
28259
28281
 
28260
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
28282
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
28261
28283
  delete params.customLimitTimeText;
28262
- if (_this37.nextNode.isRemoveSign != '1') {
28284
+ if (_this38.nextNode.isRemoveSign != '1') {
28263
28285
  delete params.removeSignUserId;
28264
28286
  }
28265
- if (_this37.nextNode.isAddSign != '1') {
28287
+ if (_this38.nextNode.isAddSign != '1') {
28266
28288
  delete params.addSignUserId;
28267
28289
  }
28268
- if (!_this37.isSpecial) {
28290
+ if (!_this38.isSpecial) {
28269
28291
  delete params.nextUserId;
28270
28292
  }
28271
28293
 
@@ -28274,13 +28296,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28274
28296
  break;
28275
28297
  }
28276
28298
 
28277
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
28278
- _this37.taskParams = params;
28299
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
28300
+ _this38.taskParams = params;
28279
28301
  return _context2.abrupt('return');
28280
28302
 
28281
28303
  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;
28304
+ _this38.loading = util["a" /* default */].loading(_this38.$loading, '提交中...');
28305
+ 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
28306
 
28285
28307
  params.isEndUserTask = isEndUserTask;
28286
28308
  params.choiceOrgId = choiceOrgId;
@@ -28304,17 +28326,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28304
28326
  var status = res.status,
28305
28327
  message = res.message;
28306
28328
 
28307
- _this37.loading.close();
28329
+ _this38.loading.close();
28308
28330
  if (status === 'success') {
28309
- _this37.flowSuccess();
28331
+ _this38.flowSuccess();
28310
28332
  } else {
28311
- _this37.$message.error(message || '系统错误,请联系管理员!');
28312
- _this37.$emit('error');
28333
+ _this38.$message.error(message || '系统错误,请联系管理员!');
28334
+ _this38.$emit('error');
28313
28335
  }
28314
28336
  }).catch(function (err) {
28315
- _this37.loading.close();
28337
+ _this38.loading.close();
28316
28338
  if (err.message && err.message !== 'canceled') {
28317
- _this37.$message.error(err.message);
28339
+ _this38.$message.error(err.message);
28318
28340
  }
28319
28341
  }));
28320
28342
 
@@ -28326,7 +28348,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
28326
28348
  return _context2.stop();
28327
28349
  }
28328
28350
  }
28329
- }, _callee2, _this37);
28351
+ }, _callee2, _this38);
28330
28352
  }));
28331
28353
 
28332
28354
  return function (_x) {