eoss-ui 0.8.38 → 0.8.40

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 (100) hide show
  1. package/lib/eoss-ui.common.js +1326 -1617
  2. package/lib/flow-group.js +2 -2
  3. package/lib/flow-list.js +83 -22
  4. package/lib/flow.js +874 -763
  5. package/lib/index.js +1 -1
  6. package/lib/selector-panel.js +189 -110
  7. package/lib/selector.js +167 -699
  8. package/lib/theme-chalk/flow-list.css +1 -1
  9. package/lib/theme-chalk/flow.css +1 -1
  10. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  11. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  12. package/lib/theme-chalk/form.css +1 -1
  13. package/lib/theme-chalk/index.css +1 -1
  14. package/lib/theme-chalk/selector-panel.css +1 -1
  15. package/lib/theme-chalk/selector.css +1 -1
  16. package/lib/theme-chalk/tree.css +1 -1
  17. package/package.json +2 -2
  18. package/packages/flow/src/component/taskUnionExamine.vue +821 -771
  19. package/packages/flow/src/flow.vue +4549 -4526
  20. package/packages/flow/src/main.vue +4416 -4411
  21. package/packages/flow/src/selectUser.vue +2 -0
  22. package/packages/flow/src/startTaskRead.vue +718 -718
  23. package/packages/flow-group/src/main.vue +756 -756
  24. package/packages/flow-list/src/main.vue +72 -14
  25. package/packages/selector/src/main.vue +615 -761
  26. package/packages/selector-panel/src/main.vue +1071 -1036
  27. package/packages/selector-panel/src/tree.vue +24 -18
  28. package/packages/theme-chalk/lib/archives.css +1 -0
  29. package/packages/theme-chalk/lib/base.css +1 -0
  30. package/packages/theme-chalk/lib/button-group.css +1 -0
  31. package/packages/theme-chalk/lib/button.css +1 -0
  32. package/packages/theme-chalk/lib/calendar.css +1 -0
  33. package/packages/theme-chalk/lib/calogin.css +0 -0
  34. package/packages/theme-chalk/lib/card.css +1 -0
  35. package/packages/theme-chalk/lib/cascader.css +0 -0
  36. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  37. package/packages/theme-chalk/lib/clients.css +1 -0
  38. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  39. package/packages/theme-chalk/lib/data-table.css +1 -0
  40. package/packages/theme-chalk/lib/date-picker.css +1 -0
  41. package/packages/theme-chalk/lib/dialog.css +1 -0
  42. package/packages/theme-chalk/lib/enable-drag.css +1 -0
  43. package/packages/theme-chalk/lib/enterprise.css +1 -0
  44. package/packages/theme-chalk/lib/error-page.css +1 -0
  45. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  46. package/packages/theme-chalk/lib/flow-group.css +1 -0
  47. package/packages/theme-chalk/lib/flow-list.css +1 -0
  48. package/packages/theme-chalk/lib/flow.css +1 -0
  49. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  50. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  51. package/packages/theme-chalk/lib/form.css +1 -0
  52. package/packages/theme-chalk/lib/handle-user.css +1 -0
  53. package/packages/theme-chalk/lib/handler.css +1 -0
  54. package/packages/theme-chalk/lib/icon.css +1 -0
  55. package/packages/theme-chalk/lib/icons.css +1 -0
  56. package/packages/theme-chalk/lib/index.css +1 -0
  57. package/packages/theme-chalk/lib/input-number.css +0 -0
  58. package/packages/theme-chalk/lib/input.css +1 -0
  59. package/packages/theme-chalk/lib/label.css +1 -0
  60. package/packages/theme-chalk/lib/layout.css +1 -0
  61. package/packages/theme-chalk/lib/login.css +1 -0
  62. package/packages/theme-chalk/lib/main.css +1 -0
  63. package/packages/theme-chalk/lib/menu.css +1 -0
  64. package/packages/theme-chalk/lib/nav.css +1 -0
  65. package/packages/theme-chalk/lib/notify.css +0 -0
  66. package/packages/theme-chalk/lib/page.css +1 -0
  67. package/packages/theme-chalk/lib/pagination.css +1 -0
  68. package/packages/theme-chalk/lib/player.css +1 -0
  69. package/packages/theme-chalk/lib/qr-code.css +1 -0
  70. package/packages/theme-chalk/lib/radio-group.css +1 -0
  71. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  72. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  73. package/packages/theme-chalk/lib/select.css +1 -0
  74. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  75. package/packages/theme-chalk/lib/selector.css +1 -0
  76. package/packages/theme-chalk/lib/simplicity-top.css +1 -0
  77. package/packages/theme-chalk/lib/simplicity.css +1 -0
  78. package/packages/theme-chalk/lib/sizer.css +1 -0
  79. package/packages/theme-chalk/lib/steps.css +1 -0
  80. package/packages/theme-chalk/lib/switch.css +1 -0
  81. package/packages/theme-chalk/lib/table-form.css +0 -0
  82. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  83. package/packages/theme-chalk/lib/tabs.css +1 -0
  84. package/packages/theme-chalk/lib/tips.css +1 -0
  85. package/packages/theme-chalk/lib/toolbar.css +1 -0
  86. package/packages/theme-chalk/lib/tree-group.css +1 -0
  87. package/packages/theme-chalk/lib/tree.css +1 -0
  88. package/packages/theme-chalk/lib/upload.css +1 -0
  89. package/packages/theme-chalk/lib/wujie.css +0 -0
  90. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  91. package/packages/theme-chalk/src/flow-list.scss +61 -55
  92. package/packages/theme-chalk/src/flow.scss +16 -2
  93. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  94. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  95. package/packages/theme-chalk/src/form.scss +5 -1
  96. package/packages/theme-chalk/src/selector-panel.scss +36 -6
  97. package/packages/theme-chalk/src/selector.scss +66 -115
  98. package/packages/theme-chalk/src/tree.scss +1 -1
  99. package/src/index.js +1 -1
  100. package/packages/theme-chalk/gulpfile.js +0 -25
@@ -29337,8 +29337,8 @@ form_src_main.install = function (Vue) {
29337
29337
  };
29338
29338
 
29339
29339
  /* harmony default export */ var packages_form = (form_src_main);
29340
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=723b9982&
29341
- var mainvue_type_template_id_723b9982_render = function () {
29340
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
29341
+ var mainvue_type_template_id_7e2b9e7d_render = function () {
29342
29342
  var _vm = this
29343
29343
  var _h = _vm.$createElement
29344
29344
  var _c = _vm._self._c || _h
@@ -29395,6 +29395,8 @@ var mainvue_type_template_id_723b9982_render = function () {
29395
29395
  on: {
29396
29396
  buttonClick: _vm.handleButtonClick,
29397
29397
  success: _vm.handleNewFlowSuccess,
29398
+ save: _vm.handleNewFlowSave,
29399
+ shrink: _vm.setShrink,
29398
29400
  },
29399
29401
  },
29400
29402
  "FlowNew",
@@ -29451,7 +29453,11 @@ var mainvue_type_template_id_723b9982_render = function () {
29451
29453
  ? "es-icon-shouqi"
29452
29454
  : "es-icon-zhankai",
29453
29455
  },
29454
- on: { click: _vm.setShrink },
29456
+ on: {
29457
+ click: function ($event) {
29458
+ _vm.setShrink(!_vm.shrink)
29459
+ },
29460
+ },
29455
29461
  })
29456
29462
  : _vm._e(),
29457
29463
  ],
@@ -29782,7 +29788,11 @@ var mainvue_type_template_id_723b9982_render = function () {
29782
29788
  ? "es-icon-shouqi"
29783
29789
  : "es-icon-zhankai",
29784
29790
  },
29785
- on: { click: _vm.setShrink },
29791
+ on: {
29792
+ click: function ($event) {
29793
+ _vm.setShrink(!_vm.shrink)
29794
+ },
29795
+ },
29786
29796
  })
29787
29797
  : _vm._e(),
29788
29798
  ],
@@ -32493,11 +32503,11 @@ var mainvue_type_template_id_723b9982_render = function () {
32493
32503
  )
32494
32504
  : _vm._e()
32495
32505
  }
32496
- var mainvue_type_template_id_723b9982_staticRenderFns = []
32497
- mainvue_type_template_id_723b9982_render._withStripped = true
32506
+ var mainvue_type_template_id_7e2b9e7d_staticRenderFns = []
32507
+ mainvue_type_template_id_7e2b9e7d_render._withStripped = true
32498
32508
 
32499
32509
 
32500
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
32510
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
32501
32511
 
32502
32512
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
32503
32513
  var CommonOpinionsvue_type_template_id_8458f882_render = function () {
@@ -33548,8 +33558,8 @@ var CommonOpinions_component = normalizeComponent(
33548
33558
  )
33549
33559
 
33550
33560
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
33551
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=f7d7c7c6&
33552
- var flowvue_type_template_id_f7d7c7c6_render = function () {
33561
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
33562
+ var flowvue_type_template_id_d84c2cd8_render = function () {
33553
33563
  var _vm = this
33554
33564
  var _h = _vm.$createElement
33555
33565
  var _c = _vm._self._c || _h
@@ -33576,7 +33586,10 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
33576
33586
  _c("div", { staticClass: "es-flow-top" }, [
33577
33587
  _c(
33578
33588
  "div",
33579
- { staticClass: "es-flow-title" },
33589
+ {
33590
+ class:
33591
+ "es-flow-title " + (_vm.shrink ? "border_none" : ""),
33592
+ },
33580
33593
  [
33581
33594
  _c(
33582
33595
  "span",
@@ -33708,6 +33721,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
33708
33721
  ? _c(
33709
33722
  "el-select",
33710
33723
  {
33724
+ staticClass: "es-flow-select",
33711
33725
  staticStyle: {
33712
33726
  width: "100% !important",
33713
33727
  },
@@ -33905,7 +33919,11 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
33905
33919
  [
33906
33920
  _c(
33907
33921
  "div",
33908
- { staticClass: "es-flow-title" },
33922
+ {
33923
+ class:
33924
+ "es-flow-title " +
33925
+ (_vm.shrink ? "border_none" : ""),
33926
+ },
33909
33927
  [
33910
33928
  _c(
33911
33929
  "span",
@@ -34249,6 +34267,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
34249
34267
  "el-select",
34250
34268
  {
34251
34269
  key: _vm.optionsKey,
34270
+ staticClass: "es-flow-select",
34252
34271
  staticStyle: {
34253
34272
  width: "calc(100% + 40px)",
34254
34273
  },
@@ -34667,6 +34686,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
34667
34686
  ? _c(
34668
34687
  "el-select",
34669
34688
  {
34689
+ staticClass:
34690
+ "es-flow-select",
34670
34691
  attrs: {
34671
34692
  placeholder:
34672
34693
  "请选择下步操作",
@@ -34789,6 +34810,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
34789
34810
  ? _c(
34790
34811
  "el-select",
34791
34812
  {
34813
+ staticClass:
34814
+ "es-flow-select",
34792
34815
  attrs: {
34793
34816
  placeholder:
34794
34817
  "请选择下步节点",
@@ -34834,6 +34857,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
34834
34857
  "el-option",
34835
34858
  {
34836
34859
  key: items.id,
34860
+ staticClass:
34861
+ "es-flow-select",
34837
34862
  attrs: {
34838
34863
  label:
34839
34864
  items.nodeName,
@@ -35099,6 +35124,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
35099
35124
  _c(
35100
35125
  "el-select",
35101
35126
  {
35127
+ staticClass:
35128
+ "es-flow-select",
35102
35129
  attrs: {
35103
35130
  placeholder:
35104
35131
  "请选择主办",
@@ -35443,7 +35470,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
35443
35470
  ],
35444
35471
  1
35445
35472
  ),
35446
- _vm.isCustomPreset
35473
+ _vm.isCustomPreset && _vm.nextNode.nextOperate != 9
35447
35474
  ? _c("CustomPreset", {
35448
35475
  ref: "customPreset",
35449
35476
  attrs: {
@@ -35758,79 +35785,89 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
35758
35785
  1
35759
35786
  )
35760
35787
  : _vm._e(),
35761
- _vm.btnType === "reject"
35762
- ? _c("ProcessReject", {
35763
- ref: "reject",
35764
- staticClass: "es-info",
35765
- attrs: {
35766
- "pending-id": _vm.pendingId,
35767
- option: _vm.value,
35768
- hideBtn: "",
35769
- showTooltip: _vm.showTooltip,
35770
- simpleTips: _vm.simpleTips,
35771
- flowLabelConfig: _vm.flowLabelConfig,
35772
- isCancelSecondConfirmationType:
35773
- _vm.isCancelSecondConfirmationType,
35774
- hideMessage: _vm.hideMessage,
35775
- "show-reject": _vm.showReject,
35776
- "news-info": _vm.nextNode.notificationMsg,
35777
- },
35778
- on: {
35779
- cancel: function ($event) {
35780
- _vm.closeProcess($event, "showReject")
35781
- },
35782
- },
35783
- })
35784
- : _vm.btnType === "toStartTaskRead" ||
35785
- _vm.btnType === "toTaskReadAndEnd"
35786
- ? _c("StartTaskRead", {
35787
- ref: _vm.btnType,
35788
- staticClass: "es-info",
35789
- attrs: {
35790
- "pending-id": _vm.pendingId,
35791
- hideBtn: "",
35792
- opinion: _vm.value,
35793
- type: _vm.taskReadType,
35794
- resetAppId: _vm.resetAppId,
35795
- showTooltip: _vm.showTooltip,
35796
- flowLabelConfig: _vm.flowLabelConfig,
35797
- hideMessage: _vm.hideMessage,
35798
- selectorConfig: _vm.selectorConfig,
35799
- simpleTips: _vm.simpleTips,
35800
- subParams: _vm.subParams,
35801
- taskExamine: _vm.taskExamineInfo,
35802
- "news-info": _vm.nextNode.notificationMsg,
35803
- },
35804
- on: {
35805
- cancel: function ($event) {
35806
- _vm.closeProcess($event, "showTaskRead")
35807
- },
35808
- },
35809
- })
35810
- : _vm.btnType === "toTakeAdvice" ||
35811
- _vm.btnType === "toUnionExamine" ||
35812
- _vm.btnType === "toStartDraf"
35813
- ? _c("TaskUnionExamine", {
35814
- ref: _vm.btnType,
35815
- staticClass: "es-info",
35816
- attrs: {
35817
- hideBtn: "",
35818
- simpleTips: _vm.simpleTips,
35819
- pendingId: _vm.pendingId,
35820
- defaultOpinion: _vm.nodeDefaultSubmitOpinion,
35821
- oldOption: _vm.value,
35822
- selectorParams: _vm.selectorParams,
35823
- type: _vm.flowType,
35824
- multiple: _vm.flowMultiple,
35825
- disabled: _vm.flowDisabled,
35826
- },
35827
- on: {
35828
- cancel: function ($event) {
35829
- _vm.closeProcess($event, "showTaskUnionExamine")
35830
- },
35831
- },
35832
- })
35833
- : _vm._e(),
35788
+ _c(
35789
+ "div",
35790
+ { staticClass: "es-info" },
35791
+ [
35792
+ _vm.btnType === "reject"
35793
+ ? _c("ProcessReject", {
35794
+ ref: "reject",
35795
+ staticClass: "es-info",
35796
+ attrs: {
35797
+ "pending-id": _vm.pendingId,
35798
+ option: _vm.value,
35799
+ hideBtn: "",
35800
+ showTooltip: _vm.showTooltip,
35801
+ simpleTips: _vm.simpleTips,
35802
+ flowLabelConfig: _vm.flowLabelConfig,
35803
+ isCancelSecondConfirmationType:
35804
+ _vm.isCancelSecondConfirmationType,
35805
+ hideMessage: _vm.hideMessage,
35806
+ "show-reject": _vm.showReject,
35807
+ "news-info": _vm.nextNode.notificationMsg,
35808
+ },
35809
+ on: {
35810
+ cancel: function ($event) {
35811
+ _vm.closeProcess($event, "showReject")
35812
+ },
35813
+ },
35814
+ })
35815
+ : _vm.btnType === "toStartTaskRead" ||
35816
+ _vm.btnType === "toTaskReadAndEnd" ||
35817
+ _vm.btnType === "toTransfer"
35818
+ ? _c("StartTaskRead", {
35819
+ ref: _vm.btnType,
35820
+ staticClass: "es-info",
35821
+ attrs: {
35822
+ "pending-id": _vm.pendingId,
35823
+ hideBtn: "",
35824
+ opinion: _vm.value,
35825
+ type: _vm.taskReadType,
35826
+ resetAppId: _vm.resetAppId,
35827
+ showTooltip: _vm.showTooltip,
35828
+ flowLabelConfig: _vm.flowLabelConfig,
35829
+ hideMessage: _vm.hideMessage,
35830
+ selectorConfig: _vm.selectorConfig,
35831
+ simpleTips: _vm.simpleTips,
35832
+ subParams: _vm.subParams,
35833
+ taskExamine: _vm.taskExamineInfo,
35834
+ "news-info": _vm.nextNode.notificationMsg,
35835
+ },
35836
+ on: {
35837
+ cancel: function ($event) {
35838
+ _vm.closeProcess($event, "showTaskRead")
35839
+ },
35840
+ },
35841
+ })
35842
+ : _vm.btnType === "toTakeAdvice" ||
35843
+ _vm.btnType === "toUnionExamine" ||
35844
+ _vm.btnType === "toStartDraf"
35845
+ ? _c("TaskUnionExamine", {
35846
+ ref: _vm.btnType,
35847
+ staticClass: "es-info",
35848
+ attrs: {
35849
+ hideBtn: "",
35850
+ simpleTips: _vm.simpleTips,
35851
+ pendingId: _vm.pendingId,
35852
+ defaultOpinion: _vm.nodeDefaultSubmitOpinion,
35853
+ oldOption: _vm.value,
35854
+ isCancelSecondConfirmationType:
35855
+ _vm.isCancelSecondConfirmationType,
35856
+ selectorParams: _vm.selectorParams,
35857
+ type: _vm.flowType,
35858
+ multiple: _vm.flowMultiple,
35859
+ disabled: _vm.flowDisabled,
35860
+ },
35861
+ on: {
35862
+ cancel: function ($event) {
35863
+ _vm.closeProcess($event, "showTaskUnionExamine")
35864
+ },
35865
+ },
35866
+ })
35867
+ : _vm._e(),
35868
+ ],
35869
+ 1
35870
+ ),
35834
35871
  _vm.newTypeCode != "fenyue" && !_vm.shrink
35835
35872
  ? _c(
35836
35873
  "div",
@@ -36463,11 +36500,11 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
36463
36500
  )
36464
36501
  : _vm._e()
36465
36502
  }
36466
- var flowvue_type_template_id_f7d7c7c6_staticRenderFns = []
36467
- flowvue_type_template_id_f7d7c7c6_render._withStripped = true
36503
+ var flowvue_type_template_id_d84c2cd8_staticRenderFns = []
36504
+ flowvue_type_template_id_d84c2cd8_render._withStripped = true
36468
36505
 
36469
36506
 
36470
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=f7d7c7c6&
36507
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
36471
36508
 
36472
36509
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=template&id=5f07a050&
36473
36510
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -38140,8 +38177,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
38140
38177
 
38141
38178
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
38142
38179
 
38143
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
38144
- var selectUservue_type_template_id_3a5614a4_render = function () {
38180
+ // 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=08827ac3&
38181
+ var selectUservue_type_template_id_08827ac3_render = function () {
38145
38182
  var _vm = this
38146
38183
  var _h = _vm.$createElement
38147
38184
  var _c = _vm._self._c || _h
@@ -38262,6 +38299,7 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
38262
38299
  title: _vm.title,
38263
38300
  showFilterListDep: false,
38264
38301
  reset: "",
38302
+ destroyOnClose: "",
38265
38303
  classify: _vm.classify,
38266
38304
  "collapse-tags": _vm.selectorTags,
38267
38305
  mix: _vm.mix,
@@ -38303,11 +38341,11 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
38303
38341
  1
38304
38342
  )
38305
38343
  }
38306
- var selectUservue_type_template_id_3a5614a4_staticRenderFns = []
38307
- selectUservue_type_template_id_3a5614a4_render._withStripped = true
38344
+ var selectUservue_type_template_id_08827ac3_staticRenderFns = []
38345
+ selectUservue_type_template_id_08827ac3_render._withStripped = true
38308
38346
 
38309
38347
 
38310
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=3a5614a4&
38348
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
38311
38349
 
38312
38350
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
38313
38351
  var selectUservue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -38415,6 +38453,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38415
38453
  //
38416
38454
  //
38417
38455
  //
38456
+ //
38418
38457
 
38419
38458
 
38420
38459
 
@@ -38720,6 +38759,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38720
38759
  getSelectUser: function getSelectUser(val) {
38721
38760
  var _this4 = this;
38722
38761
 
38762
+ console.log(val, 'val');
38723
38763
  this.newOptions = [];
38724
38764
  var data = {};
38725
38765
  if (this.mix) data = this.getMixList();
@@ -38838,8 +38878,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38838
38878
 
38839
38879
  var selectUser_component = normalizeComponent(
38840
38880
  src_selectUservue_type_script_lang_js_,
38841
- selectUservue_type_template_id_3a5614a4_render,
38842
- selectUservue_type_template_id_3a5614a4_staticRenderFns,
38881
+ selectUservue_type_template_id_08827ac3_render,
38882
+ selectUservue_type_template_id_08827ac3_staticRenderFns,
38843
38883
  false,
38844
38884
  null,
38845
38885
  null,
@@ -45775,8 +45815,8 @@ var reset_component = normalizeComponent(
45775
45815
  )
45776
45816
 
45777
45817
  /* harmony default export */ var src_reset = (reset_component.exports);
45778
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
45779
- var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
45818
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0724a5af&
45819
+ var taskUnionExaminevue_type_template_id_0724a5af_render = function () {
45780
45820
  var _vm = this
45781
45821
  var _h = _vm.$createElement
45782
45822
  var _c = _vm._self._c || _h
@@ -46081,7 +46121,7 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
46081
46121
  [
46082
46122
  _c(
46083
46123
  "el-button",
46084
- { attrs: { type: "primary" }, on: { click: _vm.subMit } },
46124
+ { attrs: { type: "primary" }, on: { click: _vm.subProcess } },
46085
46125
  [_vm._v(" 确定 ")]
46086
46126
  ),
46087
46127
  _c("el-button", { on: { click: _vm.quit } }, [_vm._v(" 取消 ")]),
@@ -46092,11 +46132,11 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
46092
46132
  1
46093
46133
  )
46094
46134
  }
46095
- var taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns = []
46096
- taskUnionExaminevue_type_template_id_f2f9c652_render._withStripped = true
46135
+ var taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns = []
46136
+ taskUnionExaminevue_type_template_id_0724a5af_render._withStripped = true
46097
46137
 
46098
46138
 
46099
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=f2f9c652&
46139
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0724a5af&
46100
46140
 
46101
46141
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
46102
46142
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -46294,6 +46334,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
46294
46334
  simpleTips: { type: Boolean, default: true },
46295
46335
  multiple: { type: Boolean, default: true },
46296
46336
  hideBtn: { type: Boolean, default: false },
46337
+ isCancelSecondConfirmationType: { type: Boolean, default: false },
46297
46338
  selectorParams: {
46298
46339
  type: Object,
46299
46340
  default: function _default() {
@@ -46362,6 +46403,16 @@ var taskUnionExaminevue_type_script_lang_js_components;
46362
46403
  };
46363
46404
  }
46364
46405
  },
46406
+ watch: {
46407
+ oldOption: {
46408
+ handler: function handler(val) {
46409
+ this.opinion = val;
46410
+ },
46411
+
46412
+ immediate: true,
46413
+ deep: true
46414
+ }
46415
+ },
46365
46416
  mounted: function mounted() {
46366
46417
  this.loading = true;
46367
46418
  this.newMultiple = this.multiple;
@@ -46603,10 +46654,42 @@ var taskUnionExaminevue_type_script_lang_js_components;
46603
46654
  });
46604
46655
  },
46605
46656
  subProcess: function subProcess() {
46606
- this.subMit();
46657
+ var _this4 = this;
46658
+
46659
+ if (this.type === 'taskReview') return this.subTaskReview();
46660
+ var _infoList2 = this.infoList,
46661
+ nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
46662
+ nextOtherOrgObj = _infoList2.nextOtherOrgObj,
46663
+ isOpinionRequired = this.isOpinionRequired,
46664
+ opinion = this.opinion,
46665
+ type = this.type,
46666
+ isHideOtherOrg = this.isHideOtherOrg,
46667
+ isHideCurrentOrg = this.isHideCurrentOrg;
46668
+
46669
+ if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
46670
+ return this.$message.warning('请选择处理对象!');
46671
+ } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
46672
+ return this.$message.warning('请选择处理对象!');
46673
+ }
46674
+
46675
+ if (isOpinionRequired == 1 && (opinion == '' || opinion == null)) {
46676
+ return this.$message.warning('当前步骤必须输入意见!');
46677
+ }
46678
+ if (this.isCancelSecondConfirmationType) {
46679
+ this.$confirm('确认提交吗?', '提示', {
46680
+ confirmButtonText: '确定',
46681
+ cancelButtonText: '取消',
46682
+ type: 'warning'
46683
+ }).then(function () {
46684
+ _this4.subMit();
46685
+ }).catch(function () {});
46686
+ } else {
46687
+ this.subMit();
46688
+ }
46689
+ ;
46607
46690
  },
46608
46691
  subMit: function subMit() {
46609
- var _this4 = this;
46692
+ var _this5 = this;
46610
46693
 
46611
46694
  // if (
46612
46695
  // this.infoList.nextOtherOrgObjName == '' ||
@@ -46614,12 +46697,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
46614
46697
  // )
46615
46698
  // return this.$message.warning('请选择联合单位');
46616
46699
  if (this.type === 'taskReview') return this.subTaskReview();
46617
- var _infoList2 = this.infoList,
46618
- nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
46619
- nextOtherOrgObj = _infoList2.nextOtherOrgObj,
46620
- noticeType = _infoList2.noticeType,
46621
- customLimitTime = _infoList2.customLimitTime,
46622
- noticeInfo = _infoList2.noticeInfo,
46700
+ var _infoList3 = this.infoList,
46701
+ nextCurrentOrgObj = _infoList3.nextCurrentOrgObj,
46702
+ nextOtherOrgObj = _infoList3.nextOtherOrgObj,
46703
+ noticeType = _infoList3.noticeType,
46704
+ customLimitTime = _infoList3.customLimitTime,
46705
+ noticeInfo = _infoList3.noticeInfo,
46623
46706
  isOpinionRequired = this.isOpinionRequired,
46624
46707
  opinion = this.opinion,
46625
46708
  type = this.type,
@@ -46630,8 +46713,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
46630
46713
  isSubFlow = this.isSubFlow,
46631
46714
  pendingId = this.pendingId;
46632
46715
 
46633
- console.log(nextCurrentOrgObj);
46634
- console.log(nextOtherOrgObj);
46635
46716
  if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
46636
46717
  return this.$message.warning('请选择处理对象!');
46637
46718
  } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
@@ -46664,7 +46745,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
46664
46745
  };
46665
46746
  if (this.enableCustomLimitTimeSetting) {
46666
46747
  param.data.customLimitTime = customLimitTime;
46667
- console.log(this.validate(), 'this.validate()');
46668
46748
  if (!this.validate()) return;
46669
46749
  }
46670
46750
  this.loading = true;
@@ -46672,17 +46752,17 @@ var taskUnionExaminevue_type_script_lang_js_components;
46672
46752
  var message = res.message,
46673
46753
  status = res.status;
46674
46754
 
46675
- _this4.loading = false;
46755
+ _this5.loading = false;
46676
46756
  if (status == 'success') {
46677
- _this4.simpleTips && _this4.$message.success('提交成功');
46678
- _this4.quit(true);
46757
+ _this5.simpleTips && _this5.$message.success('提交成功');
46758
+ _this5.quit(true);
46679
46759
  } else {
46680
- _this4.$message.error(message || '系统错误,请联系管理员!');
46760
+ _this5.$message.error(message || '系统错误,请联系管理员!');
46681
46761
  }
46682
46762
  }).catch(function (err) {
46683
- _this4.loading = false;
46763
+ _this5.loading = false;
46684
46764
  if (err.message && err.message !== 'canceled') {
46685
- _this4.$message.error(err.message);
46765
+ _this5.$message.error(err.message);
46686
46766
  }
46687
46767
  });
46688
46768
  },
@@ -46715,7 +46795,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
46715
46795
  this.infoList[type] = newNextUser.join('|');
46716
46796
  },
46717
46797
  getNodeType: function getNodeType() {
46718
- var _this5 = this;
46798
+ var _this6 = this;
46719
46799
 
46720
46800
  utils_util.ajax({
46721
46801
  url: findCodeValues,
@@ -46728,39 +46808,39 @@ var taskUnionExaminevue_type_script_lang_js_components;
46728
46808
  var status = res.status,
46729
46809
  data = res.data;
46730
46810
 
46731
- _this5.loading = false;
46811
+ _this6.loading = false;
46732
46812
  if (status === 'success') {
46733
- _this5.infoList.noticeList = data;
46813
+ _this6.infoList.noticeList = data;
46734
46814
  }
46735
46815
  }).catch(function (err) {
46736
- _this5.loading = false;
46816
+ _this6.loading = false;
46737
46817
  if (err.message && err.message !== 'canceled') {
46738
- _this5.$message.error(err.message);
46818
+ _this6.$message.error(err.message);
46739
46819
  }
46740
46820
  });
46741
46821
  },
46742
46822
 
46743
46823
  //获取通知信息
46744
46824
  getMessage: function getMessage() {
46745
- var _this6 = this;
46825
+ var _this7 = this;
46746
46826
 
46747
46827
  var params = {
46748
46828
  pendingId: this.pendingId
46749
46829
  };
46750
46830
  utils_util.ajax({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
46751
46831
  if (res.status === 'success') {
46752
- _this6.infoList.noticeInfo = res.message;
46832
+ _this7.infoList.noticeInfo = res.message;
46753
46833
  }
46754
- _this6.loading = false;
46834
+ _this7.loading = false;
46755
46835
  }).catch(function (err) {
46756
- _this6.loading = false;
46836
+ _this7.loading = false;
46757
46837
  if (err.message && err.message !== 'canceled') {
46758
- _this6.$message.error(err.message);
46838
+ _this7.$message.error(err.message);
46759
46839
  }
46760
46840
  });
46761
46841
  },
46762
46842
  getFind: function getFind() {
46763
- var _this7 = this;
46843
+ var _this8 = this;
46764
46844
 
46765
46845
  utils_util.ajax({
46766
46846
  url: findSysCodes
@@ -46769,24 +46849,24 @@ var taskUnionExaminevue_type_script_lang_js_components;
46769
46849
  message = res.message;
46770
46850
 
46771
46851
  if (status === 'success') {
46772
- if (_this7.hideMessage) return;
46773
- _this7.infoList.noticeType = message.split(',');
46852
+ if (_this8.hideMessage) return;
46853
+ _this8.infoList.noticeType = message.split(',');
46774
46854
  var arr = [];
46775
- _this7.infoList.noticeList.map(function (item) {
46776
- _this7.infoList.noticeType.map(function (x) {
46855
+ _this8.infoList.noticeList.map(function (item) {
46856
+ _this8.infoList.noticeType.map(function (x) {
46777
46857
  if (x == item.cciValue) {
46778
46858
  arr.push(x);
46779
46859
  }
46780
46860
  });
46781
46861
  });
46782
- _this7.infoList.noticeType = arr;
46862
+ _this8.infoList.noticeType = arr;
46783
46863
  } else {
46784
- _this7.$message.error(message || '系统错误,请联系管理员!');
46864
+ _this8.$message.error(message || '系统错误,请联系管理员!');
46785
46865
  }
46786
46866
  }).catch(function (err) {
46787
- _this7.loading = false;
46867
+ _this8.loading = false;
46788
46868
  if (err.message && err.message !== 'canceled') {
46789
- _this7.$message.error(err.message);
46869
+ _this8.$message.error(err.message);
46790
46870
  }
46791
46871
  });
46792
46872
  }
@@ -46804,8 +46884,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
46804
46884
 
46805
46885
  var taskUnionExamine_component = normalizeComponent(
46806
46886
  component_taskUnionExaminevue_type_script_lang_js_,
46807
- taskUnionExaminevue_type_template_id_f2f9c652_render,
46808
- taskUnionExaminevue_type_template_id_f2f9c652_staticRenderFns,
46887
+ taskUnionExaminevue_type_template_id_0724a5af_render,
46888
+ taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns,
46809
46889
  false,
46810
46890
  null,
46811
46891
  null,
@@ -54645,6 +54725,16 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54645
54725
  //
54646
54726
  //
54647
54727
  //
54728
+ //
54729
+ //
54730
+ //
54731
+ //
54732
+ //
54733
+ //
54734
+ //
54735
+ //
54736
+ //
54737
+ //
54648
54738
 
54649
54739
 
54650
54740
 
@@ -54875,6 +54965,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54875
54965
  nextNodeList: [],
54876
54966
  removeUsers: [],
54877
54967
  options: [],
54968
+ configInfo: {},
54878
54969
  params: {
54879
54970
  filid: 'all', //选择范围(my:本单位/ "" or all:全部)
54880
54971
  selectmix: 'true1',
@@ -55400,7 +55491,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55400
55491
  },
55401
55492
  setShrink: function setShrink() {
55402
55493
  this.shrink = !this.shrink;
55403
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
55494
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
55404
55495
  this.$emit('shrink', this.shrink);
55405
55496
  },
55406
55497
  customLoading: function customLoading(type) {
@@ -55597,23 +55688,24 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55597
55688
  });
55598
55689
  },
55599
55690
 
55600
- /**
55601
- * saveInfo
55602
- * @desc:暂存
55603
- * @author liufan
55604
- * @date 2022年9月9日
55691
+ /**
55692
+ * saveInfo
55693
+ * @desc:暂存
55694
+ * @author liufan
55695
+ * @date 2022年9月9日
55605
55696
  **/
55606
55697
  saveInfo: function saveInfo(type, btn) {
55607
55698
  var _this14 = this;
55608
55699
 
55609
55700
  if (this.isFlow) {
55610
55701
  if (!type) {
55702
+ console.log(btn);
55611
55703
  if (btn && btn.before) {
55612
55704
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
55613
55705
  _this14.$emit('save', _this14.businessIds);
55614
55706
  }).catch(function (e) {});
55615
55707
  } else if (this.beforeSubmit != undefined) {
55616
- this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
55708
+ this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
55617
55709
  _this14.$emit('save', _this14.businessIds);
55618
55710
  }).catch(function (e) {});
55619
55711
  } else {
@@ -55663,11 +55755,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55663
55755
  });
55664
55756
  },
55665
55757
 
55666
- /**
55667
- * rejectBtn
55668
- * @desc:点击驳回
55669
- * @author liufan
55670
- * @date 2022年5月25日
55758
+ /**
55759
+ * rejectBtn
55760
+ * @desc:点击驳回
55761
+ * @author liufan
55762
+ * @date 2022年5月25日
55671
55763
  **/
55672
55764
  rejectBtn: function rejectBtn(res) {
55673
55765
  var _this16 = this;
@@ -55687,16 +55779,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55687
55779
  }
55688
55780
  },
55689
55781
 
55690
- /**
55691
- * taskReadBtn
55692
- * @desc:点击分阅
55693
- * @author liufan
55694
- * @date 2022年5月25日
55782
+ /**
55783
+ * taskReadBtn
55784
+ * @desc:点击分阅
55785
+ * @author liufan
55786
+ * @date 2022年5月25日
55695
55787
  **/
55696
55788
  taskReadBtn: function taskReadBtn(res) {
55697
55789
  var _this17 = this;
55698
55790
 
55699
55791
  // return this.$message.warning('暂未开放!敬请期待');
55792
+
55700
55793
  this.btnType = '';
55701
55794
  setTimeout(function () {
55702
55795
  if (_this17.beforeSubmit != undefined) {
@@ -55715,11 +55808,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55715
55808
  }, 0);
55716
55809
  },
55717
55810
 
55718
- /**
55719
- * getFind
55720
- * @desc:获取通知方式
55721
- * @author liufan
55722
- * @date 2022年5月25日
55811
+ /**
55812
+ * getFind
55813
+ * @desc:获取通知方式
55814
+ * @author liufan
55815
+ * @date 2022年5月25日
55723
55816
  **/
55724
55817
  getFind: function getFind() {
55725
55818
  var _this18 = this;
@@ -55786,12 +55879,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55786
55879
  });
55787
55880
  },
55788
55881
 
55789
- /**
55790
- * endFlows
55791
- * @desc:直接办结
55792
- * @author liufan
55793
- * @param {Object} res 直接办结数据
55794
- * @date 2022年5月25日
55882
+ /**
55883
+ * endFlows
55884
+ * @desc:直接办结
55885
+ * @author liufan
55886
+ * @param {Object} res 直接办结数据
55887
+ * @date 2022年5月25日
55795
55888
  **/
55796
55889
  endFlows: function endFlows(res) {
55797
55890
  var _this20 = this;
@@ -55805,9 +55898,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55805
55898
  }
55806
55899
  },
55807
55900
 
55808
- /**
55809
- * 获取弹性布局样式
55810
- * @returns {string} 弹性布局值
55901
+ /**
55902
+ * 获取弹性布局样式
55903
+ * @returns {string} 弹性布局值
55811
55904
  */
55812
55905
  getFlexStyle: function getFlexStyle() {
55813
55906
  var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
@@ -55855,12 +55948,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55855
55948
  }).catch(function (e) {});
55856
55949
  },
55857
55950
 
55858
- /**
55859
- * goView
55860
- * @desc:更多流程按钮操作
55861
- * @author liufan
55862
- * @param {Object} res 当前点击操作按钮数据
55863
- * @date 2022年5月25日
55951
+ /**
55952
+ * goView
55953
+ * @desc:更多流程按钮操作
55954
+ * @author liufan
55955
+ * @param {Object} res 当前点击操作按钮数据
55956
+ * @date 2022年5月25日
55864
55957
  **/
55865
55958
  goView: function goView(res) {
55866
55959
  // 驳回并办结:rejectAndEndHtml
@@ -55951,11 +56044,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55951
56044
  // isCanStartSubFlow
55952
56045
  },
55953
56046
 
55954
- /**
55955
- * toTakeAdvice
55956
- * @desc:征求意见
55957
- * @author liufan
55958
- * @date 2022年9月29日
56047
+ /**
56048
+ * toTakeAdvice
56049
+ * @desc:征求意见
56050
+ * @author liufan
56051
+ * @date 2022年9月29日
55959
56052
  **/
55960
56053
  toTakeAdvice: function toTakeAdvice(res) {
55961
56054
  var _this22 = this;
@@ -56003,11 +56096,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56003
56096
  });
56004
56097
  },
56005
56098
 
56006
- /**
56007
- * toStartDraf
56008
- * @desc: 稿件递送、联合审核、复核
56009
- * @author liufan
56010
- * @date 2022年9月29日
56099
+ /**
56100
+ * toStartDraf
56101
+ * @desc: 稿件递送、联合审核、复核
56102
+ * @author liufan
56103
+ * @date 2022年9月29日
56011
56104
  **/
56012
56105
  toStartDraf: function toStartDraf(res) {
56013
56106
  var _this24 = this;
@@ -56030,11 +56123,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56030
56123
  }
56031
56124
  },
56032
56125
 
56033
- /**
56034
- * toSendMsg
56035
- * @desc:核稿通知
56036
- * @author liufan
56037
- * @date 2022年9月29日
56126
+ /**
56127
+ * toSendMsg
56128
+ * @desc:核稿通知
56129
+ * @author liufan
56130
+ * @date 2022年9月29日
56038
56131
  **/
56039
56132
  toSendMsg: function toSendMsg(res) {
56040
56133
  var _this25 = this;
@@ -56047,57 +56140,66 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56047
56140
  this.showSendMsg = true;
56048
56141
  }
56049
56142
  },
56143
+ isLoadRead: function isLoadRead() {
56144
+ var _this26 = this;
56050
56145
 
56051
- /**
56052
- * toTaskReadAndEnd
56053
- * @desc:分阅并办结
56054
- * @author liufan
56055
- * @date 2022年9月29日
56146
+ var funs = this.typeList.map(function (item) {
56147
+ return _this26.btnFunValue(item.fun);
56148
+ });
56149
+ return funs.includes('toStartTaskRead') && funs.includes('toTaskReadAndEnd');
56150
+ },
56151
+
56152
+
56153
+ /**
56154
+ * toTaskReadAndEnd
56155
+ * @desc:分阅并办结
56156
+ * @author liufan
56157
+ * @date 2022年9月29日
56056
56158
  **/
56057
56159
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
56058
- var _this26 = this;
56160
+ var _this27 = this;
56059
56161
 
56060
56162
  this.btnType = '';
56061
56163
  setTimeout(function () {
56062
- if (_this26.beforeSubmit != undefined) {
56063
- _this26.beforeSubmit().then(function (next) {
56064
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
56065
- _this26.taskReadType = 'taskReadAndEnd';
56066
- _this26.btnType = _this26.btnFunValue(res.fun);
56164
+ if (_this27.beforeSubmit != undefined) {
56165
+ _this27.beforeSubmit().then(function (next) {
56166
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
56167
+ _this27.taskReadType = 'taskReadAndEnd';
56168
+ _this27.btnType = _this27.btnFunValue(res.fun);
56067
56169
 
56068
56170
  // this.showTaskRead = true;
56069
56171
  }).catch(function (e) {});
56070
56172
  } else {
56071
- if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
56072
- _this26.taskReadType = 'taskReadAndEnd';
56073
- _this26.btnType = _this26.btnFunValue(res.fun);
56173
+ if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
56174
+ _this27.taskReadType = 'taskReadAndEnd';
56175
+ _this27.btnType = _this27.btnFunValue(res.fun);
56074
56176
  // this.showTaskRead = true;
56075
56177
  }
56076
56178
  }, 0);
56077
56179
  },
56078
56180
 
56079
- /**
56080
- * rejectAndEnd
56081
- * @desc:驳回并办结
56082
- * @author liufan
56083
- * @date 2022年9月29日
56181
+ /**
56182
+ * rejectAndEnd
56183
+ * @desc:驳回并办结
56184
+ * @author liufan
56185
+ * @date 2022年9月29日
56084
56186
  **/
56085
56187
  rejectAndEnd: function rejectAndEnd(res) {
56086
- var _this27 = this;
56188
+ var _this28 = this;
56087
56189
 
56088
56190
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
56089
56191
  if (!this.$refs.commonOpinions.validate()) return;
56090
56192
  }
56091
56193
  if (this.beforeSubmit != undefined) {
56092
56194
  this.beforeSubmit().then(function (next) {
56093
- _this27.saveRejectAndEnd(res);
56195
+ _this28.saveRejectAndEnd(res);
56094
56196
  }).catch(function (e) {});
56095
56197
  } else {
56096
56198
  this.saveRejectAndEnd(res);
56097
56199
  }
56098
56200
  },
56099
56201
  saveRejectAndEnd: function saveRejectAndEnd(res) {
56100
- var _this28 = this;
56202
+ var _this29 = this;
56101
56203
 
56102
56204
  this.$confirm('确认' + res.value + '?').then(function () {
56103
56205
  // return this.$message.warning('请填写意见');
@@ -56106,29 +56208,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56106
56208
  headers: { Accept: 'application/json,text/plain' },
56107
56209
  method: 'post',
56108
56210
  data: {
56109
- opinion: _this28.value,
56110
- pendingId: _this28.pendingId,
56211
+ opinion: _this29.value,
56212
+ pendingId: _this29.pendingId,
56111
56213
  isSinglePage: false
56112
56214
  }
56113
56215
  };
56114
- _this28.loading = utils_util.loading(_this28.$loading, '加载中...');
56216
+ _this29.loading = utils_util.loading(_this29.$loading, '加载中...');
56115
56217
  utils_util.ajax(params).then(function (res) {
56116
56218
  var status = res.status,
56117
56219
  message = res.message;
56118
56220
 
56119
- _this28.loading.close();
56221
+ _this29.loading.close();
56120
56222
  if (status === 'success') {
56121
- _this28.flowSuccess();
56223
+ _this29.flowSuccess();
56122
56224
  // this.$message.success('提交成功');
56123
56225
  // this.$emit('success');
56124
56226
  } else {
56125
- _this28.$message.error(message || '系统错误,请联系管理员!');
56126
- _this28.$emit('error');
56227
+ _this29.$message.error(message || '系统错误,请联系管理员!');
56228
+ _this29.$emit('error');
56127
56229
  }
56128
56230
  }).catch(function (err) {
56129
- _this28.loading.close();
56231
+ _this29.loading.close();
56130
56232
  if (err.message && err.message !== 'canceled') {
56131
- _this28.$message.error(err.message);
56233
+ _this29.$message.error(err.message);
56132
56234
  }
56133
56235
  });
56134
56236
  }).catch(function () {
@@ -56136,37 +56238,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56136
56238
  });
56137
56239
  },
56138
56240
 
56139
- /**
56140
- * toTransfer
56141
- * @desc:转办
56142
- * @author liufan
56143
- * @date 2022年9月29日
56241
+ /**
56242
+ * toTransfer
56243
+ * @desc:转办
56244
+ * @author liufan
56245
+ * @date 2022年9月29日
56144
56246
  **/
56145
56247
  toTransfer: function toTransfer(res) {
56146
- var _this29 = this;
56248
+ var _this30 = this;
56147
56249
 
56148
- if (this.beforeSubmit != undefined) {
56149
- this.beforeSubmit(0).then(function (next) {
56150
- _this29.taskReadType = 'transfer';
56151
- _this29.showTaskRead = true;
56152
- }).catch(function (e) {});
56153
- } else {
56154
- this.taskReadType = 'transfer';
56155
- this.showTaskRead = true;
56156
- }
56250
+ this.btnType = '';
56251
+ setTimeout(function () {
56252
+ if (_this30.beforeSubmit != undefined) {
56253
+ _this30.beforeSubmit(0).then(function (next) {
56254
+ _this30.taskReadType = 'transfer';
56255
+ // this.showTaskRead = true;
56256
+ _this30.btnType = _this30.btnFunValue(res.fun);
56257
+ }).catch(function (e) {});
56258
+ } else {
56259
+ _this30.taskReadType = 'transfer';
56260
+ _this30.btnType = _this30.btnFunValue(res.fun);
56261
+ // this.showTaskRead = true;
56262
+ }
56263
+ }, 0);
56157
56264
  },
56158
56265
  handleChangeTime: function handleChangeTime(val) {
56159
56266
  this.nextNode.customLimitTime = val;
56160
56267
  },
56161
56268
 
56162
- /**
56163
- * getNodeInfo
56164
- * @desc:获取节点信息
56165
- * @author liufan
56166
- * @date 2022年5月25日
56269
+ /**
56270
+ * getNodeInfo
56271
+ * @desc:获取节点信息
56272
+ * @author liufan
56273
+ * @date 2022年5月25日
56167
56274
  **/
56168
56275
  getNodeInfo: function getNodeInfo() {
56169
- var _this30 = this;
56276
+ var _this31 = this;
56170
56277
 
56171
56278
  var params = {
56172
56279
  processDefinitionId: this.nodeInfo.nextNode,
@@ -56181,21 +56288,21 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56181
56288
  message = res.message,
56182
56289
  data = res.data;
56183
56290
 
56184
- _this30.loading.close();
56291
+ _this31.loading.close();
56185
56292
  if (status === 'success') {
56186
- _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
56187
- _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
56188
- _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
56189
- if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
56190
- _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
56293
+ _this31.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
56294
+ _this31.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
56295
+ _this31.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
56296
+ if (_this31.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
56297
+ _this31.nextNode.customLimitTime = _this31.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
56191
56298
  }
56192
- if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
56193
- _this30.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
56299
+ if (_this31.currentOrgSelectorParams.department && !_this31.currentOrgSelectorParams.department.roleid && _this31.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
56300
+ _this31.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
56194
56301
  }
56195
56302
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
56196
56303
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
56197
56304
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
56198
- _this30.nextCurrentOrgselectUserList.push({
56305
+ _this31.nextCurrentOrgselectUserList.push({
56199
56306
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
56200
56307
  showid: x,
56201
56308
  stype: 'department'
@@ -56204,7 +56311,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56204
56311
  }
56205
56312
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
56206
56313
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
56207
- _this30.nextCurrentOrgselectUserList.push({
56314
+ _this31.nextCurrentOrgselectUserList.push({
56208
56315
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
56209
56316
  showid: x,
56210
56317
  stype: 'employee'
@@ -56213,7 +56320,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56213
56320
  }
56214
56321
  if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
56215
56322
  data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
56216
- _this30.nextCurrentOrgselectUserList.push({
56323
+ _this31.nextCurrentOrgselectUserList.push({
56217
56324
  showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
56218
56325
  showid: x,
56219
56326
  stype: 'enterprise'
@@ -56222,44 +56329,44 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56222
56329
  }
56223
56330
  }
56224
56331
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
56225
- _this30.params.only_filid = true;
56332
+ _this31.params.only_filid = true;
56226
56333
  }
56227
- data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
56228
- data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
56334
+ data.otherOrgDisabledObjId && (_this31.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
56335
+ data.currentOrgDisabledObjId && (_this31.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
56229
56336
  if (data != null) {
56230
56337
  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) {
56231
- _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56338
+ _this31.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56232
56339
  } else {
56233
- _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
56340
+ _this31.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this31.choiceOrgId, _this31.choiceDeptId, _this31.pOrgId);
56234
56341
  }
56235
- _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56236
- _this30.isTaskread = data.nodeExtAttr.isTaskread;
56237
- _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
56238
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56239
- _this30.nodeType = data.nodeExtAttr.nodeType;
56342
+ _this31.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
56343
+ _this31.isTaskread = data.nodeExtAttr.isTaskread;
56344
+ _this31.isHandleExplain = data.nodeExtAttr.isHandleExplain;
56345
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56346
+ _this31.nodeType = data.nodeExtAttr.nodeType;
56240
56347
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
56241
- if (_this30.nodeType === 1 || _this30.nodeType === 2) {
56242
- _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
56243
- _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
56244
- _this30.isNextUser = false;
56245
- _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
56246
- _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
56348
+ if (_this31.nodeType === 1 || _this31.nodeType === 2) {
56349
+ _this31.isMainSubProcess === true ? _this31.isNodeShowProcess = true : _this31.isNodeShowProcess = false;
56350
+ _this31.isMainSubProcess === true ? _this31.isMainSubProcess = true : _this31.isMainSubProcess = false;
56351
+ _this31.isNextUser = false;
56352
+ _this31.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
56353
+ _this31.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
56247
56354
  } else {
56248
- _this30.isHideCurrentOrg = false;
56249
- _this30.isHideOtherOrg = false;
56250
- _this30.isNodeShowProcess = false;
56251
- _this30.isMainSubProcess = false;
56252
- _this30.isNextUser = _this30.nextNode.nextOperate != 9;
56355
+ _this31.isHideCurrentOrg = false;
56356
+ _this31.isHideOtherOrg = false;
56357
+ _this31.isNodeShowProcess = false;
56358
+ _this31.isMainSubProcess = false;
56359
+ _this31.isNextUser = _this31.nextNode.nextOperate != 9;
56253
56360
  // this.isMainSubProcess === true
56254
56361
  // ? (this.isMainSubProcess = true)
56255
56362
  // : (this.isMainSubProcess = false);
56256
56363
  }
56257
- _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
56258
- if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
56364
+ _this31.multiple ? _this31.nextNode.nextUserId = [] : _this31.nextNode.nextUserId = '';
56365
+ if (_this31.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
56259
56366
  data.nextUserList.map(function (item) {
56260
56367
  if (item.userId && item.username) {
56261
- _this30.nextNode.nextUserId.push(item.userId);
56262
- _this30.selectUserList.push({
56368
+ _this31.nextNode.nextUserId.push(item.userId);
56369
+ _this31.selectUserList.push({
56263
56370
  showname: item.username,
56264
56371
  showid: item.userId
56265
56372
  });
@@ -56268,57 +56375,57 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56268
56375
  }
56269
56376
  data.nextUserList.map(function (item) {
56270
56377
  if (item.userId && item.username) {
56271
- _this30.options.push({
56378
+ _this31.options.push({
56272
56379
  showname: item.username,
56273
56380
  showid: item.userId
56274
56381
  });
56275
56382
  }
56276
56383
  });
56277
56384
  if (data.nodeExtAttr.presetEdit != 0) {
56278
- _this30.radioList = _this30.options;
56385
+ _this31.radioList = _this31.options;
56279
56386
  }
56280
- if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
56281
- _this30.nextNode.nextUserId = data.nextUserList[0].userId;
56282
- _this30.selectUserList.push({
56387
+ if (!_this31.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
56388
+ _this31.nextNode.nextUserId = data.nextUserList[0].userId;
56389
+ _this31.selectUserList.push({
56283
56390
  showname: data.nextUserList[0].username,
56284
56391
  showid: data.nextUserList[0].userId
56285
56392
  });
56286
56393
  }
56287
- _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56288
- _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
56289
- _this30.presetEdit = data.nodeExtAttr.presetEdit;
56290
- _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
56291
- _this30.handleMode = data.countersignaturetypeText;
56394
+ _this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
56395
+ _this31.isCustomUser = data.nodeExtAttr.isCustomUser;
56396
+ _this31.presetEdit = data.nodeExtAttr.presetEdit;
56397
+ _this31.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
56398
+ _this31.handleMode = data.countersignaturetypeText;
56292
56399
  if (data.globalNodeType === 'endEvent') {
56293
- _this30.isNextUser = data.globalNodeType != 'endEvent';
56294
- data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
56400
+ _this31.isNextUser = data.globalNodeType != 'endEvent';
56401
+ data.globalNodeType === 'endEvent' ? _this31.endFlow = true : '';
56295
56402
  }
56296
56403
  }
56297
- if (_this30.isCustomPreset) {
56298
- _this30.$nextTick(function () {
56299
- _this30.$refs.customPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
56404
+ if (_this31.isCustomPreset) {
56405
+ _this31.$nextTick(function () {
56406
+ _this31.$refs.customPreset && _this31.$refs.customPreset.getPresetFlowInfo(_this31.nextNode.nextNodeId, _this31.nodeInfo.nextNode, true);
56300
56407
  });
56301
56408
  }
56302
56409
  } else {
56303
- _this30.$message.error(message || '系统错误,请联系管理员!');
56410
+ _this31.$message.error(message || '系统错误,请联系管理员!');
56304
56411
  }
56305
56412
  }).catch(function (err) {
56306
- _this30.loading.close();
56413
+ _this31.loading.close();
56307
56414
  if (err.message && err.message !== 'canceled') {
56308
- _this30.$message.error(err.message);
56415
+ _this31.$message.error(err.message);
56309
56416
  }
56310
56417
  });
56311
56418
  },
56312
56419
 
56313
- /**
56314
- * selecNext
56315
- * @desc:下步节点变化时更新数据
56316
- * @author liufan
56317
- * @param {String} val 当前选中值
56318
- * @date 2022年5月25日
56420
+ /**
56421
+ * selecNext
56422
+ * @desc:下步节点变化时更新数据
56423
+ * @author liufan
56424
+ * @param {String} val 当前选中值
56425
+ * @date 2022年5月25日
56319
56426
  **/
56320
56427
  selecNext: function selecNext(val, type, isDef) {
56321
- var _this31 = this;
56428
+ var _this32 = this;
56322
56429
 
56323
56430
  var isNextNode = false;
56324
56431
  if (type && val && this.operationList.length > 0) {
@@ -56368,13 +56475,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56368
56475
  this.operationList.forEach(function (item) {
56369
56476
  if (item.key === val) {
56370
56477
  if (!item.taskNodeList) {
56371
- _this31.nodeInfos = [];
56478
+ _this32.nodeInfos = [];
56372
56479
  } else {
56373
- _this31.nodeInfos = item.taskNodeList;
56480
+ _this32.nodeInfos = item.taskNodeList;
56374
56481
 
56375
- if (_this31.taskOperationShiftedNodeList) {
56376
- _this31.nodeInfos = item.taskNodeList.filter(function (x) {
56377
- return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
56482
+ if (_this32.taskOperationShiftedNodeList) {
56483
+ _this32.nodeInfos = item.taskNodeList.filter(function (x) {
56484
+ return _this32.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
56378
56485
  });
56379
56486
  }
56380
56487
  }
@@ -56383,7 +56490,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56383
56490
  });
56384
56491
  if (this.defaultNextNode) {
56385
56492
  var defaultNode = this.nodeInfos.filter(function (item) {
56386
- return item.nodeId == _this31.defaultNextNode;
56493
+ return item.nodeId == _this32.defaultNextNode;
56387
56494
  });
56388
56495
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
56389
56496
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -56455,11 +56562,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56455
56562
  }
56456
56563
  },
56457
56564
 
56458
- /**
56459
- * isMultiple
56460
- * @desc:是否多选
56461
- * @author liufan
56462
- * @date 2022年9月13日
56565
+ /**
56566
+ * isMultiple
56567
+ * @desc:是否多选
56568
+ * @author liufan
56569
+ * @date 2022年9月13日
56463
56570
  **/
56464
56571
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
56465
56572
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -56494,14 +56601,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56494
56601
  return fun.replace('()', '');
56495
56602
  },
56496
56603
 
56497
- /**
56498
- * getHedInfo
56499
- * @desc:获取审核页面数据
56500
- * @author liufan
56501
- * @date 2022年5月25日
56604
+ /**
56605
+ * getHedInfo
56606
+ * @desc:获取审核页面数据
56607
+ * @author liufan
56608
+ * @date 2022年5月25日
56502
56609
  **/
56503
56610
  getHedInfo: function getHedInfo() {
56504
- var _this32 = this;
56611
+ var _this33 = this;
56505
56612
 
56506
56613
  this.loading = utils_util.loading(this.$loading, '加载中...');
56507
56614
  var params = {
@@ -56511,7 +56618,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56511
56618
  utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
56512
56619
  //pc返回数据
56513
56620
 
56514
- _this32.loading.close();
56621
+ _this33.loading.close();
56515
56622
 
56516
56623
  if (res.status === 'success') {
56517
56624
  var _res$data2 = res.data,
@@ -56553,17 +56660,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56553
56660
  isCanPreAddSign = _res$data2.isCanPreAddSign;
56554
56661
 
56555
56662
  if (temporarySaveButtonName) {
56556
- _this32.saveButtonName = temporarySaveButtonName;
56663
+ _this33.saveButtonName = temporarySaveButtonName;
56557
56664
  }
56665
+ _this33.configInfo = res.data;
56558
56666
  if (simpleTips != undefined) {
56559
- _this32.simpleTips = simpleTips;
56667
+ _this33.simpleTips = simpleTips;
56560
56668
  }
56561
- _this32.$emit('startTaskRead', res);
56562
- _this32.$emit('start-task-read', res);
56669
+ _this33.$emit('startTaskRead', res);
56670
+ _this33.$emit('start-task-read', res);
56563
56671
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
56564
- _this32.taskOperationShiftedNodeList = [];
56672
+ _this33.taskOperationShiftedNodeList = [];
56565
56673
  taskOperationShiftedNodeList.map(function (x) {
56566
- _this32.taskOperationShiftedNodeList.push(x.nodeId);
56674
+ _this33.taskOperationShiftedNodeList.push(x.nodeId);
56567
56675
  taskOperations.push({
56568
56676
  key: x.nodeId,
56569
56677
  value: x.nodeName,
@@ -56572,159 +56680,159 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56572
56680
  });
56573
56681
  });
56574
56682
  }
56575
- _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
56576
- _this32.pendingItemHandleDescription = pendingItemHandleDescription;
56683
+ _this33.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
56684
+ _this33.pendingItemHandleDescription = pendingItemHandleDescription;
56577
56685
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
56578
- _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
56686
+ _this33.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
56579
56687
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
56580
- _this32.currentOrgSelectorTabs.map(function (x, i) {
56581
- _this32.currentOrgSelectorParams[x] = {
56688
+ _this33.currentOrgSelectorTabs.map(function (x, i) {
56689
+ _this33.currentOrgSelectorParams[x] = {
56582
56690
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
56583
56691
  only_filid: true,
56584
- roleid: _this32.selectorParams.roleid
56692
+ roleid: _this33.selectorParams.roleid
56585
56693
  };
56586
56694
  });
56587
56695
  }
56588
56696
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
56589
- _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
56697
+ _this33.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
56590
56698
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
56591
- _this32.foreignOrgSelectorTabs.map(function (x, i) {
56592
- _this32.foreignOrgSelectorParams[x] = {
56699
+ _this33.foreignOrgSelectorTabs.map(function (x, i) {
56700
+ _this33.foreignOrgSelectorParams[x] = {
56593
56701
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
56594
56702
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
56595
- roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
56703
+ roleid: _this33.circularReadParamsMap.circularReadOrgRoleCode || _this33.foreignOrgSelectorParams.roleid
56596
56704
  };
56597
56705
  });
56598
56706
  }
56599
- _this32.circularReadParamsMap = circularReadParamsMap || {};
56600
- if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
56601
- _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
56602
- }
56603
- _this32.currentOrgName = currentOrgName;
56604
- _this32.nextOperateCheckType = nextOperateCheckType || 'select';
56605
- _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
56606
-
56607
- _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
56608
- _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
56609
- _this32.readOnlyNotificationType = readOnlyNotificationType;
56610
-
56611
- _this32.readOnlyNotificationType = readOnlyNotificationType;
56612
- _this32.isSpecial = isSpecial;
56613
- _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
56614
- _this32.otherOrgName = otherOrgName;
56615
- _this32.isCanPreAddSign = isCanPreAddSign;
56616
- _this32.endFlowInfo.choiceOrgId = choiceOrgId;
56617
- _this32.endFlowInfo.choiceDeptId = choiceDeptId;
56618
- _this32.endFlowInfo.pendingId = _this32.pendingId;
56619
- _this32.attachedCode = attachedCode;
56620
- _this32.endFlowInfo.pOrgId = pOrgId;
56621
- _this32.canPresetRead = canPresetRead;
56622
- _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
56623
- nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
56624
- _this32.operationList = taskOperations || [];
56625
- _this32.customPresetHintMessage = customPresetHintMessage;
56707
+ _this33.circularReadParamsMap = circularReadParamsMap || {};
56708
+ if (_this33.circularReadParamsMap.circularReadOrgRoleCode) {
56709
+ _this33.foreignOrgSelectorParams.roleid = _this33.circularReadParamsMap.circularReadOrgRoleCode;
56710
+ }
56711
+ _this33.currentOrgName = currentOrgName;
56712
+ _this33.nextOperateCheckType = nextOperateCheckType || 'select';
56713
+ _this33.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
56714
+
56715
+ _this33.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
56716
+ _this33.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
56717
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
56718
+
56719
+ _this33.readOnlyNotificationType = readOnlyNotificationType;
56720
+ _this33.isSpecial = isSpecial;
56721
+ _this33.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
56722
+ _this33.otherOrgName = otherOrgName;
56723
+ _this33.isCanPreAddSign = isCanPreAddSign;
56724
+ _this33.endFlowInfo.choiceOrgId = choiceOrgId;
56725
+ _this33.endFlowInfo.choiceDeptId = choiceDeptId;
56726
+ _this33.endFlowInfo.pendingId = _this33.pendingId;
56727
+ _this33.attachedCode = attachedCode;
56728
+ _this33.endFlowInfo.pOrgId = pOrgId;
56729
+ _this33.canPresetRead = canPresetRead;
56730
+ _this33.isCdjxjTaskHandle = isCdjxjTaskHandle;
56731
+ nextNodeCheckType && (_this33.nextNodeCheckType = nextNodeCheckType);
56732
+ _this33.operationList = taskOperations || [];
56733
+ _this33.customPresetHintMessage = customPresetHintMessage;
56626
56734
  if (canPresetRead) {
56627
56735
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
56628
56736
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
56629
56737
  ids.map(function (item, index) {
56630
- _this32.presetReadUserId.push({
56738
+ _this33.presetReadUserId.push({
56631
56739
  showid: item,
56632
56740
  showname: names[index]
56633
56741
  });
56634
- _this32.selectPresetUserList.push({
56742
+ _this33.selectPresetUserList.push({
56635
56743
  showid: item,
56636
56744
  showname: names[index]
56637
56745
  });
56638
- _this32.nextNode.presetReadUserId.push(item);
56746
+ _this33.nextNode.presetReadUserId.push(item);
56639
56747
  });
56640
56748
  }
56641
- if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
56749
+ if (!_this33.isFlow) _this33.getFile(_this33.pendingId, attachedCode);
56642
56750
  if (nextNodeList && nextNodeList.length != 0) {
56643
- _this32.nextNodeList = nextNodeList;
56751
+ _this33.nextNodeList = nextNodeList;
56644
56752
  if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
56645
- _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
56646
- nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
56753
+ _this33.isNextUser = nextNodeList[0].nodeType != 'endEvent';
56754
+ nextNodeList[0].nodeType === 'endEvent' ? _this33.endFlow = true : '';
56647
56755
  }
56648
56756
  }
56649
56757
 
56650
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
56758
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this33.removeUsers = canRemoveSignUserList;
56651
56759
  if (taskOperations && taskOperations.length != 0) {
56652
56760
  var isSelected = false;
56653
56761
  taskOperations.map(function (item) {
56654
- if (item.key === 9) _this32.isReject = true;
56762
+ if (item.key === 9) _this33.isReject = true;
56655
56763
  if (item.isSelected) {
56656
- _this32.nodeInfos = [];
56657
- _this32.nextNode.nextOperate = item.key;
56764
+ _this33.nodeInfos = [];
56765
+ _this33.nextNode.nextOperate = item.key;
56658
56766
  if (item.taskNodeList != null) {
56659
- _this32.nodeInfos = item.taskNodeList;
56767
+ _this33.nodeInfos = item.taskNodeList;
56660
56768
  }
56661
56769
  isSelected = true;
56662
56770
  }
56663
56771
  });
56664
56772
  if (taskOperations.length > 0 && !isSelected) {
56665
- _this32.nodeInfos = [];
56666
- _this32.nextNode.nextOperate = taskOperations[0].key;
56773
+ _this33.nodeInfos = [];
56774
+ _this33.nextNode.nextOperate = taskOperations[0].key;
56667
56775
  if (taskOperations[0].taskNodeList != null) {
56668
- _this32.nodeInfos = taskOperations[0].taskNodeList;
56776
+ _this33.nodeInfos = taskOperations[0].taskNodeList;
56669
56777
  }
56670
56778
  }
56671
56779
  }
56672
56780
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
56673
- _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
56781
+ _this33.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
56674
56782
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
56675
56783
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
56676
56784
  notice.map(function (x) {
56677
- _this32.nodeFixedOpinionSelectList.push({ content: x });
56785
+ _this33.nodeFixedOpinionSelectList.push({ content: x });
56678
56786
  });
56679
56787
  }
56680
56788
 
56681
- _this32.value = opinion || '';
56682
- _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
56683
- _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
56684
- _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
56685
- _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
56686
- _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
56687
- _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
56789
+ _this33.value = opinion || '';
56790
+ _this33.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
56791
+ _this33.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
56792
+ _this33.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
56793
+ _this33.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
56794
+ _this33.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
56795
+ _this33.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
56688
56796
  // this.isHideDefaultOperation =
56689
56797
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
56690
- _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
56798
+ _this33.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
56691
56799
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
56692
- var defaultNode = _this32.nodeInfos.filter(function (item) {
56800
+ var defaultNode = _this33.nodeInfos.filter(function (item) {
56693
56801
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
56694
56802
  });
56695
- if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
56696
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
56803
+ if (_this33.nodeInfos.length > 0 && defaultNode.length == 0) {
56804
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
56697
56805
  } else {
56698
- _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
56806
+ _this33.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
56699
56807
  }
56700
- } else if (_this32.nodeInfos.length > 0) {
56701
- _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
56808
+ } else if (_this33.nodeInfos.length > 0) {
56809
+ _this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
56702
56810
  }
56703
- _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
56811
+ _this33.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
56704
56812
  if (nodeInfoMap.nodeExtAttr.submitText) {
56705
- _this32.btnList.map(function (x) {
56813
+ _this33.btnList.map(function (x) {
56706
56814
  if (x.event === 'sub') {
56707
56815
  x.text = nodeInfoMap.nodeExtAttr.submitText;
56708
56816
  }
56709
56817
  });
56710
56818
  }
56711
56819
  }
56712
- _this32.choiceOrgId = choiceOrgId;
56713
- _this32.choiceDeptId = choiceDeptId;
56714
- _this32.pOrgId = pOrgId;
56820
+ _this33.choiceOrgId = choiceOrgId;
56821
+ _this33.choiceDeptId = choiceDeptId;
56822
+ _this33.pOrgId = pOrgId;
56715
56823
  if (res.data && res.data.isEndUserTask != undefined) {
56716
- _this32.isEndUserTask = res.data.isEndUserTask;
56824
+ _this33.isEndUserTask = res.data.isEndUserTask;
56717
56825
  }
56718
56826
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
56719
- _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
56720
- _this32.NodeName = taskExamine.nodeName;
56721
- _this32.taskId = taskExamine.taskId;
56722
- _this32.businessIds = taskExamine.businessId;
56723
- _this32.appId = taskExamine.appId;
56724
- _this32.taskExamineInfo = taskExamine;
56725
- _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
56726
- _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
56727
- _this32.endFlowInfo.processType = taskExamine.processType;
56827
+ _this33.nodeInfo.nextNode = taskExamine.processDefinitionId;
56828
+ _this33.NodeName = taskExamine.nodeName;
56829
+ _this33.taskId = taskExamine.taskId;
56830
+ _this33.businessIds = taskExamine.businessId;
56831
+ _this33.appId = taskExamine.appId;
56832
+ _this33.taskExamineInfo = taskExamine;
56833
+ _this33.taskExamineInfo.choiceOrgId = choiceOrgId;
56834
+ _this33.taskExamineInfo.choiceDeptId = choiceDeptId;
56835
+ _this33.endFlowInfo.processType = taskExamine.processType;
56728
56836
  // this.endFlowInfo.isReturnSubmitter =
56729
56837
  // taskExamine.isReturnSubmitter;
56730
56838
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -56736,98 +56844,96 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56736
56844
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
56737
56845
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
56738
56846
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
56739
- _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
56740
- _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
56741
- _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
56742
- _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
56743
- _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
56744
- _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
56745
- _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
56746
- _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
56747
- _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
56847
+ _this33.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
56848
+ _this33.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
56849
+ _this33.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
56850
+ _this33.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
56851
+ _this33.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
56852
+ _this33.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
56853
+ _this33.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
56854
+ _this33.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
56855
+ _this33.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
56748
56856
  // this.endFlowInfo.isReadDealReply =
56749
56857
  // taskExamine.isReadDealReplybusinessId;
56750
- _this32.endFlowInfo.appId = taskExamine.appId;
56751
- _this32.endFlowInfo.businessId = taskExamine.businessId;
56752
- _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
56753
- _this32.endFlowInfo.nodeId = taskExamine.nodeId;
56858
+ _this33.endFlowInfo.appId = taskExamine.appId;
56859
+ _this33.endFlowInfo.businessId = taskExamine.businessId;
56860
+ _this33.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
56861
+ _this33.endFlowInfo.nodeId = taskExamine.nodeId;
56754
56862
  }
56755
56863
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
56756
- _this32.NodeName = extendData.pendingData.itemname;
56864
+ _this33.NodeName = extendData.pendingData.itemname;
56757
56865
  }
56758
- if (_this32.nodeName) {
56759
- _this32.NodeName = _this32.nodeName;
56866
+ if (_this33.nodeName) {
56867
+ _this33.NodeName = _this33.nodeName;
56760
56868
  }
56761
- _this32.isCanAddSign = isCanAddSign;
56762
- _this32.processObj = res.data;
56763
- if (_this32.isCanAddSign) {
56764
- _this32.nextNode.isAddSign = '2';
56869
+ _this33.isCanAddSign = isCanAddSign;
56870
+ _this33.processObj = res.data;
56871
+ if (_this33.isCanAddSign) {
56872
+ _this33.nextNode.isAddSign = '2';
56765
56873
  }
56766
- _this32.isCanRemoveSign = isCanRemoveSign;
56767
- if (_this32.isCanRemoveSign) {
56768
- _this32.nextNode.isRemoveSign = '2';
56874
+ _this33.isCanRemoveSign = isCanRemoveSign;
56875
+ if (_this33.isCanRemoveSign) {
56876
+ _this33.nextNode.isRemoveSign = '2';
56769
56877
  }
56770
56878
 
56771
- if (!_this32.isOpinionRequired) {
56772
- _this32.isOpinionRequired = 0;
56879
+ if (!_this33.isOpinionRequired) {
56880
+ _this33.isOpinionRequired = 0;
56773
56881
  }
56774
56882
  // opinion && (this.value = opinion);
56775
- _this32.nextNode.notificationMsg = defaultNotificationMessage;
56776
- _this32.moreList = [];
56883
+ _this33.nextNode.notificationMsg = defaultNotificationMessage;
56884
+ _this33.moreList = [];
56777
56885
  if (taskButtonList && taskButtonList.length != 0) {
56778
56886
  taskButtonList.map(function (item) {
56779
56887
  if (item.fun === 'reject()') {
56780
- _this32.rejectObj = item;
56888
+ _this33.rejectObj = item;
56781
56889
  } else if (item.fun === 'toStartTaskRead()') {
56782
- _this32.pointsReadingObj = item;
56890
+ _this33.pointsReadingObj = item;
56783
56891
  } else {
56784
- _this32.moreList.push(item);
56892
+ _this33.moreList.push(item);
56785
56893
  }
56786
56894
  });
56787
- _this32.typeList = _this32.typeList.concat(taskButtonList);
56788
- }
56789
- _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
56790
- _this32.isCustomPreset = isCustomPreset;
56791
- _this32.isPreset = isPreset;
56792
- _this32.presetTaskNodeMap = presetTaskNodeMap;
56793
- _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
56794
- _this32.getFind();
56795
- _this32.selecNext(_this32.nextNode.nextOperate, true, true);
56895
+ _this33.typeList = _this33.typeList.concat(taskButtonList);
56896
+ }
56897
+ _this33.isMainSubProcess = res.data.isMainSubProcess == 'true';
56898
+ _this33.isCustomPreset = isCustomPreset;
56899
+ _this33.isPreset = isPreset;
56900
+ _this33.presetTaskNodeMap = presetTaskNodeMap;
56901
+ _this33.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
56902
+ _this33.getFind();
56903
+ _this33.selecNext(_this33.nextNode.nextOperate, true, true);
56796
56904
  // this.getNodeInfo();
56797
- _this32.StartTaskReadKey++;
56905
+ _this33.StartTaskReadKey++;
56798
56906
  } else {
56799
56907
  if (res.status === 'taskCompleted') {
56800
- _this32.$emit('shrink', true);
56801
- _this32.shrinkAbled = true;
56802
- _this32.$message.warning(res.message || '系统错误,请联系管理员!');
56908
+ _this33.$emit('shrink', true);
56909
+ _this33.shrinkAbled = true;
56910
+ _this33.$message.warning(res.message || '系统错误,请联系管理员!');
56803
56911
  } else {
56804
- _this32.$message.error(res.message || '系统错误,请联系管理员!');
56912
+ _this33.$message.error(res.message || '系统错误,请联系管理员!');
56805
56913
  }
56806
56914
  }
56807
- _this32.showOpinion = false;
56915
+ _this33.showOpinion = false;
56808
56916
  setTimeout(function () {
56809
- _this32.showOpinion = true;
56917
+ _this33.showOpinion = true;
56810
56918
  }, 0);
56811
56919
  }).catch(function (err) {
56812
- _this32.loading.close();
56920
+ _this33.loading.close();
56813
56921
  if (err.message && err.message !== 'canceled') {
56814
- _this32.$message.error(err.message);
56922
+ _this33.$message.error(err.message);
56815
56923
  }
56816
56924
  });
56817
56925
  },
56818
56926
 
56819
- /**
56820
- * closeProcess
56821
- * @desc:关闭弹窗
56822
- * @author liufan
56823
- * @param {boolean} val 当前是否办理流程
56824
- * @param {String} type 当前点击的弹窗类型
56825
- * @date 2022年5月25日
56927
+ /**
56928
+ * closeProcess
56929
+ * @desc:关闭弹窗
56930
+ * @author liufan
56931
+ * @param {boolean} val 当前是否办理流程
56932
+ * @param {String} type 当前点击的弹窗类型
56933
+ * @date 2022年5月25日
56826
56934
  **/
56827
56935
  closeProcess: function closeProcess(val, type, closeParent) {
56828
- if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
56829
- this.$refs[type].handleClosed();
56830
- } else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
56936
+ if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
56831
56937
  this[type] = false;
56832
56938
  }
56833
56939
  if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
@@ -56847,23 +56953,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56847
56953
  }
56848
56954
  },
56849
56955
 
56850
- /**
56851
- * selectChange
56852
- * @desc:常用语选择
56853
- * @author liufan
56854
- * @param {String} val 选中值
56855
- * @date 2022年5月25日
56956
+ /**
56957
+ * selectChange
56958
+ * @desc:常用语选择
56959
+ * @author liufan
56960
+ * @param {String} val 选中值
56961
+ * @date 2022年5月25日
56856
56962
  **/
56857
56963
  selectChange: function selectChange(val) {
56858
56964
  this.value = val;
56859
56965
  },
56860
56966
 
56861
- /**
56862
- * upDate
56863
- * @desc:修改常用语
56864
- * @author liufan
56865
- * @param {Object} val 修改值
56866
- * @date 2022年5月25日
56967
+ /**
56968
+ * upDate
56969
+ * @desc:修改常用语
56970
+ * @author liufan
56971
+ * @param {Object} val 修改值
56972
+ * @date 2022年5月25日
56867
56973
  **/
56868
56974
  upDate: function upDate(val) {
56869
56975
  this.FormData.id = val.id;
@@ -56871,14 +56977,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56871
56977
  },
56872
56978
 
56873
56979
 
56874
- /**
56875
- * getProcess
56876
- * @desc:获取选择流程
56877
- * @author liufan
56878
- * @date 2022年5月25日
56980
+ /**
56981
+ * getProcess
56982
+ * @desc:获取选择流程
56983
+ * @author liufan
56984
+ * @date 2022年5月25日
56879
56985
  **/
56880
56986
  getProcess: function getProcess(val) {
56881
- var _this33 = this;
56987
+ var _this34 = this;
56882
56988
 
56883
56989
  var params = flowvue_type_script_lang_js_extends({
56884
56990
  businessId: this.businessId,
@@ -56896,56 +57002,56 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56896
57002
  message = res.message,
56897
57003
  data = res.data;
56898
57004
 
56899
- _this33.loading.close();
57005
+ _this34.loading.close();
56900
57006
  if (status === 'success') {
56901
57007
  if (data.simpleTips != undefined) {
56902
- _this33.simpleTips = data.simpleTips;
57008
+ _this34.simpleTips = data.simpleTips;
56903
57009
  }
56904
- _this33.isStartFlowChartView = data.isStartFlowChartView;
57010
+ _this34.isStartFlowChartView = data.isStartFlowChartView;
56905
57011
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
56906
- _this33.$message.error('流程不存在或未关联对应流程!');
57012
+ _this34.$message.error('流程不存在或未关联对应流程!');
56907
57013
  } else {
56908
- _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
56909
- _this33.activitiDefinitionSort = data.activitiDefinitionSort;
56910
- _this33.nodeInfo.option = data.definitionList;
56911
- _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
56912
- return item.processDefKey == _this33.defaultProcessKey;
57014
+ _this34.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
57015
+ _this34.activitiDefinitionSort = data.activitiDefinitionSort;
57016
+ _this34.nodeInfo.option = data.definitionList;
57017
+ _this34.nodeInfo.nextNode = data.definitionList.filter(function (item) {
57018
+ return item.processDefKey == _this34.defaultProcessKey;
56913
57019
  });
56914
- if (_this33.nodeInfo.nextNode.length) {
56915
- _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
57020
+ if (_this34.nodeInfo.nextNode.length) {
57021
+ _this34.nodeInfo.nextNode = _this34.nodeInfo.nextNode[0].processDefId;
56916
57022
  } else {
56917
57023
  if (data.definitionList.length != 0) {
56918
- _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
57024
+ _this34.nodeInfo.nextNode = data.definitionList[0].processDefId;
56919
57025
  } else {
56920
- _this33.nodeInfo.nextNode = '';
57026
+ _this34.nodeInfo.nextNode = '';
56921
57027
  }
56922
57028
  }
56923
- if (_this33.nodeInfo.nextNode) {
56924
- _this33.handleChange(_this33.nodeInfo.nextNode, true);
57029
+ if (_this34.nodeInfo.nextNode) {
57030
+ _this34.handleChange(_this34.nodeInfo.nextNode, true);
56925
57031
  }
56926
- if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
56927
- _this33.getAdminMsgType();
57032
+ if (_this34.showCirculate != undefined && !_this34.showCirculate && _this34.urgencyLevel) {
57033
+ _this34.getAdminMsgType();
56928
57034
  }
56929
57035
  }
56930
57036
  } else {
56931
- _this33.$message.error(message || '系统错误,请联系管理员!');
57037
+ _this34.$message.error(message || '系统错误,请联系管理员!');
56932
57038
  }
56933
57039
  }).catch(function (err) {
56934
- _this33.loading.close();
57040
+ _this34.loading.close();
56935
57041
  if (err.message && err.message !== 'canceled') {
56936
- _this33.$message.error(err.message);
57042
+ _this34.$message.error(err.message);
56937
57043
  }
56938
57044
  });
56939
57045
  },
56940
57046
 
56941
- /**
56942
- * getPendedhistoryList
56943
- * @desc:获取流程列表
56944
- * @author liufan
56945
- * @date 2022年5月25日
57047
+ /**
57048
+ * getPendedhistoryList
57049
+ * @desc:获取流程列表
57050
+ * @author liufan
57051
+ * @date 2022年5月25日
56946
57052
  **/
56947
57053
  getPendedhistoryList: function getPendedhistoryList() {
56948
- var _this34 = this;
57054
+ var _this35 = this;
56949
57055
 
56950
57056
  var params = {
56951
57057
  apprecordId: this.businessIds,
@@ -56958,22 +57064,22 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56958
57064
  results = res.results;
56959
57065
 
56960
57066
  if (!rCode) {
56961
- _this34.nextNode.nextUserId = [];
56962
- _this34.showNews = false;
56963
- _this34.nextNode.notificationType = [];
56964
- _this34.pendingId = results[results.length - 1].attachId;
56965
- _this34.getHedInfo();
57067
+ _this35.nextNode.nextUserId = [];
57068
+ _this35.showNews = false;
57069
+ _this35.nextNode.notificationType = [];
57070
+ _this35.pendingId = results[results.length - 1].attachId;
57071
+ _this35.getHedInfo();
56966
57072
  } else {
56967
- _this34.$message.error(msg || '系统错误,请联系管理员!');
57073
+ _this35.$message.error(msg || '系统错误,请联系管理员!');
56968
57074
  }
56969
57075
  }).catch(function (err) {
56970
57076
  if (err.message && err.message !== 'canceled') {
56971
- _this34.$message.error(err.message);
57077
+ _this35.$message.error(err.message);
56972
57078
  }
56973
57079
  });
56974
57080
  },
56975
57081
  reqCircularRead: function reqCircularRead(type) {
56976
- var _this35 = this;
57082
+ var _this36 = this;
56977
57083
 
56978
57084
  var _that = this;
56979
57085
  var params = {
@@ -56987,7 +57093,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56987
57093
  };
56988
57094
  this.loading = utils_util.loading(this.$loading, '提交中...');
56989
57095
  utils_util.ajax(params).then(function (res) {
56990
- _this35.loading.close();
57096
+ _this36.loading.close();
56991
57097
  if (res.rCode == 0) {
56992
57098
  if (res.results.alert) {
56993
57099
  _that.$confirm(res.results.message, {
@@ -57011,20 +57117,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57011
57117
 
57012
57118
  // 提交流程前验证
57013
57119
  beforeSubProcess: function beforeSubProcess(val, type) {
57014
- var _this36 = this;
57120
+ var _this37 = this;
57015
57121
 
57016
57122
  return this.$refs['nextNode'].validate(function (valid) {
57017
57123
  if (valid) {
57018
- if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
57019
- _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
57020
- _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
57021
- _this36.value = val + _this36.value;
57124
+ if (_this37.isSubmitButtonShowAgreeAndDisagree == 1) {
57125
+ _this37.value = _this37.value.replace(RegExp('不同意。', 'g'), '');
57126
+ _this37.value = _this37.value.replace(RegExp('同意。', 'g'), '');
57127
+ _this37.value = val + _this37.value;
57022
57128
  }
57023
- if (!_this36.validInfo()) {
57024
- _this36.freeValid = false;
57129
+ if (!_this37.validInfo()) {
57130
+ _this37.freeValid = false;
57025
57131
  return;
57026
57132
  } else {
57027
- _this36.freeValid = true;
57133
+ _this37.freeValid = true;
57028
57134
  }
57029
57135
  // if (
57030
57136
  // this.currentNodeIsCircularReadNode &&
@@ -57034,42 +57140,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57034
57140
  // return;
57035
57141
  // }
57036
57142
 
57037
- if (_this36.submitButtonFunKey) {
57038
- var btnInfo = _this36.taskNodeButtons.filter(function (x) {
57039
- return x.key === _this36.submitButtonFunKey;
57143
+ if (_this37.submitButtonFunKey) {
57144
+ var btnInfo = _this37.taskNodeButtons.filter(function (x) {
57145
+ return x.key === _this37.submitButtonFunKey;
57040
57146
  });
57041
57147
  if (btnInfo.length > 0) {
57042
57148
  if (btnInfo[0].type == 4) {
57043
- _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
57149
+ _this37.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this37.value }, _this37.sendData);
57044
57150
  } else if (btnInfo[0].type == 2) {
57045
- _this36.goView(btnInfo[0]);
57151
+ _this37.goView(btnInfo[0]);
57046
57152
  }
57047
57153
  }
57048
57154
  return;
57049
57155
  }
57050
57156
  if (type == 'multiInsMidwayWithSubmitScene') {
57051
- _this36.sendData(type);
57157
+ _this37.sendData(type);
57052
57158
  return;
57053
57159
  }
57054
- if (_this36.beforeSubmit == undefined) {
57055
- _this36.subFun(_this36.sendData);
57160
+ if (_this37.beforeSubmit == undefined) {
57161
+ _this37.subFun(_this37.sendData);
57056
57162
  } else {
57057
- _this36.sendData();
57163
+ _this37.sendData();
57058
57164
  }
57059
57165
  }
57060
57166
  });
57061
57167
  },
57062
57168
 
57063
57169
  // 提交流程
57064
- /**
57065
- * subProcess
57066
- * @desc:提交流程
57067
- * @author liufan
57068
- * @param {String} formName 当前form表单ref值
57069
- * @date 2022年5月25日
57170
+ /**
57171
+ * subProcess
57172
+ * @desc:提交流程
57173
+ * @author liufan
57174
+ * @param {String} formName 当前form表单ref值
57175
+ * @date 2022年5月25日
57070
57176
  **/
57071
57177
  subProcess: function subProcess(val, type) {
57072
- var _this37 = this;
57178
+ var _this38 = this;
57073
57179
 
57074
57180
  if (this.btnType != 'default') {
57075
57181
  if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
@@ -57083,7 +57189,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57083
57189
  this.beforeSubProcess(val, type);
57084
57190
  } else {
57085
57191
  this.beforeSubmit(1).then(function (next) {
57086
- _this37.beforeSubProcess(val, type);
57192
+ _this38.beforeSubProcess(val, type);
57087
57193
  }).catch(function (e) {});
57088
57194
  }
57089
57195
  },
@@ -57126,14 +57232,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57126
57232
  return true;
57127
57233
  },
57128
57234
  flowSuccess: function flowSuccess(hideMessage) {
57129
- var _this38 = this;
57235
+ var _this39 = this;
57130
57236
 
57131
57237
  if (!this.simpleTips) {
57132
57238
  this.$alert('提交成功', '', {
57133
57239
  confirmButtonText: '确定',
57134
57240
  type: 'success',
57135
57241
  callback: function callback(action) {
57136
- _this38.$emit('success');
57242
+ _this39.$emit('success');
57137
57243
  }
57138
57244
  });
57139
57245
  } else {
@@ -57144,7 +57250,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57144
57250
  }
57145
57251
  },
57146
57252
  sendData: function sendData(freetype) {
57147
- var _this39 = this;
57253
+ var _this40 = this;
57148
57254
 
57149
57255
  if (this.isFlow && !this.nodeInfo.nextNode) {
57150
57256
  this.$message.warning('请选择流程');
@@ -57170,70 +57276,70 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57170
57276
  break;
57171
57277
  }
57172
57278
 
57173
- if (!_this39.isFlow) {
57279
+ if (!_this40.isFlow) {
57174
57280
  _context2.next = 7;
57175
57281
  break;
57176
57282
  }
57177
57283
 
57178
- if (!(_this39.isOpinionRequired && !_this39.$refs.commonOpinions.validate())) {
57284
+ if (!(_this40.isOpinionRequired && !_this40.$refs.commonOpinions.validate())) {
57179
57285
  _context2.next = 5;
57180
57286
  break;
57181
57287
  }
57182
57288
 
57183
- _this39.$message.warning('请输入审批意见');
57289
+ _this40.$message.warning('请输入审批意见');
57184
57290
  return _context2.abrupt('return');
57185
57291
 
57186
57292
  case 5:
57187
- if (_this39.directCreateCircularReadWhenFlowStarted) {
57188
- _this39.circulateVisible = true;
57293
+ if (_this40.directCreateCircularReadWhenFlowStarted) {
57294
+ _this40.circulateVisible = true;
57189
57295
  } else {
57190
- _this39.handleVisible = true;
57296
+ _this40.handleVisible = true;
57191
57297
  }
57192
57298
  return _context2.abrupt('return');
57193
57299
 
57194
57300
  case 7:
57195
57301
  nextUserId = [];
57196
57302
 
57197
- if (_this39.multiple) {
57198
- _this39.nextNode.nextUserId && _this39.nextNode.nextUserId.map(function (item) {
57303
+ if (_this40.multiple) {
57304
+ _this40.nextNode.nextUserId && _this40.nextNode.nextUserId.map(function (item) {
57199
57305
  return nextUserId.push(item);
57200
57306
  });
57201
57307
  }
57202
57308
  addSignUserId = [];
57203
57309
 
57204
- if (_this39.isCanAddSign && _this39.nextNode.isAddSign == '1') {
57205
- _this39.nextNode.addSignUserId.map(function (item) {
57310
+ if (_this40.isCanAddSign && _this40.nextNode.isAddSign == '1') {
57311
+ _this40.nextNode.addSignUserId.map(function (item) {
57206
57312
  addSignUserId.push(item);
57207
57313
  });
57208
57314
  }
57209
57315
  removeSignUserId = [];
57210
57316
 
57211
- if (_this39.isCanRemoveSign && _this39.nextNode.isRemoveSign == '1') {
57212
- _this39.nextNode.removeSignUserId.map(function (item) {
57317
+ if (_this40.isCanRemoveSign && _this40.nextNode.isRemoveSign == '1') {
57318
+ _this40.nextNode.removeSignUserId.map(function (item) {
57213
57319
  removeSignUserId.push(item);
57214
57320
  });
57215
57321
  }
57216
57322
  str = '';
57217
57323
 
57218
- if (_this39.value) {
57219
- str = _this39.value.replace(/\s+/g, '');
57324
+ if (_this40.value) {
57325
+ str = _this40.value.replace(/\s+/g, '');
57220
57326
  }
57221
- if ((!_this39.value || str === '') && _this39.nodeDefaultSubmitOpinion) {
57222
- _this39.value = _this39.nodeDefaultSubmitOpinion;
57327
+ if ((!_this40.value || str === '') && _this40.nodeDefaultSubmitOpinion) {
57328
+ _this40.value = _this40.nodeDefaultSubmitOpinion;
57223
57329
  }
57224
- if (!_this39.isSpecial) {
57225
- delete _this39.nextNode.nextOperate;
57226
- delete _this39.nextNode.nextNodeId;
57330
+ if (!_this40.isSpecial) {
57331
+ delete _this40.nextNode.nextOperate;
57332
+ delete _this40.nextNode.nextNodeId;
57227
57333
  }
57228
- if (_this39.nextNode.nextOperate === 9 || _this39.oldNextOperate == 9) {
57229
- _this39.nextNode.isReturnRejectNode = 1;
57230
- _this39.nextNode.processDefinitionId = _this39.processObj.taskExamine.processDefinitionId;
57334
+ if (_this40.nextNode.nextOperate === 9 || _this40.oldNextOperate == 9) {
57335
+ _this40.nextNode.isReturnRejectNode = 1;
57336
+ _this40.nextNode.processDefinitionId = _this40.processObj.taskExamine.processDefinitionId;
57231
57337
  }
57232
- if (_this39.nextNode.nextOperate != 0 && _this39.nextNode.nextOperate != 1 && _this39.oldNextOperate === '' || _this39.oldNextOperate !== '' && _this39.oldNextOperate != 0 && _this39.oldNextOperate != 1) {
57233
- delete _this39.nextNode.nextNodeId;
57338
+ if (_this40.nextNode.nextOperate != 0 && _this40.nextNode.nextOperate != 1 && _this40.oldNextOperate === '' || _this40.oldNextOperate !== '' && _this40.oldNextOperate != 0 && _this40.oldNextOperate != 1) {
57339
+ delete _this40.nextNode.nextNodeId;
57234
57340
  }
57235
57341
 
57236
- if (!(_this39.isCustomPreset && _this39.activeNames == '1')) {
57342
+ if (!(_this40.isCustomPreset && _this40.activeNames == '1')) {
57237
57343
  _context2.next = 30;
57238
57344
  break;
57239
57345
  }
@@ -57241,20 +57347,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57241
57347
  i = 0;
57242
57348
 
57243
57349
  case 21:
57244
- if (!(i < _this39.presetList.length)) {
57350
+ if (!(i < _this40.presetList.length)) {
57245
57351
  _context2.next = 30;
57246
57352
  break;
57247
57353
  }
57248
57354
 
57249
- if (!(_this39.presetList[i].name && _this39.presetList[i].name != '1' && _this39.presetList[i].name != 'endEvent' && (!_this39.presetList[i].value || _this39.presetList[i].value.length == 0))) {
57355
+ if (!(_this40.presetList[i].name && _this40.presetList[i].name != '1' && _this40.presetList[i].name != 'endEvent' && (!_this40.presetList[i].value || _this40.presetList[i].value.length == 0))) {
57250
57356
  _context2.next = 26;
57251
57357
  break;
57252
57358
  }
57253
57359
 
57254
- return _context2.abrupt('return', _this39.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this39.presetList[i].sequence + '-' + _this39.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
57360
+ return _context2.abrupt('return', _this40.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this40.presetList[i].sequence + '-' + _this40.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
57255
57361
 
57256
57362
  case 26:
57257
- delete _this39.presetList[i].label;
57363
+ delete _this40.presetList[i].label;
57258
57364
 
57259
57365
  case 27:
57260
57366
  i++;
@@ -57262,12 +57368,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57262
57368
  break;
57263
57369
 
57264
57370
  case 30:
57265
- if (!_this39.isCancelSecondConfirmationType) {
57371
+ if (!_this40.isCancelSecondConfirmationType) {
57266
57372
  _context2.next = 33;
57267
57373
  break;
57268
57374
  }
57269
57375
 
57270
- _this39.$confirm('确认提交吗?', '提示', {
57376
+ _this40.$confirm('确认提交吗?', '提示', {
57271
57377
  confirmButtonText: '确定',
57272
57378
  cancelButtonText: '取消',
57273
57379
  type: 'warning'
@@ -57283,46 +57389,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57283
57389
  }
57284
57390
 
57285
57391
  _context.next = 3;
57286
- return _this39.saveInfo('subMit');
57392
+ return _this40.saveInfo('subMit');
57287
57393
 
57288
57394
  case 3:
57289
- _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57395
+ _this40.loading = utils_util.loading(_this40.$loading, '加载中...');
57290
57396
 
57291
57397
  case 4:
57292
57398
  notificationType = '';
57293
57399
 
57294
- notificationType = _this39.nextNode.notificationType.join(',');
57400
+ notificationType = _this40.nextNode.notificationType.join(',');
57295
57401
  addSignUserId = addSignUserId.join(',');
57296
57402
  removeSignUserId = removeSignUserId.join(',');
57297
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57298
- delete _this39.nextNode.addSignMode;
57403
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
57404
+ delete _this40.nextNode.addSignMode;
57299
57405
  }
57300
57406
 
57301
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57302
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57303
- pendingId: _this39.pendingId,
57304
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57407
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
57408
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
57409
+ pendingId: _this40.pendingId,
57410
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
57305
57411
  userId: utils_util.getStorage('userId'),
57306
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57412
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
57307
57413
  addSignUserId: addSignUserId,
57308
- customPresetUserJson: JSON.stringify(_this39.presetList),
57309
- presetUserJson: JSON.stringify(_this39.presetUserJson),
57414
+ customPresetUserJson: JSON.stringify(_this40.presetList),
57415
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
57310
57416
  removeSignUserId: removeSignUserId,
57311
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList ? _this39.mixReadList.join('|') : '' : _this39.nextNode.nextReadUserId.join(','),
57312
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57313
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57417
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
57418
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
57419
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
57314
57420
  notificationType: notificationType
57315
57421
  });
57316
57422
 
57317
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57423
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
57318
57424
  delete params.customLimitTimeText;
57319
- if (_this39.nextNode.isRemoveSign != '1') {
57425
+ if (_this40.nextNode.isRemoveSign != '1') {
57320
57426
  delete params.removeSignUserId;
57321
57427
  }
57322
- if (_this39.nextNode.isAddSign != '1') {
57428
+ if (_this40.nextNode.isAddSign != '1') {
57323
57429
  delete params.addSignUserId;
57324
57430
  }
57325
- if (!_this39.isSpecial) {
57431
+ if (!_this40.isSpecial) {
57326
57432
  delete params.nextUserId;
57327
57433
  }
57328
57434
 
@@ -57331,13 +57437,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57331
57437
  break;
57332
57438
  }
57333
57439
 
57334
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57335
- _this39.taskParams = params;
57440
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
57441
+ _this40.taskParams = params;
57336
57442
  return _context.abrupt('return');
57337
57443
 
57338
57444
  case 19:
57339
- _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57340
- isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57445
+ _this40.loading = utils_util.loading(_this40.$loading, '提交中...');
57446
+ isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
57341
57447
 
57342
57448
  params.isEndUserTask = isEndUserTask;
57343
57449
  params.choiceOrgId = choiceOrgId;
@@ -57361,17 +57467,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57361
57467
  var status = res.status,
57362
57468
  message = res.message;
57363
57469
 
57364
- _this39.loading.close();
57470
+ _this40.loading.close();
57365
57471
  if (status === 'success') {
57366
- _this39.flowSuccess();
57472
+ _this40.flowSuccess();
57367
57473
  } else {
57368
- _this39.$message.error(message || '系统错误,请联系管理员!');
57369
- _this39.$emit('error');
57474
+ _this40.$message.error(message || '系统错误,请联系管理员!');
57475
+ _this40.$emit('error');
57370
57476
  }
57371
57477
  }).catch(function (err) {
57372
- _this39.loading.close();
57478
+ _this40.loading.close();
57373
57479
  if (err.message && err.message !== 'canceled') {
57374
- _this39.$message.error(err.message);
57480
+ _this40.$message.error(err.message);
57375
57481
  }
57376
57482
  }));
57377
57483
 
@@ -57380,7 +57486,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57380
57486
  return _context.stop();
57381
57487
  }
57382
57488
  }
57383
- }, _callee, _this39);
57489
+ }, _callee, _this40);
57384
57490
  })));
57385
57491
  return _context2.abrupt('return');
57386
57492
 
@@ -57391,46 +57497,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57391
57497
  }
57392
57498
 
57393
57499
  _context2.next = 36;
57394
- return _this39.saveInfo('subMit');
57500
+ return _this40.saveInfo('subMit');
57395
57501
 
57396
57502
  case 36:
57397
- _this39.loading = utils_util.loading(_this39.$loading, '加载中...');
57503
+ _this40.loading = utils_util.loading(_this40.$loading, '加载中...');
57398
57504
 
57399
57505
  case 37:
57400
57506
  notificationType = '';
57401
57507
 
57402
- notificationType = _this39.nextNode.notificationType.join(',');
57508
+ notificationType = _this40.nextNode.notificationType.join(',');
57403
57509
  addSignUserId = addSignUserId.join(',');
57404
57510
  removeSignUserId = removeSignUserId.join(',');
57405
- if (!_this39.isCanPreAddSign || _this39.nextNode.isAddSign != '1') {
57406
- delete _this39.nextNode.addSignMode;
57511
+ if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
57512
+ delete _this40.nextNode.addSignMode;
57407
57513
  }
57408
57514
 
57409
- params = flowvue_type_script_lang_js_extends({}, _this39.nextNode, {
57410
- nextOperate: _this39.oldNextOperate !== '' ? _this39.oldNextOperate : _this39.nextNode.nextOperate,
57411
- pendingId: _this39.pendingId,
57412
- opinion: _this39.isForceDisplayDefaultOptionForPrefix && !_this39.value.startsWith(_this39.nodeDefaultSubmitOpinion) ? _this39.nodeDefaultSubmitOpinion + _this39.value : _this39.value,
57515
+ params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
57516
+ nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
57517
+ pendingId: _this40.pendingId,
57518
+ opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
57413
57519
  userId: utils_util.getStorage('userId'),
57414
- nextUserId: _this39.multiple ? nextUserId.join(',') : _this39.nextNode.nextUserId,
57520
+ nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
57415
57521
  addSignUserId: addSignUserId,
57416
- customPresetUserJson: JSON.stringify(_this39.presetList),
57417
- presetUserJson: JSON.stringify(_this39.presetUserJson),
57522
+ customPresetUserJson: JSON.stringify(_this40.presetList),
57523
+ presetUserJson: JSON.stringify(_this40.presetUserJson),
57418
57524
  removeSignUserId: removeSignUserId,
57419
- nextReadUserId: _this39.readMultiple ? _this39.mixReadList ? _this39.mixReadList.join('|') : '' : _this39.nextNode.nextReadUserId.join(','),
57420
- nextOrgId: !_this39.isShowNextUser ? _this39.multiple ? _this39.mixOrgIdList && _this39.mixOrgIdList.join('|') : _this39.nextNode.nextOrgId : '',
57421
- presetReadUserId: _this39.mixPresetList && _this39.mixPresetList.length > 0 ? _this39.mixPresetList.join('|') : _this39.nextNode.presetReadUserId.join(','),
57525
+ nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
57526
+ nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
57527
+ presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
57422
57528
  notificationType: notificationType
57423
57529
  });
57424
57530
 
57425
- if (_this39.activeNames != '1' || !_this39.isCustomPreset) delete params.customPresetUserJson;
57531
+ if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
57426
57532
  delete params.customLimitTimeText;
57427
- if (_this39.nextNode.isRemoveSign != '1') {
57533
+ if (_this40.nextNode.isRemoveSign != '1') {
57428
57534
  delete params.removeSignUserId;
57429
57535
  }
57430
- if (_this39.nextNode.isAddSign != '1') {
57536
+ if (_this40.nextNode.isAddSign != '1') {
57431
57537
  delete params.addSignUserId;
57432
57538
  }
57433
- if (!_this39.isSpecial) {
57539
+ if (!_this40.isSpecial) {
57434
57540
  delete params.nextUserId;
57435
57541
  }
57436
57542
 
@@ -57439,13 +57545,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57439
57545
  break;
57440
57546
  }
57441
57547
 
57442
- params.isSubFlow = _this39.taskExamineInfo.isSubFlow;
57443
- _this39.taskParams = params;
57548
+ params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
57549
+ _this40.taskParams = params;
57444
57550
  return _context2.abrupt('return');
57445
57551
 
57446
57552
  case 52:
57447
- _this39.loading = utils_util.loading(_this39.$loading, '提交中...');
57448
- isEndUserTask = _this39.isEndUserTask, choiceOrgId = _this39.choiceOrgId, choiceDeptId = _this39.choiceDeptId, pOrgId = _this39.pOrgId, taskExamineInfo = _this39.taskExamineInfo, currentNodeIsCircularReadNode = _this39.currentNodeIsCircularReadNode, needRetrialAuth = _this39.needRetrialAuth, circularReadParamsMap = _this39.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this39.currentNodeEnableItemHandleDescription;
57553
+ _this40.loading = utils_util.loading(_this40.$loading, '提交中...');
57554
+ isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
57449
57555
 
57450
57556
  params.isEndUserTask = isEndUserTask;
57451
57557
  params.choiceOrgId = choiceOrgId;
@@ -57469,17 +57575,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57469
57575
  var status = res.status,
57470
57576
  message = res.message;
57471
57577
 
57472
- _this39.loading.close();
57578
+ _this40.loading.close();
57473
57579
  if (status === 'success') {
57474
- _this39.flowSuccess();
57580
+ _this40.flowSuccess();
57475
57581
  } else {
57476
- _this39.$message.error(message || '系统错误,请联系管理员!');
57477
- _this39.$emit('error');
57582
+ _this40.$message.error(message || '系统错误,请联系管理员!');
57583
+ _this40.$emit('error');
57478
57584
  }
57479
57585
  }).catch(function (err) {
57480
- _this39.loading.close();
57586
+ _this40.loading.close();
57481
57587
  if (err.message && err.message !== 'canceled') {
57482
- _this39.$message.error(err.message);
57588
+ _this40.$message.error(err.message);
57483
57589
  }
57484
57590
  }));
57485
57591
 
@@ -57491,7 +57597,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57491
57597
  return _context2.stop();
57492
57598
  }
57493
57599
  }
57494
- }, _callee2, _this39);
57600
+ }, _callee2, _this40);
57495
57601
  }));
57496
57602
 
57497
57603
  return function (_x) {
@@ -57547,8 +57653,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57547
57653
 
57548
57654
  var flow_component = normalizeComponent(
57549
57655
  src_flowvue_type_script_lang_js_,
57550
- flowvue_type_template_id_f7d7c7c6_render,
57551
- flowvue_type_template_id_f7d7c7c6_staticRenderFns,
57656
+ flowvue_type_template_id_d84c2cd8_render,
57657
+ flowvue_type_template_id_d84c2cd8_staticRenderFns,
57552
57658
  false,
57553
57659
  null,
57554
57660
  null,
@@ -58862,6 +58968,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58862
58968
  //
58863
58969
  //
58864
58970
  //
58971
+ //
58972
+ //
58865
58973
 
58866
58974
 
58867
58975
 
@@ -59473,6 +59581,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59473
59581
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
59474
59582
  });
59475
59583
  },
59584
+ handleNewFlowSave: function handleNewFlowSave(businessIds) {
59585
+ this.$emit('save', businessIds);
59586
+ },
59476
59587
  handleNewFlowSuccess: function handleNewFlowSuccess(type) {
59477
59588
  if (type == 'taskRead') {
59478
59589
  this.$emit('successRead', type);
@@ -59603,9 +59714,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59603
59714
  }
59604
59715
  }
59605
59716
  },
59606
- setShrink: function setShrink() {
59607
- this.shrink = !this.shrink;
59608
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
59717
+ setShrink: function setShrink(val) {
59718
+ this.shrink = val;
59719
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
59609
59720
  this.$emit('shrink', this.shrink);
59610
59721
  },
59611
59722
  customLoading: function customLoading(type) {
@@ -59804,11 +59915,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59804
59915
  });
59805
59916
  },
59806
59917
 
59807
- /**
59808
- * saveInfo
59809
- * @desc:暂存
59810
- * @author liufan
59811
- * @date 2022年9月9日
59918
+ /**
59919
+ * saveInfo
59920
+ * @desc:暂存
59921
+ * @author liufan
59922
+ * @date 2022年9月9日
59812
59923
  **/
59813
59924
  saveInfo: function saveInfo(type, btn) {
59814
59925
  var _this14 = this;
@@ -59870,11 +59981,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59870
59981
  });
59871
59982
  },
59872
59983
 
59873
- /**
59874
- * rejectBtn
59875
- * @desc:点击驳回
59876
- * @author liufan
59877
- * @date 2022年5月25日
59984
+ /**
59985
+ * rejectBtn
59986
+ * @desc:点击驳回
59987
+ * @author liufan
59988
+ * @date 2022年5月25日
59878
59989
  **/
59879
59990
  rejectBtn: function rejectBtn() {
59880
59991
  var _this16 = this;
@@ -59892,11 +60003,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59892
60003
  }
59893
60004
  },
59894
60005
 
59895
- /**
59896
- * taskReadBtn
59897
- * @desc:点击分阅
59898
- * @author liufan
59899
- * @date 2022年5月25日
60006
+ /**
60007
+ * taskReadBtn
60008
+ * @desc:点击分阅
60009
+ * @author liufan
60010
+ * @date 2022年5月25日
59900
60011
  **/
59901
60012
  taskReadBtn: function taskReadBtn() {
59902
60013
  var _this17 = this;
@@ -59915,11 +60026,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59915
60026
  }
59916
60027
  },
59917
60028
 
59918
- /**
59919
- * getFind
59920
- * @desc:获取通知方式
59921
- * @author liufan
59922
- * @date 2022年5月25日
60029
+ /**
60030
+ * getFind
60031
+ * @desc:获取通知方式
60032
+ * @author liufan
60033
+ * @date 2022年5月25日
59923
60034
  **/
59924
60035
  getFind: function getFind() {
59925
60036
  var _this18 = this;
@@ -59986,12 +60097,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59986
60097
  });
59987
60098
  },
59988
60099
 
59989
- /**
59990
- * endFlows
59991
- * @desc:直接办结
59992
- * @author liufan
59993
- * @param {Object} res 直接办结数据
59994
- * @date 2022年5月25日
60100
+ /**
60101
+ * endFlows
60102
+ * @desc:直接办结
60103
+ * @author liufan
60104
+ * @param {Object} res 直接办结数据
60105
+ * @date 2022年5月25日
59995
60106
  **/
59996
60107
  endFlows: function endFlows(res) {
59997
60108
  var _this20 = this;
@@ -60046,12 +60157,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60046
60157
  }).catch(function (e) {});
60047
60158
  },
60048
60159
 
60049
- /**
60050
- * goView
60051
- * @desc:更多流程按钮操作
60052
- * @author liufan
60053
- * @param {Object} res 当前点击操作按钮数据
60054
- * @date 2022年5月25日
60160
+ /**
60161
+ * goView
60162
+ * @desc:更多流程按钮操作
60163
+ * @author liufan
60164
+ * @param {Object} res 当前点击操作按钮数据
60165
+ * @date 2022年5月25日
60055
60166
  **/
60056
60167
  goView: function goView(res) {
60057
60168
  // 驳回并办结:rejectAndEndHtml
@@ -60139,11 +60250,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60139
60250
  // isCanStartSubFlow
60140
60251
  },
60141
60252
 
60142
- /**
60143
- * toTakeAdvice
60144
- * @desc:征求意见
60145
- * @author liufan
60146
- * @date 2022年9月29日
60253
+ /**
60254
+ * toTakeAdvice
60255
+ * @desc:征求意见
60256
+ * @author liufan
60257
+ * @date 2022年9月29日
60147
60258
  **/
60148
60259
  toTakeAdvice: function toTakeAdvice(res) {
60149
60260
  var _this22 = this;
@@ -60187,11 +60298,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60187
60298
  });
60188
60299
  },
60189
60300
 
60190
- /**
60191
- * toStartDraf
60192
- * @desc: 稿件递送、联合审核、复核
60193
- * @author liufan
60194
- * @date 2022年9月29日
60301
+ /**
60302
+ * toStartDraf
60303
+ * @desc: 稿件递送、联合审核、复核
60304
+ * @author liufan
60305
+ * @date 2022年9月29日
60195
60306
  **/
60196
60307
  toStartDraf: function toStartDraf(res) {
60197
60308
  var _this24 = this;
@@ -60205,11 +60316,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60205
60316
  }
60206
60317
  },
60207
60318
 
60208
- /**
60209
- * toSendMsg
60210
- * @desc:核稿通知
60211
- * @author liufan
60212
- * @date 2022年9月29日
60319
+ /**
60320
+ * toSendMsg
60321
+ * @desc:核稿通知
60322
+ * @author liufan
60323
+ * @date 2022年9月29日
60213
60324
  **/
60214
60325
  toSendMsg: function toSendMsg(res) {
60215
60326
  var _this25 = this;
@@ -60223,11 +60334,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60223
60334
  }
60224
60335
  },
60225
60336
 
60226
- /**
60227
- * toTaskReadAndEnd
60228
- * @desc:分阅并办结
60229
- * @author liufan
60230
- * @date 2022年9月29日
60337
+ /**
60338
+ * toTaskReadAndEnd
60339
+ * @desc:分阅并办结
60340
+ * @author liufan
60341
+ * @date 2022年9月29日
60231
60342
  **/
60232
60343
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
60233
60344
  var _this26 = this;
@@ -60245,11 +60356,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60245
60356
  }
60246
60357
  },
60247
60358
 
60248
- /**
60249
- * rejectAndEnd
60250
- * @desc:驳回并办结
60251
- * @author liufan
60252
- * @date 2022年9月29日
60359
+ /**
60360
+ * rejectAndEnd
60361
+ * @desc:驳回并办结
60362
+ * @author liufan
60363
+ * @date 2022年9月29日
60253
60364
  **/
60254
60365
  rejectAndEnd: function rejectAndEnd(res) {
60255
60366
  var _this27 = this;
@@ -60305,11 +60416,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60305
60416
  });
60306
60417
  },
60307
60418
 
60308
- /**
60309
- * toTransfer
60310
- * @desc:转办
60311
- * @author liufan
60312
- * @date 2022年9月29日
60419
+ /**
60420
+ * toTransfer
60421
+ * @desc:转办
60422
+ * @author liufan
60423
+ * @date 2022年9月29日
60313
60424
  **/
60314
60425
  toTransfer: function toTransfer(res) {
60315
60426
  var _this29 = this;
@@ -60328,11 +60439,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60328
60439
  this.nextNode.customLimitTime = val;
60329
60440
  },
60330
60441
 
60331
- /**
60332
- * getNodeInfo
60333
- * @desc:获取节点信息
60334
- * @author liufan
60335
- * @date 2022年5月25日
60442
+ /**
60443
+ * getNodeInfo
60444
+ * @desc:获取节点信息
60445
+ * @author liufan
60446
+ * @date 2022年5月25日
60336
60447
  **/
60337
60448
  getNodeInfo: function getNodeInfo() {
60338
60449
  var _this30 = this;
@@ -60479,12 +60590,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60479
60590
  });
60480
60591
  },
60481
60592
 
60482
- /**
60483
- * selecNext
60484
- * @desc:下步节点变化时更新数据
60485
- * @author liufan
60486
- * @param {String} val 当前选中值
60487
- * @date 2022年5月25日
60593
+ /**
60594
+ * selecNext
60595
+ * @desc:下步节点变化时更新数据
60596
+ * @author liufan
60597
+ * @param {String} val 当前选中值
60598
+ * @date 2022年5月25日
60488
60599
  **/
60489
60600
  selecNext: function selecNext(val, type, isDef) {
60490
60601
  var _this31 = this;
@@ -60624,11 +60735,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60624
60735
  }
60625
60736
  },
60626
60737
 
60627
- /**
60628
- * isMultiple
60629
- * @desc:是否多选
60630
- * @author liufan
60631
- * @date 2022年9月13日
60738
+ /**
60739
+ * isMultiple
60740
+ * @desc:是否多选
60741
+ * @author liufan
60742
+ * @date 2022年9月13日
60632
60743
  **/
60633
60744
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
60634
60745
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -60660,11 +60771,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60660
60771
  }
60661
60772
  },
60662
60773
 
60663
- /**
60664
- * getHedInfo
60665
- * @desc:获取审核页面数据
60666
- * @author liufan
60667
- * @date 2022年5月25日
60774
+ /**
60775
+ * getHedInfo
60776
+ * @desc:获取审核页面数据
60777
+ * @author liufan
60778
+ * @date 2022年5月25日
60668
60779
  **/
60669
60780
  getHedInfo: function getHedInfo() {
60670
60781
  var _this32 = this;
@@ -60983,13 +61094,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
60983
61094
  });
60984
61095
  },
60985
61096
 
60986
- /**
60987
- * closeProcess
60988
- * @desc:关闭弹窗
60989
- * @author liufan
60990
- * @param {boolean} val 当前是否办理流程
60991
- * @param {String} type 当前点击的弹窗类型
60992
- * @date 2022年5月25日
61097
+ /**
61098
+ * closeProcess
61099
+ * @desc:关闭弹窗
61100
+ * @author liufan
61101
+ * @param {boolean} val 当前是否办理流程
61102
+ * @param {String} type 当前点击的弹窗类型
61103
+ * @date 2022年5月25日
60993
61104
  **/
60994
61105
  closeProcess: function closeProcess(val, type, closeParent) {
60995
61106
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -61009,23 +61120,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61009
61120
  }
61010
61121
  },
61011
61122
 
61012
- /**
61013
- * selectChange
61014
- * @desc:常用语选择
61015
- * @author liufan
61016
- * @param {String} val 选中值
61017
- * @date 2022年5月25日
61123
+ /**
61124
+ * selectChange
61125
+ * @desc:常用语选择
61126
+ * @author liufan
61127
+ * @param {String} val 选中值
61128
+ * @date 2022年5月25日
61018
61129
  **/
61019
61130
  selectChange: function selectChange(val) {
61020
61131
  this.value = val;
61021
61132
  },
61022
61133
 
61023
- /**
61024
- * upDate
61025
- * @desc:修改常用语
61026
- * @author liufan
61027
- * @param {Object} val 修改值
61028
- * @date 2022年5月25日
61134
+ /**
61135
+ * upDate
61136
+ * @desc:修改常用语
61137
+ * @author liufan
61138
+ * @param {Object} val 修改值
61139
+ * @date 2022年5月25日
61029
61140
  **/
61030
61141
  upDate: function upDate(val) {
61031
61142
  this.FormData.id = val.id;
@@ -61033,11 +61144,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61033
61144
  },
61034
61145
 
61035
61146
 
61036
- /**
61037
- * getProcess
61038
- * @desc:获取选择流程
61039
- * @author liufan
61040
- * @date 2022年5月25日
61147
+ /**
61148
+ * getProcess
61149
+ * @desc:获取选择流程
61150
+ * @author liufan
61151
+ * @date 2022年5月25日
61041
61152
  **/
61042
61153
  getProcess: function getProcess(val) {
61043
61154
  var _this33 = this;
@@ -61100,11 +61211,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61100
61211
  });
61101
61212
  },
61102
61213
 
61103
- /**
61104
- * getPendedhistoryList
61105
- * @desc:获取流程列表
61106
- * @author liufan
61107
- * @date 2022年5月25日
61214
+ /**
61215
+ * getPendedhistoryList
61216
+ * @desc:获取流程列表
61217
+ * @author liufan
61218
+ * @date 2022年5月25日
61108
61219
  **/
61109
61220
  getPendedhistoryList: function getPendedhistoryList() {
61110
61221
  var _this34 = this;
@@ -61177,12 +61288,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61177
61288
  beforeSubProcess: function beforeSubProcess() {},
61178
61289
 
61179
61290
  // 提交流程
61180
- /**
61181
- * subProcess
61182
- * @desc:提交流程
61183
- * @author liufan
61184
- * @param {String} formName 当前form表单ref值
61185
- * @date 2022年5月25日
61291
+ /**
61292
+ * subProcess
61293
+ * @desc:提交流程
61294
+ * @author liufan
61295
+ * @param {String} formName 当前form表单ref值
61296
+ * @date 2022年5月25日
61186
61297
  **/
61187
61298
  subProcess: function subProcess(val, type) {
61188
61299
  var _this36 = this;
@@ -61694,8 +61805,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61694
61805
 
61695
61806
  var flow_src_main_component = normalizeComponent(
61696
61807
  packages_flow_src_mainvue_type_script_lang_js_,
61697
- mainvue_type_template_id_723b9982_render,
61698
- mainvue_type_template_id_723b9982_staticRenderFns,
61808
+ mainvue_type_template_id_7e2b9e7d_render,
61809
+ mainvue_type_template_id_7e2b9e7d_staticRenderFns,
61699
61810
  false,
61700
61811
  null,
61701
61812
  null,
@@ -61712,8 +61823,8 @@ flow_src_main.install = function (Vue) {
61712
61823
  };
61713
61824
 
61714
61825
  /* harmony default export */ var packages_flow = (flow_src_main);
61715
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=52938213&
61716
- var mainvue_type_template_id_52938213_render = function () {
61826
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=1aa747e6&
61827
+ var mainvue_type_template_id_1aa747e6_render = function () {
61717
61828
  var _vm = this
61718
61829
  var _h = _vm.$createElement
61719
61830
  var _c = _vm._self._c || _h
@@ -62987,11 +63098,11 @@ var mainvue_type_template_id_52938213_render = function () {
62987
63098
  2
62988
63099
  )
62989
63100
  }
62990
- var mainvue_type_template_id_52938213_staticRenderFns = []
62991
- mainvue_type_template_id_52938213_render._withStripped = true
63101
+ var mainvue_type_template_id_1aa747e6_staticRenderFns = []
63102
+ mainvue_type_template_id_1aa747e6_render._withStripped = true
62992
63103
 
62993
63104
 
62994
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=52938213&
63105
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=1aa747e6&
62995
63106
 
62996
63107
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
62997
63108
  var flow_group_src_mainvue_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; };
@@ -63745,8 +63856,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
63745
63856
 
63746
63857
  var flow_group_src_main_component = normalizeComponent(
63747
63858
  packages_flow_group_src_mainvue_type_script_lang_js_,
63748
- mainvue_type_template_id_52938213_render,
63749
- mainvue_type_template_id_52938213_staticRenderFns,
63859
+ mainvue_type_template_id_1aa747e6_render,
63860
+ mainvue_type_template_id_1aa747e6_staticRenderFns,
63750
63861
  false,
63751
63862
  null,
63752
63863
  null,
@@ -63763,8 +63874,8 @@ flow_group_src_main.install = function (Vue) {
63763
63874
  };
63764
63875
 
63765
63876
  /* harmony default export */ var flow_group = (flow_group_src_main);
63766
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=6a97d245&
63767
- var mainvue_type_template_id_6a97d245_render = function () {
63877
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=608ddef1&
63878
+ var mainvue_type_template_id_608ddef1_render = function () {
63768
63879
  var _vm = this
63769
63880
  var _h = _vm.$createElement
63770
63881
  var _c = _vm._self._c || _h
@@ -63832,6 +63943,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
63832
63943
  "cell-click": _vm.handleCellClick,
63833
63944
  "btn-click": _vm.handleBtnClick,
63834
63945
  "selection-change": _vm.handleSelectionChange,
63946
+ search: _vm.handleSplitReadingSearch,
63947
+ "page-size-change":
63948
+ _vm.handleSplitReadingSizeChange,
63949
+ "page-current-change":
63950
+ _vm.handleSplitReadingCurrentChange,
63835
63951
  },
63836
63952
  },
63837
63953
  "es-data-table",
@@ -64195,11 +64311,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
64195
64311
  2
64196
64312
  )
64197
64313
  }
64198
- var mainvue_type_template_id_6a97d245_staticRenderFns = []
64199
- mainvue_type_template_id_6a97d245_render._withStripped = true
64314
+ var mainvue_type_template_id_608ddef1_staticRenderFns = []
64315
+ mainvue_type_template_id_608ddef1_render._withStripped = true
64200
64316
 
64201
64317
 
64202
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=6a97d245&
64318
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=608ddef1&
64203
64319
 
64204
64320
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
64205
64321
 
@@ -64381,6 +64497,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64381
64497
  //
64382
64498
  //
64383
64499
  //
64500
+ //
64501
+ //
64502
+ //
64384
64503
 
64385
64504
 
64386
64505
 
@@ -64478,6 +64597,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64478
64597
  currentPage: 1,
64479
64598
  pageSize: 20,
64480
64599
  flowListCount: {},
64600
+ splitReadingSearchKey: '',
64601
+ splitReadingPageNum: 1,
64602
+ splitReadingPageSize: 5,
64481
64603
  currentUserHasPresetInfoAuth: false,
64482
64604
  pressThead: [{
64483
64605
  title: '催办节点',
@@ -64546,8 +64668,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64546
64668
  }
64547
64669
  }, {
64548
64670
  title: '办理意见',
64549
- align: 'center',
64550
- showOverflowTooltip: true,
64671
+ align: 'left',
64672
+ showOverflowTooltip: false,
64551
64673
  'min-width': 200,
64552
64674
  // sortable: true,
64553
64675
  field: 'doresult'
@@ -64576,8 +64698,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64576
64698
  field: 'userName'
64577
64699
  }, {
64578
64700
  title: '办理意见',
64579
- align: 'center',
64580
- showOverflowTooltip: true,
64701
+ align: 'left',
64702
+ showOverflowTooltip: false,
64581
64703
  width: 240,
64582
64704
  // sortable: true,
64583
64705
  field: 'doresult'
@@ -64844,6 +64966,16 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64844
64966
  splitReading: [{
64845
64967
  type: 'text',
64846
64968
  contents: (this.taskReadName ? this.taskReadName : '非流程') + '列表'
64969
+ }, {
64970
+ type: 'search',
64971
+ config: {
64972
+ enterSubmit: true
64973
+ },
64974
+ contents: [{
64975
+ name: 'splitReadingSearchKey',
64976
+ type: 'text',
64977
+ placeholder: '分阅办理人名称...'
64978
+ }]
64847
64979
  }],
64848
64980
  circular: [{
64849
64981
  type: 'text',
@@ -64873,6 +65005,22 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64873
65005
  totalCount: this.total
64874
65006
  };
64875
65007
  },
65008
+ filteredSplitReadingData: function filteredSplitReadingData() {
65009
+ if (!this.splitReadingSearchKey) {
65010
+ return this.splitReadingData;
65011
+ }
65012
+ var key = String(this.splitReadingSearchKey).trim();
65013
+ return this.splitReadingData.filter(function (item) {
65014
+ return item.userName && String(item.userName).includes(key);
65015
+ });
65016
+ },
65017
+ splitReadingPageInfo: function splitReadingPageInfo() {
65018
+ return {
65019
+ pageNum: this.splitReadingPageNum,
65020
+ pageSize: this.splitReadingPageSize,
65021
+ totalCount: this.filteredSplitReadingData.length
65022
+ };
65023
+ },
64876
65024
  theads: function theads() {
64877
65025
  var _this2 = this;
64878
65026
 
@@ -64941,9 +65089,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64941
65089
  }, {
64942
65090
  label: '办理意见',
64943
65091
  field: 'doresult',
64944
- align: 'center',
65092
+ align: 'left',
64945
65093
  width: this.theadWidth.doresult,
64946
- showOverflowTooltip: true,
65094
+ showOverflowTooltip: false,
64947
65095
  'min-width': 200,
64948
65096
  key: 'blyj',
64949
65097
  render: function render(h, params) {
@@ -65069,11 +65217,11 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65069
65217
  }, {
65070
65218
  label: '办理意见',
65071
65219
  field: 'doresult',
65072
- align: 'center',
65220
+ align: 'left',
65073
65221
  'min-width': 200,
65074
65222
  key: 'blyj',
65075
65223
  width: this.theadWidth.doresult,
65076
- showOverflowTooltip: true,
65224
+ showOverflowTooltip: false,
65077
65225
  render: function render(h, params) {
65078
65226
  if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
65079
65227
  return h('img', {
@@ -65400,13 +65548,18 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65400
65548
  }
65401
65549
  });
65402
65550
  }
65403
- return {
65551
+ var baseConfig = {
65404
65552
  type: item,
65405
65553
  checkbox: newContents.indexOf('untreatedRead') != -1,
65406
65554
  toolbar: _this3.toolbars[item],
65407
65555
  thead: data.length > 0 ? data : _this3.theads[item],
65408
65556
  showFormBtn: false
65409
65557
  };
65558
+ if (item === 'splitReading') {
65559
+ baseConfig.showFormBtn = true;
65560
+ baseConfig.page = _this3.splitReadingPageInfo;
65561
+ }
65562
+ return baseConfig;
65410
65563
  } else {
65411
65564
  if (!Object.prototype.hasOwnProperty.call(item, 'toolbar')) {
65412
65565
  var toolbars = _this3.toolbars[item.type];
@@ -65563,12 +65716,26 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65563
65716
 
65564
65717
 
65565
65718
  methods: {
65719
+ handleSplitReadingSearch: function handleSplitReadingSearch(data) {
65720
+ if (data && data.splitReadingSearchKey !== undefined) {
65721
+ this.splitReadingSearchKey = data.splitReadingSearchKey;
65722
+ this.splitReadingPageNum = 1;
65723
+ }
65724
+ },
65725
+ handleSplitReadingSizeChange: function handleSplitReadingSizeChange(size) {
65726
+ this.splitReadingPageSize = size;
65727
+ this.splitReadingPageNum = 1;
65728
+ },
65729
+ handleSplitReadingCurrentChange: function handleSplitReadingCurrentChange(page) {
65730
+ this.splitReadingPageNum = page;
65731
+ },
65732
+
65566
65733
  /**
65567
- * handleBatchDelete
65568
- * @desc:批量删除
65569
- * @author liufan
65570
- * @date 2025年12月31日
65571
- **/
65734
+ * handleBatchDelete
65735
+ * @desc:批量删除
65736
+ * @author liufan
65737
+ * @date 2025年12月31日
65738
+ **/
65572
65739
  handleBatchDelete: function handleBatchDelete() {
65573
65740
  var _this6 = this;
65574
65741
 
@@ -65784,9 +65951,14 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65784
65951
  this.flowListCount.signData = this.signData;
65785
65952
  return this.signData;
65786
65953
  case 'splitReading':
65787
- this.flowListCount.splitReading = this.splitReadingData.length;
65788
- this.flowListCount.splitReadingData = this.splitReadingData;
65789
- return this.splitReadingData;
65954
+ {
65955
+ var splitData = this.filteredSplitReadingData;
65956
+ this.flowListCount.splitReading = splitData.length;
65957
+ this.flowListCount.splitReadingData = splitData;
65958
+ var start = (this.splitReadingPageNum - 1) * this.splitReadingPageSize;
65959
+ var end = start + this.splitReadingPageSize;
65960
+ return splitData.slice(start, end);
65961
+ }
65790
65962
  case 'circular':
65791
65963
  this.flowListCount.circular = this.circularData.length;
65792
65964
  this.flowListCount.circularData = this.circularData;
@@ -66381,8 +66553,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
66381
66553
 
66382
66554
  var flow_list_src_main_component = normalizeComponent(
66383
66555
  packages_flow_list_src_mainvue_type_script_lang_js_,
66384
- mainvue_type_template_id_6a97d245_render,
66385
- mainvue_type_template_id_6a97d245_staticRenderFns,
66556
+ mainvue_type_template_id_608ddef1_render,
66557
+ mainvue_type_template_id_608ddef1_staticRenderFns,
66386
66558
  false,
66387
66559
  null,
66388
66560
  null,
@@ -96909,8 +97081,8 @@ select_ganged_src_main.install = function (Vue) {
96909
97081
  };
96910
97082
 
96911
97083
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
96912
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=6cd08dd8&
96913
- var mainvue_type_template_id_6cd08dd8_render = function () {
97084
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=18a2e4a6&
97085
+ var mainvue_type_template_id_18a2e4a6_render = function () {
96914
97086
  var _vm = this
96915
97087
  var _h = _vm.$createElement
96916
97088
  var _c = _vm._self._c || _h
@@ -96918,22 +97090,14 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
96918
97090
  ? _c(
96919
97091
  "div",
96920
97092
  {
96921
- directives: [
96922
- {
96923
- name: "clickoutside",
96924
- rawName: "v-clickoutside",
96925
- value: _vm.handleClose,
96926
- expression: "handleClose",
96927
- },
96928
- ],
96929
97093
  ref: "esSelector",
96930
97094
  staticClass: "es-selector",
96931
- class: { "es-pointer": !_vm.readonly && !_vm.filterable },
97095
+ class: { "is-button": _vm.button && !_vm.readonly },
96932
97096
  },
96933
97097
  [
96934
97098
  _vm.form
96935
97099
  ? [
96936
- _vm.button
97100
+ _vm.button && !_vm.readonly
96937
97101
  ? _c(
96938
97102
  "el-button",
96939
97103
  _vm._b(
@@ -96952,485 +97116,94 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
96952
97116
  2
96953
97117
  )
96954
97118
  : [
96955
- _c(
96956
- "div",
96957
- {
96958
- class: [
96959
- _vm.selectorSize
96960
- ? "el-select--" + _vm.selectorSize
96961
- : "es-selector-box",
96962
- { "es-selector-search": _vm.filterable },
96963
- ],
96964
- on: {
96965
- click: function ($event) {
96966
- $event.stopPropagation()
96967
- return _vm.toggleMenu($event)
96968
- },
96969
- },
96970
- },
96971
- [
96972
- _vm.multiple
96973
- ? _c(
96974
- "div",
96975
- {
96976
- ref: "tags",
96977
- staticClass: "el-select__tags",
96978
- class: { "es-selector-edit": !_vm.readonly },
96979
- },
96980
- [
96981
- _vm.collapseTags && _vm.selected.length
96982
- ? _c(
96983
- "div",
96984
- {
96985
- staticClass: "es-selector-tags",
96986
- class: {
96987
- "es-selector-more":
96988
- _vm.selected.length > 1,
96989
- },
96990
- },
96991
- [
96992
- _vm._l(
96993
- _vm.selected.slice(
96994
- 0,
96995
- _vm.collapseTags === true
96996
- ? 1
96997
- : _vm.collapseTags
96998
- ),
96999
- function (item, index) {
97000
- return _c(
97001
- "el-tag",
97002
- {
97003
- key: _vm.getValueKey(item),
97004
- attrs: {
97005
- closable:
97006
- !_vm.selectorDisabled &&
97007
- !_vm.readonly &&
97008
- _vm.selected.length >
97009
- _vm.min,
97010
- type: "info",
97011
- "disable-transitions": "",
97012
- },
97013
- on: {
97014
- close: function ($event) {
97015
- _vm.deleteTag(
97016
- $event,
97017
- item,
97018
- index
97019
- )
97020
- },
97021
- },
97022
- },
97023
- [
97024
- _c(
97025
- "span",
97026
- {
97027
- staticClass:
97028
- "el-select__tags-text",
97029
- },
97030
- [
97031
- _vm._v(
97032
- _vm._s(
97033
- _vm.getLabel(item)
97034
- )
97035
- ),
97036
- ]
97037
- ),
97038
- ]
97039
- )
97040
- }
97041
- ),
97042
- _vm.selected.length >
97043
- (_vm.collapseTags === true
97044
- ? 1
97045
- : _vm.collapseTags)
97046
- ? _c(
97047
- "el-tag",
97048
- {
97049
- staticClass: "es-tags-more",
97050
- attrs: {
97051
- closable: false,
97052
- type: "info",
97053
- "disable-transitions": "",
97054
- },
97055
- },
97056
- [
97057
- _c(
97058
- "span",
97059
- {
97060
- staticClass:
97061
- "el-select__tags-text",
97062
- },
97063
- [
97064
- _vm._v(
97065
- "+\n " +
97066
- _vm._s(
97067
- _vm.selected
97068
- .length -
97069
- (_vm.collapseTags ===
97070
- true
97071
- ? 1
97072
- : _vm.collapseTags)
97073
- )
97074
- ),
97075
- ]
97076
- ),
97077
- ]
97078
- )
97079
- : _vm._e(),
97080
- ],
97081
- 2
97082
- )
97083
- : _c(
97084
- "transition-group",
97085
- {
97086
- on: {
97087
- "after-leave": _vm.resetInputHeight,
97088
- },
97089
- },
97090
- _vm._l(
97091
- _vm.selected,
97092
- function (item, index) {
97093
- return _c(
97094
- "el-tag",
97095
- {
97096
- key: _vm.getValueKey(item),
97097
- attrs: {
97098
- closable:
97099
- !_vm.selectorDisabled &&
97100
- !_vm.readonly &&
97101
- _vm.selected.length >
97102
- _vm.min,
97103
- type: "info",
97104
- "disable-transitions": "",
97105
- },
97106
- on: {
97107
- close: function ($event) {
97108
- _vm.deleteTag(
97109
- $event,
97110
- item,
97111
- index
97112
- )
97113
- },
97114
- },
97115
- },
97116
- [
97117
- _c(
97118
- "span",
97119
- {
97120
- staticClass:
97121
- "el-select__tags-text",
97122
- },
97123
- [
97124
- _vm._v(
97125
- _vm._s(_vm.getLabel(item))
97126
- ),
97127
- ]
97128
- ),
97129
- ]
97130
- )
97131
- }
97132
- ),
97133
- 1
97134
- ),
97135
- ],
97136
- 1
97137
- )
97138
- : _vm._e(),
97139
- _vm.readonly
97140
- ? _c(
97141
- "div",
97142
- {
97143
- ref: "reference",
97144
- staticClass: "es-input__inner",
97119
+ !(_vm.multiple && _vm.readonly)
97120
+ ? _c(
97121
+ "el-autocomplete",
97122
+ {
97123
+ attrs: {
97124
+ "value-key": "showname",
97125
+ readonly: _vm.readonly,
97126
+ "fetch-suggestions": _vm.search,
97127
+ placeholder: _vm.placeholder,
97128
+ "trigger-on-focus": false,
97129
+ "get-label": _vm.getLabel,
97130
+ },
97131
+ on: {
97132
+ select: _vm.handleSelect,
97133
+ change: _vm.handleChange,
97134
+ },
97135
+ model: {
97136
+ value: _vm.selectedLabel,
97137
+ callback: function ($$v) {
97138
+ _vm.selectedLabel = $$v
97145
97139
  },
97146
- [
97147
- !_vm.multiple
97148
- ? [_vm._v(_vm._s(_vm.selectedLabel))]
97149
- : _vm._e(),
97150
- ],
97151
- 2
97152
- )
97153
- : [
97154
- _vm.multiple
97155
- ? [
97156
- _c(
97157
- "el-input",
97158
- {
97159
- directives: [
97160
- {
97161
- name: "popover",
97162
- rawName: "v-popover:popover",
97163
- arg: "popover",
97164
- },
97165
- ],
97166
- ref: "reference",
97167
- class: {
97168
- "is-focus": _vm.visible,
97169
- "es-plain": _vm.plain,
97170
- "es-pointer": !_vm.filterable,
97171
- "es-zindex-2": _vm.focus,
97172
- },
97173
- attrs: {
97174
- type: "text",
97175
- autocomplete: "off",
97176
- readonly: _vm.filterable
97177
- ? false
97178
- : true,
97179
- id: _vm.id,
97180
- placeholder: _vm.currentPlaceholder,
97181
- size: _vm.selectorSize,
97182
- disabled: _vm.selectorDisabled,
97183
- tabindex: _vm.tabindex,
97184
- },
97185
- on: {
97186
- focus: _vm.handleFocus,
97187
- blur: _vm.handleBlur,
97188
- },
97189
- nativeOn: {
97190
- dblclick: function ($event) {
97191
- return _vm.openDialog($event)
97192
- },
97193
- },
97194
- model: {
97195
- value: _vm.words,
97196
- callback: function ($$v) {
97197
- _vm.words = $$v
97198
- },
97199
- expression: "words",
97200
- },
97201
- },
97202
- [
97203
- _c(
97204
- "template",
97205
- { slot: "append" },
97206
- [
97207
- _vm.filterable || _vm.showButton
97208
- ? _c(
97209
- "el-button",
97210
- {
97211
- ref: "openDialog",
97212
- on: {
97213
- click: function (
97214
- $event
97215
- ) {
97216
- $event.stopPropagation()
97217
- return _vm.openDialog(
97218
- $event
97219
- )
97220
- },
97221
- },
97222
- },
97223
- [
97224
- _vm._t("default", [
97225
- _vm.icon
97226
- ? _c("es-icon", {
97227
- attrs: {
97228
- contents:
97229
- _vm.icon,
97230
- },
97231
- })
97232
- : [_vm._v("选择")],
97233
- ]),
97234
- ],
97235
- 2
97236
- )
97237
- : _vm._e(),
97238
- ],
97239
- 1
97240
- ),
97241
- ],
97242
- 2
97243
- ),
97244
- _c("el-input", {
97245
- directives: [
97246
- {
97247
- name: "show",
97248
- rawName: "v-show",
97249
- value: false,
97250
- expression: "false",
97251
- },
97252
- ],
97253
- attrs: {
97254
- readonly: "",
97255
- name: _vm.name,
97256
- type: "text",
97257
- },
97258
- model: {
97259
- value: _vm.selectedLabel,
97260
- callback: function ($$v) {
97261
- _vm.selectedLabel = $$v
97262
- },
97263
- expression: "selectedLabel",
97264
- },
97265
- }),
97266
- ]
97267
- : _c(
97268
- "el-input",
97269
- {
97270
- ref: "reference",
97271
- class: {
97272
- "is-focus": _vm.visible,
97273
- "es-plain": this.plain,
97274
- "es-pointer": !_vm.filterable,
97275
- },
97276
- attrs: {
97277
- type: "text",
97278
- autocomplete: "off",
97279
- clearable: _vm.clearable,
97280
- showClearIcon: "",
97281
- name: _vm.name,
97282
- readonly: _vm.filterable
97283
- ? false
97284
- : true,
97285
- active: _vm.actived,
97286
- id: _vm.id,
97287
- placeholder: _vm.currentPlaceholder,
97288
- size: _vm.selectorSize,
97289
- disabled: _vm.selectorDisabled,
97290
- tabindex: _vm.tabindex,
97291
- },
97292
- on: { clear: _vm.handleClear },
97293
- nativeOn: {
97294
- dblclick: function ($event) {
97295
- return _vm.openDialog($event)
97296
- },
97297
- },
97298
- model: {
97299
- value: _vm.selectedLabel,
97300
- callback: function ($$v) {
97301
- _vm.selectedLabel = $$v
97302
- },
97303
- expression: "selectedLabel",
97304
- },
97305
- },
97306
- [
97307
- _c(
97308
- "template",
97309
- { slot: "append" },
97310
- [
97311
- _vm.filterable || _vm.showButton
97312
- ? _c(
97313
- "el-button",
97314
- {
97315
- ref: "openDialog",
97316
- on: {
97317
- click: function ($event) {
97318
- $event.stopPropagation()
97319
- return _vm.openDialog(
97320
- $event
97321
- )
97322
- },
97323
- },
97324
- },
97325
- [
97326
- _vm._t("default", [
97327
- _vm.icon
97328
- ? _c("es-icon", {
97329
- attrs: {
97330
- contents:
97331
- _vm.icon,
97332
- },
97333
- })
97334
- : [_vm._v("选择")],
97335
- ]),
97336
- ],
97337
- 2
97338
- )
97339
- : _vm._e(),
97340
- ],
97341
- 1
97342
- ),
97343
- ],
97344
- 2
97345
- ),
97346
- ],
97347
- ],
97348
- 2
97349
- ),
97350
- _c(
97351
- "el-popover",
97352
- {
97353
- attrs: {
97354
- placement: "bottom-start",
97355
- trigger: "manual",
97356
- "popper-class": "es-selector-popover",
97357
- width: _vm.minWidth,
97358
- queryParent: true,
97359
- reference: _vm.reference,
97360
- "arrow-offset": 20,
97361
- },
97362
- model: {
97363
- value: _vm.show,
97364
- callback: function ($$v) {
97365
- _vm.show = $$v
97140
+ expression: "selectedLabel",
97141
+ },
97366
97142
  },
97367
- expression: "show",
97368
- },
97369
- },
97370
- [
97371
- _c(
97372
- "el-scrollbar",
97143
+ [
97144
+ !_vm.readonly
97145
+ ? _c("el-button", {
97146
+ staticClass: "es-selector-btn",
97147
+ attrs: {
97148
+ slot: "suffix",
97149
+ type: "text",
97150
+ icon: _vm.icon,
97151
+ },
97152
+ on: {
97153
+ click: function ($event) {
97154
+ $event.stopPropagation()
97155
+ return _vm.openDialog($event)
97156
+ },
97157
+ },
97158
+ slot: "suffix",
97159
+ })
97160
+ : _vm._e(),
97161
+ ],
97162
+ 1
97163
+ )
97164
+ : _vm._e(),
97165
+ _vm.multiple
97166
+ ? _c(
97167
+ "div",
97373
97168
  {
97374
- directives: [
97375
- {
97376
- name: "show",
97377
- rawName: "v-show",
97378
- value: _vm.options.length,
97379
- expression: "options.length",
97380
- },
97381
- ],
97382
- ref: "scrollbar",
97383
- attrs: {
97384
- tag: "ul",
97385
- "wrap-class": "es-selector-dropdown__wrap",
97386
- "view-class": "es-selector-dropdown__list",
97387
- maxHeight: "228",
97169
+ ref: "tags",
97170
+ staticClass: "es-select__tags",
97171
+ class: {
97172
+ "is-edit": !_vm.readonly,
97173
+ "is-show": _vm.selected.length,
97388
97174
  },
97389
97175
  },
97390
- _vm._l(_vm.options, function (item) {
97176
+ _vm._l(_vm.selected, function (item, index) {
97391
97177
  return _c(
97392
- "li",
97178
+ "el-tag",
97393
97179
  {
97394
- key: item.id,
97395
- staticClass: "es-selector-dropdown-item",
97396
- class: { "es-selected": item.selected },
97180
+ key: _vm.getValueKey(item),
97181
+ attrs: {
97182
+ closable:
97183
+ !_vm.selectorDisabled &&
97184
+ !_vm.readonly &&
97185
+ _vm.selected.length > _vm.min,
97186
+ type: "info",
97187
+ "disable-transitions": "",
97188
+ },
97397
97189
  on: {
97398
- click: function ($event) {
97399
- _vm.handleSelect(item)
97190
+ close: function ($event) {
97191
+ _vm.deleteTag($event, item, index)
97400
97192
  },
97401
97193
  },
97402
97194
  },
97403
97195
  [
97404
- _c("span", [
97405
- _vm._v(
97406
- "\n " +
97407
- _vm._s(_vm.getDep(item)) +
97408
- "\n " +
97409
- _vm._s(item[_vm.labelKey]) +
97410
- "\n "
97411
- ),
97412
- ]),
97413
- ]
97414
- )
97415
- }),
97416
- 0
97417
- ),
97418
- _vm.options.length == 0
97419
- ? _c(
97420
- "p",
97421
- { staticClass: "el-select-dropdown__empty" },
97422
- [
97423
- _vm._v(
97424
- "\n " +
97425
- _vm._s(_vm.noMatchText) +
97426
- "\n "
97196
+ _c(
97197
+ "span",
97198
+ { staticClass: "el-select__tags-text" },
97199
+ [_vm._v(_vm._s(_vm.getLabel(item)))]
97427
97200
  ),
97428
97201
  ]
97429
97202
  )
97430
- : _vm._e(),
97431
- ],
97432
- 1
97433
- ),
97203
+ }),
97204
+ 1
97205
+ )
97206
+ : _vm._e(),
97434
97207
  ],
97435
97208
  ]
97436
97209
  : _vm._e(),
@@ -97447,6 +97220,7 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
97447
97220
  css: false,
97448
97221
  "append-to-body": true,
97449
97222
  "close-on-click-modal": false,
97223
+ "destroy-on-close": _vm.destroyOnClose,
97450
97224
  },
97451
97225
  on: {
97452
97226
  "update:visible": function ($event) {
@@ -97470,6 +97244,8 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
97470
97244
  type: _vm.types,
97471
97245
  mix: _vm.mix,
97472
97246
  isShowLevel3: _vm.isShowLevel3,
97247
+ "tree-title": _vm.treeTitle,
97248
+ "show-switch": _vm.showSwitch,
97473
97249
  },
97474
97250
  on: {
97475
97251
  tabschage: _vm.tabschage,
@@ -97502,11 +97278,11 @@ var mainvue_type_template_id_6cd08dd8_render = function () {
97502
97278
  )
97503
97279
  : _vm._e()
97504
97280
  }
97505
- var mainvue_type_template_id_6cd08dd8_staticRenderFns = []
97506
- mainvue_type_template_id_6cd08dd8_render._withStripped = true
97281
+ var mainvue_type_template_id_18a2e4a6_staticRenderFns = []
97282
+ mainvue_type_template_id_18a2e4a6_render._withStripped = true
97507
97283
 
97508
97284
 
97509
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=6cd08dd8&
97285
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=18a2e4a6&
97510
97286
 
97511
97287
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
97512
97288
  var clickoutside_ = __webpack_require__(17);
@@ -97603,154 +97379,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97603
97379
  //
97604
97380
  //
97605
97381
  //
97606
- //
97607
- //
97608
- //
97609
- //
97610
- //
97611
- //
97612
- //
97613
- //
97614
- //
97615
- //
97616
- //
97617
- //
97618
- //
97619
- //
97620
- //
97621
- //
97622
- //
97623
- //
97624
- //
97625
- //
97626
- //
97627
- //
97628
- //
97629
- //
97630
- //
97631
- //
97632
- //
97633
- //
97634
- //
97635
- //
97636
- //
97637
- //
97638
- //
97639
- //
97640
- //
97641
- //
97642
- //
97643
- //
97644
- //
97645
- //
97646
- //
97647
- //
97648
- //
97649
- //
97650
- //
97651
- //
97652
- //
97653
- //
97654
- //
97655
- //
97656
- //
97657
- //
97658
- //
97659
- //
97660
- //
97661
- //
97662
- //
97663
- //
97664
- //
97665
- //
97666
- //
97667
- //
97668
- //
97669
- //
97670
- //
97671
- //
97672
- //
97673
- //
97674
- //
97675
- //
97676
- //
97677
- //
97678
- //
97679
- //
97680
- //
97681
- //
97682
- //
97683
- //
97684
- //
97685
- //
97686
- //
97687
- //
97688
- //
97689
- //
97690
- //
97691
- //
97692
- //
97693
- //
97694
- //
97695
- //
97696
- //
97697
- //
97698
- //
97699
- //
97700
- //
97701
- //
97702
- //
97703
- //
97704
- //
97705
- //
97706
- //
97707
- //
97708
- //
97709
- //
97710
- //
97711
- //
97712
- //
97713
- //
97714
- //
97715
- //
97716
- //
97717
- //
97718
- //
97719
- //
97720
- //
97721
- //
97722
- //
97723
- //
97724
- //
97725
- //
97726
- //
97727
- //
97728
- //
97729
- //
97730
- //
97731
- //
97732
- //
97733
- //
97734
- //
97735
- //
97736
- //
97737
- //
97738
- //
97739
- //
97740
- //
97741
- //
97742
- //
97743
- //
97744
- //
97745
- //
97746
- //
97747
- //
97748
- //
97749
- //
97750
- //
97751
- //
97752
- //
97753
- //
97382
+
97754
97383
 
97755
97384
 
97756
97385
 
@@ -97846,17 +97475,17 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97846
97475
  default: -1
97847
97476
  },
97848
97477
  //是否显示搜索框
97849
- filterable: Boolean,
97850
- //搜索列表是否显示部门信息
97851
- showFilterListDep: {
97478
+ filterable: {
97852
97479
  type: Boolean,
97853
97480
  default: true
97854
97481
  },
97482
+ //搜索列表是否显示部门信息
97483
+ showFilterListDep: Boolean,
97855
97484
  //是否根据搜索值创建新的数据
97856
97485
  createable: Boolean,
97857
97486
  showButton: Boolean,
97858
97487
  button: Object,
97859
- icon: String,
97488
+ icon: { type: String, default: 'es-icon-sousuorenyuan' },
97860
97489
  active: String,
97861
97490
  keywords: {
97862
97491
  type: String,
@@ -97897,16 +97526,26 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97897
97526
  select: {
97898
97527
  type: Boolean,
97899
97528
  default: true
97900
- }
97529
+ },
97530
+ //弹窗关闭时是否销毁子组件
97531
+ destroyOnClose: Boolean,
97532
+ //树结构标题
97533
+ treeTitle: String,
97534
+ //是否显示切换按钮
97535
+ showSwitch: {
97536
+ type: Boolean,
97537
+ default: true
97538
+ },
97539
+ selection: [Array, String]
97901
97540
  },
97902
97541
  data: function data() {
97903
97542
  return {
97543
+ selectedLabel: '',
97904
97544
  selected: [],
97905
97545
  visible: false,
97906
97546
  menuVisibleOnFocus: false,
97907
97547
  inputHovering: false,
97908
97548
  styles: {},
97909
- words: '',
97910
97549
  minWidth: '',
97911
97550
  options: '',
97912
97551
  show: false,
@@ -97942,30 +97581,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97942
97581
  selectorDisabled: function selectorDisabled() {
97943
97582
  return this.disabled || (this.elForm || {}).disabled;
97944
97583
  },
97945
-
97946
- selectedLabel: {
97947
- get: function get() {
97948
- var _this = this;
97949
-
97950
- if (this.selected) {
97951
- if (typeof this.selected === 'string') {
97952
- return this.selected;
97953
- } else if (utils_util.isObject(this.selected)) {
97954
- return this.selected[this.labelKey];
97955
- } else if (Array.isArray(this.selected)) {
97956
- return this.selected.map(function (item) {
97957
- return typeof item === 'string' ? item : item[_this.labelKey];
97958
- }).join(',');
97959
- }
97960
- }
97961
- return '';
97962
- },
97963
- set: function set(val) {
97964
- this.selected = [val];
97965
- this.words = val;
97966
- return val;
97967
- }
97968
- },
97969
97584
  currentPlaceholder: function currentPlaceholder() {
97970
97585
  if (this.selected && this.selected.length) {
97971
97586
  return '';
@@ -97990,6 +97605,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97990
97605
  } else {
97991
97606
  this.selected = [];
97992
97607
  }
97608
+ if (!this.multiple && val && val.length) {
97609
+ this.selectedLabel = this.getLabel(val[0]);
97610
+ }
97993
97611
  }
97994
97612
  },
97995
97613
  selected: {
@@ -98001,12 +97619,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98001
97619
  }
98002
97620
  }
98003
97621
  },
98004
- words: function words(val) {
98005
- if (this.emptySerach || val !== '') {
98006
- clearTimeout(this.timer);
98007
- this.timer = setTimeout(this.handleSearch, 500);
98008
- }
98009
- },
98010
97622
  mix: function mix(val) {
98011
97623
  if (val) {
98012
97624
  this.getSysParam();
@@ -98014,6 +97626,11 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98014
97626
  }
98015
97627
  },
98016
97628
  created: function created() {
97629
+ var _this = this;
97630
+
97631
+ this.search = Object(external_throttle_debounce_["throttle"])(500, function (query, callback) {
97632
+ _this.handleSearch(query, callback);
97633
+ });
98017
97634
  this.reference = this.$refs.esSelector;
98018
97635
  this.mix && this.getSysParam();
98019
97636
  },
@@ -98061,76 +97678,83 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98061
97678
  getValueKey: function getValueKey(obj) {
98062
97679
  return utils_util.isObject(obj) ? obj[this.valueKey] : obj;
98063
97680
  },
98064
- toggleMenu: function toggleMenu() {
98065
- if (!this.selectorDisabled && !this.readonly && !this.filterable && this.select) {
98066
- this.visible = true;
98067
- }
98068
- },
98069
97681
  openDialog: function openDialog() {
98070
97682
  if (!this.selectorDisabled && !this.readonly && this.select) {
98071
97683
  this.visible = true;
98072
97684
  }
98073
97685
  },
98074
- handleSearch: function handleSearch() {
98075
- var _this3 = this;
97686
+ handleSearch: function handleSearch(query, callback) {
97687
+ var _ref,
97688
+ _this3 = this;
98076
97689
 
98077
- var options = [];
98078
- if (this.createable) {
98079
- var _ref;
97690
+ if (!query) return;
98080
97691
 
98081
- options = [(_ref = {}, _ref[this.labelKey] = this.words, _ref[this.valueKey] = this.words, _ref)];
97692
+ var options = this.createable ? [(_ref = {}, _ref[this.labelKey] = query, _ref[this.valueKey] = query, _ref)] : [];
97693
+ if (!this.tree && this.selection && Array.isArray(this.selection)) {
97694
+ var selections = this.selection.filter(function (item) {
97695
+ return item[_this3.labelKey].indexOf(query) > -1;
97696
+ });
97697
+ // selections = selections.filter((item) => {
97698
+ // return (
97699
+ // this.selected.findIndex(
97700
+ // (selected) => selected[this.valueKey] === item[this.valueKey]
97701
+ // ) === -1
97702
+ // );
97703
+ // });
97704
+ options = options.concat(selections);
98082
97705
  }
98083
97706
  if (this.filterable) {
98084
97707
  var params = {
98085
97708
  type: this.actived
98086
97709
  };
98087
- params[this.keywords] = this.words;
97710
+ var url = !this.tree && this.selection && typeof this.selection === 'string' ? this.selection : this.action;
97711
+ params[this.keywords] = query;
98088
97712
  params = utils_util.extend({}, params, this.where);
98089
97713
  utils_util.ajax({
98090
- url: this.action,
97714
+ url: url,
98091
97715
  params: params
98092
97716
  }).then(function (res) {
98093
97717
  if (res.rCode === 0) {
98094
- _this3.options = [].concat(options, res.results);
98095
- if (_this3.selected.length && _this3.multiple) {
98096
- _this3.selected.forEach(function (item) {
98097
- var i = utils_util.indexOfObj(_this3.options, item, _this3.valueKey);
98098
- if (i > -1) {
98099
- _this3.options[i].selected = true;
98100
- }
98101
- });
98102
- }
98103
- _this3.show = true;
97718
+ var results = res.results || [];
97719
+ // .filter((item) => {
97720
+ // return (
97721
+ // this.selected.findIndex(
97722
+ // (selected) =>
97723
+ // selected[this.valueKey] === item[this.valueKey]
97724
+ // ) === -1
97725
+ // );
97726
+ // });
97727
+ options = options.concat(results);
97728
+ callback(options);
98104
97729
  }
98105
97730
  }).catch(function (err) {
98106
97731
  if (err.message && err.message !== 'canceled') {
98107
97732
  _this3.$message.error(err.message);
98108
97733
  }
98109
97734
  });
98110
- } else if (this.createable) {
98111
- this.options = options;
98112
- this.show = true;
98113
- }
98114
- },
98115
- handleFocus: function handleFocus() {
98116
- if (this.filterable) {
98117
- this.focus = true;
97735
+ } else {
97736
+ callback(options);
98118
97737
  }
98119
97738
  },
98120
- handleBlur: function handleBlur() {
98121
- this.focus = false;
98122
- },
98123
97739
  tabschage: function tabschage(trees, active) {
98124
97740
  this.$emit('tabs-change', trees, active);
98125
97741
  },
98126
- handleClose: function handleClose(res) {
98127
- if (!this.multiple && this.selected[0] === this.words) {
97742
+ handleChange: function handleChange(val) {
97743
+ if (!this.multiple) {
98128
97744
  this.selected = [];
97745
+
97746
+ this.$emit('input', []);
97747
+ this.$emit('confirm', [], this.businessData);
98129
97748
  }
98130
- this.show = false;
97749
+ console.log('handleChange', val);
98131
97750
  },
98132
97751
  handleSelect: function handleSelect(res) {
98133
- this.words = '';
97752
+ console.log('handleSelect', res);
97753
+ if (!this.multiple) {
97754
+ this.selectedLabel = this.getLabel(res);
97755
+ } else {
97756
+ this.selectedLabel = '';
97757
+ }
98134
97758
  if (!res.selected) {
98135
97759
  if (this.multiple) {
98136
97760
  if (this.selected.length) {
@@ -98162,8 +97786,14 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98162
97786
  this.$emit('confirm', this.selected);
98163
97787
  },
98164
97788
  handleConfirm: function handleConfirm(res) {
98165
- this.visible = false;
97789
+ console.log('handleConfirm', res);
98166
97790
  var val = utils_util.isObject(res) ? [res] : res;
97791
+ this.visible = false;
97792
+ if (!this.multiple) {
97793
+ this.selectedLabel = val[0] ? this.getLabel(val) : '';
97794
+ } else {
97795
+ this.selectedLabel = '';
97796
+ }
98167
97797
  if (this.mix) {
98168
97798
  val.forEach(function (item, index) {
98169
97799
  val[index]._typeName = utils_util.getTypeName(item.stype);
@@ -98260,8 +97890,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98260
97890
 
98261
97891
  var selector_src_main_component = normalizeComponent(
98262
97892
  packages_selector_src_mainvue_type_script_lang_js_,
98263
- mainvue_type_template_id_6cd08dd8_render,
98264
- mainvue_type_template_id_6cd08dd8_staticRenderFns,
97893
+ mainvue_type_template_id_18a2e4a6_render,
97894
+ mainvue_type_template_id_18a2e4a6_staticRenderFns,
98265
97895
  false,
98266
97896
  null,
98267
97897
  null,
@@ -98278,8 +97908,8 @@ selector_src_main.install = function (Vue) {
98278
97908
  };
98279
97909
 
98280
97910
  /* harmony default export */ var selector = (selector_src_main);
98281
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=4765b5a0&
98282
- var mainvue_type_template_id_4765b5a0_render = function () {
97911
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=17c26d73&
97912
+ var mainvue_type_template_id_17c26d73_render = function () {
98283
97913
  var _vm = this
98284
97914
  var _h = _vm.$createElement
98285
97915
  var _c = _vm._self._c || _h
@@ -98313,7 +97943,11 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98313
97943
  [
98314
97944
  _vm.isShowTree
98315
97945
  ? _c("tree", {
98316
- attrs: { data: items.data, loading: _vm.loading },
97946
+ attrs: {
97947
+ "tree-title": _vm.treeTitle,
97948
+ data: items.data,
97949
+ loading: _vm.loading,
97950
+ },
98317
97951
  on: { loadsub: _vm.loadsub, search: _vm.searchTree },
98318
97952
  })
98319
97953
  : _vm._e(),
@@ -98338,6 +97972,16 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98338
97972
  [
98339
97973
  _c(
98340
97974
  "el-form-item",
97975
+ {
97976
+ directives: [
97977
+ {
97978
+ name: "show",
97979
+ rawName: "v-show",
97980
+ value: _vm.showSwitch,
97981
+ expression: "showSwitch",
97982
+ },
97983
+ ],
97984
+ },
98341
97985
  [
98342
97986
  _c("es-switch", {
98343
97987
  attrs: { data: _vm.options },
@@ -98489,6 +98133,41 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98489
98133
  expression: "checkeds",
98490
98134
  },
98491
98135
  }),
98136
+ _c(
98137
+ "div",
98138
+ { staticClass: "es-selector-selection-divider" },
98139
+ [
98140
+ _c(
98141
+ "el-button",
98142
+ {
98143
+ attrs: { type: "text", size: "small" },
98144
+ on: { click: _vm.handleDelete },
98145
+ },
98146
+ [
98147
+ _c("i", { staticClass: "el-icon-delete" }),
98148
+ _vm._v("清空"),
98149
+ ]
98150
+ ),
98151
+ _vm.multiple && _vm.checkeds.length > 0
98152
+ ? _c(
98153
+ "span",
98154
+ { staticClass: "es-selector-selection-count" },
98155
+ [
98156
+ _vm._v("\n 已选:\n "),
98157
+ _c(
98158
+ "span",
98159
+ {
98160
+ staticClass:
98161
+ "es-selector-selection-count-num",
98162
+ },
98163
+ [_vm._v(_vm._s(_vm.checkeds.length))]
98164
+ ),
98165
+ ]
98166
+ )
98167
+ : _vm._e(),
98168
+ ],
98169
+ 1
98170
+ ),
98492
98171
  _c("selection", {
98493
98172
  attrs: {
98494
98173
  genre: "delete",
@@ -98522,19 +98201,6 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98522
98201
  "div",
98523
98202
  { staticClass: "es-selector-handle" },
98524
98203
  [
98525
- _vm.multiple && _vm.checkeds.length > 0
98526
- ? _c(
98527
- "span",
98528
- { staticStyle: { "margin-right": "20px", color: "red" } },
98529
- [
98530
- _vm._v(
98531
- "\n 已选 " +
98532
- _vm._s(_vm.checkeds.length) +
98533
- "\n "
98534
- ),
98535
- ]
98536
- )
98537
- : _vm._e(),
98538
98204
  _c(
98539
98205
  "el-button",
98540
98206
  {
@@ -98557,14 +98223,14 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98557
98223
  1
98558
98224
  )
98559
98225
  }
98560
- var mainvue_type_template_id_4765b5a0_staticRenderFns = []
98561
- mainvue_type_template_id_4765b5a0_render._withStripped = true
98226
+ var mainvue_type_template_id_17c26d73_staticRenderFns = []
98227
+ mainvue_type_template_id_17c26d73_render._withStripped = true
98562
98228
 
98563
98229
 
98564
- // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=4765b5a0&
98230
+ // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=17c26d73&
98565
98231
 
98566
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
98567
- var treevue_type_template_id_24ad732a_render = function () {
98232
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=3d3025d8&
98233
+ var treevue_type_template_id_3d3025d8_render = function () {
98568
98234
  var _vm = this
98569
98235
  var _h = _vm.$createElement
98570
98236
  var _c = _vm._self._c || _h
@@ -98572,35 +98238,41 @@ var treevue_type_template_id_24ad732a_render = function () {
98572
98238
  "div",
98573
98239
  { staticClass: "es-selector-tree" },
98574
98240
  [
98575
- _c(
98576
- "el-input",
98577
- {
98578
- staticClass: "es-selector-tree-search",
98579
- attrs: { placeholder: "请输入搜索关键字" },
98580
- on: { change: _vm.handleChangeSearch },
98581
- model: {
98582
- value: _vm.seachkey,
98583
- callback: function ($$v) {
98584
- _vm.seachkey = $$v
98585
- },
98586
- expression: "seachkey",
98587
- },
98588
- },
98589
- [
98590
- _c(
98591
- "template",
98592
- { slot: "append" },
98593
- [
98594
- _c("el-button", {
98595
- attrs: { icon: "el-icon-search", type: "primary" },
98596
- on: { click: _vm.handleSearch },
98597
- }),
98598
- ],
98599
- 1
98600
- ),
98601
- ],
98602
- 2
98603
- ),
98241
+ _vm.treeTitle
98242
+ ? _c("div", { staticClass: "es-selector-tree-title" }, [
98243
+ _vm._v("\n " + _vm._s(_vm.treeTitle) + "\n "),
98244
+ ])
98245
+ : [
98246
+ _c(
98247
+ "el-input",
98248
+ {
98249
+ staticClass: "es-selector-tree-search",
98250
+ attrs: { placeholder: "请输入搜索关键字" },
98251
+ on: { change: _vm.handleChangeSearch },
98252
+ model: {
98253
+ value: _vm.searchkey,
98254
+ callback: function ($$v) {
98255
+ _vm.searchkey = $$v
98256
+ },
98257
+ expression: "searchkey",
98258
+ },
98259
+ },
98260
+ [
98261
+ _c(
98262
+ "template",
98263
+ { slot: "append" },
98264
+ [
98265
+ _c("el-button", {
98266
+ attrs: { icon: "el-icon-search", type: "primary" },
98267
+ on: { click: _vm.handleSearch },
98268
+ }),
98269
+ ],
98270
+ 1
98271
+ ),
98272
+ ],
98273
+ 2
98274
+ ),
98275
+ ],
98604
98276
  _c(
98605
98277
  "div",
98606
98278
  {
@@ -98694,14 +98366,14 @@ var treevue_type_template_id_24ad732a_render = function () {
98694
98366
  1
98695
98367
  ),
98696
98368
  ],
98697
- 1
98369
+ 2
98698
98370
  )
98699
98371
  }
98700
- var treevue_type_template_id_24ad732a_staticRenderFns = []
98701
- treevue_type_template_id_24ad732a_render._withStripped = true
98372
+ var treevue_type_template_id_3d3025d8_staticRenderFns = []
98373
+ treevue_type_template_id_3d3025d8_render._withStripped = true
98702
98374
 
98703
98375
 
98704
- // CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
98376
+ // CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=3d3025d8&
98705
98377
 
98706
98378
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=script&lang=js&
98707
98379
  //
@@ -98769,10 +98441,16 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98769
98441
  //
98770
98442
  //
98771
98443
  //
98444
+ //
98445
+ //
98446
+ //
98447
+ //
98448
+ //
98772
98449
 
98773
98450
  /* harmony default export */ var treevue_type_script_lang_js_ = ({
98774
98451
  name: 'Tree',
98775
98452
  props: {
98453
+ treeTitle: String,
98776
98454
  data: {
98777
98455
  type: [Array, Object],
98778
98456
  default: function _default() {
@@ -98794,7 +98472,7 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98794
98472
  label: 'name',
98795
98473
  children: 'children'
98796
98474
  },
98797
- seachkey: '',
98475
+ searchkey: '',
98798
98476
  chooseNode: ''
98799
98477
  };
98800
98478
  },
@@ -98823,13 +98501,13 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98823
98501
  this.$emit('load', node, resolve);
98824
98502
  },
98825
98503
  handleChangeSearch: function handleChangeSearch() {
98826
- if (this.seachkey === '') {
98504
+ if (this.searchkey === '') {
98827
98505
  this.$emit('search', '');
98828
98506
  }
98829
98507
  },
98830
98508
  handleSearch: function handleSearch() {
98831
- if (this.seachkey !== '') {
98832
- this.$emit('search', this.seachkey);
98509
+ if (this.searchkey !== '') {
98510
+ this.$emit('search', this.searchkey);
98833
98511
  }
98834
98512
  }
98835
98513
  }
@@ -98846,8 +98524,8 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98846
98524
 
98847
98525
  var tree_component = normalizeComponent(
98848
98526
  src_treevue_type_script_lang_js_,
98849
- treevue_type_template_id_24ad732a_render,
98850
- treevue_type_template_id_24ad732a_staticRenderFns,
98527
+ treevue_type_template_id_3d3025d8_render,
98528
+ treevue_type_template_id_3d3025d8_staticRenderFns,
98851
98529
  false,
98852
98530
  null,
98853
98531
  null,
@@ -99337,6 +99015,18 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99337
99015
  //
99338
99016
  //
99339
99017
  //
99018
+ //
99019
+ //
99020
+ //
99021
+ //
99022
+ //
99023
+ //
99024
+ //
99025
+ //
99026
+ //
99027
+ //
99028
+ //
99029
+ //
99340
99030
 
99341
99031
 
99342
99032
 
@@ -99372,6 +99062,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99372
99062
  type: String,
99373
99063
  default: '560px'
99374
99064
  },
99065
+ treeTitle: String,
99375
99066
  //树结构
99376
99067
  tree: {
99377
99068
  type: Boolean,
@@ -99446,6 +99137,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99446
99137
  default: function _default() {
99447
99138
  return [];
99448
99139
  }
99140
+ },
99141
+ //是否显示切换按钮
99142
+ showSwitch: {
99143
+ type: Boolean,
99144
+ default: true
99449
99145
  }
99450
99146
  },
99451
99147
  data: function data() {
@@ -99859,6 +99555,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99859
99555
  getAjaxActive: function getAjaxActive(active) {
99860
99556
  var _this3 = this;
99861
99557
 
99558
+ console.log('getAjaxActive', active);
99862
99559
  if (this.isShowTree) {
99863
99560
  if ((!this.trees[active].data || this.trees[active].data && this.trees[active].data.length === 0) && this.newTabs[active].url) {
99864
99561
  this.loading = true;
@@ -99907,14 +99604,23 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99907
99604
  }
99908
99605
  utils_util.ajax({ method: this.method, url: url, params: data, data: data }).then(function (res) {
99909
99606
  if (res.rCode === 0) {
99910
- _this4.loading = false;
99911
99607
  if (!Object.prototype.hasOwnProperty.call(params, 'seachkey')) {
99912
99608
  _this4.$set(_this4.defaults[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
99913
99609
  }
99610
+ console.log('res.results', res.results);
99914
99611
  if (res.results.length && res.results[0].name === '无搜索数据') {
99915
99612
  _this4.$set(_this4.trees[_this4.activeName], 'data', null);
99613
+ _this4.loading = false;
99916
99614
  } else {
99917
99615
  _this4.$set(_this4.trees[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
99616
+ if (_this4.activeName === 'myemployee') {
99617
+ var _params = utils_util.extend({}, _this4.param[_this4.activeName] ? _this4.param[_this4.activeName] : _this4.param);
99618
+ _params.type = _this4.activeName;
99619
+ _params.mid = _this4.trees[_this4.activeName].data[0].id;
99620
+ _this4.getSelections(_params, _this4.trees[_this4.activeName].data[0]);
99621
+ } else {
99622
+ _this4.loading = false;
99623
+ }
99918
99624
  }
99919
99625
  }
99920
99626
  }).catch(function (err) {
@@ -99923,9 +99629,33 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99923
99629
  }
99924
99630
  });
99925
99631
  },
99926
- loadsub: function loadsub(data, node, flag) {
99632
+ getSelections: function getSelections(params, data) {
99927
99633
  var _this5 = this;
99928
99634
 
99635
+ utils_util.ajax({
99636
+ method: this.method,
99637
+ url: this.host + this.selection,
99638
+ params: params,
99639
+ data: params
99640
+ }).then(function (res) {
99641
+ if (res.rCode === 0) {
99642
+ data.selection = JSON.parse(JSON.stringify(res.results));
99643
+ _this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
99644
+ _this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
99645
+ _this5.nodeData = _this5.trees[_this5.activeName].nodeData;
99646
+ _this5.checkboxs = _this5.trees[_this5.activeName].selection;
99647
+ }
99648
+ }).catch(function (err) {
99649
+ if (err.message && err.message !== 'canceled') {
99650
+ _this5.$message.error(err.message);
99651
+ }
99652
+ }).finally(function () {
99653
+ _this5.loading = false;
99654
+ });
99655
+ },
99656
+ loadsub: function loadsub(data, node, flag) {
99657
+ var _this6 = this;
99658
+
99929
99659
  node;
99930
99660
  if (flag) {
99931
99661
  if (data.selection === undefined || data.selection.length === 0) {
@@ -99942,24 +99672,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99942
99672
  // if (this.activeName === 'department') {
99943
99673
  // params.querymode = 0;
99944
99674
  // }
99945
- utils_util.ajax({
99946
- method: this.method,
99947
- url: this.host + this.selection,
99948
- params: params,
99949
- data: params
99950
- }).then(function (res) {
99951
- if (res.rCode === 0) {
99952
- data.selection = JSON.parse(JSON.stringify(res.results));
99953
- _this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
99954
- _this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
99955
- _this5.nodeData = _this5.trees[_this5.activeName].nodeData;
99956
- _this5.checkboxs = _this5.trees[_this5.activeName].selection;
99957
- }
99958
- }).catch(function (err) {
99959
- if (err.message && err.message !== 'canceled') {
99960
- _this5.$message.error(err.message);
99961
- }
99962
- });
99675
+ this.getSelections(params, data);
99963
99676
  } else {
99964
99677
  this.trees[this.activeName].selection = data.selection;
99965
99678
  this.trees[this.activeName].nodeData = data;
@@ -99971,22 +99684,22 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99971
99684
  data.state = '';
99972
99685
  }
99973
99686
  if (data.state !== '' && (!data.children || data.children.length === 0)) {
99974
- var _params = utils_util.extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
99975
- _params.id = data.id;
99687
+ var _params2 = utils_util.extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
99688
+ _params2.id = data.id;
99976
99689
  utils_util.ajax({
99977
99690
  method: this.method,
99978
99691
  url: this.host + this.newTabs[this.activeName].url,
99979
- data: _params,
99980
- params: _params
99692
+ data: _params2,
99693
+ params: _params2
99981
99694
  }).then(function (res) {
99982
99695
  if (res.rCode === 0) {
99983
- _this5.loading = false;
99984
- _this5.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
99985
- _this5.$set(_this5.defaults[_this5.activeName], 'data', JSON.parse(JSON.stringify(_this5.trees[_this5.activeName].data)));
99696
+ _this6.loading = false;
99697
+ _this6.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
99698
+ _this6.$set(_this6.defaults[_this6.activeName], 'data', JSON.parse(JSON.stringify(_this6.trees[_this6.activeName].data)));
99986
99699
  }
99987
99700
  }).catch(function (err) {
99988
99701
  if (err.message && err.message !== 'canceled') {
99989
- _this5.$message.error(err.message);
99702
+ _this6.$message.error(err.message);
99990
99703
  }
99991
99704
  });
99992
99705
  }
@@ -100003,8 +99716,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100003
99716
  this.$set(this.trees[this.activeName], 'data', this.defaults[this.activeName].data);
100004
99717
  }
100005
99718
  },
99719
+ handleDelete: function handleDelete() {
99720
+ this.checkeds = [];
99721
+ },
100006
99722
  handleCheckAll: function handleCheckAll(res) {
100007
- var _this6 = this;
99723
+ var _this7 = this;
100008
99724
 
100009
99725
  if (this.checkboxs.length > 0) {
100010
99726
  var isObject = utils_util.isObject(this.checkboxs[0]);
@@ -100024,9 +99740,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100024
99740
  if (this.isShowTree) {
100025
99741
  this.nodeData.checkAll = false;
100026
99742
  this.checkboxs.forEach(function (element) {
100027
- for (var i in _this6.checkeds) {
100028
- if (isObject && _this6.checkeds[i][_this6.valueKey] === element[_this6.valueKey] || _this6.checkeds[i] === element) {
100029
- _this6.checkeds.splice(i, 1);
99743
+ for (var i in _this7.checkeds) {
99744
+ if (isObject && _this7.checkeds[i][_this7.valueKey] === element[_this7.valueKey] || _this7.checkeds[i] === element) {
99745
+ _this7.checkeds.splice(i, 1);
100030
99746
  break;
100031
99747
  }
100032
99748
  }
@@ -100045,7 +99761,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100045
99761
  this.$emit('filtratechage', this.trees, this.activeName);
100046
99762
  },
100047
99763
  handleChangeSearch: function handleChangeSearch() {
100048
- var _this7 = this;
99764
+ var _this8 = this;
100049
99765
 
100050
99766
  if (this.search === '') {
100051
99767
  if (this.isShowTree) {
@@ -100059,11 +99775,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100059
99775
  var arry = [];
100060
99776
  this.nodeData.selection.forEach(function (item) {
100061
99777
  if (utils_util.isObject(item)) {
100062
- if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
99778
+ if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
100063
99779
  arry.push(item);
100064
99780
  }
100065
99781
  } else {
100066
- if (item.indexOf(_this7.search) > -1) {
99782
+ if (item.indexOf(_this8.search) > -1) {
100067
99783
  arry.push(item);
100068
99784
  }
100069
99785
  }
@@ -100074,11 +99790,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100074
99790
  var _arry = [];
100075
99791
  this.selections.forEach(function (item) {
100076
99792
  if (utils_util.isObject(item)) {
100077
- if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
99793
+ if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
100078
99794
  _arry.push(item);
100079
99795
  }
100080
99796
  } else {
100081
- if (item.indexOf(_this7.search) > -1) {
99797
+ if (item.indexOf(_this8.search) > -1) {
100082
99798
  _arry.push(item);
100083
99799
  }
100084
99800
  }
@@ -100088,7 +99804,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100088
99804
  }
100089
99805
  },
100090
99806
  handleSearch: function handleSearch() {
100091
- var _this8 = this;
99807
+ var _this9 = this;
100092
99808
 
100093
99809
  if (this.isShowTree) {
100094
99810
  if (this.nodeData && this.nodeData.selection) {
@@ -100096,11 +99812,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100096
99812
  var arry = [];
100097
99813
  this.nodeData.selection.forEach(function (item) {
100098
99814
  if (utils_util.isObject(item)) {
100099
- if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
99815
+ if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
100100
99816
  arry.push(item);
100101
99817
  }
100102
99818
  } else {
100103
- if (item.indexOf(_this8.search) > -1) {
99819
+ if (item.indexOf(_this9.search) > -1) {
100104
99820
  arry.push(item);
100105
99821
  }
100106
99822
  }
@@ -100122,11 +99838,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100122
99838
  }
100123
99839
  }).then(function (res) {
100124
99840
  if (res.rCode === 0) {
100125
- _this8.checkboxs = JSON.parse(JSON.stringify(res.results));
99841
+ _this9.checkboxs = JSON.parse(JSON.stringify(res.results));
100126
99842
  }
100127
99843
  }).catch(function (err) {
100128
99844
  if (err.message && err.message !== 'canceled') {
100129
- _this8.$message.error(err.message);
99845
+ _this9.$message.error(err.message);
100130
99846
  }
100131
99847
  });
100132
99848
  }
@@ -100135,11 +99851,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100135
99851
  var _arry2 = [];
100136
99852
  this.selections.forEach(function (item) {
100137
99853
  if (utils_util.isObject(item)) {
100138
- if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
99854
+ if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
100139
99855
  _arry2.push(item);
100140
99856
  }
100141
99857
  } else {
100142
- if (item.indexOf(_this8.search) > -1) {
99858
+ if (item.indexOf(_this9.search) > -1) {
100143
99859
  _arry2.push(item);
100144
99860
  }
100145
99861
  }
@@ -100153,15 +99869,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100153
99869
  },
100154
99870
  handleChange: function handleChange() {},
100155
99871
  handleConfirm: function handleConfirm() {
100156
- if (!this.checkeds || this.multiple && this.checkeds.length === 0) {
100157
- this.$message({
100158
- message: '请选择',
100159
- type: 'warning'
100160
- });
100161
- } else {
100162
- this.$emit('input', this.checkeds);
100163
- this.$emit('confirm', this.checkeds);
100164
- }
99872
+ this.$emit('input', this.checkeds);
99873
+ this.$emit('confirm', this.checkeds);
100165
99874
  },
100166
99875
  handleCancel: function handleCancel() {
100167
99876
  this.$emit('cancel', false);
@@ -100191,8 +99900,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100191
99900
 
100192
99901
  var selector_panel_src_main_component = normalizeComponent(
100193
99902
  packages_selector_panel_src_mainvue_type_script_lang_js_,
100194
- mainvue_type_template_id_4765b5a0_render,
100195
- mainvue_type_template_id_4765b5a0_staticRenderFns,
99903
+ mainvue_type_template_id_17c26d73_render,
99904
+ mainvue_type_template_id_17c26d73_staticRenderFns,
100196
99905
  false,
100197
99906
  null,
100198
99907
  null,
@@ -113184,7 +112893,7 @@ if (typeof window !== 'undefined' && window.Vue) {
113184
112893
  }
113185
112894
 
113186
112895
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
113187
- version: '0.8.38',
112896
+ version: '0.8.40',
113188
112897
  install: install,
113189
112898
  Archives: archives,
113190
112899
  Button: packages_button,