eoss-ui 0.4.80 → 0.4.82

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.
Files changed (58) hide show
  1. package/lib/button-group.js +11 -11
  2. package/lib/button.js +11 -11
  3. package/lib/checkbox-group.js +11 -11
  4. package/lib/config/api.js +11 -11
  5. package/lib/data-table-form.js +11 -11
  6. package/lib/data-table.js +11 -11
  7. package/lib/date-picker.js +11 -11
  8. package/lib/dialog.js +11 -11
  9. package/lib/eoss-ui.common.js +478 -214
  10. package/lib/flow-group.js +11 -11
  11. package/lib/flow-list.js +11 -11
  12. package/lib/flow.js +296 -156
  13. package/lib/form.js +14 -14
  14. package/lib/handle-user.js +11 -11
  15. package/lib/handler.js +11 -11
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +11 -11
  18. package/lib/input.js +11 -11
  19. package/lib/label.js +103 -11
  20. package/lib/layout.js +46 -15
  21. package/lib/login.js +11 -11
  22. package/lib/main.js +14 -13
  23. package/lib/nav.js +11 -11
  24. package/lib/notify.js +11 -11
  25. package/lib/page.js +11 -11
  26. package/lib/player.js +11 -11
  27. package/lib/qr-code.js +11 -11
  28. package/lib/radio-group.js +11 -11
  29. package/lib/retrial-auth.js +11 -11
  30. package/lib/select-ganged.js +11 -11
  31. package/lib/select.js +11 -11
  32. package/lib/selector-panel.js +11 -11
  33. package/lib/selector.js +11 -11
  34. package/lib/sizer.js +11 -11
  35. package/lib/steps.js +11 -11
  36. package/lib/switch.js +11 -11
  37. package/lib/table-form.js +11 -11
  38. package/lib/tabs.js +11 -11
  39. package/lib/theme-chalk/flow.css +1 -1
  40. package/lib/theme-chalk/index.css +1 -1
  41. package/lib/tips.js +11 -11
  42. package/lib/tree-group.js +11 -11
  43. package/lib/tree.js +11 -11
  44. package/lib/upload.js +11 -11
  45. package/lib/wujie.js +11 -11
  46. package/lib/wxlogin.js +11 -11
  47. package/package.json +1 -1
  48. package/packages/flow/src/main.vue +113 -50
  49. package/packages/form/src/main.vue +4 -1
  50. package/packages/label/src/main.vue +107 -12
  51. package/packages/layout/src/item.vue +10 -2
  52. package/packages/layout/src/main.vue +9 -1
  53. package/packages/main/src/main.vue +1 -0
  54. package/packages/theme-chalk/lib/flow.css +1 -1
  55. package/packages/theme-chalk/lib/index.css +1 -1
  56. package/packages/theme-chalk/src/flow.scss +7 -0
  57. package/src/config/api.js +11 -11
  58. package/src/index.js +1 -1
package/lib/flow.js CHANGED
@@ -3086,7 +3086,7 @@ var mainDetail = '/config/configLayoutTheme/detail';
3086
3086
  // export const toStartFlow = '/api/mecp/v1/mecpItask/toStartFlow.json';
3087
3087
  var toStartFlow = '/bpm/bpmBackend/toStartFlow';
3088
3088
  // 暂存数据
3089
- var tempSave = '/oa/task/taskHandle/tempSave.dhtml';
3089
+ var tempSave = '/bpm/task/taskHandle/tempSave.dhtml';
3090
3090
  // 获取常用意见
3091
3091
  // /oa/commonOpinionsManager/getOpinionsList.dhtml /api/v1/mecpIpending/commonOpion.json
3092
3092
  // /api/v1/mecpIpending/commonOpion.json
@@ -3105,16 +3105,16 @@ var deleteCommonOpion = '/oa/commonOpinionsManager/delete.dhtml';
3105
3105
  // '/api/mecp/v1/mecpItask/getProcessDefList.json';
3106
3106
  var getProcessDefList = '/bpm/bpmBackend/toStartFlowIndex';
3107
3107
  // 获取下步办理人 /api/mecp/v1/mecpItask/getNodeInfo.json
3108
- var getNodeInfo = '/oa/task/taskHandle/getNodeInfo.dhtml';
3108
+ var getNodeInfo = '/bpm/task/taskHandle/getNodeInfo.dhtml';
3109
3109
 
3110
3110
  // 系统消息
3111
3111
  // 通知方式
3112
3112
  var findCodeValues = '/bpm/bpmCommon/findCodeValues';
3113
3113
  var findSysParam = '/bpm/bpmCommon/findSysParam';
3114
- var findSysCodes = '/oa/task/taskHandle/getDefaultNotificationType.dhtml';
3114
+ var findSysCodes = '/bpm/task/taskHandle/getDefaultNotificationType.dhtml';
3115
3115
 
3116
3116
  // 获取通知消息
3117
- var getNotificationMsg = '/oa/task/taskHandle/getNotificationMsg.dhtml';
3117
+ var getNotificationMsg = '/bpm/task/taskHandle/getNotificationMsg.dhtml';
3118
3118
  // 获取审核页面数据
3119
3119
  var getHandleInfoHtml = '/bpm/bpmBackend/toTaskHandleIndex.dhtml';
3120
3120
  // export const getHandleInfoHtml =
@@ -3122,11 +3122,11 @@ var getHandleInfoHtml = '/bpm/bpmBackend/toTaskHandleIndex.dhtml';
3122
3122
  // 获取节点信息(获取节点属性及办理人)
3123
3123
  // export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
3124
3124
  // 提交办理
3125
- var taskHandleHtml = '/oa/task/taskHandle/taskHandle.dhtml';
3125
+ var taskHandleHtml = '/bpm/task/taskHandle/taskHandle.dhtml';
3126
3126
  // 获取流程图
3127
3127
  var getView = '/bpm/service/diagram/view.html';
3128
3128
  // 开始流程
3129
- var register = '/oa/task/taskHandle/startFlow.dhtml';
3129
+ var register = '/bpm/task/taskHandle/startFlow.dhtml';
3130
3130
  // 获取流程列表
3131
3131
  var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
3132
3132
  // 获取审核按钮信息
@@ -3153,7 +3153,7 @@ var endFlowHtml = '/bpm/task/taskHandle/endFlow.dhtml';
3153
3153
  // 获取用户信息
3154
3154
  // export const findUserBaseInfos = '/api/v1/mecpSys/findUserBaseInfo.dhtml';
3155
3155
  // 搜索用户信息
3156
- var handleInfo = '/oa/task/taskHandle/handleInfo.dhtml';
3156
+ var handleInfo = '/bpm/task/taskHandle/handleInfo.dhtml';
3157
3157
  // 获取当前用户信息
3158
3158
  var loginUserInfo = '/bpm/bpmCommon/loginUserInfo';
3159
3159
 
@@ -3162,9 +3162,9 @@ var wss = window.wss || '/main2/ws';
3162
3162
  // 订阅
3163
3163
  var topic = '/user/topic/all';
3164
3164
  // 流程预设
3165
- var getPresetCustomInfo = '/oa/task/taskHandle/getPresetCustomInfo.dhtml';
3165
+ var getPresetCustomInfo = '/bpm/task/taskHandle/getPresetCustomInfo.dhtml';
3166
3166
  // 办理人预设
3167
- var getPresetNodeInfo = '/oa/task/taskHandle/getPresetNodeInfo.dhtml';
3167
+ var getPresetNodeInfo = '/bpm/task/taskHandle/getPresetNodeInfo.dhtml';
3168
3168
  // 获取转办页面数据
3169
3169
  var toTaskTransferIndex = '/bpm/bpmBackend/toTaskTransferIndex';
3170
3170
  // 转办提交按钮
@@ -3195,12 +3195,12 @@ var taskTakeAdvice = '/bpm/task/taskHandle/taskTakeAdvice.dhtml';
3195
3195
  var toTaskStartDraft = '/bpm/bpmBackend/totaskStartDraft';
3196
3196
 
3197
3197
  // 稿件递送提交接口
3198
- // export const taskStartDraft = '/oa/task/taskHandle/taskStartDraft.dhtml';
3198
+ // export const taskStartDraft = '/bpm/task/taskHandle/taskStartDraft.dhtml';
3199
3199
  var taskStartDraft = '/archives/task/taskHandle/taskStartDraft.dhtml';
3200
3200
  // 复核
3201
3201
  var toTaskReview = '/bpm/bpmBackend/toTaskReview';
3202
3202
  // 复核提交
3203
- var taskReview = '/oa/task/taskHandle/taskReview.dhtml';
3203
+ var taskReview = '/bpm/task/taskHandle/taskReview.dhtml';
3204
3204
  // 联合用印
3205
3205
  var toTaskUnionSeal = '/bpm/bpmBackend/toTaskUnionSeal';
3206
3206
  // 联合用印提交
@@ -3561,7 +3561,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3561
3561
  // ESM COMPAT FLAG
3562
3562
  __webpack_require__.r(__webpack_exports__);
3563
3563
 
3564
- // 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=446ce748&
3564
+ // 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=3b4925ad&
3565
3565
  var render = function () {
3566
3566
  var _vm = this
3567
3567
  var _h = _vm.$createElement
@@ -4699,92 +4699,213 @@ var render = function () {
4699
4699
  1
4700
4700
  )
4701
4701
  : _vm._e(),
4702
- _vm.nodeInfos.length > 0 ||
4703
- _vm.nodeInfo.option.length > 0 ||
4704
- _vm.operationList.length > 0
4702
+ (_vm.nodeInfos.length > 0 ||
4703
+ _vm.nodeInfo.option.length > 0 ||
4704
+ _vm.operationList.length > 0) &&
4705
+ _vm.btnList.length <= 2
4705
4706
  ? _c(
4706
4707
  "div",
4707
4708
  { staticClass: "es-user-defined" },
4708
- _vm._l(_vm.btnList, function (item) {
4709
- return _c(
4710
- "el-button",
4711
- {
4712
- directives: [
4713
- {
4714
- name: "show",
4715
- rawName: "v-show",
4716
- value:
4717
- _vm.isSubmitButtonShowAgreeAndDisagree != 1,
4718
- expression:
4719
- "isSubmitButtonShowAgreeAndDisagree != 1",
4720
- },
4721
- ],
4722
- key: item.name,
4723
- style: _vm.btnStyle,
4724
- attrs: { type: item.type },
4725
- on: {
4726
- click: function ($event) {
4727
- item.event === "sub"
4728
- ? _vm.subProcess()
4729
- : _vm.saveInfo(false, item)
4730
- },
4731
- },
4732
- },
4733
- [
4734
- _vm._v(
4735
- "\n " + _vm._s(item.text) + "\n "
4736
- ),
4737
- ]
4738
- )
4739
- }),
4740
- 1
4741
- )
4742
- : _vm._e(),
4743
- !_vm.isFlow
4744
- ? _c(
4745
- "div",
4746
- { staticClass: "es-footer-btn" },
4747
4709
  [
4748
- _vm.rejectObj.fun
4749
- ? _c(
4750
- "el-button",
4751
- {
4752
- staticClass: "btn",
4753
- attrs: { type: "danger" },
4754
- on: { click: _vm.rejectBtn },
4755
- },
4756
- [_vm._v("\n 驳回\n ")]
4757
- )
4758
- : _vm._e(),
4759
- _vm.pointsReadingObj.fun
4760
- ? _c(
4761
- "el-button",
4762
- {
4763
- staticClass: "btn",
4764
- on: { click: _vm.taskReadBtn },
4765
- },
4766
- [_vm._v("分阅")]
4767
- )
4768
- : _vm._e(),
4769
- _vm._l(_vm.moreList, function (item) {
4710
+ _vm._l(_vm.btnList.slice(0, 1), function (item) {
4770
4711
  return _c(
4771
4712
  "el-button",
4772
4713
  {
4773
- key: item.key,
4774
- staticClass: "btn",
4714
+ directives: [
4715
+ {
4716
+ name: "show",
4717
+ rawName: "v-show",
4718
+ value:
4719
+ _vm.isSubmitButtonShowAgreeAndDisagree !=
4720
+ 1,
4721
+ expression:
4722
+ "isSubmitButtonShowAgreeAndDisagree != 1",
4723
+ },
4724
+ ],
4725
+ key: item.name,
4726
+ style: _vm.btnStyle,
4727
+ attrs: { type: item.type },
4775
4728
  on: {
4776
4729
  click: function ($event) {
4777
- _vm.goView(item)
4730
+ item.event === "sub"
4731
+ ? _vm.subProcess()
4732
+ : _vm.saveInfo(false, item)
4778
4733
  },
4779
4734
  },
4780
4735
  },
4781
4736
  [
4782
4737
  _vm._v(
4783
- "\n " + _vm._s(item.value) + "\n "
4738
+ "\n " + _vm._s(item.text) + "\n "
4784
4739
  ),
4785
4740
  ]
4786
4741
  )
4787
4742
  }),
4743
+ _vm.btnList.length > 2 ||
4744
+ (!_vm.isFlow &&
4745
+ (_vm.rejectObj.fun ||
4746
+ _vm.pointsReadingObj.fun ||
4747
+ _vm.moreList))
4748
+ ? _c(
4749
+ "div",
4750
+ {
4751
+ attrs: { placement: "top", trigger: "click" },
4752
+ },
4753
+ [
4754
+ _c(
4755
+ "el-button-group",
4756
+ {
4757
+ staticStyle: { margin: "0px 10px" },
4758
+ attrs: { slot: "reference" },
4759
+ slot: "reference",
4760
+ },
4761
+ [
4762
+ _vm._l(
4763
+ _vm.btnList.slice(1),
4764
+ function (item) {
4765
+ return _c(
4766
+ "el-button",
4767
+ {
4768
+ directives: [
4769
+ {
4770
+ name: "show",
4771
+ rawName: "v-show",
4772
+ value:
4773
+ _vm.isSubmitButtonShowAgreeAndDisagree !=
4774
+ 1,
4775
+ expression:
4776
+ "isSubmitButtonShowAgreeAndDisagree != 1",
4777
+ },
4778
+ ],
4779
+ key: item.name,
4780
+ style: _vm.btnStyle,
4781
+ attrs: { type: item.type },
4782
+ on: {
4783
+ click: function ($event) {
4784
+ $event.stopPropagation()
4785
+ item.event === "sub"
4786
+ ? _vm.subProcess()
4787
+ : _vm.saveInfo(false, item)
4788
+ },
4789
+ },
4790
+ },
4791
+ [
4792
+ _vm._v(
4793
+ "\n " +
4794
+ _vm._s(item.text) +
4795
+ "\n "
4796
+ ),
4797
+ ]
4798
+ )
4799
+ }
4800
+ ),
4801
+ !_vm.isFlow &&
4802
+ (_vm.rejectObj.fun ||
4803
+ _vm.pointsReadingObj.fun ||
4804
+ _vm.moreList.length > 0)
4805
+ ? _c(
4806
+ "el-dropdown",
4807
+ {
4808
+ staticStyle: {
4809
+ "border-left":
4810
+ "1px solid #d9d9d9",
4811
+ },
4812
+ attrs: {
4813
+ trigger: "click",
4814
+ placement: "top",
4815
+ },
4816
+ },
4817
+ [
4818
+ _c("el-button", [_vm._v("...")]),
4819
+ _c(
4820
+ "el-dropdown-menu",
4821
+ {
4822
+ attrs: { slot: "dropdown" },
4823
+ slot: "dropdown",
4824
+ },
4825
+ [
4826
+ _vm._l(
4827
+ _vm.moreList,
4828
+ function (item) {
4829
+ return _c(
4830
+ "el-dropdown-item",
4831
+ { key: item.key },
4832
+ [
4833
+ _c(
4834
+ "div",
4835
+ {
4836
+ staticClass:
4837
+ "btn",
4838
+ on: {
4839
+ click:
4840
+ function (
4841
+ $event
4842
+ ) {
4843
+ _vm.goView(
4844
+ item
4845
+ )
4846
+ },
4847
+ },
4848
+ },
4849
+ [
4850
+ _vm._v(
4851
+ "\n " +
4852
+ _vm._s(
4853
+ item.value
4854
+ ) +
4855
+ "\n "
4856
+ ),
4857
+ ]
4858
+ ),
4859
+ ]
4860
+ )
4861
+ }
4862
+ ),
4863
+ _vm.pointsReadingObj.fun
4864
+ ? _c("el-dropdown-item", [
4865
+ _c(
4866
+ "div",
4867
+ {
4868
+ staticClass: "btn",
4869
+ on: {
4870
+ click:
4871
+ _vm.taskReadBtn,
4872
+ },
4873
+ },
4874
+ [_vm._v("分阅")]
4875
+ ),
4876
+ ])
4877
+ : _vm._e(),
4878
+ _vm.rejectObj.fun
4879
+ ? _c("el-dropdown-item", [
4880
+ _c(
4881
+ "div",
4882
+ {
4883
+ staticStyle: {
4884
+ color: "red",
4885
+ },
4886
+ on: {
4887
+ click:
4888
+ _vm.rejectBtn,
4889
+ },
4890
+ },
4891
+ [_vm._v("驳回")]
4892
+ ),
4893
+ ])
4894
+ : _vm._e(),
4895
+ ],
4896
+ 2
4897
+ ),
4898
+ ],
4899
+ 1
4900
+ )
4901
+ : _vm._e(),
4902
+ ],
4903
+ 2
4904
+ ),
4905
+ ],
4906
+ 1
4907
+ )
4908
+ : _vm._e(),
4788
4909
  ],
4789
4910
  2
4790
4911
  )
@@ -5065,7 +5186,7 @@ var staticRenderFns = []
5065
5186
  render._withStripped = true
5066
5187
 
5067
5188
 
5068
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=446ce748&
5189
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3b4925ad&
5069
5190
 
5070
5191
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5071
5192
  var regenerator_ = __webpack_require__(9);
@@ -12420,6 +12541,56 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12420
12541
  //
12421
12542
  //
12422
12543
  //
12544
+ //
12545
+ //
12546
+ //
12547
+ //
12548
+ //
12549
+ //
12550
+ //
12551
+ //
12552
+ //
12553
+ //
12554
+ //
12555
+ //
12556
+ //
12557
+ //
12558
+ //
12559
+ //
12560
+ //
12561
+ //
12562
+ //
12563
+ //
12564
+ //
12565
+ //
12566
+ //
12567
+ //
12568
+ //
12569
+ //
12570
+ //
12571
+ //
12572
+ //
12573
+ //
12574
+ //
12575
+ //
12576
+ //
12577
+ //
12578
+ //
12579
+ //
12580
+ //
12581
+ //
12582
+ //
12583
+ //
12584
+ //
12585
+ //
12586
+ //
12587
+ //
12588
+ //
12589
+ //
12590
+ //
12591
+ //
12592
+ //
12593
+ //
12423
12594
 
12424
12595
 
12425
12596
 
@@ -12571,7 +12742,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12571
12742
  notificationType: [], // 通知方式
12572
12743
  isLimitedTime: '2', // 是否限时办理
12573
12744
  mainSubId: ''
12574
- }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.nodeInfo = {
12745
+ }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.nodeInfo = {
12575
12746
  nextNode: '',
12576
12747
  nextUser: '',
12577
12748
  option: []
@@ -13634,6 +13805,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13634
13805
  }
13635
13806
 
13636
13807
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
13808
+ _this14.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
13637
13809
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
13638
13810
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
13639
13811
  notice.map(function (x) {
@@ -13904,6 +14076,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13904
14076
  _this17.value = _this17.value.replace(RegExp('同意。', 'g'), '');
13905
14077
  _this17.value = val + _this17.value;
13906
14078
  }
14079
+ if (!_this17.validInfo()) return;
13907
14080
  if (_this17.beforeSubmit == undefined) {
13908
14081
  _this17.subFun(_this17.sendData);
13909
14082
  } else {
@@ -13914,19 +14087,51 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13914
14087
  }
13915
14088
  });
13916
14089
  },
13917
- validInfo: function validInfo() {},
14090
+ validInfo: function validInfo() {
14091
+ if (!this.endFlow && this.newTypeCode != 'fenyue' && !this.shrink && this.nextNode.isAddSign != '1' && this.nextNode.isRemoveSign != '1' && this.isSpecial && !this.isReject && this.nodeInfos.length != 0 && this.isNextUser) {
14092
+ if (this.isShowNextUser) {
14093
+ if (this.nextNode.nextUserId == '' || this.multiple && this.nextNode.nextUserId.length == 0) {
14094
+ this.$message.warning('请选择下步办理人');
14095
+ return false;
14096
+ }
14097
+ } else {
14098
+ if (this.nextNode.nextOrgId == '' || this.multiple && this.nextNode.nextOrgId.length == 0) {
14099
+ this.$message.warning('请选择办理对象');
14100
+ return false;
14101
+ }
14102
+ }
14103
+ }
14104
+
14105
+ if (this.nextNode.isAddSign == '1' && this.nextNode.addSignUserId.length == 0) {
14106
+ this.$message.warning('请选择加签办理人');
14107
+ return false;
14108
+ }
14109
+ if (this.nextNode.isRemoveSign == '1' && this.nextNode.removeSignUserId.length == 0) {
14110
+ this.$message.warning('请选择减签办理人');
14111
+ return false;
14112
+ }
14113
+ if (!this.value && this.isOpinionRequired === 1) {
14114
+ this.$message.warning('请选择输入审批意见');
14115
+ return false;
14116
+ }
14117
+ if (this.isHideCurrentOrg && !this.nextNode.nextCurrentOrgObjJson) {
14118
+ this.$message.warning('\u8BF7\u9009\u62E9' + (this.currentOrgName || '本单位'));
14119
+ return false;
14120
+ }
14121
+ return true;
14122
+ },
13918
14123
  sendData: function sendData() {
13919
14124
  var _this18 = this;
13920
14125
 
13921
14126
  this.$refs['nextNode'].validate(function () {
13922
14127
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
13923
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo;
14128
+ var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo, needRetrialAuth;
13924
14129
  return regenerator_default.a.wrap(function _callee$(_context) {
13925
14130
  while (1) {
13926
14131
  switch (_context.prev = _context.next) {
13927
14132
  case 0:
13928
14133
  if (!valid) {
13929
- _context.next = 59;
14134
+ _context.next = 42;
13930
14135
  break;
13931
14136
  }
13932
14137
 
@@ -13938,36 +14143,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13938
14143
  return _context.abrupt('return', _this18.handleVisible = true);
13939
14144
 
13940
14145
  case 3:
13941
- if (!(!_this18.endFlow && _this18.newTypeCode != 'fenyue' && !_this18.shrink && _this18.nextNode.isAddSign != '1' && _this18.nextNode.isRemoveSign != '1' && _this18.isSpecial && !_this18.isReject && _this18.nodeInfos.length != 0 && _this18.isNextUser)) {
13942
- _context.next = 11;
13943
- break;
13944
- }
13945
-
13946
- if (!_this18.isShowNextUser) {
13947
- _context.next = 9;
13948
- break;
13949
- }
13950
-
13951
- if (!(_this18.nextNode.nextUserId == '' || _this18.multiple && _this18.nextNode.nextUserId.length == 0)) {
13952
- _context.next = 7;
13953
- break;
13954
- }
13955
-
13956
- return _context.abrupt('return', _this18.$message.warning('请选择下步办理人'));
13957
-
13958
- case 7:
13959
- _context.next = 11;
13960
- break;
13961
-
13962
- case 9:
13963
- if (!(_this18.nextNode.nextOrgId == '' || _this18.multiple && _this18.nextNode.nextOrgId.length == 0)) {
13964
- _context.next = 11;
13965
- break;
13966
- }
13967
-
13968
- return _context.abrupt('return', _this18.$message.warning('请选择办理对象'));
13969
-
13970
- case 11:
13971
14146
  nextUserId = [];
13972
14147
 
13973
14148
  if (_this18.multiple) {
@@ -13975,23 +14150,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13975
14150
  return nextUserId.push(item);
13976
14151
  });
13977
14152
  }
13978
-
13979
- if (!(_this18.nextNode.isAddSign == '1' && _this18.nextNode.addSignUserId.length == 0)) {
13980
- _context.next = 15;
13981
- break;
13982
- }
13983
-
13984
- return _context.abrupt('return', _this18.$message.warning('请选择加签办理人'));
13985
-
13986
- case 15:
13987
- if (!(_this18.nextNode.isRemoveSign == '1' && _this18.nextNode.removeSignUserId.length == 0)) {
13988
- _context.next = 17;
13989
- break;
13990
- }
13991
-
13992
- return _context.abrupt('return', _this18.$message.warning('请选择减签办理人'));
13993
-
13994
- case 17:
13995
14153
  addSignUserId = [];
13996
14154
 
13997
14155
  if (_this18.isCanAddSign && _this18.nextNode.isAddSign == '1') {
@@ -14006,25 +14164,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14006
14164
  removeSignUserId.push(item);
14007
14165
  });
14008
14166
  }
14009
-
14010
- if (!(!_this18.value && _this18.isOpinionRequired === 1)) {
14011
- _context.next = 24;
14012
- break;
14013
- }
14014
-
14015
- _this18.$message.warning('请选择输入审批意见');
14016
- return _context.abrupt('return');
14017
-
14018
- case 24:
14019
- if (!(_this18.isHideCurrentOrg && !_this18.nextNode.nextCurrentOrgObjJson)) {
14020
- _context.next = 27;
14021
- break;
14022
- }
14023
-
14024
- _this18.$message.warning('\u8BF7\u9009\u62E9' + (_this18.currentOrgName || '本单位'));
14025
- return _context.abrupt('return');
14026
-
14027
- case 27:
14028
14167
  str = '';
14029
14168
 
14030
14169
  if (_this18.value) {
@@ -14044,10 +14183,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14044
14183
  if (_this18.nextNode.nextOperate != 0 && _this18.nextNode.nextOperate != 1) {
14045
14184
  delete _this18.nextNode.nextNodeId;
14046
14185
  }
14047
- _context.next = 35;
14186
+ _context.next = 17;
14048
14187
  return _this18.saveInfo('subMit');
14049
14188
 
14050
- case 35:
14189
+ case 17:
14051
14190
  _this18.loading = util["a" /* default */].loading(_this18.$loading, '加载中...');
14052
14191
 
14053
14192
  notificationType = '';
@@ -14078,7 +14217,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14078
14217
  delete params.addSignUserId;
14079
14218
  }
14080
14219
  _this18.loading = util["a" /* default */].loading(_this18.$loading, '提交中...');
14081
- isEndUserTask = _this18.isEndUserTask, choiceOrgId = _this18.choiceOrgId, choiceDeptId = _this18.choiceDeptId, pOrgId = _this18.pOrgId, taskExamineInfo = _this18.taskExamineInfo;
14220
+ isEndUserTask = _this18.isEndUserTask, choiceOrgId = _this18.choiceOrgId, choiceDeptId = _this18.choiceDeptId, pOrgId = _this18.pOrgId, taskExamineInfo = _this18.taskExamineInfo, needRetrialAuth = _this18.needRetrialAuth;
14082
14221
 
14083
14222
  params.isEndUserTask = isEndUserTask;
14084
14223
  params.choiceOrgId = choiceOrgId;
@@ -14090,6 +14229,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14090
14229
  params.processDefinitionId = taskExamineInfo.processDefinitionId;
14091
14230
  params.isSubFlow = taskExamineInfo.isSubFlow;
14092
14231
  params.nodeId = taskExamineInfo.nodeId;
14232
+ params.needRetrialAuth = needRetrialAuth;
14093
14233
  return _context.abrupt('return', util["a" /* default */].ajax({ url: api["tb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
14094
14234
  var status = res.status,
14095
14235
  message = res.message;
@@ -14109,10 +14249,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14109
14249
  }
14110
14250
  }));
14111
14251
 
14112
- case 59:
14252
+ case 42:
14113
14253
  return _context.abrupt('return', false);
14114
14254
 
14115
- case 60:
14255
+ case 43:
14116
14256
  case 'end':
14117
14257
  return _context.stop();
14118
14258
  }