eoss-ui 0.7.33 → 0.7.35

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 (71) hide show
  1. package/lib/button-group.js +2 -0
  2. package/lib/button.js +2 -0
  3. package/lib/calogin.js +2 -0
  4. package/lib/checkbox-group.js +2 -0
  5. package/lib/data-table-form.js +2 -0
  6. package/lib/data-table.js +2 -0
  7. package/lib/date-picker.js +2 -0
  8. package/lib/dialog.js +6 -4
  9. package/lib/eoss-ui.common.js +320 -171
  10. package/lib/flow-group.js +2 -0
  11. package/lib/flow-list.js +2 -0
  12. package/lib/flow.js +2 -0
  13. package/lib/form.js +2 -0
  14. package/lib/handle-user.js +2 -0
  15. package/lib/handler.js +2 -0
  16. package/lib/icon.js +2 -0
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +2 -0
  19. package/lib/input.js +2 -0
  20. package/lib/login.js +15 -5
  21. package/lib/main.js +278 -139
  22. package/lib/nav.js +2 -0
  23. package/lib/page.js +2 -0
  24. package/lib/pagination.js +2 -0
  25. package/lib/player.js +2 -0
  26. package/lib/qr-code.js +2 -0
  27. package/lib/radio-group.js +2 -0
  28. package/lib/retrial-auth.js +2 -0
  29. package/lib/select-ganged.js +2 -0
  30. package/lib/select.js +2 -0
  31. package/lib/selector-panel.js +2 -0
  32. package/lib/selector.js +2 -0
  33. package/lib/sizer.js +2 -0
  34. package/lib/steps.js +2 -0
  35. package/lib/switch.js +2 -0
  36. package/lib/table-form.js +2 -0
  37. package/lib/tabs.js +2 -0
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/main.css +1 -1
  40. package/lib/theme-chalk/simplicity.css +1 -1
  41. package/lib/tips.js +2 -0
  42. package/lib/tree-group.js +2 -0
  43. package/lib/tree.js +2 -0
  44. package/lib/upload.js +9 -5
  45. package/lib/utils/util.js +2 -0
  46. package/lib/wujie.js +2 -0
  47. package/lib/wxlogin.js +2 -0
  48. package/package.json +1 -1
  49. package/packages/.DS_Store +0 -0
  50. package/packages/dialog/.DS_Store +0 -0
  51. package/packages/dialog/src/main.vue +2 -2
  52. package/packages/login/.DS_Store +0 -0
  53. package/packages/login/src/main.vue +13 -3
  54. package/packages/main/.DS_Store +0 -0
  55. package/packages/main/src/.DS_Store +0 -0
  56. package/packages/main/src/main.vue +36 -5
  57. package/packages/main/src/public/online.vue +1 -1
  58. package/packages/main/src/simplicity/handler.vue +17 -3
  59. package/packages/main/src/simplicity/index.vue +29 -30
  60. package/packages/main/src/simplicity/message.vue +27 -0
  61. package/packages/main/src/simplicity/notice.vue +26 -0
  62. package/packages/main/src/simplicity/sub-menu.vue +11 -3
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/main.css +1 -1
  65. package/packages/theme-chalk/lib/simplicity.css +1 -1
  66. package/packages/theme-chalk/src/simplicity.scss +11 -1
  67. package/packages/upload/.DS_Store +0 -0
  68. package/packages/upload/src/main.vue +1 -0
  69. package/src/.DS_Store +0 -0
  70. package/src/index.js +1 -1
  71. package/src/utils/util.js +2 -0
package/lib/main.js CHANGED
@@ -692,6 +692,8 @@ var busEmit = function busEmit(that, _ref3) {
692
692
  }
693
693
  return;
694
694
  }
695
+ console.log('busEmit', method, args);
696
+
695
697
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
696
698
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
697
699
  }
@@ -4527,7 +4529,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4527
4529
  // ESM COMPAT FLAG
4528
4530
  __webpack_require__.r(__webpack_exports__);
4529
4531
 
4530
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=91c03c40&
4532
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=2a83fe9a&
4531
4533
  var render = function () {
4532
4534
  var _vm = this
4533
4535
  var _h = _vm.$createElement
@@ -4588,9 +4590,15 @@ var render = function () {
4588
4590
  "es-dialog",
4589
4591
  {
4590
4592
  key: item.appCode || item.id || item.name || index,
4593
+ staticClass: "es-main-public-dialog",
4594
+ class: item.classNames,
4591
4595
  attrs: {
4596
+ "custom-class":
4597
+ "es-public-dialog" +
4598
+ (item.customClassNames ? " " + item.customClassNames : ""),
4599
+ "modal-class": "es-main-public-dialog-modal",
4592
4600
  visible: item.visible,
4593
- title: item.name,
4601
+ title: item.name || item.title,
4594
4602
  width: item.width,
4595
4603
  height: item.height,
4596
4604
  size: item.size,
@@ -4646,13 +4654,13 @@ var staticRenderFns = []
4646
4654
  render._withStripped = true
4647
4655
 
4648
4656
 
4649
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=91c03c40&
4657
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2a83fe9a&
4650
4658
 
4651
4659
  // EXTERNAL MODULE: ./src/config/image.js
4652
4660
  var config_image = __webpack_require__(20);
4653
4661
 
4654
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=772635c6&scoped=true&
4655
- var simplicityvue_type_template_id_772635c6_scoped_true_render = function () {
4662
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=2a26a093&scoped=true&
4663
+ var simplicityvue_type_template_id_2a26a093_scoped_true_render = function () {
4656
4664
  var _vm = this
4657
4665
  var _h = _vm.$createElement
4658
4666
  var _c = _vm._self._c || _h
@@ -5362,11 +5370,11 @@ var simplicityvue_type_template_id_772635c6_scoped_true_render = function () {
5362
5370
  ),
5363
5371
  ])
5364
5372
  }
5365
- var simplicityvue_type_template_id_772635c6_scoped_true_staticRenderFns = []
5366
- simplicityvue_type_template_id_772635c6_scoped_true_render._withStripped = true
5373
+ var simplicityvue_type_template_id_2a26a093_scoped_true_staticRenderFns = []
5374
+ simplicityvue_type_template_id_2a26a093_scoped_true_render._withStripped = true
5367
5375
 
5368
5376
 
5369
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=772635c6&scoped=true&
5377
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=2a26a093&scoped=true&
5370
5378
 
5371
5379
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
5372
5380
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -5526,8 +5534,8 @@ var component = Object(componentNormalizer["a" /* default */])(
5526
5534
  )
5527
5535
 
5528
5536
  /* harmony default export */ var avatar = (component.exports);
5529
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=template&id=4a14597c&scoped=true&
5530
- var handlervue_type_template_id_4a14597c_scoped_true_render = function () {
5537
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=template&id=fa0660c6&scoped=true&
5538
+ var handlervue_type_template_id_fa0660c6_scoped_true_render = function () {
5531
5539
  var _vm = this
5532
5540
  var _h = _vm.$createElement
5533
5541
  var _c = _vm._self._c || _h
@@ -5635,7 +5643,20 @@ var handlervue_type_template_id_4a14597c_scoped_true_render = function () {
5635
5643
  )
5636
5644
  : _c(
5637
5645
  "div",
5638
- { key: item.type, staticClass: "es-simplicity-handler-item" },
5646
+ {
5647
+ key: item.type,
5648
+ staticClass: "es-simplicity-handler-item",
5649
+ class: {
5650
+ "es-simplicity-handler-item-hover":
5651
+ _vm.showTitleType === "text",
5652
+ },
5653
+ on: {
5654
+ click: function ($event) {
5655
+ $event.stopPropagation()
5656
+ _vm.handleClick(item)
5657
+ },
5658
+ },
5659
+ },
5639
5660
  [
5640
5661
  _c(
5641
5662
  "el-badge",
@@ -5650,19 +5671,21 @@ var handlervue_type_template_id_4a14597c_scoped_true_render = function () {
5650
5671
  [
5651
5672
  _c("es-icon", {
5652
5673
  staticClass: "es-simplicity-handler-icon",
5653
- attrs: { contents: item.icon },
5654
- on: {
5655
- click: function ($event) {
5656
- $event.stopPropagation()
5657
- _vm.handleClick(item)
5658
- },
5674
+ class: {
5675
+ "es-simplicity-handler-icon-hover":
5676
+ _vm.showTitleType !== "text",
5659
5677
  },
5678
+ attrs: { contents: item.icon },
5660
5679
  }),
5661
5680
  ],
5662
5681
  1
5663
5682
  ),
5664
5683
  _vm.showTitleType === "text"
5665
- ? _c("span", {}, [_vm._v(_vm._s(item.title))])
5684
+ ? _c(
5685
+ "span",
5686
+ { staticClass: "es-simplicity-handler-text" },
5687
+ [_vm._v(_vm._s(item.title))]
5688
+ )
5666
5689
  : _vm._e(),
5667
5690
  ],
5668
5691
  1
@@ -5673,11 +5696,11 @@ var handlervue_type_template_id_4a14597c_scoped_true_render = function () {
5673
5696
  2
5674
5697
  )
5675
5698
  }
5676
- var handlervue_type_template_id_4a14597c_scoped_true_staticRenderFns = []
5677
- handlervue_type_template_id_4a14597c_scoped_true_render._withStripped = true
5699
+ var handlervue_type_template_id_fa0660c6_scoped_true_staticRenderFns = []
5700
+ handlervue_type_template_id_fa0660c6_scoped_true_render._withStripped = true
5678
5701
 
5679
5702
 
5680
- // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=4a14597c&scoped=true&
5703
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=fa0660c6&scoped=true&
5681
5704
 
5682
5705
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=script&lang=js&
5683
5706
  //
@@ -5759,6 +5782,20 @@ handlervue_type_template_id_4a14597c_scoped_true_render._withStripped = true
5759
5782
  //
5760
5783
  //
5761
5784
  //
5785
+ //
5786
+ //
5787
+ //
5788
+ //
5789
+ //
5790
+ //
5791
+ //
5792
+ //
5793
+ //
5794
+ //
5795
+ //
5796
+ //
5797
+ //
5798
+ //
5762
5799
 
5763
5800
 
5764
5801
  /* harmony default export */ var handlervue_type_script_lang_js_ = ({
@@ -5837,18 +5874,18 @@ handlervue_type_template_id_4a14597c_scoped_true_render._withStripped = true
5837
5874
 
5838
5875
  var handler_component = Object(componentNormalizer["a" /* default */])(
5839
5876
  simplicity_handlervue_type_script_lang_js_,
5840
- handlervue_type_template_id_4a14597c_scoped_true_render,
5841
- handlervue_type_template_id_4a14597c_scoped_true_staticRenderFns,
5877
+ handlervue_type_template_id_fa0660c6_scoped_true_render,
5878
+ handlervue_type_template_id_fa0660c6_scoped_true_staticRenderFns,
5842
5879
  false,
5843
5880
  null,
5844
- "4a14597c",
5881
+ "fa0660c6",
5845
5882
  null
5846
5883
 
5847
5884
  )
5848
5885
 
5849
5886
  /* harmony default export */ var simplicity_handler = (handler_component.exports);
5850
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e0dea43a&scoped=true&
5851
- var sub_menuvue_type_template_id_e0dea43a_scoped_true_render = function () {
5887
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=22bf986e&scoped=true&
5888
+ var sub_menuvue_type_template_id_22bf986e_scoped_true_render = function () {
5852
5889
  var this$1 = this
5853
5890
  var _vm = this
5854
5891
  var _h = _vm.$createElement
@@ -5889,49 +5926,68 @@ var sub_menuvue_type_template_id_e0dea43a_scoped_true_render = function () {
5889
5926
  style: { width: _vm.width + "px" },
5890
5927
  },
5891
5928
  [
5892
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
5893
- !_vm.fold
5894
- ? _c(
5895
- "span",
5896
- { staticClass: "es-simplicity-menus-title-text" },
5897
- [_vm._v(_vm._s(_vm.title || _vm.text))]
5898
- )
5899
- : _vm._e(),
5900
- _c("i", {
5901
- directives: [
5929
+ _c(
5930
+ "div",
5931
+ { staticClass: "es-simplicity-menus-title" },
5932
+ [
5933
+ _c(
5934
+ "el-tooltip",
5902
5935
  {
5903
- name: "show",
5904
- rawName: "v-show",
5905
- value: !_vm.fold,
5906
- expression: "!fold",
5907
- },
5908
- ],
5909
- staticClass:
5910
- "es-icon-shouqicaidan es-simplicity-menus-title-icon",
5911
- on: {
5912
- click: function ($event) {
5913
- _vm.handleFold(true)
5936
+ staticClass: "item",
5937
+ attrs: {
5938
+ effect: "dark",
5939
+ placement: "right",
5940
+ content: _vm.title || _vm.text,
5941
+ auto: true,
5942
+ },
5914
5943
  },
5915
- },
5916
- }),
5917
- _c("i", {
5918
- directives: [
5919
- {
5920
- name: "show",
5921
- rawName: "v-show",
5922
- value: _vm.fold,
5923
- expression: "fold",
5944
+ [
5945
+ !_vm.fold
5946
+ ? _c(
5947
+ "span",
5948
+ { staticClass: "es-simplicity-menus-title-text" },
5949
+ [_vm._v(_vm._s(_vm.title || _vm.text))]
5950
+ )
5951
+ : _vm._e(),
5952
+ ]
5953
+ ),
5954
+ _c("i", {
5955
+ directives: [
5956
+ {
5957
+ name: "show",
5958
+ rawName: "v-show",
5959
+ value: !_vm.fold,
5960
+ expression: "!fold",
5961
+ },
5962
+ ],
5963
+ staticClass:
5964
+ "es-icon-shouqicaidan es-simplicity-menus-title-icon",
5965
+ on: {
5966
+ click: function ($event) {
5967
+ _vm.handleFold(true)
5968
+ },
5924
5969
  },
5925
- ],
5926
- staticClass:
5927
- "es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
5928
- on: {
5929
- click: function ($event) {
5930
- _vm.handleFold(false)
5970
+ }),
5971
+ _c("i", {
5972
+ directives: [
5973
+ {
5974
+ name: "show",
5975
+ rawName: "v-show",
5976
+ value: _vm.fold,
5977
+ expression: "fold",
5978
+ },
5979
+ ],
5980
+ staticClass:
5981
+ "es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
5982
+ on: {
5983
+ click: function ($event) {
5984
+ _vm.handleFold(false)
5985
+ },
5931
5986
  },
5932
- },
5933
- }),
5934
- ]),
5987
+ }),
5988
+ ],
5989
+ 1
5990
+ ),
5935
5991
  _vm.collapse
5936
5992
  ? _c(
5937
5993
  "div",
@@ -6036,11 +6092,11 @@ var sub_menuvue_type_template_id_e0dea43a_scoped_true_render = function () {
6036
6092
  ]
6037
6093
  )
6038
6094
  }
6039
- var sub_menuvue_type_template_id_e0dea43a_scoped_true_staticRenderFns = []
6040
- sub_menuvue_type_template_id_e0dea43a_scoped_true_render._withStripped = true
6095
+ var sub_menuvue_type_template_id_22bf986e_scoped_true_staticRenderFns = []
6096
+ sub_menuvue_type_template_id_22bf986e_scoped_true_render._withStripped = true
6041
6097
 
6042
6098
 
6043
- // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e0dea43a&scoped=true&
6099
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=22bf986e&scoped=true&
6044
6100
 
6045
6101
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=49c7f205&scoped=true&
6046
6102
  var menu_listvue_type_template_id_49c7f205_scoped_true_render = function () {
@@ -6438,6 +6494,14 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
6438
6494
  //
6439
6495
  //
6440
6496
  //
6497
+ //
6498
+ //
6499
+ //
6500
+ //
6501
+ //
6502
+ //
6503
+ //
6504
+ //
6441
6505
 
6442
6506
 
6443
6507
  /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
@@ -6595,11 +6659,11 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
6595
6659
 
6596
6660
  var sub_menu_component = Object(componentNormalizer["a" /* default */])(
6597
6661
  simplicity_sub_menuvue_type_script_lang_js_,
6598
- sub_menuvue_type_template_id_e0dea43a_scoped_true_render,
6599
- sub_menuvue_type_template_id_e0dea43a_scoped_true_staticRenderFns,
6662
+ sub_menuvue_type_template_id_22bf986e_scoped_true_render,
6663
+ sub_menuvue_type_template_id_22bf986e_scoped_true_staticRenderFns,
6600
6664
  false,
6601
6665
  null,
6602
- "e0dea43a",
6666
+ "22bf986e",
6603
6667
  null
6604
6668
 
6605
6669
  )
@@ -8213,8 +8277,8 @@ var user_component = Object(componentNormalizer["a" /* default */])(
8213
8277
  )
8214
8278
 
8215
8279
  /* harmony default export */ var simplicity_user = (user_component.exports);
8216
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=template&id=324b2ecc&
8217
- var messagevue_type_template_id_324b2ecc_render = function () {
8280
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=template&id=1a8c1efc&
8281
+ var messagevue_type_template_id_1a8c1efc_render = function () {
8218
8282
  var _vm = this
8219
8283
  var _h = _vm.$createElement
8220
8284
  var _c = _vm._self._c || _h
@@ -8379,13 +8443,15 @@ var messagevue_type_template_id_324b2ecc_render = function () {
8379
8443
  1
8380
8444
  )
8381
8445
  }
8382
- var messagevue_type_template_id_324b2ecc_staticRenderFns = []
8383
- messagevue_type_template_id_324b2ecc_render._withStripped = true
8446
+ var messagevue_type_template_id_1a8c1efc_staticRenderFns = []
8447
+ messagevue_type_template_id_1a8c1efc_render._withStripped = true
8384
8448
 
8385
8449
 
8386
- // CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=324b2ecc&
8450
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=1a8c1efc&
8387
8451
 
8388
8452
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=script&lang=js&
8453
+ var messagevue_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; };
8454
+
8389
8455
  //
8390
8456
  //
8391
8457
  //
@@ -8604,6 +8670,30 @@ messagevue_type_template_id_324b2ecc_render._withStripped = true
8604
8670
  handleMessage: function handleMessage(item, index) {
8605
8671
  var _this4 = this;
8606
8672
 
8673
+ var openModel = util["a" /* default */].getStorage('openModel');
8674
+ if (openModel && openModel == 'dialog') {
8675
+ var handlerUrl = item.handlerUrl,
8676
+ title = item.title,
8677
+ id = item.id,
8678
+ metaData = item.metaData;
8679
+
8680
+ metaData && (title = metaData.title || metaData.pendtitle || metaData.meetName || title || '办理');
8681
+ var jsonData = metaData && metaData.jsonData ? JSON.parse(metaData.jsonData) : {};
8682
+ util["a" /* default */].busEmit(this, {
8683
+ method: 'windowOpen',
8684
+ args: messagevue_type_script_lang_js_extends({
8685
+ url: handlerUrl,
8686
+ title: title,
8687
+ id: id
8688
+ }, jsonData, {
8689
+ callBack: function callBack() {
8690
+ _this4.count -= 1;
8691
+ _this4.msgs.splice(index, 1);
8692
+ }
8693
+ })
8694
+ });
8695
+ return;
8696
+ }
8607
8697
  this.count -= 1;
8608
8698
  this.msgs.splice(index, 1);
8609
8699
  if (this.winopen) {
@@ -8657,8 +8747,8 @@ messagevue_type_template_id_324b2ecc_render._withStripped = true
8657
8747
 
8658
8748
  var message_component = Object(componentNormalizer["a" /* default */])(
8659
8749
  simplicity_messagevue_type_script_lang_js_,
8660
- messagevue_type_template_id_324b2ecc_render,
8661
- messagevue_type_template_id_324b2ecc_staticRenderFns,
8750
+ messagevue_type_template_id_1a8c1efc_render,
8751
+ messagevue_type_template_id_1a8c1efc_staticRenderFns,
8662
8752
  false,
8663
8753
  null,
8664
8754
  null,
@@ -8667,8 +8757,8 @@ var message_component = Object(componentNormalizer["a" /* default */])(
8667
8757
  )
8668
8758
 
8669
8759
  /* harmony default export */ var message = (message_component.exports);
8670
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=template&id=4696772e&
8671
- var noticevue_type_template_id_4696772e_render = function () {
8760
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=template&id=0e636a56&
8761
+ var noticevue_type_template_id_0e636a56_render = function () {
8672
8762
  var _vm = this
8673
8763
  var _h = _vm.$createElement
8674
8764
  var _c = _vm._self._c || _h
@@ -8816,13 +8906,15 @@ var noticevue_type_template_id_4696772e_render = function () {
8816
8906
  ]
8817
8907
  )
8818
8908
  }
8819
- var noticevue_type_template_id_4696772e_staticRenderFns = []
8820
- noticevue_type_template_id_4696772e_render._withStripped = true
8909
+ var noticevue_type_template_id_0e636a56_staticRenderFns = []
8910
+ noticevue_type_template_id_0e636a56_render._withStripped = true
8821
8911
 
8822
8912
 
8823
- // CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=4696772e&
8913
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=0e636a56&
8824
8914
 
8825
8915
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=script&lang=js&
8916
+ var noticevue_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; };
8917
+
8826
8918
  //
8827
8919
  //
8828
8920
  //
@@ -8983,6 +9075,29 @@ noticevue_type_template_id_4696772e_render._withStripped = true
8983
9075
  handleMessage: function handleMessage(item, index) {
8984
9076
  var _this3 = this;
8985
9077
 
9078
+ var openModel = util["a" /* default */].getStorage('openModel');
9079
+ if (openModel && openModel == 'dialog') {
9080
+ var handlerUrl = item.handlerUrl,
9081
+ title = item.title,
9082
+ id = item.id,
9083
+ metaData = item.metaData;
9084
+
9085
+ metaData && (title = metaData.title || metaData.pendtitle || metaData.meetName || title || '办理');
9086
+ var jsonData = metaData && metaData.jsonData ? JSON.parse(metaData.jsonData) : {};
9087
+ util["a" /* default */].busEmit(this, {
9088
+ method: 'windowOpen',
9089
+ args: noticevue_type_script_lang_js_extends({
9090
+ url: handlerUrl,
9091
+ title: title,
9092
+ id: id
9093
+ }, jsonData, {
9094
+ callBack: function callBack() {
9095
+ _this3.index = index;
9096
+ }
9097
+ })
9098
+ });
9099
+ return;
9100
+ }
8986
9101
  if (item.urlopenmode === 1 || this.winopen) {
8987
9102
  var mywin = util["a" /* default */].win.open(item.handlerUrl);
8988
9103
  if (mywin) {
@@ -9030,8 +9145,8 @@ noticevue_type_template_id_4696772e_render._withStripped = true
9030
9145
 
9031
9146
  var notice_component = Object(componentNormalizer["a" /* default */])(
9032
9147
  simplicity_noticevue_type_script_lang_js_,
9033
- noticevue_type_template_id_4696772e_render,
9034
- noticevue_type_template_id_4696772e_staticRenderFns,
9148
+ noticevue_type_template_id_0e636a56_render,
9149
+ noticevue_type_template_id_0e636a56_staticRenderFns,
9035
9150
  false,
9036
9151
  null,
9037
9152
  null,
@@ -9720,8 +9835,8 @@ var router_page_component = Object(componentNormalizer["a" /* default */])(
9720
9835
  )
9721
9836
 
9722
9837
  /* harmony default export */ var router_page = (router_page_component.exports);
9723
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/online.vue?vue&type=template&id=63844b4e&scoped=true&
9724
- var onlinevue_type_template_id_63844b4e_scoped_true_render = function () {
9838
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/online.vue?vue&type=template&id=6706bd21&scoped=true&
9839
+ var onlinevue_type_template_id_6706bd21_scoped_true_render = function () {
9725
9840
  var _vm = this
9726
9841
  var _h = _vm.$createElement
9727
9842
  var _c = _vm._self._c || _h
@@ -9729,11 +9844,11 @@ var onlinevue_type_template_id_63844b4e_scoped_true_render = function () {
9729
9844
  attrs: { numbers: "", url: _vm.sysuseronline, thead: _vm.thead, page: "" },
9730
9845
  })
9731
9846
  }
9732
- var onlinevue_type_template_id_63844b4e_scoped_true_staticRenderFns = []
9733
- onlinevue_type_template_id_63844b4e_scoped_true_render._withStripped = true
9847
+ var onlinevue_type_template_id_6706bd21_scoped_true_staticRenderFns = []
9848
+ onlinevue_type_template_id_6706bd21_scoped_true_render._withStripped = true
9734
9849
 
9735
9850
 
9736
- // CONCATENATED MODULE: ./packages/main/src/public/online.vue?vue&type=template&id=63844b4e&scoped=true&
9851
+ // CONCATENATED MODULE: ./packages/main/src/public/online.vue?vue&type=template&id=6706bd21&scoped=true&
9737
9852
 
9738
9853
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/online.vue?vue&type=script&lang=js&
9739
9854
  //
@@ -9786,7 +9901,7 @@ onlinevue_type_template_id_63844b4e_scoped_true_render._withStripped = true
9786
9901
  title: '登录时间',
9787
9902
  field: 'loginDate',
9788
9903
  align: 'center',
9789
- width: 156
9904
+ width: 170
9790
9905
  }, {
9791
9906
  title: '登录次数',
9792
9907
  field: 'freQuency',
@@ -9826,11 +9941,11 @@ onlinevue_type_template_id_63844b4e_scoped_true_render._withStripped = true
9826
9941
 
9827
9942
  var online_component = Object(componentNormalizer["a" /* default */])(
9828
9943
  public_onlinevue_type_script_lang_js_,
9829
- onlinevue_type_template_id_63844b4e_scoped_true_render,
9830
- onlinevue_type_template_id_63844b4e_scoped_true_staticRenderFns,
9944
+ onlinevue_type_template_id_6706bd21_scoped_true_render,
9945
+ onlinevue_type_template_id_6706bd21_scoped_true_staticRenderFns,
9831
9946
  false,
9832
9947
  null,
9833
- "63844b4e",
9948
+ "6706bd21",
9834
9949
  null
9835
9950
 
9836
9951
  )
@@ -11194,7 +11309,7 @@ var events = [function (tabs, index, that) {
11194
11309
  //是否显示头像
11195
11310
  avatar: {
11196
11311
  type: Boolean,
11197
- default: false
11312
+ default: true
11198
11313
  },
11199
11314
  //im用例编码
11200
11315
  imUseCaseCode: String,
@@ -11430,7 +11545,7 @@ var events = [function (tabs, index, that) {
11430
11545
  dialog: {},
11431
11546
  handleNums: {
11432
11547
  //消息数
11433
- notice: 10,
11548
+ notice: 0,
11434
11549
  //在线人数
11435
11550
  online: 1
11436
11551
  },
@@ -11474,15 +11589,16 @@ var events = [function (tabs, index, that) {
11474
11589
  _handleDatas: function _handleDatas() {
11475
11590
  var _this = this;
11476
11591
 
11477
- return this.handleDatas.filter(function (item) {
11592
+ var handleDatas = this.handleDatas.filter(function (item, index) {
11478
11593
  if (item.type === 'contact' && _this.contact) {
11479
- item = simplicityvue_type_script_lang_js_extends({}, item, _this.contact);
11594
+ _this.$set(_this.handleDatas, index, simplicityvue_type_script_lang_js_extends({}, item, _this.contact));
11480
11595
  }
11481
11596
  if (item.type === 'contact' && !_this.contact) {
11482
11597
  return false;
11483
11598
  }
11484
11599
  return !item.hide && !_this.hide[item.type];
11485
11600
  });
11601
+ return handleDatas;
11486
11602
  },
11487
11603
 
11488
11604
  //菜单接口
@@ -11753,6 +11869,7 @@ var events = [function (tabs, index, that) {
11753
11869
  if (results[i].contact) {
11754
11870
  var contact = JSON.parse(results[i].contact);
11755
11871
  var content = contact.content.split(',');
11872
+ this;
11756
11873
  this.contact = simplicityvue_type_script_lang_js_extends({}, contact, {
11757
11874
  content: content
11758
11875
  });
@@ -12480,32 +12597,29 @@ var events = [function (tabs, index, that) {
12480
12597
  handleRefresh: function handleRefresh(arg) {
12481
12598
  var i = arg && arg != true && arg !== 'pageData' ? util["a" /* default */].indexOfObj(this.tabs, arg, 'appCode,code,id,url') : util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
12482
12599
  var tab = this.tabs[i];
12483
- if (tab.method === 'iframe') {
12484
- tab.url = util["a" /* default */].handlerUrl(tab.url);
12485
- } else {
12486
- var _tab6 = this.tabs[i];
12487
- if (_tab6.method === 'iframe') {
12488
- if (arg && arg === 'pageData') {
12489
- var iframe = document.getElementById(_tab6.id || _tab6.appCode);
12490
- iframe.contentWindow.postMessage({ method: 'refresh' }, _tab6.url);
12491
- } else {
12492
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab6.url));
12493
- }
12600
+ if (isIE || tab.method === 'iframe') {
12601
+ if (arg && arg === 'pageData') {
12602
+ var iframe = document.getElementById(tab.id || tab.appCode);
12603
+ iframe.contentWindow.postMessage({ method: 'refresh' }, tab.url);
12604
+ } else {
12605
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(tab.url));
12494
12606
  }
12495
- if (_tab6.method === 'wujie' && _tab6.appCode) {
12496
- if (arg && arg === 'pageData') {
12497
- external_wujie_vue2_default.a.$emit('refresh', _tab6);
12498
- } else {
12499
- window.document.querySelector('iframe[name=' + _tab6.appCode + ']').contentWindow.location.reload(true);
12500
- }
12607
+ return;
12608
+ }
12609
+ if (tab.method === 'wujie' && tab.appCode) {
12610
+ if (arg && arg === 'pageData') {
12611
+ external_wujie_vue2_default.a.$emit('refresh', tab);
12612
+ } else {
12613
+ window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
12501
12614
  }
12502
- if (_tab6.method === 'router') {
12503
- if (arg && arg === 'pageData') {
12504
- var bus = this.bus || this.$root.Bus;
12505
- bus.$emit('refresh', _tab6);
12506
- } else {
12507
- this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
12508
- }
12615
+ return;
12616
+ }
12617
+ if (tab.method === 'router') {
12618
+ if (arg && arg === 'pageData') {
12619
+ var bus = this.bus || this.$root.Bus;
12620
+ bus.$emit('refresh', tab);
12621
+ } else {
12622
+ this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
12509
12623
  }
12510
12624
  }
12511
12625
  },
@@ -12846,16 +12960,16 @@ var events = [function (tabs, index, that) {
12846
12960
  this.$set(tab, 'url', util["a" /* default */].handlerUrl(tab.url, param));
12847
12961
  this.tabs.splice(n + 1, 0, tab);
12848
12962
  } else {
12849
- var _tab7 = this.tabs[i];
12850
- if (_tab7.method === 'iframe') {
12851
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url, param));
12963
+ var _tab6 = this.tabs[i];
12964
+ if (_tab6.method === 'iframe') {
12965
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab6.url, param));
12852
12966
  }
12853
- if (_tab7.method === 'wujie' && _tab7.appCode) {
12854
- var url = param ? util["a" /* default */].handlerUrl(_tab7.url, param) : _tab7.url;
12967
+ if (_tab6.method === 'wujie' && _tab6.appCode) {
12968
+ var url = param ? util["a" /* default */].handlerUrl(_tab6.url, param) : _tab6.url;
12855
12969
  if (reload || param) {
12856
- _tab7.url = '';
12970
+ _tab6.url = '';
12857
12971
  this.$nextTick(function () {
12858
- _tab7.url = url;
12972
+ _tab6.url = url;
12859
12973
  });
12860
12974
  }
12861
12975
  // if (param) {
@@ -12868,8 +12982,8 @@ var events = [function (tabs, index, that) {
12868
12982
  // .contentWindow.location.reload(true);
12869
12983
  // }
12870
12984
  }
12871
- if (_tab7.method === 'router') {
12872
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url, param));
12985
+ if (_tab6.method === 'router') {
12986
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab6.url, param));
12873
12987
  this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
12874
12988
  }
12875
12989
  }
@@ -12933,11 +13047,11 @@ var events = [function (tabs, index, that) {
12933
13047
 
12934
13048
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
12935
13049
  src_simplicityvue_type_script_lang_js_,
12936
- simplicityvue_type_template_id_772635c6_scoped_true_render,
12937
- simplicityvue_type_template_id_772635c6_scoped_true_staticRenderFns,
13050
+ simplicityvue_type_template_id_2a26a093_scoped_true_render,
13051
+ simplicityvue_type_template_id_2a26a093_scoped_true_staticRenderFns,
12938
13052
  false,
12939
13053
  null,
12940
- "772635c6",
13054
+ "2a26a093",
12941
13055
  null
12942
13056
 
12943
13057
  )
@@ -17012,6 +17126,13 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17012
17126
  //
17013
17127
  //
17014
17128
  //
17129
+ //
17130
+ //
17131
+ //
17132
+ //
17133
+ //
17134
+ //
17135
+ //
17015
17136
 
17016
17137
 
17017
17138
 
@@ -17099,6 +17220,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17099
17220
  this.$nextTick(function () {
17100
17221
  _this.getConfig();
17101
17222
  var bus = _this.bus || _this.$root.Bus;
17223
+ console.log('bus', bus);
17102
17224
  if (bus) {
17103
17225
  bus.$on('reLogin', _this.handleReLogin);
17104
17226
  bus.$on('refresh', _this.$refs.main.handleRefresh);
@@ -17292,8 +17414,10 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17292
17414
  height = _ref$height === undefined ? '100%' : _ref$height,
17293
17415
  appCode = _ref.appCode,
17294
17416
  id = _ref.id,
17295
- size = _ref.size;
17417
+ size = _ref.size,
17418
+ config = _objectWithoutProperties(_ref, ['url', 'name', 'width', 'height', 'appCode', 'id', 'size']);
17296
17419
 
17420
+ url = typeof arguments[0] === 'string' ? arguments[0] : url;
17297
17421
  id = id ? id : appCode ? undefined : 'iframe' + this.dialogs.length;
17298
17422
  var openModel = util["a" /* default */].getStorage('openModel');
17299
17423
  var src = url;
@@ -17307,7 +17431,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17307
17431
  src = pathname + url.replace('./', '/');
17308
17432
  }
17309
17433
  if (openModel && openModel == 'dialog') {
17310
- var _dialog = {
17434
+ var _dialog = mainvue_type_script_lang_js_extends({
17311
17435
  id: id,
17312
17436
  url: src,
17313
17437
  name: name,
@@ -17316,7 +17440,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17316
17440
  appCode: appCode,
17317
17441
  visible: false,
17318
17442
  size: size
17319
- };
17443
+ }, config);
17320
17444
  var n = this.dialogs.push(_dialog);
17321
17445
  this.$nextTick(function () {
17322
17446
  _this5.$set(_dialog, 'index', n - 1);
@@ -17355,7 +17479,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17355
17479
  id = _ref2.id,
17356
17480
  index = _ref2.index,
17357
17481
  refresh = _ref2.refresh,
17358
- jumpMenu = _ref2.jumpMenu;
17482
+ jumpMenu = _ref2.jumpMenu,
17483
+ callBack = _ref2.callBack;
17359
17484
 
17360
17485
  if (!appCode && !id) {
17361
17486
  console.error('参数错误,缺少appCode或者id');
@@ -17374,6 +17499,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17374
17499
  this.dialogs.splice(_dialog2.index, 1);
17375
17500
  }
17376
17501
  }
17502
+ callBack && callBack();
17377
17503
  refresh && this.$refs.main.handleRefresh(refresh);
17378
17504
  jumpMenu && (Array.isArray(jumpMenu) ? (_$refs$main = this.$refs.main).jumpMenu.apply(_$refs$main, jumpMenu) : this.$refs.main.jumpMenu(jumpMenu));
17379
17505
  },
@@ -17460,7 +17586,11 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17460
17586
  * @date 2024年9月7日
17461
17587
  **/
17462
17588
  handleClosed: function handleClosed(res, index) {
17463
- this.dialogs.splice(index, 1);
17589
+ var _this6 = this;
17590
+
17591
+ this.$nextTick(function () {
17592
+ _this6.dialogs.splice(index, 1);
17593
+ });
17464
17594
  },
17465
17595
 
17466
17596
  /**
@@ -17485,6 +17615,15 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17485
17615
  },
17486
17616
  beforeDestroy: function beforeDestroy() {
17487
17617
  window.removeEventListener('message', this.handleMessage);
17618
+ var bus = this.bus || this.$root.Bus;
17619
+ if (bus) {
17620
+ bus.$off('reLogin');
17621
+ bus.$off('refresh');
17622
+ bus.$off('windowOpen');
17623
+ bus.$off('windowClose');
17624
+ bus.$off('jumpMenu');
17625
+ bus.$off('emit');
17626
+ }
17488
17627
  external_wujie_vue2_default.a.bus.$off('reLogin');
17489
17628
  external_wujie_vue2_default.a.bus.$off('refresh');
17490
17629
  external_wujie_vue2_default.a.bus.$off('jumpMenu');