eoss-ui 0.8.39 → 0.8.41

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 (42) hide show
  1. package/lib/eoss-ui.common.js +771 -1097
  2. package/lib/flow-list.js +86 -24
  3. package/lib/flow.js +199 -120
  4. package/lib/index.js +1 -1
  5. package/lib/selector-panel.js +189 -110
  6. package/lib/selector.js +164 -700
  7. package/lib/theme-chalk/flow-list.css +1 -1
  8. package/lib/theme-chalk/flow.css +1 -1
  9. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  10. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  11. package/lib/theme-chalk/form.css +1 -1
  12. package/lib/theme-chalk/index.css +1 -1
  13. package/lib/theme-chalk/selector-panel.css +1 -1
  14. package/lib/theme-chalk/selector.css +1 -1
  15. package/lib/theme-chalk/tree.css +1 -1
  16. package/package.json +2 -2
  17. package/packages/flow/src/flow.vue +40 -13
  18. package/packages/flow/src/main.vue +13 -5
  19. package/packages/flow/src/selectUser.vue +1 -0
  20. package/packages/flow/src/startTaskRead.vue +3 -0
  21. package/packages/flow-list/src/main.vue +75 -16
  22. package/packages/selector/src/main.vue +120 -269
  23. package/packages/selector-panel/src/main.vue +1071 -1036
  24. package/packages/selector-panel/src/tree.vue +24 -18
  25. package/packages/theme-chalk/lib/flow-list.css +1 -1
  26. package/packages/theme-chalk/lib/flow.css +1 -1
  27. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  28. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  29. package/packages/theme-chalk/lib/form.css +1 -1
  30. package/packages/theme-chalk/lib/index.css +1 -1
  31. package/packages/theme-chalk/lib/selector-panel.css +1 -1
  32. package/packages/theme-chalk/lib/selector.css +1 -1
  33. package/packages/theme-chalk/lib/tree.css +1 -1
  34. package/packages/theme-chalk/src/flow-list.scss +61 -55
  35. package/packages/theme-chalk/src/flow.scss +16 -2
  36. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  37. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  38. package/packages/theme-chalk/src/form.scss +5 -1
  39. package/packages/theme-chalk/src/selector-panel.scss +36 -6
  40. package/packages/theme-chalk/src/selector.scss +66 -115
  41. package/packages/theme-chalk/src/tree.scss +1 -1
  42. package/src/index.js +1 -1
@@ -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=64fec1bc&
29341
+ var mainvue_type_template_id_64fec1bc_render = function () {
29342
29342
  var _vm = this
29343
29343
  var _h = _vm.$createElement
29344
29344
  var _c = _vm._self._c || _h
@@ -29365,6 +29365,7 @@ var mainvue_type_template_id_723b9982_render = function () {
29365
29365
  pendingId: _vm.pendingId,
29366
29366
  nodeName: _vm.nodeName,
29367
29367
  typeCode: _vm.typeCode,
29368
+ businessName: _vm.businessName,
29368
29369
  ownerType: _vm.ownerType,
29369
29370
  selectorConfig: _vm.selectorConfig,
29370
29371
  flowTypeCode: _vm.flowTypeCode,
@@ -29395,6 +29396,8 @@ var mainvue_type_template_id_723b9982_render = function () {
29395
29396
  on: {
29396
29397
  buttonClick: _vm.handleButtonClick,
29397
29398
  success: _vm.handleNewFlowSuccess,
29399
+ save: _vm.handleNewFlowSave,
29400
+ shrink: _vm.setShrink,
29398
29401
  },
29399
29402
  },
29400
29403
  "FlowNew",
@@ -29451,7 +29454,11 @@ var mainvue_type_template_id_723b9982_render = function () {
29451
29454
  ? "es-icon-shouqi"
29452
29455
  : "es-icon-zhankai",
29453
29456
  },
29454
- on: { click: _vm.setShrink },
29457
+ on: {
29458
+ click: function ($event) {
29459
+ _vm.setShrink(!_vm.shrink)
29460
+ },
29461
+ },
29455
29462
  })
29456
29463
  : _vm._e(),
29457
29464
  ],
@@ -29782,7 +29789,11 @@ var mainvue_type_template_id_723b9982_render = function () {
29782
29789
  ? "es-icon-shouqi"
29783
29790
  : "es-icon-zhankai",
29784
29791
  },
29785
- on: { click: _vm.setShrink },
29792
+ on: {
29793
+ click: function ($event) {
29794
+ _vm.setShrink(!_vm.shrink)
29795
+ },
29796
+ },
29786
29797
  })
29787
29798
  : _vm._e(),
29788
29799
  ],
@@ -32261,6 +32272,7 @@ var mainvue_type_template_id_723b9982_render = function () {
32261
32272
  attrs: {
32262
32273
  "pending-id": _vm.pendingId,
32263
32274
  opinion: _vm.value,
32275
+ businessName: _vm.businessName,
32264
32276
  type: _vm.taskReadType,
32265
32277
  showTooltip: _vm.showTooltip,
32266
32278
  flowLabelConfig: _vm.flowLabelConfig,
@@ -32493,11 +32505,11 @@ var mainvue_type_template_id_723b9982_render = function () {
32493
32505
  )
32494
32506
  : _vm._e()
32495
32507
  }
32496
- var mainvue_type_template_id_723b9982_staticRenderFns = []
32497
- mainvue_type_template_id_723b9982_render._withStripped = true
32508
+ var mainvue_type_template_id_64fec1bc_staticRenderFns = []
32509
+ mainvue_type_template_id_64fec1bc_render._withStripped = true
32498
32510
 
32499
32511
 
32500
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
32512
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=64fec1bc&
32501
32513
 
32502
32514
  // 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
32515
  var CommonOpinionsvue_type_template_id_8458f882_render = function () {
@@ -33548,8 +33560,8 @@ var CommonOpinions_component = normalizeComponent(
33548
33560
  )
33549
33561
 
33550
33562
  /* 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=ef00b086&
33552
- var flowvue_type_template_id_ef00b086_render = function () {
33563
+ // 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=7261bf44&
33564
+ var flowvue_type_template_id_7261bf44_render = function () {
33553
33565
  var _vm = this
33554
33566
  var _h = _vm.$createElement
33555
33567
  var _c = _vm._self._c || _h
@@ -33576,7 +33588,10 @@ var flowvue_type_template_id_ef00b086_render = function () {
33576
33588
  _c("div", { staticClass: "es-flow-top" }, [
33577
33589
  _c(
33578
33590
  "div",
33579
- { staticClass: "es-flow-title" },
33591
+ {
33592
+ class:
33593
+ "es-flow-title " + (_vm.shrink ? "border_none" : ""),
33594
+ },
33580
33595
  [
33581
33596
  _c(
33582
33597
  "span",
@@ -33708,6 +33723,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
33708
33723
  ? _c(
33709
33724
  "el-select",
33710
33725
  {
33726
+ staticClass: "es-flow-select",
33711
33727
  staticStyle: {
33712
33728
  width: "100% !important",
33713
33729
  },
@@ -33827,6 +33843,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
33827
33843
  simpleTips: _vm.simpleTips,
33828
33844
  typeCode: "read",
33829
33845
  param: _vm.param,
33846
+ businessName: _vm.businessName,
33830
33847
  selectorConfig: _vm.selectorConfig,
33831
33848
  resetAppId: _vm.resetAppId,
33832
33849
  taskExamine: _vm.taskExamineInfo,
@@ -33905,7 +33922,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
33905
33922
  [
33906
33923
  _c(
33907
33924
  "div",
33908
- { staticClass: "es-flow-title" },
33925
+ {
33926
+ class:
33927
+ "es-flow-title " +
33928
+ (_vm.shrink ? "border_none" : ""),
33929
+ },
33909
33930
  [
33910
33931
  _c(
33911
33932
  "span",
@@ -34249,6 +34270,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
34249
34270
  "el-select",
34250
34271
  {
34251
34272
  key: _vm.optionsKey,
34273
+ staticClass: "es-flow-select",
34252
34274
  staticStyle: {
34253
34275
  width: "calc(100% + 40px)",
34254
34276
  },
@@ -34667,6 +34689,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
34667
34689
  ? _c(
34668
34690
  "el-select",
34669
34691
  {
34692
+ staticClass:
34693
+ "es-flow-select",
34670
34694
  attrs: {
34671
34695
  placeholder:
34672
34696
  "请选择下步操作",
@@ -34789,6 +34813,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
34789
34813
  ? _c(
34790
34814
  "el-select",
34791
34815
  {
34816
+ staticClass:
34817
+ "es-flow-select",
34792
34818
  attrs: {
34793
34819
  placeholder:
34794
34820
  "请选择下步节点",
@@ -34834,6 +34860,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
34834
34860
  "el-option",
34835
34861
  {
34836
34862
  key: items.id,
34863
+ staticClass:
34864
+ "es-flow-select",
34837
34865
  attrs: {
34838
34866
  label:
34839
34867
  items.nodeName,
@@ -35099,6 +35127,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
35099
35127
  _c(
35100
35128
  "el-select",
35101
35129
  {
35130
+ staticClass:
35131
+ "es-flow-select",
35102
35132
  attrs: {
35103
35133
  placeholder:
35104
35134
  "请选择主办",
@@ -35443,7 +35473,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
35443
35473
  ],
35444
35474
  1
35445
35475
  ),
35446
- _vm.isCustomPreset
35476
+ _vm.isCustomPreset && _vm.nextNode.nextOperate != 9
35447
35477
  ? _c("CustomPreset", {
35448
35478
  ref: "customPreset",
35449
35479
  attrs: {
@@ -35758,81 +35788,90 @@ var flowvue_type_template_id_ef00b086_render = function () {
35758
35788
  1
35759
35789
  )
35760
35790
  : _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
- isCancelSecondConfirmationType:
35823
- _vm.isCancelSecondConfirmationType,
35824
- selectorParams: _vm.selectorParams,
35825
- type: _vm.flowType,
35826
- multiple: _vm.flowMultiple,
35827
- disabled: _vm.flowDisabled,
35828
- },
35829
- on: {
35830
- cancel: function ($event) {
35831
- _vm.closeProcess($event, "showTaskUnionExamine")
35832
- },
35833
- },
35834
- })
35835
- : _vm._e(),
35791
+ _c(
35792
+ "div",
35793
+ { staticClass: "es-info" },
35794
+ [
35795
+ _vm.btnType === "reject"
35796
+ ? _c("ProcessReject", {
35797
+ ref: "reject",
35798
+ staticClass: "es-info",
35799
+ attrs: {
35800
+ "pending-id": _vm.pendingId,
35801
+ option: _vm.value,
35802
+ hideBtn: "",
35803
+ showTooltip: _vm.showTooltip,
35804
+ simpleTips: _vm.simpleTips,
35805
+ flowLabelConfig: _vm.flowLabelConfig,
35806
+ isCancelSecondConfirmationType:
35807
+ _vm.isCancelSecondConfirmationType,
35808
+ hideMessage: _vm.hideMessage,
35809
+ "show-reject": _vm.showReject,
35810
+ "news-info": _vm.nextNode.notificationMsg,
35811
+ },
35812
+ on: {
35813
+ cancel: function ($event) {
35814
+ _vm.closeProcess($event, "showReject")
35815
+ },
35816
+ },
35817
+ })
35818
+ : _vm.btnType === "toStartTaskRead" ||
35819
+ _vm.btnType === "toTaskReadAndEnd" ||
35820
+ _vm.btnType === "toTransfer"
35821
+ ? _c("StartTaskRead", {
35822
+ ref: _vm.btnType,
35823
+ staticClass: "es-info",
35824
+ attrs: {
35825
+ "pending-id": _vm.pendingId,
35826
+ hideBtn: "",
35827
+ opinion: _vm.value,
35828
+ type: _vm.taskReadType,
35829
+ resetAppId: _vm.resetAppId,
35830
+ businessName: _vm.businessName,
35831
+ showTooltip: _vm.showTooltip,
35832
+ flowLabelConfig: _vm.flowLabelConfig,
35833
+ hideMessage: _vm.hideMessage,
35834
+ selectorConfig: _vm.selectorConfig,
35835
+ simpleTips: _vm.simpleTips,
35836
+ subParams: _vm.subParams,
35837
+ taskExamine: _vm.taskExamineInfo,
35838
+ "news-info": _vm.nextNode.notificationMsg,
35839
+ },
35840
+ on: {
35841
+ cancel: function ($event) {
35842
+ _vm.closeProcess($event, "showTaskRead")
35843
+ },
35844
+ },
35845
+ })
35846
+ : _vm.btnType === "toTakeAdvice" ||
35847
+ _vm.btnType === "toUnionExamine" ||
35848
+ _vm.btnType === "toStartDraf"
35849
+ ? _c("TaskUnionExamine", {
35850
+ ref: _vm.btnType,
35851
+ staticClass: "es-info",
35852
+ attrs: {
35853
+ hideBtn: "",
35854
+ simpleTips: _vm.simpleTips,
35855
+ pendingId: _vm.pendingId,
35856
+ defaultOpinion: _vm.nodeDefaultSubmitOpinion,
35857
+ oldOption: _vm.value,
35858
+ isCancelSecondConfirmationType:
35859
+ _vm.isCancelSecondConfirmationType,
35860
+ selectorParams: _vm.selectorParams,
35861
+ type: _vm.flowType,
35862
+ multiple: _vm.flowMultiple,
35863
+ disabled: _vm.flowDisabled,
35864
+ },
35865
+ on: {
35866
+ cancel: function ($event) {
35867
+ _vm.closeProcess($event, "showTaskUnionExamine")
35868
+ },
35869
+ },
35870
+ })
35871
+ : _vm._e(),
35872
+ ],
35873
+ 1
35874
+ ),
35836
35875
  _vm.newTypeCode != "fenyue" && !_vm.shrink
35837
35876
  ? _c(
35838
35877
  "div",
@@ -36235,6 +36274,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
36235
36274
  opinion: _vm.value,
36236
36275
  type: _vm.taskReadType,
36237
36276
  showTooltip: _vm.showTooltip,
36277
+ businessName: _vm.businessName,
36238
36278
  flowLabelConfig: _vm.flowLabelConfig,
36239
36279
  hideMessage: _vm.hideMessage,
36240
36280
  selectorConfig: _vm.selectorConfig,
@@ -36465,11 +36505,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
36465
36505
  )
36466
36506
  : _vm._e()
36467
36507
  }
36468
- var flowvue_type_template_id_ef00b086_staticRenderFns = []
36469
- flowvue_type_template_id_ef00b086_render._withStripped = true
36508
+ var flowvue_type_template_id_7261bf44_staticRenderFns = []
36509
+ flowvue_type_template_id_7261bf44_render._withStripped = true
36470
36510
 
36471
36511
 
36472
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
36512
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=7261bf44&
36473
36513
 
36474
36514
  // 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&
36475
36515
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -38142,8 +38182,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
38142
38182
 
38143
38183
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
38144
38184
 
38145
- // 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=4dc7fc96&
38146
- var selectUservue_type_template_id_4dc7fc96_render = function () {
38185
+ // 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&
38186
+ var selectUservue_type_template_id_08827ac3_render = function () {
38147
38187
  var _vm = this
38148
38188
  var _h = _vm.$createElement
38149
38189
  var _c = _vm._self._c || _h
@@ -38306,11 +38346,11 @@ var selectUservue_type_template_id_4dc7fc96_render = function () {
38306
38346
  1
38307
38347
  )
38308
38348
  }
38309
- var selectUservue_type_template_id_4dc7fc96_staticRenderFns = []
38310
- selectUservue_type_template_id_4dc7fc96_render._withStripped = true
38349
+ var selectUservue_type_template_id_08827ac3_staticRenderFns = []
38350
+ selectUservue_type_template_id_08827ac3_render._withStripped = true
38311
38351
 
38312
38352
 
38313
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4dc7fc96&
38353
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
38314
38354
 
38315
38355
  // 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&
38316
38356
  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; };
@@ -38724,6 +38764,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38724
38764
  getSelectUser: function getSelectUser(val) {
38725
38765
  var _this4 = this;
38726
38766
 
38767
+ console.log(val, 'val');
38727
38768
  this.newOptions = [];
38728
38769
  var data = {};
38729
38770
  if (this.mix) data = this.getMixList();
@@ -38842,8 +38883,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
38842
38883
 
38843
38884
  var selectUser_component = normalizeComponent(
38844
38885
  src_selectUservue_type_script_lang_js_,
38845
- selectUservue_type_template_id_4dc7fc96_render,
38846
- selectUservue_type_template_id_4dc7fc96_staticRenderFns,
38886
+ selectUservue_type_template_id_08827ac3_render,
38887
+ selectUservue_type_template_id_08827ac3_staticRenderFns,
38847
38888
  false,
38848
38889
  null,
38849
38890
  null,
@@ -43160,8 +43201,8 @@ var processReject_component = normalizeComponent(
43160
43201
  )
43161
43202
 
43162
43203
  /* harmony default export */ var processReject = (processReject_component.exports);
43163
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
43164
- var startTaskReadvue_type_template_id_fffcbc42_render = function () {
43204
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f51e934&
43205
+ var startTaskReadvue_type_template_id_4f51e934_render = function () {
43165
43206
  var _vm = this
43166
43207
  var _h = _vm.$createElement
43167
43208
  var _c = _vm._self._c || _h
@@ -43592,11 +43633,11 @@ var startTaskReadvue_type_template_id_fffcbc42_render = function () {
43592
43633
  1
43593
43634
  )
43594
43635
  }
43595
- var startTaskReadvue_type_template_id_fffcbc42_staticRenderFns = []
43596
- startTaskReadvue_type_template_id_fffcbc42_render._withStripped = true
43636
+ var startTaskReadvue_type_template_id_4f51e934_staticRenderFns = []
43637
+ startTaskReadvue_type_template_id_4f51e934_render._withStripped = true
43597
43638
 
43598
43639
 
43599
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
43640
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f51e934&
43600
43641
 
43601
43642
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
43602
43643
  var startTaskReadvue_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; };
@@ -43799,6 +43840,7 @@ var startTaskReadvue_type_script_lang_js_components;
43799
43840
  type: [Object, undefined],
43800
43841
  default: undefined
43801
43842
  },
43843
+ businessName: { type: String, default: '' },
43802
43844
  readParams: {
43803
43845
  type: [Object, undefined],
43804
43846
  default: undefined
@@ -44262,6 +44304,8 @@ var startTaskReadvue_type_script_lang_js_components;
44262
44304
  }
44263
44305
  if (_this8.subParams) {
44264
44306
  params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
44307
+ } else if (_this8.businessName) {
44308
+ params.businessName = _this8.businessName;
44265
44309
  }
44266
44310
  delete _this8.configInfo.taskExamine.taskExamineParam;
44267
44311
  utils_util.ajax({
@@ -44348,8 +44392,8 @@ var startTaskReadvue_type_script_lang_js_components;
44348
44392
 
44349
44393
  var startTaskRead_component = normalizeComponent(
44350
44394
  src_startTaskReadvue_type_script_lang_js_,
44351
- startTaskReadvue_type_template_id_fffcbc42_render,
44352
- startTaskReadvue_type_template_id_fffcbc42_staticRenderFns,
44395
+ startTaskReadvue_type_template_id_4f51e934_render,
44396
+ startTaskReadvue_type_template_id_4f51e934_staticRenderFns,
44353
44397
  false,
44354
44398
  null,
44355
44399
  null,
@@ -54690,6 +54734,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54690
54734
  //
54691
54735
  //
54692
54736
  //
54737
+ //
54738
+ //
54739
+ //
54740
+ //
54741
+ //
54742
+ //
54743
+ //
54744
+ //
54745
+ //
54746
+ //
54747
+ //
54748
+ //
54693
54749
 
54694
54750
 
54695
54751
 
@@ -54725,6 +54781,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
54725
54781
  nodeName: { type: String, default: '' },
54726
54782
  typeCode: { type: String, default: '' },
54727
54783
  selectorConfig: { type: [Object, undefined], default: undefined },
54784
+ businessName: { type: String, default: '' },
54728
54785
  flowTypeCode: { type: String, default: '' },
54729
54786
  defaultProcessKey: { type: String, default: '' },
54730
54787
  hideBtn: { type: Boolean, default: false },
@@ -55446,7 +55503,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55446
55503
  },
55447
55504
  setShrink: function setShrink() {
55448
55505
  this.shrink = !this.shrink;
55449
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
55506
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
55450
55507
  this.$emit('shrink', this.shrink);
55451
55508
  },
55452
55509
  customLoading: function customLoading(type) {
@@ -55654,12 +55711,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55654
55711
 
55655
55712
  if (this.isFlow) {
55656
55713
  if (!type) {
55714
+ console.log(btn);
55657
55715
  if (btn && btn.before) {
55658
55716
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
55659
55717
  _this14.$emit('save', _this14.businessIds);
55660
55718
  }).catch(function (e) {});
55661
55719
  } else if (this.beforeSubmit != undefined) {
55662
- this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
55720
+ this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
55663
55721
  _this14.$emit('save', _this14.businessIds);
55664
55722
  }).catch(function (e) {});
55665
55723
  } else {
@@ -55744,20 +55802,28 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
55744
55802
 
55745
55803
  // return this.$message.warning('暂未开放!敬请期待');
55746
55804
 
55747
- this.isLoadRead() && (this.btnType = '');
55805
+ this.btnType = '';
55748
55806
  setTimeout(function () {
55749
55807
  if (_this17.beforeSubmit != undefined) {
55750
55808
  _this17.beforeSubmit().then(function (next) {
55751
55809
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
55752
55810
  _this17.taskReadType = 'create';
55753
55811
  // this.showTaskRead = true;
55754
- _this17.btnType = _this17.btnFunValue(res.fun);
55812
+ if (_this17.typeCode == 'fenyue') {
55813
+ _this17.showTaskRead = true;
55814
+ } else {
55815
+ _this17.btnType = _this17.btnFunValue(res.fun);
55816
+ }
55755
55817
  }).catch(function (e) {});
55756
55818
  } else {
55757
55819
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
55758
55820
  _this17.taskReadType = 'create';
55759
55821
  // this.showTaskRead = true;
55760
- _this17.btnType = _this17.btnFunValue(res.fun);
55822
+ if (_this17.typeCode == 'fenyue') {
55823
+ _this17.showTaskRead = true;
55824
+ } else {
55825
+ _this17.btnType = _this17.btnFunValue(res.fun);
55826
+ }
55761
55827
  }
55762
55828
  }, 0);
55763
55829
  },
@@ -56113,7 +56179,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56113
56179
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
56114
56180
  var _this27 = this;
56115
56181
 
56116
- this.isLoadRead() && (this.btnType = '');
56182
+ this.btnType = '';
56117
56183
  setTimeout(function () {
56118
56184
  if (_this27.beforeSubmit != undefined) {
56119
56185
  _this27.beforeSubmit().then(function (next) {
@@ -56201,15 +56267,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
56201
56267
  toTransfer: function toTransfer(res) {
56202
56268
  var _this30 = this;
56203
56269
 
56204
- if (this.beforeSubmit != undefined) {
56205
- this.beforeSubmit(0).then(function (next) {
56270
+ this.btnType = '';
56271
+ setTimeout(function () {
56272
+ if (_this30.beforeSubmit != undefined) {
56273
+ _this30.beforeSubmit(0).then(function (next) {
56274
+ _this30.taskReadType = 'transfer';
56275
+ // this.showTaskRead = true;
56276
+ _this30.btnType = _this30.btnFunValue(res.fun);
56277
+ }).catch(function (e) {});
56278
+ } else {
56206
56279
  _this30.taskReadType = 'transfer';
56207
- _this30.showTaskRead = true;
56208
- }).catch(function (e) {});
56209
- } else {
56210
- this.taskReadType = 'transfer';
56211
- this.showTaskRead = true;
56212
- }
56280
+ _this30.btnType = _this30.btnFunValue(res.fun);
56281
+ // this.showTaskRead = true;
56282
+ }
56283
+ }, 0);
56213
56284
  },
56214
56285
  handleChangeTime: function handleChangeTime(val) {
56215
56286
  this.nextNode.customLimitTime = val;
@@ -57602,8 +57673,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
57602
57673
 
57603
57674
  var flow_component = normalizeComponent(
57604
57675
  src_flowvue_type_script_lang_js_,
57605
- flowvue_type_template_id_ef00b086_render,
57606
- flowvue_type_template_id_ef00b086_staticRenderFns,
57676
+ flowvue_type_template_id_7261bf44_render,
57677
+ flowvue_type_template_id_7261bf44_staticRenderFns,
57607
57678
  false,
57608
57679
  null,
57609
57680
  null,
@@ -58917,6 +58988,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58917
58988
  //
58918
58989
  //
58919
58990
  //
58991
+ //
58992
+ //
58993
+ //
58994
+ //
58920
58995
 
58921
58996
 
58922
58997
 
@@ -58995,6 +59070,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
58995
59070
  type: Object,
58996
59071
  default: function _default() {}
58997
59072
  },
59073
+ businessName: { type: String, default: '' },
58998
59074
  selectorParams: {
58999
59075
  type: Object,
59000
59076
  default: function _default() {
@@ -59528,6 +59604,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59528
59604
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
59529
59605
  });
59530
59606
  },
59607
+ handleNewFlowSave: function handleNewFlowSave(businessIds) {
59608
+ this.$emit('save', businessIds);
59609
+ },
59531
59610
  handleNewFlowSuccess: function handleNewFlowSuccess(type) {
59532
59611
  if (type == 'taskRead') {
59533
59612
  this.$emit('successRead', type);
@@ -59658,9 +59737,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
59658
59737
  }
59659
59738
  }
59660
59739
  },
59661
- setShrink: function setShrink() {
59662
- this.shrink = !this.shrink;
59663
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
59740
+ setShrink: function setShrink(val) {
59741
+ this.shrink = val;
59742
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
59664
59743
  this.$emit('shrink', this.shrink);
59665
59744
  },
59666
59745
  customLoading: function customLoading(type) {
@@ -61749,8 +61828,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
61749
61828
 
61750
61829
  var flow_src_main_component = normalizeComponent(
61751
61830
  packages_flow_src_mainvue_type_script_lang_js_,
61752
- mainvue_type_template_id_723b9982_render,
61753
- mainvue_type_template_id_723b9982_staticRenderFns,
61831
+ mainvue_type_template_id_64fec1bc_render,
61832
+ mainvue_type_template_id_64fec1bc_staticRenderFns,
61754
61833
  false,
61755
61834
  null,
61756
61835
  null,
@@ -63818,8 +63897,8 @@ flow_group_src_main.install = function (Vue) {
63818
63897
  };
63819
63898
 
63820
63899
  /* harmony default export */ var flow_group = (flow_group_src_main);
63821
- // 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&
63822
- var mainvue_type_template_id_6a97d245_render = function () {
63900
+ // 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=25eb7336&
63901
+ var mainvue_type_template_id_25eb7336_render = function () {
63823
63902
  var _vm = this
63824
63903
  var _h = _vm.$createElement
63825
63904
  var _c = _vm._self._c || _h
@@ -63887,6 +63966,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
63887
63966
  "cell-click": _vm.handleCellClick,
63888
63967
  "btn-click": _vm.handleBtnClick,
63889
63968
  "selection-change": _vm.handleSelectionChange,
63969
+ search: _vm.handleSplitReadingSearch,
63970
+ "page-size-change":
63971
+ _vm.handleSplitReadingSizeChange,
63972
+ "page-current-change":
63973
+ _vm.handleSplitReadingCurrentChange,
63890
63974
  },
63891
63975
  },
63892
63976
  "es-data-table",
@@ -64250,11 +64334,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
64250
64334
  2
64251
64335
  )
64252
64336
  }
64253
- var mainvue_type_template_id_6a97d245_staticRenderFns = []
64254
- mainvue_type_template_id_6a97d245_render._withStripped = true
64337
+ var mainvue_type_template_id_25eb7336_staticRenderFns = []
64338
+ mainvue_type_template_id_25eb7336_render._withStripped = true
64255
64339
 
64256
64340
 
64257
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=6a97d245&
64341
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=25eb7336&
64258
64342
 
64259
64343
  // 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&
64260
64344
 
@@ -64436,6 +64520,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64436
64520
  //
64437
64521
  //
64438
64522
  //
64523
+ //
64524
+ //
64525
+ //
64439
64526
 
64440
64527
 
64441
64528
 
@@ -64533,6 +64620,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64533
64620
  currentPage: 1,
64534
64621
  pageSize: 20,
64535
64622
  flowListCount: {},
64623
+ splitReadingSearchKey: '',
64624
+ splitReadingPageNum: 1,
64625
+ splitReadingPageSize: 5,
64536
64626
  currentUserHasPresetInfoAuth: false,
64537
64627
  pressThead: [{
64538
64628
  title: '催办节点',
@@ -64601,8 +64691,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64601
64691
  }
64602
64692
  }, {
64603
64693
  title: '办理意见',
64604
- align: 'center',
64605
- showOverflowTooltip: true,
64694
+ align: 'left',
64695
+ showOverflowTooltip: false,
64606
64696
  'min-width': 200,
64607
64697
  // sortable: true,
64608
64698
  field: 'doresult'
@@ -64631,8 +64721,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64631
64721
  field: 'userName'
64632
64722
  }, {
64633
64723
  title: '办理意见',
64634
- align: 'center',
64635
- showOverflowTooltip: true,
64724
+ align: 'left',
64725
+ showOverflowTooltip: false,
64636
64726
  width: 240,
64637
64727
  // sortable: true,
64638
64728
  field: 'doresult'
@@ -64746,6 +64836,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64746
64836
  showSuggest: 'all', //筛选显示数据
64747
64837
  presetInfoListHiddenColumns: '', //隐藏表格展示数据
64748
64838
  canDelete: false, //是否展示操作按钮
64839
+ presetCanDelete: false, //预设列表是否展示操作按钮
64749
64840
  canBatchDelete: false, //是否可以批量删除
64750
64841
  isSuperRole: false, //是否管理员
64751
64842
  isShowReset: false, //是否显示重设记录
@@ -64899,6 +64990,16 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64899
64990
  splitReading: [{
64900
64991
  type: 'text',
64901
64992
  contents: (this.taskReadName ? this.taskReadName : '非流程') + '列表'
64993
+ }, {
64994
+ type: 'search',
64995
+ config: {
64996
+ enterSubmit: true
64997
+ },
64998
+ contents: [{
64999
+ name: 'splitReadingSearchKey',
65000
+ type: 'text',
65001
+ placeholder: '分阅办理人名称...'
65002
+ }]
64902
65003
  }],
64903
65004
  circular: [{
64904
65005
  type: 'text',
@@ -64928,6 +65029,22 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64928
65029
  totalCount: this.total
64929
65030
  };
64930
65031
  },
65032
+ filteredSplitReadingData: function filteredSplitReadingData() {
65033
+ if (!this.splitReadingSearchKey) {
65034
+ return this.splitReadingData;
65035
+ }
65036
+ var key = String(this.splitReadingSearchKey).trim();
65037
+ return this.splitReadingData.filter(function (item) {
65038
+ return item.userName && String(item.userName).includes(key);
65039
+ });
65040
+ },
65041
+ splitReadingPageInfo: function splitReadingPageInfo() {
65042
+ return {
65043
+ pageNum: this.splitReadingPageNum,
65044
+ pageSize: this.splitReadingPageSize,
65045
+ totalCount: this.filteredSplitReadingData.length
65046
+ };
65047
+ },
64931
65048
  theads: function theads() {
64932
65049
  var _this2 = this;
64933
65050
 
@@ -64996,139 +65113,139 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
64996
65113
  }, {
64997
65114
  label: '办理意见',
64998
65115
  field: 'doresult',
64999
- align: 'center',
65116
+ align: 'left',
65000
65117
  width: this.theadWidth.doresult,
65118
+ showOverflowTooltip: false,
65119
+ 'min-width': 200,
65120
+ key: 'blyj',
65121
+ render: function render(h, params) {
65122
+ if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
65123
+ return h('img', {
65124
+ attrs: { src: params.row.doresult },
65125
+ style: { width: '100px', height: '100px' }
65126
+ });
65127
+ } else {
65128
+ return h('span', {}, [params.row.doresult ? params.row.doresult + (params.row.handleInfo ? '&' : '') : '', h('span', { style: { color: '#A5A5A5', marginLeft: '2px' } }, params.row.handleInfo || '')]);
65129
+ }
65130
+ }
65131
+ }, {
65132
+ label: '验签',
65133
+ field: 'authTypeStr',
65134
+ align: 'center',
65135
+ key: 'yq',
65001
65136
  showOverflowTooltip: true,
65137
+ width: this.theadWidth.authTypeStr || 70,
65138
+ render: function render(h, params) {
65139
+ return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
65140
+ }
65141
+ }, {
65142
+ label: '附件',
65143
+ key: 'fj',
65144
+ field: 'hasAdjunct',
65145
+ align: 'center',
65146
+ showOverflowTooltip: true,
65147
+ width: this.theadWidth.hasAdjunct || 70,
65148
+ render: function render(h, params) {
65149
+ if (params.row.hasAdjunct) {
65150
+ return h('span', {
65151
+ style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
65152
+ class: 'iconfont es-icon-fujian'
65153
+ });
65154
+ } else {
65155
+ return h('span', {}, '');
65156
+ }
65157
+ }
65158
+ }, {
65159
+ label: '时间',
65160
+ field: 'doetime',
65161
+ align: 'center',
65162
+ key: 'sj',
65163
+ showOverflowTooltip: true,
65164
+ width: this.theadWidth.doetime || 150,
65165
+ render: function render(h, params) {
65166
+ return h('span', {}, params.row.doetime ? utils_util.formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm') : '');
65167
+ }
65168
+ }, {
65169
+ label: '代办人',
65170
+ field: 'douserid',
65171
+ align: 'center',
65172
+ key: 'dbr',
65173
+ showOverflowTooltip: true,
65174
+ width: this.theadWidth.douserid || 80,
65175
+ hide: _that.flowTableInfo.hasAgent != '1'
65176
+ }, {
65177
+ label: '催办',
65178
+ field: 'pressTimes',
65179
+ align: 'center',
65180
+ key: 'cb',
65181
+ showOverflowTooltip: true,
65182
+ width: this.theadWidth.pressTimes || 150,
65183
+ render: function render(h, params) {
65184
+ return h('ins', { style: 'color:red;cursor: pointer;' }, params.row.pressTimes != 0 ? params.row.pressTimes : '');
65185
+ }
65186
+ }, {
65187
+ title: '操作',
65188
+ type: 'handle',
65189
+ width: this.modify ? '130' : '100',
65190
+ template: '',
65191
+ hide: this.hideBtn || !this.canDelete && !this.modify,
65192
+ events: [{
65193
+ text: '删除',
65194
+ rules: function rules(rows) {
65195
+ return rows.canDelete || _this2.canDelete;
65196
+ }
65197
+ }, {
65198
+ text: '修改',
65199
+ rules: function rules(rows) {
65200
+ return _this2.modify && rows.pendstate == 2;
65201
+ }
65202
+ }]
65203
+ }],
65204
+ preset: this.thead,
65205
+ splitReading: [{
65206
+ label: '经办部门',
65207
+ field: 'deptid',
65208
+ key: 'jbbm',
65209
+ align: 'center',
65210
+ showOverflowTooltip: true,
65211
+ width: this.theadWidth.deptid || 150
65212
+ }, {
65213
+ label: '步骤',
65214
+ field: 'itemname',
65215
+ align: 'center',
65216
+ key: 'bz',
65217
+ showOverflowTooltip: true,
65218
+ width: this.theadWidth.itemname || 110
65219
+ }, {
65220
+ label: '办理人',
65221
+ field: 'userName',
65222
+ align: 'center',
65223
+ key: 'blr',
65224
+ showOverflowTooltip: true,
65225
+ width: this.theadWidth.userName || 110
65226
+ }, {
65227
+ label: '状态',
65228
+ field: 'pendstate',
65229
+ align: 'center',
65230
+ key: 'zt',
65231
+ showOverflowTooltip: true,
65232
+ width: this.theadWidth.pendstate || 80,
65233
+ render: function render(h, params) {
65234
+ return h('span', {
65235
+ style: {
65236
+ color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : params.row.pendstate == -1 ? 'orange' : 'deepskyblue'
65237
+ },
65238
+ domProps: { innerHTML: params.row.querykeywords }
65239
+ });
65240
+ }
65241
+ }, {
65242
+ label: '办理意见',
65243
+ field: 'doresult',
65244
+ align: 'left',
65002
65245
  'min-width': 200,
65003
65246
  key: 'blyj',
65004
- render: function render(h, params) {
65005
- if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
65006
- return h('img', {
65007
- attrs: { src: params.row.doresult },
65008
- style: { width: '100px', height: '100px' }
65009
- });
65010
- } else {
65011
- return h('span', {}, [params.row.doresult ? params.row.doresult + (params.row.handleInfo ? '&' : '') : '', h('span', { style: { color: '#A5A5A5', marginLeft: '2px' } }, params.row.handleInfo || '')]);
65012
- }
65013
- }
65014
- }, {
65015
- label: '验签',
65016
- field: 'authTypeStr',
65017
- align: 'center',
65018
- key: 'yq',
65019
- showOverflowTooltip: true,
65020
- width: this.theadWidth.authTypeStr || 70,
65021
- render: function render(h, params) {
65022
- return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
65023
- }
65024
- }, {
65025
- label: '附件',
65026
- key: 'fj',
65027
- field: 'hasAdjunct',
65028
- align: 'center',
65029
- showOverflowTooltip: true,
65030
- width: this.theadWidth.hasAdjunct || 70,
65031
- render: function render(h, params) {
65032
- if (params.row.hasAdjunct) {
65033
- return h('span', {
65034
- style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
65035
- class: 'iconfont es-icon-fujian'
65036
- });
65037
- } else {
65038
- return h('span', {}, '');
65039
- }
65040
- }
65041
- }, {
65042
- label: '时间',
65043
- field: 'doetime',
65044
- align: 'center',
65045
- key: 'sj',
65046
- showOverflowTooltip: true,
65047
- width: this.theadWidth.doetime || 150,
65048
- render: function render(h, params) {
65049
- return h('span', {}, params.row.doetime ? utils_util.formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm') : '');
65050
- }
65051
- }, {
65052
- label: '代办人',
65053
- field: 'douserid',
65054
- align: 'center',
65055
- key: 'dbr',
65056
- showOverflowTooltip: true,
65057
- width: this.theadWidth.douserid || 80,
65058
- hide: _that.flowTableInfo.hasAgent != '1'
65059
- }, {
65060
- label: '催办',
65061
- field: 'pressTimes',
65062
- align: 'center',
65063
- key: 'cb',
65064
- showOverflowTooltip: true,
65065
- width: this.theadWidth.pressTimes || 150,
65066
- render: function render(h, params) {
65067
- return h('ins', { style: 'color:red;cursor: pointer;' }, params.row.pressTimes != 0 ? params.row.pressTimes : '');
65068
- }
65069
- }, {
65070
- title: '操作',
65071
- type: 'handle',
65072
- width: this.modify ? '130' : '100',
65073
- template: '',
65074
- hide: this.hideBtn || !this.canDelete && !this.modify,
65075
- events: [{
65076
- text: '删除',
65077
- rules: function rules(rows) {
65078
- return rows.canDelete || _this2.canDelete;
65079
- }
65080
- }, {
65081
- text: '修改',
65082
- rules: function rules(rows) {
65083
- return _this2.modify && rows.pendstate == 2;
65084
- }
65085
- }]
65086
- }],
65087
- preset: this.thead,
65088
- splitReading: [{
65089
- label: '经办部门',
65090
- field: 'deptid',
65091
- key: 'jbbm',
65092
- align: 'center',
65093
- showOverflowTooltip: true,
65094
- width: this.theadWidth.deptid || 150
65095
- }, {
65096
- label: '步骤',
65097
- field: 'itemname',
65098
- align: 'center',
65099
- key: 'bz',
65100
- showOverflowTooltip: true,
65101
- width: this.theadWidth.itemname || 110
65102
- }, {
65103
- label: '办理人',
65104
- field: 'userName',
65105
- align: 'center',
65106
- key: 'blr',
65107
- showOverflowTooltip: true,
65108
- width: this.theadWidth.userName || 110
65109
- }, {
65110
- label: '状态',
65111
- field: 'pendstate',
65112
- align: 'center',
65113
- key: 'zt',
65114
- showOverflowTooltip: true,
65115
- width: this.theadWidth.pendstate || 80,
65116
- render: function render(h, params) {
65117
- return h('span', {
65118
- style: {
65119
- color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : params.row.pendstate == -1 ? 'orange' : 'deepskyblue'
65120
- },
65121
- domProps: { innerHTML: params.row.querykeywords }
65122
- });
65123
- }
65124
- }, {
65125
- label: '办理意见',
65126
- field: 'doresult',
65127
- align: 'center',
65128
- 'min-width': 200,
65129
- key: 'blyj',
65130
- width: this.theadWidth.doresult,
65131
- showOverflowTooltip: true,
65247
+ width: this.theadWidth.doresult,
65248
+ showOverflowTooltip: false,
65132
65249
  render: function render(h, params) {
65133
65250
  if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
65134
65251
  return h('img', {
@@ -65455,13 +65572,18 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65455
65572
  }
65456
65573
  });
65457
65574
  }
65458
- return {
65575
+ var baseConfig = {
65459
65576
  type: item,
65460
65577
  checkbox: newContents.indexOf('untreatedRead') != -1,
65461
65578
  toolbar: _this3.toolbars[item],
65462
65579
  thead: data.length > 0 ? data : _this3.theads[item],
65463
65580
  showFormBtn: false
65464
65581
  };
65582
+ if (item === 'splitReading') {
65583
+ baseConfig.showFormBtn = true;
65584
+ baseConfig.page = _this3.splitReadingPageInfo;
65585
+ }
65586
+ return baseConfig;
65465
65587
  } else {
65466
65588
  if (!Object.prototype.hasOwnProperty.call(item, 'toolbar')) {
65467
65589
  var toolbars = _this3.toolbars[item.type];
@@ -65567,7 +65689,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65567
65689
  return _this4.presetInfoListHiddenColumns.indexOf(items.key) == -1;
65568
65690
  });
65569
65691
  }
65570
- if (!this.canDelete) table.splice(table.length - 1, 1);
65692
+ if (!this.presetCanDelete) table.splice(table.length - 1, 1);
65571
65693
  return table;
65572
65694
  }
65573
65695
  },
@@ -65618,12 +65740,26 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65618
65740
 
65619
65741
 
65620
65742
  methods: {
65743
+ handleSplitReadingSearch: function handleSplitReadingSearch(data) {
65744
+ if (data && data.splitReadingSearchKey !== undefined) {
65745
+ this.splitReadingSearchKey = data.splitReadingSearchKey;
65746
+ this.splitReadingPageNum = 1;
65747
+ }
65748
+ },
65749
+ handleSplitReadingSizeChange: function handleSplitReadingSizeChange(size) {
65750
+ this.splitReadingPageSize = size;
65751
+ this.splitReadingPageNum = 1;
65752
+ },
65753
+ handleSplitReadingCurrentChange: function handleSplitReadingCurrentChange(page) {
65754
+ this.splitReadingPageNum = page;
65755
+ },
65756
+
65621
65757
  /**
65622
- * handleBatchDelete
65623
- * @desc:批量删除
65624
- * @author liufan
65625
- * @date 2025年12月31日
65626
- **/
65758
+ * handleBatchDelete
65759
+ * @desc:批量删除
65760
+ * @author liufan
65761
+ * @date 2025年12月31日
65762
+ **/
65627
65763
  handleBatchDelete: function handleBatchDelete() {
65628
65764
  var _this6 = this;
65629
65765
 
@@ -65839,9 +65975,14 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
65839
65975
  this.flowListCount.signData = this.signData;
65840
65976
  return this.signData;
65841
65977
  case 'splitReading':
65842
- this.flowListCount.splitReading = this.splitReadingData.length;
65843
- this.flowListCount.splitReadingData = this.splitReadingData;
65844
- return this.splitReadingData;
65978
+ {
65979
+ var splitData = this.filteredSplitReadingData;
65980
+ this.flowListCount.splitReading = splitData.length;
65981
+ this.flowListCount.splitReadingData = splitData;
65982
+ var start = (this.splitReadingPageNum - 1) * this.splitReadingPageSize;
65983
+ var end = start + this.splitReadingPageSize;
65984
+ return splitData.slice(start, end);
65985
+ }
65845
65986
  case 'circular':
65846
65987
  this.flowListCount.circular = this.circularData.length;
65847
65988
  this.flowListCount.circularData = this.circularData;
@@ -66411,7 +66552,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
66411
66552
  }
66412
66553
  _this20.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
66413
66554
  _this20.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
66414
- _this20.canDelete = canDelete;
66555
+ _this20.presetCanDelete = canDelete;
66415
66556
  } else {
66416
66557
  _this20.$message.error(message || '系统错误,请联系管理员!');
66417
66558
  }
@@ -66436,8 +66577,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
66436
66577
 
66437
66578
  var flow_list_src_main_component = normalizeComponent(
66438
66579
  packages_flow_list_src_mainvue_type_script_lang_js_,
66439
- mainvue_type_template_id_6a97d245_render,
66440
- mainvue_type_template_id_6a97d245_staticRenderFns,
66580
+ mainvue_type_template_id_25eb7336_render,
66581
+ mainvue_type_template_id_25eb7336_staticRenderFns,
66441
66582
  false,
66442
66583
  null,
66443
66584
  null,
@@ -96964,8 +97105,8 @@ select_ganged_src_main.install = function (Vue) {
96964
97105
  };
96965
97106
 
96966
97107
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
96967
- // 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=2e6b9dd2&
96968
- var mainvue_type_template_id_2e6b9dd2_render = function () {
97108
+ // 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&
97109
+ var mainvue_type_template_id_18a2e4a6_render = function () {
96969
97110
  var _vm = this
96970
97111
  var _h = _vm.$createElement
96971
97112
  var _c = _vm._self._c || _h
@@ -96973,22 +97114,14 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
96973
97114
  ? _c(
96974
97115
  "div",
96975
97116
  {
96976
- directives: [
96977
- {
96978
- name: "clickoutside",
96979
- rawName: "v-clickoutside",
96980
- value: _vm.handleClose,
96981
- expression: "handleClose",
96982
- },
96983
- ],
96984
97117
  ref: "esSelector",
96985
97118
  staticClass: "es-selector",
96986
- class: { "es-pointer": !_vm.readonly && !_vm.filterable },
97119
+ class: { "is-button": _vm.button && !_vm.readonly },
96987
97120
  },
96988
97121
  [
96989
97122
  _vm.form
96990
97123
  ? [
96991
- _vm.button
97124
+ _vm.button && !_vm.readonly
96992
97125
  ? _c(
96993
97126
  "el-button",
96994
97127
  _vm._b(
@@ -97007,485 +97140,94 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
97007
97140
  2
97008
97141
  )
97009
97142
  : [
97010
- _c(
97011
- "div",
97012
- {
97013
- class: [
97014
- _vm.selectorSize
97015
- ? "el-select--" + _vm.selectorSize
97016
- : "es-selector-box",
97017
- { "es-selector-search": _vm.filterable },
97018
- ],
97019
- on: {
97020
- click: function ($event) {
97021
- $event.stopPropagation()
97022
- return _vm.toggleMenu($event)
97023
- },
97024
- },
97025
- },
97026
- [
97027
- _vm.multiple
97028
- ? _c(
97029
- "div",
97030
- {
97031
- ref: "tags",
97032
- staticClass: "el-select__tags",
97033
- class: { "es-selector-edit": !_vm.readonly },
97034
- },
97035
- [
97036
- _vm.collapseTags && _vm.selected.length
97037
- ? _c(
97038
- "div",
97039
- {
97040
- staticClass: "es-selector-tags",
97041
- class: {
97042
- "es-selector-more":
97043
- _vm.selected.length > 1,
97044
- },
97045
- },
97046
- [
97047
- _vm._l(
97048
- _vm.selected.slice(
97049
- 0,
97050
- _vm.collapseTags === true
97051
- ? 1
97052
- : _vm.collapseTags
97053
- ),
97054
- function (item, index) {
97055
- return _c(
97056
- "el-tag",
97057
- {
97058
- key: _vm.getValueKey(item),
97059
- attrs: {
97060
- closable:
97061
- !_vm.selectorDisabled &&
97062
- !_vm.readonly &&
97063
- _vm.selected.length >
97064
- _vm.min,
97065
- type: "info",
97066
- "disable-transitions": "",
97067
- },
97068
- on: {
97069
- close: function ($event) {
97070
- _vm.deleteTag(
97071
- $event,
97072
- item,
97073
- index
97074
- )
97075
- },
97076
- },
97077
- },
97078
- [
97079
- _c(
97080
- "span",
97081
- {
97082
- staticClass:
97083
- "el-select__tags-text",
97084
- },
97085
- [
97086
- _vm._v(
97087
- _vm._s(
97088
- _vm.getLabel(item)
97089
- )
97090
- ),
97091
- ]
97092
- ),
97093
- ]
97094
- )
97095
- }
97096
- ),
97097
- _vm.selected.length >
97098
- (_vm.collapseTags === true
97099
- ? 1
97100
- : _vm.collapseTags)
97101
- ? _c(
97102
- "el-tag",
97103
- {
97104
- staticClass: "es-tags-more",
97105
- attrs: {
97106
- closable: false,
97107
- type: "info",
97108
- "disable-transitions": "",
97109
- },
97110
- },
97111
- [
97112
- _c(
97113
- "span",
97114
- {
97115
- staticClass:
97116
- "el-select__tags-text",
97117
- },
97118
- [
97119
- _vm._v(
97120
- "+\n " +
97121
- _vm._s(
97122
- _vm.selected
97123
- .length -
97124
- (_vm.collapseTags ===
97125
- true
97126
- ? 1
97127
- : _vm.collapseTags)
97128
- )
97129
- ),
97130
- ]
97131
- ),
97132
- ]
97133
- )
97134
- : _vm._e(),
97135
- ],
97136
- 2
97137
- )
97138
- : _c(
97139
- "transition-group",
97140
- {
97141
- on: {
97142
- "after-leave": _vm.resetInputHeight,
97143
- },
97144
- },
97145
- _vm._l(
97146
- _vm.selected,
97147
- function (item, index) {
97148
- return _c(
97149
- "el-tag",
97150
- {
97151
- key: _vm.getValueKey(item),
97152
- attrs: {
97153
- closable:
97154
- !_vm.selectorDisabled &&
97155
- !_vm.readonly &&
97156
- _vm.selected.length >
97157
- _vm.min,
97158
- type: "info",
97159
- "disable-transitions": "",
97160
- },
97161
- on: {
97162
- close: function ($event) {
97163
- _vm.deleteTag(
97164
- $event,
97165
- item,
97166
- index
97167
- )
97168
- },
97169
- },
97170
- },
97171
- [
97172
- _c(
97173
- "span",
97174
- {
97175
- staticClass:
97176
- "el-select__tags-text",
97177
- },
97178
- [
97179
- _vm._v(
97180
- _vm._s(_vm.getLabel(item))
97181
- ),
97182
- ]
97183
- ),
97184
- ]
97185
- )
97186
- }
97187
- ),
97188
- 1
97189
- ),
97190
- ],
97191
- 1
97192
- )
97193
- : _vm._e(),
97194
- _vm.readonly
97195
- ? _c(
97196
- "div",
97197
- {
97198
- ref: "reference",
97199
- staticClass: "es-input__inner",
97143
+ !(_vm.multiple && _vm.readonly)
97144
+ ? _c(
97145
+ "el-autocomplete",
97146
+ {
97147
+ attrs: {
97148
+ "value-key": "showname",
97149
+ readonly: _vm.readonly,
97150
+ "fetch-suggestions": _vm.search,
97151
+ placeholder: _vm.placeholder,
97152
+ "trigger-on-focus": false,
97153
+ "get-label": _vm.getLabel,
97154
+ },
97155
+ on: {
97156
+ select: _vm.handleSelect,
97157
+ change: _vm.handleChange,
97158
+ },
97159
+ model: {
97160
+ value: _vm.selectedLabel,
97161
+ callback: function ($$v) {
97162
+ _vm.selectedLabel = $$v
97200
97163
  },
97201
- [
97202
- !_vm.multiple
97203
- ? [_vm._v(_vm._s(_vm.selectedLabel))]
97204
- : _vm._e(),
97205
- ],
97206
- 2
97207
- )
97208
- : [
97209
- _vm.multiple
97210
- ? [
97211
- _c(
97212
- "el-input",
97213
- {
97214
- directives: [
97215
- {
97216
- name: "popover",
97217
- rawName: "v-popover:popover",
97218
- arg: "popover",
97219
- },
97220
- ],
97221
- ref: "reference",
97222
- class: {
97223
- "is-focus": _vm.visible,
97224
- "es-plain": _vm.plain,
97225
- "es-pointer": !_vm.filterable,
97226
- "es-zindex-2": _vm.focus,
97227
- },
97228
- attrs: {
97229
- type: "text",
97230
- autocomplete: "off",
97231
- readonly: _vm.filterable
97232
- ? false
97233
- : true,
97234
- id: _vm.id,
97235
- placeholder: _vm.currentPlaceholder,
97236
- size: _vm.selectorSize,
97237
- disabled: _vm.selectorDisabled,
97238
- tabindex: _vm.tabindex,
97239
- },
97240
- on: {
97241
- focus: _vm.handleFocus,
97242
- blur: _vm.handleBlur,
97243
- },
97244
- nativeOn: {
97245
- dblclick: function ($event) {
97246
- return _vm.openDialog($event)
97247
- },
97248
- },
97249
- model: {
97250
- value: _vm.words,
97251
- callback: function ($$v) {
97252
- _vm.words = $$v
97253
- },
97254
- expression: "words",
97255
- },
97256
- },
97257
- [
97258
- _c(
97259
- "template",
97260
- { slot: "append" },
97261
- [
97262
- _vm.filterable || _vm.showButton
97263
- ? _c(
97264
- "el-button",
97265
- {
97266
- ref: "openDialog",
97267
- on: {
97268
- click: function (
97269
- $event
97270
- ) {
97271
- $event.stopPropagation()
97272
- return _vm.openDialog(
97273
- $event
97274
- )
97275
- },
97276
- },
97277
- },
97278
- [
97279
- _vm._t("default", [
97280
- _vm.icon
97281
- ? _c("es-icon", {
97282
- attrs: {
97283
- contents:
97284
- _vm.icon,
97285
- },
97286
- })
97287
- : [_vm._v("选择")],
97288
- ]),
97289
- ],
97290
- 2
97291
- )
97292
- : _vm._e(),
97293
- ],
97294
- 1
97295
- ),
97296
- ],
97297
- 2
97298
- ),
97299
- _c("el-input", {
97300
- directives: [
97301
- {
97302
- name: "show",
97303
- rawName: "v-show",
97304
- value: false,
97305
- expression: "false",
97306
- },
97307
- ],
97308
- attrs: {
97309
- readonly: "",
97310
- name: _vm.name,
97311
- type: "text",
97312
- },
97313
- model: {
97314
- value: _vm.selectedLabel,
97315
- callback: function ($$v) {
97316
- _vm.selectedLabel = $$v
97317
- },
97318
- expression: "selectedLabel",
97319
- },
97320
- }),
97321
- ]
97322
- : _c(
97323
- "el-input",
97324
- {
97325
- ref: "reference",
97326
- class: {
97327
- "is-focus": _vm.visible,
97328
- "es-plain": this.plain,
97329
- "es-pointer": !_vm.filterable,
97330
- },
97331
- attrs: {
97332
- type: "text",
97333
- autocomplete: "off",
97334
- clearable: _vm.clearable,
97335
- showClearIcon: "",
97336
- name: _vm.name,
97337
- readonly: _vm.filterable
97338
- ? false
97339
- : true,
97340
- active: _vm.actived,
97341
- id: _vm.id,
97342
- placeholder: _vm.currentPlaceholder,
97343
- size: _vm.selectorSize,
97344
- disabled: _vm.selectorDisabled,
97345
- tabindex: _vm.tabindex,
97346
- },
97347
- on: { clear: _vm.handleClear },
97348
- nativeOn: {
97349
- dblclick: function ($event) {
97350
- return _vm.openDialog($event)
97351
- },
97352
- },
97353
- model: {
97354
- value: _vm.selectedLabel,
97355
- callback: function ($$v) {
97356
- _vm.selectedLabel = $$v
97357
- },
97358
- expression: "selectedLabel",
97359
- },
97360
- },
97361
- [
97362
- _c(
97363
- "template",
97364
- { slot: "append" },
97365
- [
97366
- _vm.filterable || _vm.showButton
97367
- ? _c(
97368
- "el-button",
97369
- {
97370
- ref: "openDialog",
97371
- on: {
97372
- click: function ($event) {
97373
- $event.stopPropagation()
97374
- return _vm.openDialog(
97375
- $event
97376
- )
97377
- },
97378
- },
97379
- },
97380
- [
97381
- _vm._t("default", [
97382
- _vm.icon
97383
- ? _c("es-icon", {
97384
- attrs: {
97385
- contents:
97386
- _vm.icon,
97387
- },
97388
- })
97389
- : [_vm._v("选择")],
97390
- ]),
97391
- ],
97392
- 2
97393
- )
97394
- : _vm._e(),
97395
- ],
97396
- 1
97397
- ),
97398
- ],
97399
- 2
97400
- ),
97401
- ],
97402
- ],
97403
- 2
97404
- ),
97405
- _c(
97406
- "el-popover",
97407
- {
97408
- attrs: {
97409
- placement: "bottom-start",
97410
- trigger: "manual",
97411
- "popper-class": "es-selector-popover",
97412
- width: _vm.minWidth,
97413
- queryParent: true,
97414
- reference: _vm.reference,
97415
- "arrow-offset": 20,
97416
- },
97417
- model: {
97418
- value: _vm.show,
97419
- callback: function ($$v) {
97420
- _vm.show = $$v
97164
+ expression: "selectedLabel",
97165
+ },
97421
97166
  },
97422
- expression: "show",
97423
- },
97424
- },
97425
- [
97426
- _c(
97427
- "el-scrollbar",
97167
+ [
97168
+ !_vm.readonly
97169
+ ? _c("el-button", {
97170
+ staticClass: "es-selector-btn",
97171
+ attrs: {
97172
+ slot: "suffix",
97173
+ type: "text",
97174
+ icon: _vm.icon,
97175
+ },
97176
+ on: {
97177
+ click: function ($event) {
97178
+ $event.stopPropagation()
97179
+ return _vm.openDialog($event)
97180
+ },
97181
+ },
97182
+ slot: "suffix",
97183
+ })
97184
+ : _vm._e(),
97185
+ ],
97186
+ 1
97187
+ )
97188
+ : _vm._e(),
97189
+ _vm.multiple
97190
+ ? _c(
97191
+ "div",
97428
97192
  {
97429
- directives: [
97430
- {
97431
- name: "show",
97432
- rawName: "v-show",
97433
- value: _vm.options.length,
97434
- expression: "options.length",
97435
- },
97436
- ],
97437
- ref: "scrollbar",
97438
- attrs: {
97439
- tag: "ul",
97440
- "wrap-class": "es-selector-dropdown__wrap",
97441
- "view-class": "es-selector-dropdown__list",
97442
- maxHeight: "228",
97193
+ ref: "tags",
97194
+ staticClass: "es-select__tags",
97195
+ class: {
97196
+ "is-edit": !_vm.readonly,
97197
+ "is-show": _vm.selected.length,
97443
97198
  },
97444
97199
  },
97445
- _vm._l(_vm.options, function (item) {
97200
+ _vm._l(_vm.selected, function (item, index) {
97446
97201
  return _c(
97447
- "li",
97202
+ "el-tag",
97448
97203
  {
97449
- key: item.id,
97450
- staticClass: "es-selector-dropdown-item",
97451
- class: { "es-selected": item.selected },
97204
+ key: _vm.getValueKey(item),
97205
+ attrs: {
97206
+ closable:
97207
+ !_vm.selectorDisabled &&
97208
+ !_vm.readonly &&
97209
+ _vm.selected.length > _vm.min,
97210
+ type: "info",
97211
+ "disable-transitions": "",
97212
+ },
97452
97213
  on: {
97453
- click: function ($event) {
97454
- _vm.handleSelect(item)
97214
+ close: function ($event) {
97215
+ _vm.deleteTag($event, item, index)
97455
97216
  },
97456
97217
  },
97457
97218
  },
97458
97219
  [
97459
- _c("span", [
97460
- _vm._v(
97461
- "\n " +
97462
- _vm._s(_vm.getDep(item)) +
97463
- "\n " +
97464
- _vm._s(item[_vm.labelKey]) +
97465
- "\n "
97466
- ),
97467
- ]),
97468
- ]
97469
- )
97470
- }),
97471
- 0
97472
- ),
97473
- _vm.options.length == 0
97474
- ? _c(
97475
- "p",
97476
- { staticClass: "el-select-dropdown__empty" },
97477
- [
97478
- _vm._v(
97479
- "\n " +
97480
- _vm._s(_vm.noMatchText) +
97481
- "\n "
97220
+ _c(
97221
+ "span",
97222
+ { staticClass: "el-select__tags-text" },
97223
+ [_vm._v(_vm._s(_vm.getLabel(item)))]
97482
97224
  ),
97483
97225
  ]
97484
97226
  )
97485
- : _vm._e(),
97486
- ],
97487
- 1
97488
- ),
97227
+ }),
97228
+ 1
97229
+ )
97230
+ : _vm._e(),
97489
97231
  ],
97490
97232
  ]
97491
97233
  : _vm._e(),
@@ -97526,6 +97268,8 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
97526
97268
  type: _vm.types,
97527
97269
  mix: _vm.mix,
97528
97270
  isShowLevel3: _vm.isShowLevel3,
97271
+ "tree-title": _vm.treeTitle,
97272
+ "show-switch": _vm.showSwitch,
97529
97273
  },
97530
97274
  on: {
97531
97275
  tabschage: _vm.tabschage,
@@ -97558,11 +97302,11 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
97558
97302
  )
97559
97303
  : _vm._e()
97560
97304
  }
97561
- var mainvue_type_template_id_2e6b9dd2_staticRenderFns = []
97562
- mainvue_type_template_id_2e6b9dd2_render._withStripped = true
97305
+ var mainvue_type_template_id_18a2e4a6_staticRenderFns = []
97306
+ mainvue_type_template_id_18a2e4a6_render._withStripped = true
97563
97307
 
97564
97308
 
97565
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=2e6b9dd2&
97309
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=18a2e4a6&
97566
97310
 
97567
97311
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
97568
97312
  var clickoutside_ = __webpack_require__(17);
@@ -97659,155 +97403,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97659
97403
  //
97660
97404
  //
97661
97405
  //
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
- //
97754
- //
97755
- //
97756
- //
97757
- //
97758
- //
97759
- //
97760
- //
97761
- //
97762
- //
97763
- //
97764
- //
97765
- //
97766
- //
97767
- //
97768
- //
97769
- //
97770
- //
97771
- //
97772
- //
97773
- //
97774
- //
97775
- //
97776
- //
97777
- //
97778
- //
97779
- //
97780
- //
97781
- //
97782
- //
97783
- //
97784
- //
97785
- //
97786
- //
97787
- //
97788
- //
97789
- //
97790
- //
97791
- //
97792
- //
97793
- //
97794
- //
97795
- //
97796
- //
97797
- //
97798
- //
97799
- //
97800
- //
97801
- //
97802
- //
97803
- //
97804
- //
97805
- //
97806
- //
97807
- //
97808
- //
97809
- //
97810
- //
97406
+
97811
97407
 
97812
97408
 
97813
97409
 
@@ -97903,17 +97499,17 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97903
97499
  default: -1
97904
97500
  },
97905
97501
  //是否显示搜索框
97906
- filterable: Boolean,
97907
- //搜索列表是否显示部门信息
97908
- showFilterListDep: {
97502
+ filterable: {
97909
97503
  type: Boolean,
97910
97504
  default: true
97911
97505
  },
97506
+ //搜索列表是否显示部门信息
97507
+ showFilterListDep: Boolean,
97912
97508
  //是否根据搜索值创建新的数据
97913
97509
  createable: Boolean,
97914
97510
  showButton: Boolean,
97915
97511
  button: Object,
97916
- icon: String,
97512
+ icon: { type: String, default: 'es-icon-sousuorenyuan' },
97917
97513
  active: String,
97918
97514
  keywords: {
97919
97515
  type: String,
@@ -97956,16 +97552,24 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
97956
97552
  default: true
97957
97553
  },
97958
97554
  //弹窗关闭时是否销毁子组件
97959
- destroyOnClose: Boolean
97555
+ destroyOnClose: Boolean,
97556
+ //树结构标题
97557
+ treeTitle: String,
97558
+ //是否显示切换按钮
97559
+ showSwitch: {
97560
+ type: Boolean,
97561
+ default: true
97562
+ },
97563
+ selection: [Array, String]
97960
97564
  },
97961
97565
  data: function data() {
97962
97566
  return {
97567
+ selectedLabel: '',
97963
97568
  selected: [],
97964
97569
  visible: false,
97965
97570
  menuVisibleOnFocus: false,
97966
97571
  inputHovering: false,
97967
97572
  styles: {},
97968
- words: '',
97969
97573
  minWidth: '',
97970
97574
  options: '',
97971
97575
  show: false,
@@ -98001,30 +97605,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98001
97605
  selectorDisabled: function selectorDisabled() {
98002
97606
  return this.disabled || (this.elForm || {}).disabled;
98003
97607
  },
98004
-
98005
- selectedLabel: {
98006
- get: function get() {
98007
- var _this = this;
98008
-
98009
- if (this.selected) {
98010
- if (typeof this.selected === 'string') {
98011
- return this.selected;
98012
- } else if (utils_util.isObject(this.selected)) {
98013
- return this.selected[this.labelKey];
98014
- } else if (Array.isArray(this.selected)) {
98015
- return this.selected.map(function (item) {
98016
- return typeof item === 'string' ? item : item[_this.labelKey];
98017
- }).join(',');
98018
- }
98019
- }
98020
- return '';
98021
- },
98022
- set: function set(val) {
98023
- this.selected = [val];
98024
- this.words = val;
98025
- return val;
98026
- }
98027
- },
98028
97608
  currentPlaceholder: function currentPlaceholder() {
98029
97609
  if (this.selected && this.selected.length) {
98030
97610
  return '';
@@ -98049,6 +97629,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98049
97629
  } else {
98050
97630
  this.selected = [];
98051
97631
  }
97632
+ if (!this.multiple && val && val.length) {
97633
+ this.selectedLabel = this.getLabel(val[0]);
97634
+ }
98052
97635
  }
98053
97636
  },
98054
97637
  selected: {
@@ -98060,12 +97643,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98060
97643
  }
98061
97644
  }
98062
97645
  },
98063
- words: function words(val) {
98064
- if (this.emptySerach || val !== '') {
98065
- clearTimeout(this.timer);
98066
- this.timer = setTimeout(this.handleSearch, 500);
98067
- }
98068
- },
98069
97646
  mix: function mix(val) {
98070
97647
  if (val) {
98071
97648
  this.getSysParam();
@@ -98073,6 +97650,11 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98073
97650
  }
98074
97651
  },
98075
97652
  created: function created() {
97653
+ var _this = this;
97654
+
97655
+ this.search = Object(external_throttle_debounce_["throttle"])(500, function (query, callback) {
97656
+ _this.handleSearch(query, callback);
97657
+ });
98076
97658
  this.reference = this.$refs.esSelector;
98077
97659
  this.mix && this.getSysParam();
98078
97660
  },
@@ -98120,76 +97702,83 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98120
97702
  getValueKey: function getValueKey(obj) {
98121
97703
  return utils_util.isObject(obj) ? obj[this.valueKey] : obj;
98122
97704
  },
98123
- toggleMenu: function toggleMenu() {
98124
- if (!this.selectorDisabled && !this.readonly && !this.filterable && this.select) {
98125
- this.visible = true;
98126
- }
98127
- },
98128
97705
  openDialog: function openDialog() {
98129
97706
  if (!this.selectorDisabled && !this.readonly && this.select) {
98130
97707
  this.visible = true;
98131
97708
  }
98132
97709
  },
98133
- handleSearch: function handleSearch() {
98134
- var _this3 = this;
97710
+ handleSearch: function handleSearch(query, callback) {
97711
+ var _ref,
97712
+ _this3 = this;
98135
97713
 
98136
- var options = [];
98137
- if (this.createable) {
98138
- var _ref;
97714
+ if (!query) return;
98139
97715
 
98140
- options = [(_ref = {}, _ref[this.labelKey] = this.words, _ref[this.valueKey] = this.words, _ref)];
97716
+ var options = this.createable ? [(_ref = {}, _ref[this.labelKey] = query, _ref[this.valueKey] = query, _ref)] : [];
97717
+ if (!this.tree && this.selection && Array.isArray(this.selection)) {
97718
+ var selections = this.selection.filter(function (item) {
97719
+ return item[_this3.labelKey].indexOf(query) > -1;
97720
+ });
97721
+ // selections = selections.filter((item) => {
97722
+ // return (
97723
+ // this.selected.findIndex(
97724
+ // (selected) => selected[this.valueKey] === item[this.valueKey]
97725
+ // ) === -1
97726
+ // );
97727
+ // });
97728
+ options = options.concat(selections);
98141
97729
  }
98142
97730
  if (this.filterable) {
98143
97731
  var params = {
98144
97732
  type: this.actived
98145
97733
  };
98146
- params[this.keywords] = this.words;
97734
+ var url = !this.tree && this.selection && typeof this.selection === 'string' ? this.selection : this.action;
97735
+ params[this.keywords] = query;
98147
97736
  params = utils_util.extend({}, params, this.where);
98148
97737
  utils_util.ajax({
98149
- url: this.action,
97738
+ url: url,
98150
97739
  params: params
98151
97740
  }).then(function (res) {
98152
97741
  if (res.rCode === 0) {
98153
- _this3.options = [].concat(options, res.results);
98154
- if (_this3.selected.length && _this3.multiple) {
98155
- _this3.selected.forEach(function (item) {
98156
- var i = utils_util.indexOfObj(_this3.options, item, _this3.valueKey);
98157
- if (i > -1) {
98158
- _this3.options[i].selected = true;
98159
- }
98160
- });
98161
- }
98162
- _this3.show = true;
97742
+ var results = res.results || [];
97743
+ // .filter((item) => {
97744
+ // return (
97745
+ // this.selected.findIndex(
97746
+ // (selected) =>
97747
+ // selected[this.valueKey] === item[this.valueKey]
97748
+ // ) === -1
97749
+ // );
97750
+ // });
97751
+ options = options.concat(results);
97752
+ callback(options);
98163
97753
  }
98164
97754
  }).catch(function (err) {
98165
97755
  if (err.message && err.message !== 'canceled') {
98166
97756
  _this3.$message.error(err.message);
98167
97757
  }
98168
97758
  });
98169
- } else if (this.createable) {
98170
- this.options = options;
98171
- this.show = true;
98172
- }
98173
- },
98174
- handleFocus: function handleFocus() {
98175
- if (this.filterable) {
98176
- this.focus = true;
97759
+ } else {
97760
+ callback(options);
98177
97761
  }
98178
97762
  },
98179
- handleBlur: function handleBlur() {
98180
- this.focus = false;
98181
- },
98182
97763
  tabschage: function tabschage(trees, active) {
98183
97764
  this.$emit('tabs-change', trees, active);
98184
97765
  },
98185
- handleClose: function handleClose(res) {
98186
- if (!this.multiple && this.selected[0] === this.words) {
97766
+ handleChange: function handleChange(val) {
97767
+ if (!this.multiple) {
98187
97768
  this.selected = [];
97769
+
97770
+ this.$emit('input', []);
97771
+ this.$emit('confirm', [], this.businessData);
98188
97772
  }
98189
- this.show = false;
97773
+ console.log('handleChange', val);
98190
97774
  },
98191
97775
  handleSelect: function handleSelect(res) {
98192
- this.words = '';
97776
+ console.log('handleSelect', res);
97777
+ if (!this.multiple) {
97778
+ this.selectedLabel = this.getLabel(res);
97779
+ } else {
97780
+ this.selectedLabel = '';
97781
+ }
98193
97782
  if (!res.selected) {
98194
97783
  if (this.multiple) {
98195
97784
  if (this.selected.length) {
@@ -98221,8 +97810,14 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98221
97810
  this.$emit('confirm', this.selected);
98222
97811
  },
98223
97812
  handleConfirm: function handleConfirm(res) {
98224
- this.visible = false;
97813
+ console.log('handleConfirm', res);
98225
97814
  var val = utils_util.isObject(res) ? [res] : res;
97815
+ this.visible = false;
97816
+ if (!this.multiple) {
97817
+ this.selectedLabel = val[0] ? this.getLabel(val) : '';
97818
+ } else {
97819
+ this.selectedLabel = '';
97820
+ }
98226
97821
  if (this.mix) {
98227
97822
  val.forEach(function (item, index) {
98228
97823
  val[index]._typeName = utils_util.getTypeName(item.stype);
@@ -98319,8 +97914,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
98319
97914
 
98320
97915
  var selector_src_main_component = normalizeComponent(
98321
97916
  packages_selector_src_mainvue_type_script_lang_js_,
98322
- mainvue_type_template_id_2e6b9dd2_render,
98323
- mainvue_type_template_id_2e6b9dd2_staticRenderFns,
97917
+ mainvue_type_template_id_18a2e4a6_render,
97918
+ mainvue_type_template_id_18a2e4a6_staticRenderFns,
98324
97919
  false,
98325
97920
  null,
98326
97921
  null,
@@ -98337,8 +97932,8 @@ selector_src_main.install = function (Vue) {
98337
97932
  };
98338
97933
 
98339
97934
  /* harmony default export */ var selector = (selector_src_main);
98340
- // 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&
98341
- var mainvue_type_template_id_4765b5a0_render = function () {
97935
+ // 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&
97936
+ var mainvue_type_template_id_17c26d73_render = function () {
98342
97937
  var _vm = this
98343
97938
  var _h = _vm.$createElement
98344
97939
  var _c = _vm._self._c || _h
@@ -98372,7 +97967,11 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98372
97967
  [
98373
97968
  _vm.isShowTree
98374
97969
  ? _c("tree", {
98375
- attrs: { data: items.data, loading: _vm.loading },
97970
+ attrs: {
97971
+ "tree-title": _vm.treeTitle,
97972
+ data: items.data,
97973
+ loading: _vm.loading,
97974
+ },
98376
97975
  on: { loadsub: _vm.loadsub, search: _vm.searchTree },
98377
97976
  })
98378
97977
  : _vm._e(),
@@ -98397,6 +97996,16 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98397
97996
  [
98398
97997
  _c(
98399
97998
  "el-form-item",
97999
+ {
98000
+ directives: [
98001
+ {
98002
+ name: "show",
98003
+ rawName: "v-show",
98004
+ value: _vm.showSwitch,
98005
+ expression: "showSwitch",
98006
+ },
98007
+ ],
98008
+ },
98400
98009
  [
98401
98010
  _c("es-switch", {
98402
98011
  attrs: { data: _vm.options },
@@ -98548,6 +98157,41 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98548
98157
  expression: "checkeds",
98549
98158
  },
98550
98159
  }),
98160
+ _c(
98161
+ "div",
98162
+ { staticClass: "es-selector-selection-divider" },
98163
+ [
98164
+ _c(
98165
+ "el-button",
98166
+ {
98167
+ attrs: { type: "text", size: "small" },
98168
+ on: { click: _vm.handleDelete },
98169
+ },
98170
+ [
98171
+ _c("i", { staticClass: "el-icon-delete" }),
98172
+ _vm._v("清空"),
98173
+ ]
98174
+ ),
98175
+ _vm.multiple && _vm.checkeds.length > 0
98176
+ ? _c(
98177
+ "span",
98178
+ { staticClass: "es-selector-selection-count" },
98179
+ [
98180
+ _vm._v("\n 已选:\n "),
98181
+ _c(
98182
+ "span",
98183
+ {
98184
+ staticClass:
98185
+ "es-selector-selection-count-num",
98186
+ },
98187
+ [_vm._v(_vm._s(_vm.checkeds.length))]
98188
+ ),
98189
+ ]
98190
+ )
98191
+ : _vm._e(),
98192
+ ],
98193
+ 1
98194
+ ),
98551
98195
  _c("selection", {
98552
98196
  attrs: {
98553
98197
  genre: "delete",
@@ -98581,19 +98225,6 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98581
98225
  "div",
98582
98226
  { staticClass: "es-selector-handle" },
98583
98227
  [
98584
- _vm.multiple && _vm.checkeds.length > 0
98585
- ? _c(
98586
- "span",
98587
- { staticStyle: { "margin-right": "20px", color: "red" } },
98588
- [
98589
- _vm._v(
98590
- "\n 已选 " +
98591
- _vm._s(_vm.checkeds.length) +
98592
- "\n "
98593
- ),
98594
- ]
98595
- )
98596
- : _vm._e(),
98597
98228
  _c(
98598
98229
  "el-button",
98599
98230
  {
@@ -98616,14 +98247,14 @@ var mainvue_type_template_id_4765b5a0_render = function () {
98616
98247
  1
98617
98248
  )
98618
98249
  }
98619
- var mainvue_type_template_id_4765b5a0_staticRenderFns = []
98620
- mainvue_type_template_id_4765b5a0_render._withStripped = true
98250
+ var mainvue_type_template_id_17c26d73_staticRenderFns = []
98251
+ mainvue_type_template_id_17c26d73_render._withStripped = true
98621
98252
 
98622
98253
 
98623
- // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=4765b5a0&
98254
+ // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=17c26d73&
98624
98255
 
98625
- // 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&
98626
- var treevue_type_template_id_24ad732a_render = function () {
98256
+ // 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&
98257
+ var treevue_type_template_id_3d3025d8_render = function () {
98627
98258
  var _vm = this
98628
98259
  var _h = _vm.$createElement
98629
98260
  var _c = _vm._self._c || _h
@@ -98631,35 +98262,41 @@ var treevue_type_template_id_24ad732a_render = function () {
98631
98262
  "div",
98632
98263
  { staticClass: "es-selector-tree" },
98633
98264
  [
98634
- _c(
98635
- "el-input",
98636
- {
98637
- staticClass: "es-selector-tree-search",
98638
- attrs: { placeholder: "请输入搜索关键字" },
98639
- on: { change: _vm.handleChangeSearch },
98640
- model: {
98641
- value: _vm.seachkey,
98642
- callback: function ($$v) {
98643
- _vm.seachkey = $$v
98644
- },
98645
- expression: "seachkey",
98646
- },
98647
- },
98648
- [
98649
- _c(
98650
- "template",
98651
- { slot: "append" },
98652
- [
98653
- _c("el-button", {
98654
- attrs: { icon: "el-icon-search", type: "primary" },
98655
- on: { click: _vm.handleSearch },
98656
- }),
98657
- ],
98658
- 1
98659
- ),
98660
- ],
98661
- 2
98662
- ),
98265
+ _vm.treeTitle
98266
+ ? _c("div", { staticClass: "es-selector-tree-title" }, [
98267
+ _vm._v("\n " + _vm._s(_vm.treeTitle) + "\n "),
98268
+ ])
98269
+ : [
98270
+ _c(
98271
+ "el-input",
98272
+ {
98273
+ staticClass: "es-selector-tree-search",
98274
+ attrs: { placeholder: "请输入搜索关键字" },
98275
+ on: { change: _vm.handleChangeSearch },
98276
+ model: {
98277
+ value: _vm.searchkey,
98278
+ callback: function ($$v) {
98279
+ _vm.searchkey = $$v
98280
+ },
98281
+ expression: "searchkey",
98282
+ },
98283
+ },
98284
+ [
98285
+ _c(
98286
+ "template",
98287
+ { slot: "append" },
98288
+ [
98289
+ _c("el-button", {
98290
+ attrs: { icon: "el-icon-search", type: "primary" },
98291
+ on: { click: _vm.handleSearch },
98292
+ }),
98293
+ ],
98294
+ 1
98295
+ ),
98296
+ ],
98297
+ 2
98298
+ ),
98299
+ ],
98663
98300
  _c(
98664
98301
  "div",
98665
98302
  {
@@ -98753,14 +98390,14 @@ var treevue_type_template_id_24ad732a_render = function () {
98753
98390
  1
98754
98391
  ),
98755
98392
  ],
98756
- 1
98393
+ 2
98757
98394
  )
98758
98395
  }
98759
- var treevue_type_template_id_24ad732a_staticRenderFns = []
98760
- treevue_type_template_id_24ad732a_render._withStripped = true
98396
+ var treevue_type_template_id_3d3025d8_staticRenderFns = []
98397
+ treevue_type_template_id_3d3025d8_render._withStripped = true
98761
98398
 
98762
98399
 
98763
- // CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
98400
+ // CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=3d3025d8&
98764
98401
 
98765
98402
  // 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&
98766
98403
  //
@@ -98828,10 +98465,16 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98828
98465
  //
98829
98466
  //
98830
98467
  //
98468
+ //
98469
+ //
98470
+ //
98471
+ //
98472
+ //
98831
98473
 
98832
98474
  /* harmony default export */ var treevue_type_script_lang_js_ = ({
98833
98475
  name: 'Tree',
98834
98476
  props: {
98477
+ treeTitle: String,
98835
98478
  data: {
98836
98479
  type: [Array, Object],
98837
98480
  default: function _default() {
@@ -98853,7 +98496,7 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98853
98496
  label: 'name',
98854
98497
  children: 'children'
98855
98498
  },
98856
- seachkey: '',
98499
+ searchkey: '',
98857
98500
  chooseNode: ''
98858
98501
  };
98859
98502
  },
@@ -98882,13 +98525,13 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98882
98525
  this.$emit('load', node, resolve);
98883
98526
  },
98884
98527
  handleChangeSearch: function handleChangeSearch() {
98885
- if (this.seachkey === '') {
98528
+ if (this.searchkey === '') {
98886
98529
  this.$emit('search', '');
98887
98530
  }
98888
98531
  },
98889
98532
  handleSearch: function handleSearch() {
98890
- if (this.seachkey !== '') {
98891
- this.$emit('search', this.seachkey);
98533
+ if (this.searchkey !== '') {
98534
+ this.$emit('search', this.searchkey);
98892
98535
  }
98893
98536
  }
98894
98537
  }
@@ -98905,8 +98548,8 @@ treevue_type_template_id_24ad732a_render._withStripped = true
98905
98548
 
98906
98549
  var tree_component = normalizeComponent(
98907
98550
  src_treevue_type_script_lang_js_,
98908
- treevue_type_template_id_24ad732a_render,
98909
- treevue_type_template_id_24ad732a_staticRenderFns,
98551
+ treevue_type_template_id_3d3025d8_render,
98552
+ treevue_type_template_id_3d3025d8_staticRenderFns,
98910
98553
  false,
98911
98554
  null,
98912
98555
  null,
@@ -99396,6 +99039,18 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99396
99039
  //
99397
99040
  //
99398
99041
  //
99042
+ //
99043
+ //
99044
+ //
99045
+ //
99046
+ //
99047
+ //
99048
+ //
99049
+ //
99050
+ //
99051
+ //
99052
+ //
99053
+ //
99399
99054
 
99400
99055
 
99401
99056
 
@@ -99431,6 +99086,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99431
99086
  type: String,
99432
99087
  default: '560px'
99433
99088
  },
99089
+ treeTitle: String,
99434
99090
  //树结构
99435
99091
  tree: {
99436
99092
  type: Boolean,
@@ -99505,6 +99161,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99505
99161
  default: function _default() {
99506
99162
  return [];
99507
99163
  }
99164
+ },
99165
+ //是否显示切换按钮
99166
+ showSwitch: {
99167
+ type: Boolean,
99168
+ default: true
99508
99169
  }
99509
99170
  },
99510
99171
  data: function data() {
@@ -99918,6 +99579,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99918
99579
  getAjaxActive: function getAjaxActive(active) {
99919
99580
  var _this3 = this;
99920
99581
 
99582
+ console.log('getAjaxActive', active);
99921
99583
  if (this.isShowTree) {
99922
99584
  if ((!this.trees[active].data || this.trees[active].data && this.trees[active].data.length === 0) && this.newTabs[active].url) {
99923
99585
  this.loading = true;
@@ -99966,14 +99628,23 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99966
99628
  }
99967
99629
  utils_util.ajax({ method: this.method, url: url, params: data, data: data }).then(function (res) {
99968
99630
  if (res.rCode === 0) {
99969
- _this4.loading = false;
99970
99631
  if (!Object.prototype.hasOwnProperty.call(params, 'seachkey')) {
99971
99632
  _this4.$set(_this4.defaults[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
99972
99633
  }
99634
+ console.log('res.results', res.results);
99973
99635
  if (res.results.length && res.results[0].name === '无搜索数据') {
99974
99636
  _this4.$set(_this4.trees[_this4.activeName], 'data', null);
99637
+ _this4.loading = false;
99975
99638
  } else {
99976
99639
  _this4.$set(_this4.trees[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
99640
+ if (_this4.activeName === 'myemployee') {
99641
+ var _params = utils_util.extend({}, _this4.param[_this4.activeName] ? _this4.param[_this4.activeName] : _this4.param);
99642
+ _params.type = _this4.activeName;
99643
+ _params.mid = _this4.trees[_this4.activeName].data[0].id;
99644
+ _this4.getSelections(_params, _this4.trees[_this4.activeName].data[0]);
99645
+ } else {
99646
+ _this4.loading = false;
99647
+ }
99977
99648
  }
99978
99649
  }
99979
99650
  }).catch(function (err) {
@@ -99982,9 +99653,33 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
99982
99653
  }
99983
99654
  });
99984
99655
  },
99985
- loadsub: function loadsub(data, node, flag) {
99656
+ getSelections: function getSelections(params, data) {
99986
99657
  var _this5 = this;
99987
99658
 
99659
+ utils_util.ajax({
99660
+ method: this.method,
99661
+ url: this.host + this.selection,
99662
+ params: params,
99663
+ data: params
99664
+ }).then(function (res) {
99665
+ if (res.rCode === 0) {
99666
+ data.selection = JSON.parse(JSON.stringify(res.results));
99667
+ _this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
99668
+ _this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
99669
+ _this5.nodeData = _this5.trees[_this5.activeName].nodeData;
99670
+ _this5.checkboxs = _this5.trees[_this5.activeName].selection;
99671
+ }
99672
+ }).catch(function (err) {
99673
+ if (err.message && err.message !== 'canceled') {
99674
+ _this5.$message.error(err.message);
99675
+ }
99676
+ }).finally(function () {
99677
+ _this5.loading = false;
99678
+ });
99679
+ },
99680
+ loadsub: function loadsub(data, node, flag) {
99681
+ var _this6 = this;
99682
+
99988
99683
  node;
99989
99684
  if (flag) {
99990
99685
  if (data.selection === undefined || data.selection.length === 0) {
@@ -100001,24 +99696,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100001
99696
  // if (this.activeName === 'department') {
100002
99697
  // params.querymode = 0;
100003
99698
  // }
100004
- utils_util.ajax({
100005
- method: this.method,
100006
- url: this.host + this.selection,
100007
- params: params,
100008
- data: params
100009
- }).then(function (res) {
100010
- if (res.rCode === 0) {
100011
- data.selection = JSON.parse(JSON.stringify(res.results));
100012
- _this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
100013
- _this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
100014
- _this5.nodeData = _this5.trees[_this5.activeName].nodeData;
100015
- _this5.checkboxs = _this5.trees[_this5.activeName].selection;
100016
- }
100017
- }).catch(function (err) {
100018
- if (err.message && err.message !== 'canceled') {
100019
- _this5.$message.error(err.message);
100020
- }
100021
- });
99699
+ this.getSelections(params, data);
100022
99700
  } else {
100023
99701
  this.trees[this.activeName].selection = data.selection;
100024
99702
  this.trees[this.activeName].nodeData = data;
@@ -100030,22 +99708,22 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100030
99708
  data.state = '';
100031
99709
  }
100032
99710
  if (data.state !== '' && (!data.children || data.children.length === 0)) {
100033
- var _params = utils_util.extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
100034
- _params.id = data.id;
99711
+ var _params2 = utils_util.extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
99712
+ _params2.id = data.id;
100035
99713
  utils_util.ajax({
100036
99714
  method: this.method,
100037
99715
  url: this.host + this.newTabs[this.activeName].url,
100038
- data: _params,
100039
- params: _params
99716
+ data: _params2,
99717
+ params: _params2
100040
99718
  }).then(function (res) {
100041
99719
  if (res.rCode === 0) {
100042
- _this5.loading = false;
100043
- _this5.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
100044
- _this5.$set(_this5.defaults[_this5.activeName], 'data', JSON.parse(JSON.stringify(_this5.trees[_this5.activeName].data)));
99720
+ _this6.loading = false;
99721
+ _this6.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
99722
+ _this6.$set(_this6.defaults[_this6.activeName], 'data', JSON.parse(JSON.stringify(_this6.trees[_this6.activeName].data)));
100045
99723
  }
100046
99724
  }).catch(function (err) {
100047
99725
  if (err.message && err.message !== 'canceled') {
100048
- _this5.$message.error(err.message);
99726
+ _this6.$message.error(err.message);
100049
99727
  }
100050
99728
  });
100051
99729
  }
@@ -100062,8 +99740,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100062
99740
  this.$set(this.trees[this.activeName], 'data', this.defaults[this.activeName].data);
100063
99741
  }
100064
99742
  },
99743
+ handleDelete: function handleDelete() {
99744
+ this.checkeds = [];
99745
+ },
100065
99746
  handleCheckAll: function handleCheckAll(res) {
100066
- var _this6 = this;
99747
+ var _this7 = this;
100067
99748
 
100068
99749
  if (this.checkboxs.length > 0) {
100069
99750
  var isObject = utils_util.isObject(this.checkboxs[0]);
@@ -100083,9 +99764,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100083
99764
  if (this.isShowTree) {
100084
99765
  this.nodeData.checkAll = false;
100085
99766
  this.checkboxs.forEach(function (element) {
100086
- for (var i in _this6.checkeds) {
100087
- if (isObject && _this6.checkeds[i][_this6.valueKey] === element[_this6.valueKey] || _this6.checkeds[i] === element) {
100088
- _this6.checkeds.splice(i, 1);
99767
+ for (var i in _this7.checkeds) {
99768
+ if (isObject && _this7.checkeds[i][_this7.valueKey] === element[_this7.valueKey] || _this7.checkeds[i] === element) {
99769
+ _this7.checkeds.splice(i, 1);
100089
99770
  break;
100090
99771
  }
100091
99772
  }
@@ -100104,7 +99785,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100104
99785
  this.$emit('filtratechage', this.trees, this.activeName);
100105
99786
  },
100106
99787
  handleChangeSearch: function handleChangeSearch() {
100107
- var _this7 = this;
99788
+ var _this8 = this;
100108
99789
 
100109
99790
  if (this.search === '') {
100110
99791
  if (this.isShowTree) {
@@ -100118,11 +99799,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100118
99799
  var arry = [];
100119
99800
  this.nodeData.selection.forEach(function (item) {
100120
99801
  if (utils_util.isObject(item)) {
100121
- if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
99802
+ if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
100122
99803
  arry.push(item);
100123
99804
  }
100124
99805
  } else {
100125
- if (item.indexOf(_this7.search) > -1) {
99806
+ if (item.indexOf(_this8.search) > -1) {
100126
99807
  arry.push(item);
100127
99808
  }
100128
99809
  }
@@ -100133,11 +99814,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100133
99814
  var _arry = [];
100134
99815
  this.selections.forEach(function (item) {
100135
99816
  if (utils_util.isObject(item)) {
100136
- if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
99817
+ if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
100137
99818
  _arry.push(item);
100138
99819
  }
100139
99820
  } else {
100140
- if (item.indexOf(_this7.search) > -1) {
99821
+ if (item.indexOf(_this8.search) > -1) {
100141
99822
  _arry.push(item);
100142
99823
  }
100143
99824
  }
@@ -100147,7 +99828,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100147
99828
  }
100148
99829
  },
100149
99830
  handleSearch: function handleSearch() {
100150
- var _this8 = this;
99831
+ var _this9 = this;
100151
99832
 
100152
99833
  if (this.isShowTree) {
100153
99834
  if (this.nodeData && this.nodeData.selection) {
@@ -100155,11 +99836,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100155
99836
  var arry = [];
100156
99837
  this.nodeData.selection.forEach(function (item) {
100157
99838
  if (utils_util.isObject(item)) {
100158
- if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
99839
+ if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
100159
99840
  arry.push(item);
100160
99841
  }
100161
99842
  } else {
100162
- if (item.indexOf(_this8.search) > -1) {
99843
+ if (item.indexOf(_this9.search) > -1) {
100163
99844
  arry.push(item);
100164
99845
  }
100165
99846
  }
@@ -100181,11 +99862,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100181
99862
  }
100182
99863
  }).then(function (res) {
100183
99864
  if (res.rCode === 0) {
100184
- _this8.checkboxs = JSON.parse(JSON.stringify(res.results));
99865
+ _this9.checkboxs = JSON.parse(JSON.stringify(res.results));
100185
99866
  }
100186
99867
  }).catch(function (err) {
100187
99868
  if (err.message && err.message !== 'canceled') {
100188
- _this8.$message.error(err.message);
99869
+ _this9.$message.error(err.message);
100189
99870
  }
100190
99871
  });
100191
99872
  }
@@ -100194,11 +99875,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100194
99875
  var _arry2 = [];
100195
99876
  this.selections.forEach(function (item) {
100196
99877
  if (utils_util.isObject(item)) {
100197
- if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
99878
+ if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
100198
99879
  _arry2.push(item);
100199
99880
  }
100200
99881
  } else {
100201
- if (item.indexOf(_this8.search) > -1) {
99882
+ if (item.indexOf(_this9.search) > -1) {
100202
99883
  _arry2.push(item);
100203
99884
  }
100204
99885
  }
@@ -100212,15 +99893,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100212
99893
  },
100213
99894
  handleChange: function handleChange() {},
100214
99895
  handleConfirm: function handleConfirm() {
100215
- if (!this.checkeds || this.multiple && this.checkeds.length === 0) {
100216
- this.$message({
100217
- message: '请选择',
100218
- type: 'warning'
100219
- });
100220
- } else {
100221
- this.$emit('input', this.checkeds);
100222
- this.$emit('confirm', this.checkeds);
100223
- }
99896
+ this.$emit('input', this.checkeds);
99897
+ this.$emit('confirm', this.checkeds);
100224
99898
  },
100225
99899
  handleCancel: function handleCancel() {
100226
99900
  this.$emit('cancel', false);
@@ -100250,8 +99924,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
100250
99924
 
100251
99925
  var selector_panel_src_main_component = normalizeComponent(
100252
99926
  packages_selector_panel_src_mainvue_type_script_lang_js_,
100253
- mainvue_type_template_id_4765b5a0_render,
100254
- mainvue_type_template_id_4765b5a0_staticRenderFns,
99927
+ mainvue_type_template_id_17c26d73_render,
99928
+ mainvue_type_template_id_17c26d73_staticRenderFns,
100255
99929
  false,
100256
99930
  null,
100257
99931
  null,
@@ -113243,7 +112917,7 @@ if (typeof window !== 'undefined' && window.Vue) {
113243
112917
  }
113244
112918
 
113245
112919
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
113246
- version: '0.8.39',
112920
+ version: '0.8.41',
113247
112921
  install: install,
113248
112922
  Archives: archives,
113249
112923
  Button: packages_button,