eoss-ui 0.5.35 → 0.5.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28610,8 +28610,8 @@ form_src_main.install = function (Vue) {
28610
28610
  };
28611
28611
 
28612
28612
  /* harmony default export */ var packages_form = (form_src_main);
28613
- // 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=2d625847&
28614
- var mainvue_type_template_id_2d625847_render = function () {
28613
+ // 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=7620c3cc&
28614
+ var mainvue_type_template_id_7620c3cc_render = function () {
28615
28615
  var _vm = this
28616
28616
  var _h = _vm.$createElement
28617
28617
  var _c = _vm._self._c || _h
@@ -29826,7 +29826,7 @@ var mainvue_type_template_id_2d625847_render = function () {
29826
29826
  },
29827
29827
  [
29828
29828
  _vm._v(
29829
- "\n " +
29829
+ "\n " +
29830
29830
  _vm._s(
29831
29831
  _vm.rejectObj.value
29832
29832
  ) +
@@ -30330,11 +30330,11 @@ var mainvue_type_template_id_2d625847_render = function () {
30330
30330
  )
30331
30331
  : _vm._e()
30332
30332
  }
30333
- var mainvue_type_template_id_2d625847_staticRenderFns = []
30334
- mainvue_type_template_id_2d625847_render._withStripped = true
30333
+ var mainvue_type_template_id_7620c3cc_staticRenderFns = []
30334
+ mainvue_type_template_id_7620c3cc_render._withStripped = true
30335
30335
 
30336
30336
 
30337
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2d625847&
30337
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7620c3cc&
30338
30338
 
30339
30339
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
30340
30340
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -31274,8 +31274,8 @@ var CommonOpinions_component = normalizeComponent(
31274
31274
  )
31275
31275
 
31276
31276
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
31277
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=b6491348&
31278
- var processFormvue_type_template_id_b6491348_render = function () {
31277
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
31278
+ var processFormvue_type_template_id_aaac09fe_render = function () {
31279
31279
  var _vm = this
31280
31280
  var _h = _vm.$createElement
31281
31281
  var _c = _vm._self._c || _h
@@ -31741,11 +31741,11 @@ var processFormvue_type_template_id_b6491348_render = function () {
31741
31741
  1
31742
31742
  )
31743
31743
  }
31744
- var processFormvue_type_template_id_b6491348_staticRenderFns = []
31745
- processFormvue_type_template_id_b6491348_render._withStripped = true
31744
+ var processFormvue_type_template_id_aaac09fe_staticRenderFns = []
31745
+ processFormvue_type_template_id_aaac09fe_render._withStripped = true
31746
31746
 
31747
31747
 
31748
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=b6491348&
31748
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
31749
31749
 
31750
31750
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=db651118&
31751
31751
  var selectUservue_type_template_id_db651118_render = function () {
@@ -33657,7 +33657,10 @@ var processFormvue_type_script_lang_js_components;
33657
33657
 
33658
33658
  utils_util["a" /* default */].ajax({
33659
33659
  url: api["u" /* findCodeValues */],
33660
- params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
33660
+ params: {
33661
+ ccCode: 'notification_type',
33662
+ userId: utils_util["a" /* default */].getStorage('userId')
33663
+ }
33661
33664
  }).then(function (res) {
33662
33665
  var status = res.status,
33663
33666
  data = res.data;
@@ -33696,6 +33699,9 @@ var processFormvue_type_script_lang_js_components;
33696
33699
 
33697
33700
  // 提交表单
33698
33701
  subProcess: function subProcess(formName) {
33702
+ this.saveProcess(formName);
33703
+ },
33704
+ saveProcess: function saveProcess(formName) {
33699
33705
  var _this3 = this;
33700
33706
 
33701
33707
  this.$refs[formName].validate(function (valid) {
@@ -34035,8 +34041,8 @@ var processFormvue_type_script_lang_js_components;
34035
34041
 
34036
34042
  var processForm_component = normalizeComponent(
34037
34043
  src_processFormvue_type_script_lang_js_,
34038
- processFormvue_type_template_id_b6491348_render,
34039
- processFormvue_type_template_id_b6491348_staticRenderFns,
34044
+ processFormvue_type_template_id_aaac09fe_render,
34045
+ processFormvue_type_template_id_aaac09fe_staticRenderFns,
34040
34046
  false,
34041
34047
  null,
34042
34048
  null,
@@ -35049,8 +35055,8 @@ var TimeLimit_component = normalizeComponent(
35049
35055
  )
35050
35056
 
35051
35057
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
35052
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
35053
- var processRejectvue_type_template_id_b5a52fc0_render = function () {
35058
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=432cf815&
35059
+ var processRejectvue_type_template_id_432cf815_render = function () {
35054
35060
  var _vm = this
35055
35061
  var _h = _vm.$createElement
35056
35062
  var _c = _vm._self._c || _h
@@ -35241,11 +35247,11 @@ var processRejectvue_type_template_id_b5a52fc0_render = function () {
35241
35247
  1
35242
35248
  )
35243
35249
  }
35244
- var processRejectvue_type_template_id_b5a52fc0_staticRenderFns = []
35245
- processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
35250
+ var processRejectvue_type_template_id_432cf815_staticRenderFns = []
35251
+ processRejectvue_type_template_id_432cf815_render._withStripped = true
35246
35252
 
35247
35253
 
35248
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
35254
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=432cf815&
35249
35255
 
35250
35256
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
35251
35257
  //
@@ -35397,6 +35403,9 @@ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
35397
35403
 
35398
35404
  // 提交表单
35399
35405
  subProcess: function subProcess(formName) {
35406
+ this.saveProcess(formName);
35407
+ },
35408
+ saveProcess: function saveProcess(formName) {
35400
35409
  var _this2 = this;
35401
35410
 
35402
35411
  this.$refs[formName].validate(function (valid) {
@@ -35523,8 +35532,8 @@ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
35523
35532
 
35524
35533
  var processReject_component = normalizeComponent(
35525
35534
  src_processRejectvue_type_script_lang_js_,
35526
- processRejectvue_type_template_id_b5a52fc0_render,
35527
- processRejectvue_type_template_id_b5a52fc0_staticRenderFns,
35535
+ processRejectvue_type_template_id_432cf815_render,
35536
+ processRejectvue_type_template_id_432cf815_staticRenderFns,
35528
35537
  false,
35529
35538
  null,
35530
35539
  null,
@@ -37899,6 +37908,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
37899
37908
  //
37900
37909
  //
37901
37910
  //
37911
+ //
37912
+ //
37913
+ //
37914
+ //
37902
37915
 
37903
37916
 
37904
37917
 
@@ -38382,7 +38395,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38382
38395
 
38383
38396
  utils_util["a" /* default */].ajax({
38384
38397
  url: api["u" /* findCodeValues */],
38385
- params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
38398
+ params: {
38399
+ ccCode: 'notification_type',
38400
+ userId: utils_util["a" /* default */].getStorage('userId')
38401
+ }
38386
38402
  }).then(function (res) {
38387
38403
  var status = res.status,
38388
38404
  data = res.data;
@@ -38470,11 +38486,22 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38470
38486
  * @date 2022年5月25日
38471
38487
  **/
38472
38488
  rejectBtn: function rejectBtn() {
38489
+ var _this8 = this;
38490
+
38473
38491
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
38474
- if (!this.value) {
38475
- return this.$message.warning('请填写意见');
38492
+ if (this.beforeSubmit != undefined) {
38493
+ this.beforeSubmit().then(function (next) {
38494
+ if (!_this8.value) {
38495
+ return _this8.$message.warning('请填写意见');
38496
+ }
38497
+ _this8.showReject = true;
38498
+ }).catch(function (e) {});
38499
+ } else {
38500
+ if (!this.value) {
38501
+ return this.$message.warning('请填写意见');
38502
+ }
38503
+ this.showReject = true;
38476
38504
  }
38477
- this.showReject = true;
38478
38505
  },
38479
38506
 
38480
38507
  /**
@@ -38484,10 +38511,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38484
38511
  * @date 2022年5月25日
38485
38512
  **/
38486
38513
  taskReadBtn: function taskReadBtn() {
38514
+ var _this9 = this;
38515
+
38487
38516
  // return this.$message.warning('暂未开放!敬请期待');
38488
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
38489
- this.taskReadType = 'create';
38490
- this.showTaskRead = true;
38517
+ if (this.beforeSubmit != undefined) {
38518
+ this.beforeSubmit().then(function (next) {
38519
+ if (_this9.value === '') _this9.value = _this9.nodeDefaultRejectOpinion;
38520
+ _this9.taskReadType = 'create';
38521
+ _this9.showTaskRead = true;
38522
+ }).catch(function (e) {});
38523
+ } else {
38524
+ if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
38525
+ this.taskReadType = 'create';
38526
+ this.showTaskRead = true;
38527
+ }
38491
38528
  },
38492
38529
 
38493
38530
  /**
@@ -38497,7 +38534,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38497
38534
  * @date 2022年5月25日
38498
38535
  **/
38499
38536
  getFind: function getFind() {
38500
- var _this8 = this;
38537
+ var _this10 = this;
38501
38538
 
38502
38539
  utils_util["a" /* default */].ajax({
38503
38540
  url: api["w" /* findSysCodes */]
@@ -38506,11 +38543,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38506
38543
  message = res.message;
38507
38544
 
38508
38545
  if (status === 'success') {
38509
- _this8.nextNode.notificationType = message.split(',');
38546
+ _this10.nextNode.notificationType = message.split(',');
38510
38547
  }
38511
38548
  }).catch(function (err) {
38512
38549
  if (err.message && err.message !== 'canceled') {
38513
- _this8.$message.error(err.message);
38550
+ _this10.$message.error(err.message);
38514
38551
  }
38515
38552
  });
38516
38553
  },
@@ -38523,41 +38560,52 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38523
38560
  * @date 2022年5月25日
38524
38561
  **/
38525
38562
  endFlows: function endFlows(res) {
38526
- var _this9 = this;
38563
+ var _this11 = this;
38564
+
38565
+ if (this.beforeSubmit != undefined) {
38566
+ this.beforeSubmit().then(function (next) {
38567
+ _this11.saveEndFlows(res);
38568
+ }).catch(function (e) {});
38569
+ } else {
38570
+ this.saveEndFlows(res);
38571
+ }
38572
+ },
38573
+ saveEndFlows: function saveEndFlows(res) {
38574
+ var _this12 = this;
38527
38575
 
38528
38576
  this.$confirm('确认' + res.value + '?').then(function () {
38529
38577
  var params = {
38530
38578
  url: api["t" /* endFlowHtml */],
38531
38579
  headers: { Accept: 'application/json,text/plain' },
38532
38580
  method: 'post',
38533
- data: flow_src_mainvue_type_script_lang_js_extends({}, _this9.endFlowInfo, _this9.nextNode, {
38534
- opinion: _this9.value,
38581
+ data: flow_src_mainvue_type_script_lang_js_extends({}, _this12.endFlowInfo, _this12.nextNode, {
38582
+ opinion: _this12.value,
38535
38583
  userId: utils_util["a" /* default */].getStorage('userId'),
38536
- nextUserId: _this9.multiple ? _this9.nextNode.nextUserId.join(',') : _this9.nextNode.nextUserId,
38537
- addSignUserId: _this9.nextNode.addSignUserId.join(','),
38538
- customPresetUserJson: JSON.stringify(_this9.presetList),
38539
- presetUserJson: JSON.stringify(_this9.presetUserJson),
38540
- removeSignUserId: _this9.nextNode.removeSignUserId.join(','),
38541
- notificationType: _this9.nextNode.notificationType.join(',')
38584
+ nextUserId: _this12.multiple ? _this12.nextNode.nextUserId.join(',') : _this12.nextNode.nextUserId,
38585
+ addSignUserId: _this12.nextNode.addSignUserId.join(','),
38586
+ customPresetUserJson: JSON.stringify(_this12.presetList),
38587
+ presetUserJson: JSON.stringify(_this12.presetUserJson),
38588
+ removeSignUserId: _this12.nextNode.removeSignUserId.join(','),
38589
+ notificationType: _this12.nextNode.notificationType.join(',')
38542
38590
  })
38543
38591
  };
38544
- _this9.loading = utils_util["a" /* default */].loading(_this9.$loading, '加载中...');
38592
+ _this12.loading = utils_util["a" /* default */].loading(_this12.$loading, '加载中...');
38545
38593
  utils_util["a" /* default */].ajax(params).then(function (res) {
38546
38594
  var status = res.status,
38547
38595
  message = res.message;
38548
38596
 
38549
- _this9.loading.close();
38597
+ _this12.loading.close();
38550
38598
  if (status === 'success') {
38551
- _this9.$message.success('提交成功');
38552
- _this9.$emit('success');
38599
+ _this12.$message.success('提交成功');
38600
+ _this12.$emit('success');
38553
38601
  } else {
38554
- _this9.$message.error(message || '系统错误,请联系管理员!');
38555
- _this9.$emit('error');
38602
+ _this12.$message.error(message || '系统错误,请联系管理员!');
38603
+ _this12.$emit('error');
38556
38604
  }
38557
38605
  }).catch(function (err) {
38558
- _this9.loading.close();
38606
+ _this12.loading.close();
38559
38607
  if (err.message && err.message !== 'canceled') {
38560
- _this9.$message.error(err.message);
38608
+ _this12.$message.error(err.message);
38561
38609
  }
38562
38610
  });
38563
38611
  }).catch(function (e) {});
@@ -38652,7 +38700,19 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38652
38700
  * @date 2022年9月29日
38653
38701
  **/
38654
38702
  toTakeAdvice: function toTakeAdvice(res) {
38655
- var _this10 = this;
38703
+ var _this13 = this;
38704
+
38705
+ if (this.beforeSubmit != undefined) {
38706
+ this.beforeSubmit().then(function (next) {
38707
+ _this13.saveToTakeAdvice(res);
38708
+ }).catch(function (e) {});
38709
+ } else {
38710
+ this.saveToTakeAdvice(res);
38711
+ }
38712
+ // return this.$message.warning('暂未开放!敬请期待');
38713
+ },
38714
+ saveToTakeAdvice: function saveToTakeAdvice(res) {
38715
+ var _this14 = this;
38656
38716
 
38657
38717
  var params = {
38658
38718
  url: api["Z" /* isCanStartSubFlow */],
@@ -38667,19 +38727,18 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38667
38727
  utils_util["a" /* default */].ajax(params).then(function (res) {
38668
38728
  var message = res.message;
38669
38729
 
38670
- _this10.loading.close();
38730
+ _this14.loading.close();
38671
38731
  if (message == 'success') {
38672
- _this10.showTaskUnionExamine = true;
38732
+ _this14.showTaskUnionExamine = true;
38673
38733
  } else {
38674
- _this10.$message.error(message || '系统错误,请联系管理员!');
38734
+ _this14.$message.error(message || '系统错误,请联系管理员!');
38675
38735
  }
38676
38736
  }).catch(function (err) {
38677
- _this10.loading.close();
38737
+ _this14.loading.close();
38678
38738
  if (err.message && err.message !== 'canceled') {
38679
- _this10.$message.error(err.message);
38739
+ _this14.$message.error(err.message);
38680
38740
  }
38681
38741
  });
38682
- // return this.$message.warning('暂未开放!敬请期待');
38683
38742
  },
38684
38743
 
38685
38744
  /**
@@ -38689,7 +38748,15 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38689
38748
  * @date 2022年9月29日
38690
38749
  **/
38691
38750
  toStartDraf: function toStartDraf(res) {
38692
- this.showTaskUnionExamine = true;
38751
+ var _this15 = this;
38752
+
38753
+ if (this.beforeSubmit != undefined) {
38754
+ this.beforeSubmit().then(function (next) {
38755
+ _this15.showTaskUnionExamine = true;
38756
+ }).catch(function (e) {});
38757
+ } else {
38758
+ this.showTaskUnionExamine = true;
38759
+ }
38693
38760
  },
38694
38761
 
38695
38762
  /**
@@ -38699,7 +38766,15 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38699
38766
  * @date 2022年9月29日
38700
38767
  **/
38701
38768
  toSendMsg: function toSendMsg(res) {
38702
- this.showSendMsg = true;
38769
+ var _this16 = this;
38770
+
38771
+ if (this.beforeSubmit != undefined) {
38772
+ this.beforeSubmit().then(function (next) {
38773
+ _this16.showSendMsg = true;
38774
+ }).catch(function (e) {});
38775
+ } else {
38776
+ this.showSendMsg = true;
38777
+ }
38703
38778
  },
38704
38779
 
38705
38780
  /**
@@ -38709,9 +38784,19 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38709
38784
  * @date 2022年9月29日
38710
38785
  **/
38711
38786
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
38712
- if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
38713
- this.taskReadType = 'taskReadAndEnd';
38714
- this.showTaskRead = true;
38787
+ var _this17 = this;
38788
+
38789
+ if (this.beforeSubmit != undefined) {
38790
+ this.beforeSubmit().then(function (next) {
38791
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
38792
+ _this17.taskReadType = 'taskReadAndEnd';
38793
+ _this17.showTaskRead = true;
38794
+ }).catch(function (e) {});
38795
+ } else {
38796
+ if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
38797
+ this.taskReadType = 'taskReadAndEnd';
38798
+ this.showTaskRead = true;
38799
+ }
38715
38800
  },
38716
38801
 
38717
38802
  /**
@@ -38721,43 +38806,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38721
38806
  * @date 2022年9月29日
38722
38807
  **/
38723
38808
  rejectAndEnd: function rejectAndEnd(res) {
38724
- var _this11 = this;
38809
+ var _this18 = this;
38810
+
38811
+ if (this.beforeSubmit != undefined) {
38812
+ this.beforeSubmit().then(function (next) {
38813
+ _this18.saveRejectAndEnd(res);
38814
+ }).catch(function (e) {});
38815
+ } else {
38816
+ this.saveRejectAndEnd(res);
38817
+ }
38818
+ },
38819
+ saveRejectAndEnd: function saveRejectAndEnd(res) {
38820
+ var _this19 = this;
38725
38821
 
38726
38822
  this.$confirm('确认' + res.value + '?').then(function () {
38727
- if (_this11.isOpinionRequired == 1 && (_this11.value == '' || !_this11.value)) return _this11.$message.warning('请填写意见');
38823
+ if (_this19.isOpinionRequired == 1 && (_this19.value == '' || !_this19.value)) return _this19.$message.warning('请填写意见');
38728
38824
  var params = {
38729
38825
  url: api["mb" /* rejectAndEnd */],
38730
38826
  headers: { Accept: 'application/json,text/plain' },
38731
38827
  method: 'post',
38732
38828
  data: {
38733
- opinion: _this11.value,
38734
- pendingId: _this11.pendingId,
38829
+ opinion: _this19.value,
38830
+ pendingId: _this19.pendingId,
38735
38831
  isSinglePage: false
38736
38832
  }
38737
38833
  };
38738
- _this11.loading = utils_util["a" /* default */].loading(_this11.$loading, '加载中...');
38834
+ _this19.loading = utils_util["a" /* default */].loading(_this19.$loading, '加载中...');
38739
38835
  utils_util["a" /* default */].ajax(params).then(function (res) {
38740
38836
  var status = res.status,
38741
38837
  message = res.message;
38742
38838
 
38743
- _this11.loading.close();
38839
+ _this19.loading.close();
38744
38840
  if (status === 'success') {
38745
- _this11.$message.success('提交成功');
38746
- _this11.$emit('success');
38841
+ _this19.$message.success('提交成功');
38842
+ _this19.$emit('success');
38747
38843
  } else {
38748
- _this11.$message.error(message || '系统错误,请联系管理员!');
38749
- _this11.$emit('error');
38844
+ _this19.$message.error(message || '系统错误,请联系管理员!');
38845
+ _this19.$emit('error');
38750
38846
  }
38751
38847
  }).catch(function (err) {
38752
- _this11.loading.close();
38848
+ _this19.loading.close();
38753
38849
  if (err.message && err.message !== 'canceled') {
38754
- _this11.$message.error(err.message);
38850
+ _this19.$message.error(err.message);
38755
38851
  }
38756
38852
  });
38757
38853
  }).catch(function () {
38758
38854
  // on cancel
38759
38855
  });
38760
- // return this.$message.warning('暂未开放!敬请期待');
38761
38856
  },
38762
38857
 
38763
38858
  /**
@@ -38767,9 +38862,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38767
38862
  * @date 2022年9月29日
38768
38863
  **/
38769
38864
  toTransfer: function toTransfer(res) {
38770
- this.taskReadType = 'transfer';
38771
- this.showTaskRead = true;
38772
- // return this.$message.warning('暂未开放!敬请期待');
38865
+ var _this20 = this;
38866
+
38867
+ if (this.beforeSubmit != undefined) {
38868
+ this.beforeSubmit().then(function (next) {
38869
+ _this20.taskReadType = 'transfer';
38870
+ _this20.showTaskRead = true;
38871
+ }).catch(function (e) {});
38872
+ } else {
38873
+ this.taskReadType = 'transfer';
38874
+ this.showTaskRead = true;
38875
+ }
38773
38876
  },
38774
38877
 
38775
38878
  /**
@@ -38779,7 +38882,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38779
38882
  * @date 2022年5月25日
38780
38883
  **/
38781
38884
  getNodeInfo: function getNodeInfo() {
38782
- var _this12 = this;
38885
+ var _this21 = this;
38783
38886
 
38784
38887
  var params = {
38785
38888
  processDefinitionId: this.nodeInfo.nextNode,
@@ -38794,42 +38897,42 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38794
38897
  message = res.message,
38795
38898
  data = res.data;
38796
38899
 
38797
- _this12.loading.close();
38900
+ _this21.loading.close();
38798
38901
  if (status === 'success') {
38799
38902
  if (data != null) {
38800
38903
  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) {
38801
- _this12.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
38904
+ _this21.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
38802
38905
  } else {
38803
- _this12.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this12.choiceOrgId, _this12.choiceDeptId, _this12.pOrgId);
38906
+ _this21.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this21.choiceOrgId, _this21.choiceDeptId, _this21.pOrgId);
38804
38907
  }
38805
- _this12.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
38806
- _this12.isTaskread = data.nodeExtAttr.isTaskread;
38807
- _this12.isHandleExplain = data.nodeExtAttr.isHandleExplain;
38808
- _this12.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
38809
- _this12.nodeType = data.nodeExtAttr.nodeType;
38908
+ _this21.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
38909
+ _this21.isTaskread = data.nodeExtAttr.isTaskread;
38910
+ _this21.isHandleExplain = data.nodeExtAttr.isHandleExplain;
38911
+ _this21.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
38912
+ _this21.nodeType = data.nodeExtAttr.nodeType;
38810
38913
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
38811
- if (_this12.nodeType === 1 || _this12.nodeType === 2) {
38812
- _this12.isMainSubProcess === true ? _this12.isNodeShowProcess = true : _this12.isNodeShowProcess = false;
38813
- _this12.isMainSubProcess === true ? _this12.isMainSubProcess = true : _this12.isMainSubProcess = false;
38814
- _this12.isNextUser = false;
38815
- _this12.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
38816
- _this12.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
38914
+ if (_this21.nodeType === 1 || _this21.nodeType === 2) {
38915
+ _this21.isMainSubProcess === true ? _this21.isNodeShowProcess = true : _this21.isNodeShowProcess = false;
38916
+ _this21.isMainSubProcess === true ? _this21.isMainSubProcess = true : _this21.isMainSubProcess = false;
38917
+ _this21.isNextUser = false;
38918
+ _this21.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
38919
+ _this21.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
38817
38920
  } else {
38818
- _this12.isHideCurrentOrg = false;
38819
- _this12.isHideOtherOrg = false;
38820
- _this12.isNodeShowProcess = false;
38821
- _this12.isMainSubProcess = false;
38822
- _this12.isNextUser = true;
38921
+ _this21.isHideCurrentOrg = false;
38922
+ _this21.isHideOtherOrg = false;
38923
+ _this21.isNodeShowProcess = false;
38924
+ _this21.isMainSubProcess = false;
38925
+ _this21.isNextUser = true;
38823
38926
  // this.isMainSubProcess === true
38824
38927
  // ? (this.isMainSubProcess = true)
38825
38928
  // : (this.isMainSubProcess = false);
38826
38929
  }
38827
- _this12.multiple ? _this12.nextNode.nextUserId = [] : _this12.nextNode.nextUserId = '';
38828
- if (_this12.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
38930
+ _this21.multiple ? _this21.nextNode.nextUserId = [] : _this21.nextNode.nextUserId = '';
38931
+ if (_this21.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
38829
38932
  data.nextUserList.map(function (item) {
38830
38933
  if (item.userId && item.username) {
38831
- _this12.nextNode.nextUserId.push(item.userId);
38832
- _this12.selectUserList.push({
38934
+ _this21.nextNode.nextUserId.push(item.userId);
38935
+ _this21.selectUserList.push({
38833
38936
  showname: item.username,
38834
38937
  showid: item.userId
38835
38938
  });
@@ -38838,37 +38941,37 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38838
38941
  }
38839
38942
  data.nextUserList.map(function (item) {
38840
38943
  if (item.userId && item.username) {
38841
- _this12.options.push({
38944
+ _this21.options.push({
38842
38945
  showname: item.username,
38843
38946
  showid: item.userId
38844
38947
  });
38845
38948
  }
38846
38949
  });
38847
38950
  if (data.nodeExtAttr.presetEdit != 0) {
38848
- _this12.radioList = _this12.options;
38951
+ _this21.radioList = _this21.options;
38849
38952
  }
38850
- if (!_this12.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
38851
- _this12.nextNode.nextUserId = data.nextUserList[0].userId;
38852
- _this12.selectUserList.push({
38953
+ if (!_this21.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
38954
+ _this21.nextNode.nextUserId = data.nextUserList[0].userId;
38955
+ _this21.selectUserList.push({
38853
38956
  showname: data.nextUserList[0].username,
38854
38957
  showid: data.nextUserList[0].userId
38855
38958
  });
38856
38959
  }
38857
- _this12.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
38858
- _this12.isCustomUser = data.nodeExtAttr.isCustomUser;
38859
- _this12.presetEdit = data.nodeExtAttr.presetEdit;
38860
- _this12.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
38861
- _this12.handleMode = data.countersignaturetypeText;
38862
- data.globalNodeType === 'endEvent' ? _this12.endFlow = true : '';
38960
+ _this21.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
38961
+ _this21.isCustomUser = data.nodeExtAttr.isCustomUser;
38962
+ _this21.presetEdit = data.nodeExtAttr.presetEdit;
38963
+ _this21.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
38964
+ _this21.handleMode = data.countersignaturetypeText;
38965
+ data.globalNodeType === 'endEvent' ? _this21.endFlow = true : '';
38863
38966
  }
38864
- _this12.isCustomPreset && _this12.$refs.customPreset.getPresetFlowInfo(_this12.nextNode.nextNodeId, _this12.nodeInfo.nextNode, true);
38967
+ _this21.isCustomPreset && _this21.$refs.customPreset.getPresetFlowInfo(_this21.nextNode.nextNodeId, _this21.nodeInfo.nextNode, true);
38865
38968
  } else {
38866
- _this12.$message.error(message || '系统错误,请联系管理员!');
38969
+ _this21.$message.error(message || '系统错误,请联系管理员!');
38867
38970
  }
38868
38971
  }).catch(function (err) {
38869
- _this12.loading.close();
38972
+ _this21.loading.close();
38870
38973
  if (err.message && err.message !== 'canceled') {
38871
- _this12.$message.error(err.message);
38974
+ _this21.$message.error(err.message);
38872
38975
  }
38873
38976
  });
38874
38977
  },
@@ -38881,7 +38984,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38881
38984
  * @date 2022年5月25日
38882
38985
  **/
38883
38986
  selecNext: function selecNext(val, type, isDef) {
38884
- var _this13 = this;
38987
+ var _this22 = this;
38885
38988
 
38886
38989
  this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
38887
38990
  if (this.multiple) {
@@ -38912,16 +39015,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38912
39015
  this.operationList.forEach(function (item) {
38913
39016
  if (item.key === val) {
38914
39017
  if (!item.taskNodeList) {
38915
- _this13.nodeInfos = [];
39018
+ _this22.nodeInfos = [];
38916
39019
  } else {
38917
- _this13.nodeInfos = item.taskNodeList;
39020
+ _this22.nodeInfos = item.taskNodeList;
38918
39021
  }
38919
39022
  return;
38920
39023
  }
38921
39024
  });
38922
39025
  if (this.defaultNextNode) {
38923
39026
  var defaultNode = this.nodeInfos.filter(function (item) {
38924
- return item.nodeId == _this13.defaultNextNode;
39027
+ return item.nodeId == _this22.defaultNextNode;
38925
39028
  });
38926
39029
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
38927
39030
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -39027,7 +39130,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39027
39130
  * @date 2022年5月25日
39028
39131
  **/
39029
39132
  getHedInfo: function getHedInfo() {
39030
- var _this14 = this;
39133
+ var _this23 = this;
39031
39134
 
39032
39135
  this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
39033
39136
  var params = {
@@ -39037,7 +39140,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39037
39140
  utils_util["a" /* default */].ajax({ url: api["D" /* getHandleInfoHtml */], params: params }).then(function (res) {
39038
39141
  //pc返回数据
39039
39142
 
39040
- _this14.loading.close();
39143
+ _this23.loading.close();
39041
39144
  if (res.status === 'success') {
39042
39145
  var _res$data2 = res.data,
39043
39146
  nextNodeList = _res$data2.nextNodeList,
@@ -39065,190 +39168,190 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39065
39168
  isCdjxjTaskHandle = _res$data2.isCdjxjTaskHandle,
39066
39169
  taskButtonList = _res$data2.taskButtonList;
39067
39170
 
39068
- _this14.$emit('startTaskRead', res);
39069
- _this14.currentOrgName = currentOrgName;
39070
- _this14.otherOrgName = otherOrgName;
39071
- _this14.endFlowInfo.choiceOrgId = choiceOrgId;
39072
- _this14.endFlowInfo.choiceDeptId = choiceDeptId;
39073
- _this14.endFlowInfo.pendingId = _this14.pendingId;
39074
- _this14.attachedCode = attachedCode;
39075
- _this14.endFlowInfo.pOrgId = pOrgId;
39076
- _this14.canPresetRead = canPresetRead;
39077
- _this14.isCdjxjTaskHandle = isCdjxjTaskHandle;
39078
- _this14.operationList = taskOperations || [];
39079
- _this14.customPresetHintMessage = customPresetHintMessage;
39171
+ _this23.$emit('startTaskRead', res);
39172
+ _this23.currentOrgName = currentOrgName;
39173
+ _this23.otherOrgName = otherOrgName;
39174
+ _this23.endFlowInfo.choiceOrgId = choiceOrgId;
39175
+ _this23.endFlowInfo.choiceDeptId = choiceDeptId;
39176
+ _this23.endFlowInfo.pendingId = _this23.pendingId;
39177
+ _this23.attachedCode = attachedCode;
39178
+ _this23.endFlowInfo.pOrgId = pOrgId;
39179
+ _this23.canPresetRead = canPresetRead;
39180
+ _this23.isCdjxjTaskHandle = isCdjxjTaskHandle;
39181
+ _this23.operationList = taskOperations || [];
39182
+ _this23.customPresetHintMessage = customPresetHintMessage;
39080
39183
  if (canPresetRead) {
39081
39184
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
39082
39185
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
39083
39186
  ids.map(function (item, index) {
39084
- _this14.presetReadUserId.push({
39187
+ _this23.presetReadUserId.push({
39085
39188
  showid: item,
39086
39189
  showname: names[index]
39087
39190
  });
39088
- _this14.selectPresetUserList.push({
39191
+ _this23.selectPresetUserList.push({
39089
39192
  showid: item,
39090
39193
  showname: names[index]
39091
39194
  });
39092
- _this14.nextNode.presetReadUserId.push(item);
39195
+ _this23.nextNode.presetReadUserId.push(item);
39093
39196
  });
39094
39197
  }
39095
- if (!_this14.isFlow) _this14.getFile(_this14.pendingId, attachedCode);
39198
+ if (!_this23.isFlow) _this23.getFile(_this23.pendingId, attachedCode);
39096
39199
  if (nextNodeList && nextNodeList.length != 0) {
39097
- _this14.nextNodeList = nextNodeList;
39200
+ _this23.nextNodeList = nextNodeList;
39098
39201
  }
39099
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this14.removeUsers = canRemoveSignUserList;
39202
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this23.removeUsers = canRemoveSignUserList;
39100
39203
  if (taskOperations && taskOperations.length != 0) {
39101
39204
  taskOperations.map(function (item) {
39102
- if (item.key === 9) _this14.isReject = true;
39205
+ if (item.key === 9) _this23.isReject = true;
39103
39206
  if (item.isSelected) {
39104
- _this14.nodeInfos = [];
39105
- _this14.nextNode.nextOperate = item.key;
39207
+ _this23.nodeInfos = [];
39208
+ _this23.nextNode.nextOperate = item.key;
39106
39209
  if (item.taskNodeList != null) {
39107
- _this14.nodeInfos = item.taskNodeList;
39210
+ _this23.nodeInfos = item.taskNodeList;
39108
39211
  }
39109
39212
  }
39110
39213
  if (taskOperations.length == 1) {
39111
- _this14.nodeInfos = [];
39112
- _this14.nextNode.nextOperate = taskOperations[0].key;
39214
+ _this23.nodeInfos = [];
39215
+ _this23.nextNode.nextOperate = taskOperations[0].key;
39113
39216
  if (taskOperations[0].taskNodeList != null) {
39114
- _this14.nodeInfos = taskOperations[0].taskNodeList;
39217
+ _this23.nodeInfos = taskOperations[0].taskNodeList;
39115
39218
  }
39116
39219
  }
39117
39220
  });
39118
- _this14.selecNext(_this14.nextNode.nextOperate, true, true);
39221
+ _this23.selecNext(_this23.nextNode.nextOperate, true, true);
39119
39222
  }
39120
39223
 
39121
39224
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
39122
- _this14.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
39225
+ _this23.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
39123
39226
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
39124
39227
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
39125
39228
  notice.map(function (x) {
39126
- _this14.nodeFixedOpinionSelectList.push({ content: x });
39229
+ _this23.nodeFixedOpinionSelectList.push({ content: x });
39127
39230
  });
39128
39231
  }
39129
- _this14.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
39130
- _this14.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
39131
- _this14.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
39132
- _this14.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
39133
- _this14.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
39134
- _this14.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
39232
+ _this23.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
39233
+ _this23.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
39234
+ _this23.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
39235
+ _this23.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
39236
+ _this23.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
39237
+ _this23.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
39135
39238
  // this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
39136
- _this14.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
39239
+ _this23.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
39137
39240
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
39138
- var defaultNode = _this14.nodeInfos.filter(function (item) {
39241
+ var defaultNode = _this23.nodeInfos.filter(function (item) {
39139
39242
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
39140
39243
  });
39141
- if (_this14.nodeInfos.length > 0 && defaultNode.length == 0) {
39142
- _this14.nextNode.nextNodeId = _this14.nodeInfos[0].nodeId;
39244
+ if (_this23.nodeInfos.length > 0 && defaultNode.length == 0) {
39245
+ _this23.nextNode.nextNodeId = _this23.nodeInfos[0].nodeId;
39143
39246
  } else {
39144
- _this14.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
39247
+ _this23.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
39145
39248
  }
39146
- } else if (_this14.nodeInfos.length > 0) {
39147
- _this14.nextNode.nextNodeId = _this14.nodeInfos[0].nodeId;
39249
+ } else if (_this23.nodeInfos.length > 0) {
39250
+ _this23.nextNode.nextNodeId = _this23.nodeInfos[0].nodeId;
39148
39251
  }
39149
- _this14.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
39252
+ _this23.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
39150
39253
  if (nodeInfoMap.nodeExtAttr.submitText) {
39151
- _this14.btnList.map(function (x) {
39254
+ _this23.btnList.map(function (x) {
39152
39255
  if (x.event === 'sub') {
39153
39256
  x.text = nodeInfoMap.nodeExtAttr.submitText;
39154
39257
  }
39155
39258
  });
39156
39259
  }
39157
39260
  }
39158
- _this14.choiceOrgId = choiceOrgId;
39159
- _this14.choiceDeptId = choiceDeptId;
39160
- _this14.pOrgId = pOrgId;
39261
+ _this23.choiceOrgId = choiceOrgId;
39262
+ _this23.choiceDeptId = choiceDeptId;
39263
+ _this23.pOrgId = pOrgId;
39161
39264
  if (res.data && res.data.isEndUserTask != undefined) {
39162
- _this14.isEndUserTask = res.data.isEndUserTask;
39265
+ _this23.isEndUserTask = res.data.isEndUserTask;
39163
39266
  }
39164
39267
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
39165
- _this14.nodeInfo.nextNode = taskExamine.processDefinitionId;
39166
- _this14.NodeName = taskExamine.nodeName;
39167
- _this14.taskId = taskExamine.taskId;
39168
- _this14.businessIds = taskExamine.businessId;
39169
- _this14.appId = taskExamine.appId;
39170
- _this14.taskExamineInfo = taskExamine;
39171
- _this14.taskExamineInfo.choiceOrgId = choiceOrgId;
39172
- _this14.taskExamineInfo.choiceDeptId = choiceDeptId;
39173
- _this14.endFlowInfo.processType = taskExamine.processType;
39174
- _this14.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
39175
- _this14.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
39176
- _this14.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
39177
- _this14.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
39178
- _this14.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
39179
- _this14.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
39180
- _this14.nextNode.isReadDealReply = taskExamine.isReadDealReply;
39181
- _this14.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
39182
- _this14.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
39183
- _this14.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
39184
- _this14.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
39185
- _this14.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
39186
- _this14.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
39187
- _this14.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
39188
- _this14.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
39189
- _this14.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
39190
- _this14.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
39191
- _this14.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
39192
- _this14.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
39268
+ _this23.nodeInfo.nextNode = taskExamine.processDefinitionId;
39269
+ _this23.NodeName = taskExamine.nodeName;
39270
+ _this23.taskId = taskExamine.taskId;
39271
+ _this23.businessIds = taskExamine.businessId;
39272
+ _this23.appId = taskExamine.appId;
39273
+ _this23.taskExamineInfo = taskExamine;
39274
+ _this23.taskExamineInfo.choiceOrgId = choiceOrgId;
39275
+ _this23.taskExamineInfo.choiceDeptId = choiceDeptId;
39276
+ _this23.endFlowInfo.processType = taskExamine.processType;
39277
+ _this23.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
39278
+ _this23.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
39279
+ _this23.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
39280
+ _this23.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
39281
+ _this23.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
39282
+ _this23.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
39283
+ _this23.nextNode.isReadDealReply = taskExamine.isReadDealReply;
39284
+ _this23.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
39285
+ _this23.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
39286
+ _this23.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
39287
+ _this23.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
39288
+ _this23.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
39289
+ _this23.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
39290
+ _this23.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
39291
+ _this23.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
39292
+ _this23.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
39293
+ _this23.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
39294
+ _this23.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
39295
+ _this23.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
39193
39296
  // this.endFlowInfo.isReadDealReply =
39194
39297
  // taskExamine.isReadDealReplybusinessId;
39195
- _this14.endFlowInfo.appId = taskExamine.appId;
39196
- _this14.endFlowInfo.businessId = taskExamine.businessId;
39197
- _this14.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
39198
- _this14.endFlowInfo.nodeId = taskExamine.nodeId;
39298
+ _this23.endFlowInfo.appId = taskExamine.appId;
39299
+ _this23.endFlowInfo.businessId = taskExamine.businessId;
39300
+ _this23.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
39301
+ _this23.endFlowInfo.nodeId = taskExamine.nodeId;
39199
39302
  }
39200
- if (_this14.nodeName) {
39201
- _this14.NodeName = _this14.nodeName;
39303
+ if (_this23.nodeName) {
39304
+ _this23.NodeName = _this23.nodeName;
39202
39305
  }
39203
- _this14.isCanAddSign = isCanAddSign;
39204
- _this14.processObj = res.data;
39205
- if (_this14.isCanAddSign) {
39206
- _this14.nextNode.isAddSign = '2';
39306
+ _this23.isCanAddSign = isCanAddSign;
39307
+ _this23.processObj = res.data;
39308
+ if (_this23.isCanAddSign) {
39309
+ _this23.nextNode.isAddSign = '2';
39207
39310
  }
39208
- _this14.isCanRemoveSign = isCanRemoveSign;
39209
- if (_this14.isCanRemoveSign) {
39210
- _this14.nextNode.isRemoveSign = '2';
39311
+ _this23.isCanRemoveSign = isCanRemoveSign;
39312
+ if (_this23.isCanRemoveSign) {
39313
+ _this23.nextNode.isRemoveSign = '2';
39211
39314
  }
39212
- _this14.isSpecial = isSpecial;
39315
+ _this23.isSpecial = isSpecial;
39213
39316
 
39214
- if (!_this14.isOpinionRequired) {
39215
- _this14.isOpinionRequired = 0;
39317
+ if (!_this23.isOpinionRequired) {
39318
+ _this23.isOpinionRequired = 0;
39216
39319
  }
39217
39320
  // opinion && (this.value = opinion);
39218
- _this14.nextNode.notificationMsg = defaultNotificationMessage;
39219
- _this14.moreList = [];
39321
+ _this23.nextNode.notificationMsg = defaultNotificationMessage;
39322
+ _this23.moreList = [];
39220
39323
  if (taskButtonList && taskButtonList.length != 0) {
39221
39324
  taskButtonList.map(function (item) {
39222
39325
  if (item.fun === 'reject()') {
39223
- _this14.rejectObj = item;
39326
+ _this23.rejectObj = item;
39224
39327
  } else if (item.fun === 'toStartTaskRead()') {
39225
- _this14.pointsReadingObj = item;
39328
+ _this23.pointsReadingObj = item;
39226
39329
  } else {
39227
- _this14.moreList.push(item);
39330
+ _this23.moreList.push(item);
39228
39331
  }
39229
39332
  });
39230
39333
  }
39231
- _this14.isMainSubProcess = res.data.isMainSubProcess == 'true';
39232
- _this14.isCustomPreset = isCustomPreset;
39233
- _this14.isPreset = isPreset;
39234
- _this14.presetTaskNodeMap = presetTaskNodeMap;
39235
- _this14.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
39236
- _this14.getFind();
39237
- _this14.getNodeType();
39238
- _this14.getNodeInfo();
39334
+ _this23.isMainSubProcess = res.data.isMainSubProcess == 'true';
39335
+ _this23.isCustomPreset = isCustomPreset;
39336
+ _this23.isPreset = isPreset;
39337
+ _this23.presetTaskNodeMap = presetTaskNodeMap;
39338
+ _this23.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
39339
+ _this23.getFind();
39340
+ _this23.getNodeType();
39341
+ _this23.getNodeInfo();
39239
39342
  } else {
39240
39343
  if (res.status === 'taskCompleted') {
39241
- _this14.$emit('shrink', true);
39242
- _this14.shrinkAbled = true;
39243
- _this14.$message.warning(res.message || '系统错误,请联系管理员!');
39344
+ _this23.$emit('shrink', true);
39345
+ _this23.shrinkAbled = true;
39346
+ _this23.$message.warning(res.message || '系统错误,请联系管理员!');
39244
39347
  } else {
39245
- _this14.$message.error(res.message || '系统错误,请联系管理员!');
39348
+ _this23.$message.error(res.message || '系统错误,请联系管理员!');
39246
39349
  }
39247
39350
  }
39248
39351
  }).catch(function (err) {
39249
- _this14.loading.close();
39352
+ _this23.loading.close();
39250
39353
  if (err.message && err.message !== 'canceled') {
39251
- _this14.$message.error(err.message);
39354
+ _this23.$message.error(err.message);
39252
39355
  }
39253
39356
  });
39254
39357
  },
@@ -39299,7 +39402,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39299
39402
  * @date 2022年5月25日
39300
39403
  **/
39301
39404
  getProcess: function getProcess() {
39302
- var _this15 = this;
39405
+ var _this24 = this;
39303
39406
 
39304
39407
  var params = {
39305
39408
  businessId: this.businessId,
@@ -39315,32 +39418,32 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39315
39418
  message = res.message,
39316
39419
  data = res.data;
39317
39420
 
39318
- _this15.loading.close();
39421
+ _this24.loading.close();
39319
39422
  if (status === 'success') {
39320
39423
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
39321
- _this15.$message.error('流程不存在或未关联对应流程!');
39424
+ _this24.$message.error('流程不存在或未关联对应流程!');
39322
39425
  } else {
39323
- _this15.nodeInfo.option = data.definitionList;
39324
- _this15.nodeInfo.nextNode = data.definitionList.filter(function (item) {
39325
- return item.processDefKey == _this15.defaultProcessKey;
39426
+ _this24.nodeInfo.option = data.definitionList;
39427
+ _this24.nodeInfo.nextNode = data.definitionList.filter(function (item) {
39428
+ return item.processDefKey == _this24.defaultProcessKey;
39326
39429
  });
39327
- if (_this15.nodeInfo.nextNode.length) {
39328
- _this15.nodeInfo.nextNode = _this15.nodeInfo.nextNode[0].processDefId;
39430
+ if (_this24.nodeInfo.nextNode.length) {
39431
+ _this24.nodeInfo.nextNode = _this24.nodeInfo.nextNode[0].processDefId;
39329
39432
  } else {
39330
39433
  if (data.definitionList.length == 1) {
39331
- _this15.nodeInfo.nextNode = data.definitionList[0].processDefId;
39434
+ _this24.nodeInfo.nextNode = data.definitionList[0].processDefId;
39332
39435
  } else {
39333
- _this15.nodeInfo.nextNode = '';
39436
+ _this24.nodeInfo.nextNode = '';
39334
39437
  }
39335
39438
  }
39336
39439
  }
39337
39440
  } else {
39338
- _this15.$message.error(message || '系统错误,请联系管理员!');
39441
+ _this24.$message.error(message || '系统错误,请联系管理员!');
39339
39442
  }
39340
39443
  }).catch(function (err) {
39341
- _this15.loading.close();
39444
+ _this24.loading.close();
39342
39445
  if (err.message && err.message !== 'canceled') {
39343
- _this15.$message.error(err.message);
39446
+ _this24.$message.error(err.message);
39344
39447
  }
39345
39448
  });
39346
39449
  },
@@ -39352,7 +39455,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39352
39455
  * @date 2022年5月25日
39353
39456
  **/
39354
39457
  getPendedhistoryList: function getPendedhistoryList() {
39355
- var _this16 = this;
39458
+ var _this25 = this;
39356
39459
 
39357
39460
  var params = {
39358
39461
  apprecordId: this.businessIds,
@@ -39365,17 +39468,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39365
39468
  results = res.results;
39366
39469
 
39367
39470
  if (!rCode) {
39368
- _this16.nextNode.nextUserId = [];
39369
- _this16.showNews = false;
39370
- _this16.nextNode.notificationType = [];
39371
- _this16.pendingId = results[results.length - 1].attachId;
39372
- _this16.getHedInfo();
39471
+ _this25.nextNode.nextUserId = [];
39472
+ _this25.showNews = false;
39473
+ _this25.nextNode.notificationType = [];
39474
+ _this25.pendingId = results[results.length - 1].attachId;
39475
+ _this25.getHedInfo();
39373
39476
  } else {
39374
- _this16.$message.error(msg || '系统错误,请联系管理员!');
39477
+ _this25.$message.error(msg || '系统错误,请联系管理员!');
39375
39478
  }
39376
39479
  }).catch(function (err) {
39377
39480
  if (err.message && err.message !== 'canceled') {
39378
- _this16.$message.error(err.message);
39481
+ _this25.$message.error(err.message);
39379
39482
  }
39380
39483
  });
39381
39484
  },
@@ -39389,21 +39492,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39389
39492
  * @date 2022年5月25日
39390
39493
  **/
39391
39494
  subProcess: function subProcess(val) {
39392
- var _this17 = this;
39495
+ var _this26 = this;
39393
39496
 
39394
39497
  this.$refs['nextNode'].validate(function (valid) {
39395
39498
  if (valid) {
39396
- if (_this17.isSubmitButtonShowAgreeAndDisagree == 1) {
39397
- _this17.value = _this17.value.replace(RegExp('不同意。', 'g'), '');
39398
- _this17.value = _this17.value.replace(RegExp('同意。', 'g'), '');
39399
- _this17.value = val + _this17.value;
39499
+ if (_this26.isSubmitButtonShowAgreeAndDisagree == 1) {
39500
+ _this26.value = _this26.value.replace(RegExp('不同意。', 'g'), '');
39501
+ _this26.value = _this26.value.replace(RegExp('同意。', 'g'), '');
39502
+ _this26.value = val + _this26.value;
39400
39503
  }
39401
- if (!_this17.validInfo()) return;
39402
- if (_this17.beforeSubmit == undefined) {
39403
- _this17.subFun(_this17.sendData);
39504
+ if (!_this26.validInfo()) return;
39505
+ if (_this26.beforeSubmit == undefined) {
39506
+ _this26.subFun(_this26.sendData);
39404
39507
  } else {
39405
- _this17.beforeSubmit(1).then(function (next) {
39406
- _this17.sendData();
39508
+ _this26.beforeSubmit(1).then(function (next) {
39509
+ _this26.sendData();
39407
39510
  }).catch(function (e) {});
39408
39511
  }
39409
39512
  }
@@ -39443,7 +39546,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39443
39546
  return true;
39444
39547
  },
39445
39548
  sendData: function sendData() {
39446
- var _this18 = this;
39549
+ var _this27 = this;
39447
39550
 
39448
39551
  this.$refs['nextNode'].validate(function () {
39449
39552
  var _ref2 = flow_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
@@ -39457,89 +39560,89 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39457
39560
  break;
39458
39561
  }
39459
39562
 
39460
- if (!_this18.isFlow) {
39563
+ if (!_this27.isFlow) {
39461
39564
  _context.next = 3;
39462
39565
  break;
39463
39566
  }
39464
39567
 
39465
- return _context.abrupt('return', _this18.handleVisible = true);
39568
+ return _context.abrupt('return', _this27.handleVisible = true);
39466
39569
 
39467
39570
  case 3:
39468
39571
  nextUserId = [];
39469
39572
 
39470
- if (_this18.multiple) {
39471
- _this18.nextNode.nextUserId && _this18.nextNode.nextUserId.map(function (item) {
39573
+ if (_this27.multiple) {
39574
+ _this27.nextNode.nextUserId && _this27.nextNode.nextUserId.map(function (item) {
39472
39575
  return nextUserId.push(item);
39473
39576
  });
39474
39577
  }
39475
39578
  addSignUserId = [];
39476
39579
 
39477
- if (_this18.isCanAddSign && _this18.nextNode.isAddSign == '1') {
39478
- _this18.nextNode.addSignUserId.map(function (item) {
39580
+ if (_this27.isCanAddSign && _this27.nextNode.isAddSign == '1') {
39581
+ _this27.nextNode.addSignUserId.map(function (item) {
39479
39582
  addSignUserId.push(item);
39480
39583
  });
39481
39584
  }
39482
39585
  removeSignUserId = [];
39483
39586
 
39484
- if (_this18.isCanRemoveSign && _this18.nextNode.isRemoveSign == '1') {
39485
- _this18.nextNode.removeSignUserId.map(function (item) {
39587
+ if (_this27.isCanRemoveSign && _this27.nextNode.isRemoveSign == '1') {
39588
+ _this27.nextNode.removeSignUserId.map(function (item) {
39486
39589
  removeSignUserId.push(item);
39487
39590
  });
39488
39591
  }
39489
39592
  str = '';
39490
39593
 
39491
- if (_this18.value) {
39492
- str = _this18.value.replace(/\s+/g, '');
39594
+ if (_this27.value) {
39595
+ str = _this27.value.replace(/\s+/g, '');
39493
39596
  }
39494
- if ((!_this18.value || str === '') && _this18.nodeDefaultSubmitOpinion) {
39495
- _this18.value = _this18.nodeDefaultSubmitOpinion;
39597
+ if ((!_this27.value || str === '') && _this27.nodeDefaultSubmitOpinion) {
39598
+ _this27.value = _this27.nodeDefaultSubmitOpinion;
39496
39599
  }
39497
- if (!_this18.isSpecial) {
39498
- delete _this18.nextNode.nextOperate;
39499
- delete _this18.nextNode.nextNodeId;
39600
+ if (!_this27.isSpecial) {
39601
+ delete _this27.nextNode.nextOperate;
39602
+ delete _this27.nextNode.nextNodeId;
39500
39603
  }
39501
- if (_this18.nextNode.nextOperate === 9) {
39502
- _this18.nextNode.isReturnRejectNode = 1;
39503
- _this18.nextNode.processDefinitionId = _this18.processObj.taskExamine.processDefinitionId;
39604
+ if (_this27.nextNode.nextOperate === 9) {
39605
+ _this27.nextNode.isReturnRejectNode = 1;
39606
+ _this27.nextNode.processDefinitionId = _this27.processObj.taskExamine.processDefinitionId;
39504
39607
  }
39505
- if (_this18.nextNode.nextOperate != 0 && _this18.nextNode.nextOperate != 1) {
39506
- delete _this18.nextNode.nextNodeId;
39608
+ if (_this27.nextNode.nextOperate != 0 && _this27.nextNode.nextOperate != 1) {
39609
+ delete _this27.nextNode.nextNodeId;
39507
39610
  }
39508
39611
  _context.next = 17;
39509
- return _this18.saveInfo('subMit');
39612
+ return _this27.saveInfo('subMit');
39510
39613
 
39511
39614
  case 17:
39512
- _this18.loading = utils_util["a" /* default */].loading(_this18.$loading, '加载中...');
39615
+ _this27.loading = utils_util["a" /* default */].loading(_this27.$loading, '加载中...');
39513
39616
 
39514
39617
  notificationType = '';
39515
39618
 
39516
- notificationType = _this18.nextNode.notificationType.join(',');
39619
+ notificationType = _this27.nextNode.notificationType.join(',');
39517
39620
  addSignUserId = addSignUserId.join(',');
39518
39621
  removeSignUserId = removeSignUserId.join(',');
39519
- params = flow_src_mainvue_type_script_lang_js_extends({}, _this18.nextNode, {
39520
- pendingId: _this18.pendingId,
39521
- opinion: _this18.isForceDisplayDefaultOptionForPrefix && !_this18.value.startsWith(_this18.nodeDefaultSubmitOpinion) ? _this18.nodeDefaultSubmitOpinion + _this18.value : _this18.value,
39622
+ params = flow_src_mainvue_type_script_lang_js_extends({}, _this27.nextNode, {
39623
+ pendingId: _this27.pendingId,
39624
+ opinion: _this27.isForceDisplayDefaultOptionForPrefix && !_this27.value.startsWith(_this27.nodeDefaultSubmitOpinion) ? _this27.nodeDefaultSubmitOpinion + _this27.value : _this27.value,
39522
39625
  userId: utils_util["a" /* default */].getStorage('userId'),
39523
- nextUserId: _this18.multiple ? nextUserId.join(',') : _this18.nextNode.nextUserId,
39626
+ nextUserId: _this27.multiple ? nextUserId.join(',') : _this27.nextNode.nextUserId,
39524
39627
  addSignUserId: addSignUserId,
39525
- customPresetUserJson: JSON.stringify(_this18.presetList),
39526
- presetUserJson: JSON.stringify(_this18.presetUserJson),
39628
+ customPresetUserJson: JSON.stringify(_this27.presetList),
39629
+ presetUserJson: JSON.stringify(_this27.presetUserJson),
39527
39630
  removeSignUserId: removeSignUserId,
39528
- nextReadUserId: _this18.readMultiple ? _this18.mixReadList && _this18.mixReadList.join('|') : _this18.nextNode.nextReadUserId,
39529
- nextOrgId: !_this18.isShowNextUser ? _this18.multiple ? _this18.mixOrgIdList && _this18.mixOrgIdList.join('|') : _this18.nextNode.nextOrgId : '',
39530
- presetReadUserId: _this18.mixPresetList && _this18.mixPresetList.length > 0 ? _this18.mixPresetList.join('|') : _this18.nextNode.presetReadUserId.join(','),
39631
+ nextReadUserId: _this27.readMultiple ? _this27.mixReadList && _this27.mixReadList.join('|') : _this27.nextNode.nextReadUserId,
39632
+ nextOrgId: !_this27.isShowNextUser ? _this27.multiple ? _this27.mixOrgIdList && _this27.mixOrgIdList.join('|') : _this27.nextNode.nextOrgId : '',
39633
+ presetReadUserId: _this27.mixPresetList && _this27.mixPresetList.length > 0 ? _this27.mixPresetList.join('|') : _this27.nextNode.presetReadUserId.join(','),
39531
39634
  notificationType: notificationType
39532
39635
  });
39533
39636
 
39534
- if (_this18.activeNames != '1') delete params.customPresetUserJson;
39535
- if (_this18.nextNode.isRemoveSign != '1') {
39637
+ if (_this27.activeNames != '1') delete params.customPresetUserJson;
39638
+ if (_this27.nextNode.isRemoveSign != '1') {
39536
39639
  delete params.removeSignUserId;
39537
39640
  }
39538
- if (_this18.nextNode.isAddSign != '1') {
39641
+ if (_this27.nextNode.isAddSign != '1') {
39539
39642
  delete params.addSignUserId;
39540
39643
  }
39541
- _this18.loading = utils_util["a" /* default */].loading(_this18.$loading, '提交中...');
39542
- isEndUserTask = _this18.isEndUserTask, choiceOrgId = _this18.choiceOrgId, choiceDeptId = _this18.choiceDeptId, pOrgId = _this18.pOrgId, taskExamineInfo = _this18.taskExamineInfo, needRetrialAuth = _this18.needRetrialAuth;
39644
+ _this27.loading = utils_util["a" /* default */].loading(_this27.$loading, '提交中...');
39645
+ isEndUserTask = _this27.isEndUserTask, choiceOrgId = _this27.choiceOrgId, choiceDeptId = _this27.choiceDeptId, pOrgId = _this27.pOrgId, taskExamineInfo = _this27.taskExamineInfo, needRetrialAuth = _this27.needRetrialAuth;
39543
39646
 
39544
39647
  params.isEndUserTask = isEndUserTask;
39545
39648
  params.choiceOrgId = choiceOrgId;
@@ -39556,18 +39659,18 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39556
39659
  var status = res.status,
39557
39660
  message = res.message;
39558
39661
 
39559
- _this18.loading.close();
39662
+ _this27.loading.close();
39560
39663
  if (status === 'success') {
39561
- _this18.$message.success('提交成功');
39562
- _this18.$emit('success');
39664
+ _this27.$message.success('提交成功');
39665
+ _this27.$emit('success');
39563
39666
  } else {
39564
- _this18.$message.error(message || '系统错误,请联系管理员!');
39565
- _this18.$emit('error');
39667
+ _this27.$message.error(message || '系统错误,请联系管理员!');
39668
+ _this27.$emit('error');
39566
39669
  }
39567
39670
  }).catch(function (err) {
39568
- _this18.loading.close();
39671
+ _this27.loading.close();
39569
39672
  if (err.message && err.message !== 'canceled') {
39570
- _this18.$message.error(err.message);
39673
+ _this27.$message.error(err.message);
39571
39674
  }
39572
39675
  }));
39573
39676
 
@@ -39579,7 +39682,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39579
39682
  return _context.stop();
39580
39683
  }
39581
39684
  }
39582
- }, _callee, _this18);
39685
+ }, _callee, _this27);
39583
39686
  }));
39584
39687
 
39585
39688
  return function (_x) {
@@ -39633,8 +39736,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39633
39736
 
39634
39737
  var flow_src_main_component = normalizeComponent(
39635
39738
  packages_flow_src_mainvue_type_script_lang_js_,
39636
- mainvue_type_template_id_2d625847_render,
39637
- mainvue_type_template_id_2d625847_staticRenderFns,
39739
+ mainvue_type_template_id_7620c3cc_render,
39740
+ mainvue_type_template_id_7620c3cc_staticRenderFns,
39638
39741
  false,
39639
39742
  null,
39640
39743
  null,
@@ -65436,8 +65539,8 @@ toolbar_src_main.install = function (Vue) {
65436
65539
  };
65437
65540
 
65438
65541
  /* harmony default export */ var packages_toolbar = (toolbar_src_main);
65439
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=b5a1829e&
65440
- var tablevue_type_template_id_b5a1829e_render = function () {
65542
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=0cd27751&
65543
+ var tablevue_type_template_id_0cd27751_render = function () {
65441
65544
  var _vm = this
65442
65545
  var _h = _vm.$createElement
65443
65546
  var _c = _vm._self._c || _h
@@ -65605,7 +65708,8 @@ var tablevue_type_template_id_b5a1829e_render = function () {
65605
65708
  class: {
65606
65709
  "es-align-middle": item.labelRow,
65607
65710
  "is-required":
65608
- _vm.required &&
65711
+ item.rules &&
65712
+ item.rules.required &&
65609
65713
  !_vm.hideRequiredAsterisk,
65610
65714
  "required-after": _vm.after,
65611
65715
  },
@@ -68091,11 +68195,11 @@ var tablevue_type_template_id_b5a1829e_render = function () {
68091
68195
  2
68092
68196
  )
68093
68197
  }
68094
- var tablevue_type_template_id_b5a1829e_staticRenderFns = []
68095
- tablevue_type_template_id_b5a1829e_render._withStripped = true
68198
+ var tablevue_type_template_id_0cd27751_staticRenderFns = []
68199
+ tablevue_type_template_id_0cd27751_render._withStripped = true
68096
68200
 
68097
68201
 
68098
- // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=b5a1829e&
68202
+ // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=0cd27751&
68099
68203
 
68100
68204
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
68101
68205
  var src_tablevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -69160,6 +69264,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
69160
69264
  //
69161
69265
  //
69162
69266
  //
69267
+ //
69163
69268
 
69164
69269
 
69165
69270
 
@@ -69476,8 +69581,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
69476
69581
 
69477
69582
  var form_src_table_component = normalizeComponent(
69478
69583
  packages_form_src_tablevue_type_script_lang_js_,
69479
- tablevue_type_template_id_b5a1829e_render,
69480
- tablevue_type_template_id_b5a1829e_staticRenderFns,
69584
+ tablevue_type_template_id_0cd27751_render,
69585
+ tablevue_type_template_id_0cd27751_staticRenderFns,
69481
69586
  false,
69482
69587
  null,
69483
69588
  null,
@@ -71440,7 +71545,7 @@ if (typeof window !== 'undefined' && window.Vue) {
71440
71545
  }
71441
71546
 
71442
71547
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
71443
- version: '0.5.35',
71548
+ version: '0.5.37',
71444
71549
  install: install,
71445
71550
  Button: packages_button,
71446
71551
  ButtonGroup: button_group,