eoss-ui 0.7.74 → 0.7.76

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 (62) hide show
  1. package/lib/button-group.js +68 -36
  2. package/lib/button.js +68 -36
  3. package/lib/calogin.js +68 -36
  4. package/lib/checkbox-group.js +68 -36
  5. package/lib/data-table-form.js +68 -36
  6. package/lib/data-table.js +68 -36
  7. package/lib/date-picker.js +68 -36
  8. package/lib/dialog.js +68 -36
  9. package/lib/eoss-ui.common.js +226 -112
  10. package/lib/flow-group.js +68 -36
  11. package/lib/flow-list.js +68 -36
  12. package/lib/flow.js +72 -40
  13. package/lib/form.js +68 -36
  14. package/lib/handle-user.js +68 -36
  15. package/lib/handler.js +68 -36
  16. package/lib/icon.js +68 -36
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +68 -36
  19. package/lib/input.js +68 -36
  20. package/lib/login.js +68 -36
  21. package/lib/main.js +211 -97
  22. package/lib/nav.js +68 -36
  23. package/lib/page.js +68 -36
  24. package/lib/pagination.js +68 -36
  25. package/lib/player.js +68 -36
  26. package/lib/qr-code.js +68 -36
  27. package/lib/radio-group.js +68 -36
  28. package/lib/retrial-auth.js +68 -36
  29. package/lib/select-ganged.js +68 -36
  30. package/lib/select.js +68 -36
  31. package/lib/selector-panel.js +68 -36
  32. package/lib/selector.js +68 -36
  33. package/lib/sizer.js +68 -36
  34. package/lib/steps.js +68 -36
  35. package/lib/switch.js +68 -36
  36. package/lib/table-form.js +68 -36
  37. package/lib/tabs.js +68 -36
  38. package/lib/theme-chalk/flow.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/theme-chalk/main.css +1 -1
  41. package/lib/theme-chalk/simplicity-top.css +1 -1
  42. package/lib/tips.js +68 -36
  43. package/lib/tree-group.js +68 -36
  44. package/lib/tree.js +68 -36
  45. package/lib/upload.js +68 -36
  46. package/lib/utils/util.js +68 -36
  47. package/lib/wujie.js +68 -36
  48. package/lib/wxlogin.js +68 -36
  49. package/package.json +1 -1
  50. package/packages/flow/src/main.vue +2 -2
  51. package/packages/main/src/main.vue +27 -15
  52. package/packages/main/src/simplicity/index.vue +6 -0
  53. package/packages/main/src/simplicityTop/handler.vue +6 -0
  54. package/packages/main/src/simplicityTop/index.vue +62 -9
  55. package/packages/theme-chalk/lib/flow.css +1 -1
  56. package/packages/theme-chalk/lib/index.css +1 -1
  57. package/packages/theme-chalk/lib/main.css +1 -1
  58. package/packages/theme-chalk/lib/simplicity-top.css +1 -1
  59. package/packages/theme-chalk/src/flow.scss +5 -0
  60. package/packages/theme-chalk/src/simplicity-top.scss +13 -0
  61. package/src/index.js +1 -1
  62. package/src/utils/util.js +172 -105
@@ -1449,7 +1449,6 @@ var util_ajax = function ajax(_ref) {
1449
1449
  loading && loading.close();
1450
1450
  if (response.headers.authorization) {
1451
1451
  response.headers.authorization !== getStorage('token') && setStorage({
1452
-
1453
1452
  key: ['token', 'Authorization'],
1454
1453
  value: response.headers.authorization
1455
1454
  });
@@ -1786,7 +1785,11 @@ var ajaxStream = function ajaxStream(_ref2) {
1786
1785
  } else if (error.response) {
1787
1786
  errorMessage = '\u670D\u52A1\u5668\u9519\u8BEF (' + error.response.status + '): ' + (error.response.data || '未知错误');
1788
1787
  }
1789
- fail && fail({ status: 0, message: { role: 'assistant', content: errorMessage }, controller: controller });
1788
+ fail && fail({
1789
+ status: 0,
1790
+ message: { role: 'assistant', content: errorMessage },
1791
+ controller: controller
1792
+ });
1790
1793
  } finally {
1791
1794
  final && final({ status: -1, message: null, controller: controller });
1792
1795
  }
@@ -2552,7 +2555,7 @@ var util_formatDate = function formatDate(date, fmt) {
2552
2555
  'm+': obj.getMinutes(), // 分钟 (0-59)
2553
2556
  's+': obj.getSeconds(), // 秒 (0-59)
2554
2557
  'q+': quarter[Math.floor(monthNum / 3)], // 季度 (一~四)
2555
- 'S': obj.getMilliseconds() // 毫秒 (0-999)
2558
+ S: obj.getMilliseconds() // 毫秒 (0-999)
2556
2559
  };
2557
2560
 
2558
2561
  // 4. 处理年份
@@ -3211,26 +3214,51 @@ var getZoom = function getZoom() {
3211
3214
 
3212
3215
  var util_handlerUrl = function handlerUrl(url, param, before) {
3213
3216
  var arry = url.split('?');
3214
- if (arry.length > 2) {
3215
- var ary = arry.splice(1, arry.length);
3216
- arry.push(ary.join('?'));
3217
- }
3218
- if (arry.length > 1) {
3219
- if (arry[1].indexOf('_tt') > -1) {
3220
- var search = arry[1].split('&');
3221
- for (var i in search) {
3222
- if (search[i].indexOf('_tt') > -1) {
3223
- search[i] = '_tt=' + new Date().getTime();
3217
+ // /archives-ui/webpack/index.html?cookie=1#/fullTextSearch
3218
+ if (arry.length > 1 && arry[1].indexOf('#/') > -1) {
3219
+ // 分割成 arry[0] = /archives-ui/webpack/index.html 和 arry[1] = cookie=1#/fullTextSearch
3220
+ var hashs = arry[1].split('#/'); // 分割成 hashs[0] = cookie=1 和 hashs[1] = fullTextSearch
3221
+ if (hashs[1].indexOf('?') === -1) {
3222
+ hashs[1] += '?_tt=' + new Date().getTime();
3223
+ } else {
3224
+ if (hashs[1].indexOf('_tt') === -1) {
3225
+ hashs[1] += '&_tt=' + new Date().getTime();
3226
+ } else {
3227
+ var search = hashs[1].split('&');
3228
+ for (var i in search) {
3229
+ if (search[i].indexOf('_tt') > -1) {
3230
+ search[i] = '_tt=' + new Date().getTime();
3231
+ }
3224
3232
  }
3233
+ hashs[1] = search.join('&');
3225
3234
  }
3226
- arry[1] = search.join('&');
3227
- } else {
3228
- arry[1] += '&_tt=' + new Date().getTime();
3229
3235
  }
3230
- url = arry.join('?');
3236
+ // /archives-ui/webpack/index.html?cookie=1#/fullTextSearch&_tt=1764839214926&false
3237
+ // 会不会存在 参数中也有#/
3238
+ url = arry[0] + '?' + hashs.join('#/');
3231
3239
  } else {
3232
- url += '?_tt=' + new Date().getTime();
3240
+ if (arry.length > 2) {
3241
+ var ary = arry.splice(1, arry.length);
3242
+ arry.push(ary.join('?'));
3243
+ }
3244
+ if (arry.length > 1) {
3245
+ if (arry[1].indexOf('_tt') > -1) {
3246
+ var _search = arry[1].split('&');
3247
+ for (var _i7 in _search) {
3248
+ if (_search[_i7].indexOf('_tt') > -1) {
3249
+ _search[_i7] = '_tt=' + new Date().getTime();
3250
+ }
3251
+ }
3252
+ arry[1] = _search.join('&');
3253
+ } else {
3254
+ arry[1] += '&_tt=' + new Date().getTime();
3255
+ }
3256
+ url = arry.join('?');
3257
+ } else {
3258
+ url += '?_tt=' + new Date().getTime();
3259
+ }
3233
3260
  }
3261
+
3234
3262
  if (param) {
3235
3263
  var str = queryParams(param);
3236
3264
  url += '&' + str;
@@ -3526,7 +3554,11 @@ var util_isLogined = function () {
3526
3554
  break;
3527
3555
  }
3528
3556
 
3529
- loadingInstance = external_eoss_element_["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
3557
+ loadingInstance = external_eoss_element_["Loading"].service({
3558
+ text: '页面加载中',
3559
+ spinner: 'el-icon-loading',
3560
+ background: 'rgba(0, 0, 0, 0.65)'
3561
+ });
3530
3562
  _context.next = 17;
3531
3563
  return util_ajax({
3532
3564
  method: 'post',
@@ -4624,10 +4656,10 @@ var setStorage = function setStorage(_ref18) {
4624
4656
  }
4625
4657
  }
4626
4658
  } else {
4627
- for (var _i7 in key) {
4628
- var val = _typeof(key[_i7]) === 'object' ? JSON.stringify(key[_i7]) : key[_i7];
4629
- localStorage.setItem(_i7, val);
4630
- if (_i7 === 'token') {
4659
+ for (var _i8 in key) {
4660
+ var val = _typeof(key[_i8]) === 'object' ? JSON.stringify(key[_i8]) : key[_i8];
4661
+ localStorage.setItem(_i8, val);
4662
+ if (_i8 === 'token') {
4631
4663
  setCookie('token', val);
4632
4664
  }
4633
4665
  }
@@ -4639,17 +4671,17 @@ var setStorage = function setStorage(_ref18) {
4639
4671
  setCookie('token', value);
4640
4672
  }
4641
4673
  } else if (Array.isArray(key)) {
4642
- for (var _i8 in key) {
4643
- sessionStorage.setItem(key[_i8], value);
4644
- if (key[_i8] === 'token') {
4674
+ for (var _i9 in key) {
4675
+ sessionStorage.setItem(key[_i9], value);
4676
+ if (key[_i9] === 'token') {
4645
4677
  setCookie('token', value);
4646
4678
  }
4647
4679
  }
4648
4680
  } else {
4649
- for (var _i9 in key) {
4650
- var _val = _typeof(key[_i9]) === 'object' ? JSON.stringify(key[_i9]) : key[_i9];
4651
- sessionStorage.setItem(_i9, _val);
4652
- if (_i9 === 'token') {
4681
+ for (var _i10 in key) {
4682
+ var _val = _typeof(key[_i10]) === 'object' ? JSON.stringify(key[_i10]) : key[_i10];
4683
+ sessionStorage.setItem(_i10, _val);
4684
+ if (_i10 === 'token') {
4653
4685
  setCookie('token', _val);
4654
4686
  }
4655
4687
  }
@@ -4777,16 +4809,16 @@ var setCookie = function setCookie(name, value) {
4777
4809
  **/
4778
4810
  var getCookie = function getCookie(name) {
4779
4811
  var cookies = document.cookie.split(';');
4780
- for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i10 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
4812
+ for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i11 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
4781
4813
  var _ref19;
4782
4814
 
4783
4815
  if (_isArray) {
4784
- if (_i10 >= _iterator.length) break;
4785
- _ref19 = _iterator[_i10++];
4816
+ if (_i11 >= _iterator.length) break;
4817
+ _ref19 = _iterator[_i11++];
4786
4818
  } else {
4787
- _i10 = _iterator.next();
4788
- if (_i10.done) break;
4789
- _ref19 = _i10.value;
4819
+ _i11 = _iterator.next();
4820
+ if (_i11.done) break;
4821
+ _ref19 = _i11.value;
4790
4822
  }
4791
4823
 
4792
4824
  var cookie = _ref19;
@@ -28203,8 +28235,8 @@ form_src_main.install = function (Vue) {
28203
28235
  };
28204
28236
 
28205
28237
  /* harmony default export */ var packages_form = (form_src_main);
28206
- // 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=3280dd80&
28207
- var mainvue_type_template_id_3280dd80_render = function () {
28238
+ // 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=daa43608&
28239
+ var mainvue_type_template_id_daa43608_render = function () {
28208
28240
  var _vm = this
28209
28241
  var _h = _vm.$createElement
28210
28242
  var _c = _vm._self._c || _h
@@ -30863,9 +30895,9 @@ var mainvue_type_template_id_3280dd80_render = function () {
30863
30895
  ? _c(
30864
30896
  "es-dialog",
30865
30897
  {
30898
+ staticClass: "flow-chart-dialog",
30866
30899
  attrs: {
30867
30900
  "append-to-body": "",
30868
- height: "auto",
30869
30901
  "close-on-click-modal": false,
30870
30902
  title: "流程图查看",
30871
30903
  visible: _vm.showFlowChart,
@@ -31145,11 +31177,11 @@ var mainvue_type_template_id_3280dd80_render = function () {
31145
31177
  )
31146
31178
  : _vm._e()
31147
31179
  }
31148
- var mainvue_type_template_id_3280dd80_staticRenderFns = []
31149
- mainvue_type_template_id_3280dd80_render._withStripped = true
31180
+ var mainvue_type_template_id_daa43608_staticRenderFns = []
31181
+ mainvue_type_template_id_daa43608_render._withStripped = true
31150
31182
 
31151
31183
 
31152
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3280dd80&
31184
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=daa43608&
31153
31185
 
31154
31186
  // 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=4a620f86&
31155
31187
  var CommonOpinionsvue_type_template_id_4a620f86_render = function () {
@@ -48751,7 +48783,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
48751
48783
  showFlowChart: false, // 展示流程图弹窗
48752
48784
  isReject: false, // 是否驳回
48753
48785
  showTaskUnionExamine: false, //展示联合审核弹窗
48754
- charUrl: utils_util.win.location.origin,
48786
+ charUrl: 'https://yafzoa.scstit.com', //util.win.location.origin,
48755
48787
  endFlow: false, // 是否结束流程
48756
48788
  isCurrentNodeForbiddenChangeCandidate: 0, //是否禁止选择办理人
48757
48789
  isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
@@ -51060,8 +51092,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51060
51092
 
51061
51093
  var flow_src_main_component = normalizeComponent(
51062
51094
  packages_flow_src_mainvue_type_script_lang_js_,
51063
- mainvue_type_template_id_3280dd80_render,
51064
- mainvue_type_template_id_3280dd80_staticRenderFns,
51095
+ mainvue_type_template_id_daa43608_render,
51096
+ mainvue_type_template_id_daa43608_staticRenderFns,
51065
51097
  false,
51066
51098
  null,
51067
51099
  null,
@@ -61441,8 +61473,8 @@ login_src_main.install = function (Vue) {
61441
61473
  };
61442
61474
 
61443
61475
  /* harmony default export */ var login = (login_src_main);
61444
- // 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=0fbde292&
61445
- var mainvue_type_template_id_0fbde292_render = function () {
61476
+ // 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=48272c28&
61477
+ var mainvue_type_template_id_48272c28_render = function () {
61446
61478
  var _vm = this
61447
61479
  var _h = _vm.$createElement
61448
61480
  var _c = _vm._self._c || _h
@@ -61585,14 +61617,14 @@ var mainvue_type_template_id_0fbde292_render = function () {
61585
61617
  )
61586
61618
  : _vm._e()
61587
61619
  }
61588
- var mainvue_type_template_id_0fbde292_staticRenderFns = []
61589
- mainvue_type_template_id_0fbde292_render._withStripped = true
61620
+ var mainvue_type_template_id_48272c28_staticRenderFns = []
61621
+ mainvue_type_template_id_48272c28_render._withStripped = true
61590
61622
 
61591
61623
 
61592
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=0fbde292&
61624
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=48272c28&
61593
61625
 
61594
- // 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=6808c3e5&scoped=true&
61595
- var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
61626
+ // 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=560d8a6d&scoped=true&
61627
+ var simplicityvue_type_template_id_560d8a6d_scoped_true_render = function () {
61596
61628
  var _vm = this
61597
61629
  var _h = _vm.$createElement
61598
61630
  var _c = _vm._self._c || _h
@@ -62358,11 +62390,11 @@ var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
62358
62390
  ),
62359
62391
  ])
62360
62392
  }
62361
- var simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns = []
62362
- simplicityvue_type_template_id_6808c3e5_scoped_true_render._withStripped = true
62393
+ var simplicityvue_type_template_id_560d8a6d_scoped_true_staticRenderFns = []
62394
+ simplicityvue_type_template_id_560d8a6d_scoped_true_render._withStripped = true
62363
62395
 
62364
62396
 
62365
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
62397
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=560d8a6d&scoped=true&
62366
62398
 
62367
62399
  // 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&
62368
62400
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -68571,6 +68603,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68571
68603
  type: Number,
68572
68604
  default: 220
68573
68605
  },
68606
+ showTipNums: {
68607
+ type: Boolean,
68608
+ default: true
68609
+ },
68574
68610
  //路由方式
68575
68611
  routeType: String,
68576
68612
  host: {
@@ -69352,6 +69388,8 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
69352
69388
  setTips: function setTips(obj) {
69353
69389
  var _this4 = this;
69354
69390
 
69391
+ // 不显示菜单气泡提醒
69392
+ if (!this.showTipNums) return;
69355
69393
  if (!this.menuTips || !Object.keys(this.menuTips).length) {
69356
69394
  return false;
69357
69395
  }
@@ -70200,18 +70238,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70200
70238
 
70201
70239
  var simplicity_component = normalizeComponent(
70202
70240
  src_simplicityvue_type_script_lang_js_,
70203
- simplicityvue_type_template_id_6808c3e5_scoped_true_render,
70204
- simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns,
70241
+ simplicityvue_type_template_id_560d8a6d_scoped_true_render,
70242
+ simplicityvue_type_template_id_560d8a6d_scoped_true_staticRenderFns,
70205
70243
  false,
70206
70244
  null,
70207
- "6808c3e5",
70245
+ "560d8a6d",
70208
70246
  null
70209
70247
 
70210
70248
  )
70211
70249
 
70212
70250
  /* harmony default export */ var simplicity = (simplicity_component.exports);
70213
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70214
- var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function () {
70251
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=567b8a97&scoped=true&
70252
+ var simplicityTopvue_type_template_id_567b8a97_scoped_true_render = function () {
70215
70253
  var _vm = this
70216
70254
  var _h = _vm.$createElement
70217
70255
  var _c = _vm._self._c || _h
@@ -70405,7 +70443,16 @@ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function ()
70405
70443
  "div",
70406
70444
  { staticClass: "es-simplicitytop-menu-item" },
70407
70445
  [
70408
- _vm._m(0),
70446
+ _c("div", { staticClass: "es-simplicitytop-menu-title" }, [
70447
+ _c(
70448
+ "span",
70449
+ {
70450
+ staticClass: "es-simplicitytop-menu-name",
70451
+ on: { click: _vm.testReloadPage },
70452
+ },
70453
+ [_vm._v("我的快捷")]
70454
+ ),
70455
+ ]),
70409
70456
  _c(
70410
70457
  "el-scrollbar",
70411
70458
  { staticStyle: { height: "calc(100% - 45px)" } },
@@ -70765,22 +70812,11 @@ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function ()
70765
70812
  1
70766
70813
  )
70767
70814
  }
70768
- var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns = [
70769
- function () {
70770
- var _vm = this
70771
- var _h = _vm.$createElement
70772
- var _c = _vm._self._c || _h
70773
- return _c("div", { staticClass: "es-simplicitytop-menu-title" }, [
70774
- _c("span", { staticClass: "es-simplicitytop-menu-name" }, [
70775
- _vm._v("我的快捷"),
70776
- ]),
70777
- ])
70778
- },
70779
- ]
70780
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render._withStripped = true
70815
+ var simplicityTopvue_type_template_id_567b8a97_scoped_true_staticRenderFns = []
70816
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_render._withStripped = true
70781
70817
 
70782
70818
 
70783
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70819
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=567b8a97&scoped=true&
70784
70820
 
70785
70821
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/avatar.vue?vue&type=template&id=30391b69&scoped=true&
70786
70822
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -70931,8 +70967,8 @@ var simplicityTop_avatar_component = normalizeComponent(
70931
70967
  )
70932
70968
 
70933
70969
  /* harmony default export */ var simplicityTop_avatar = (simplicityTop_avatar_component.exports);
70934
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
70935
- var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
70970
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=45fffc05&scoped=true&
70971
+ var handlervue_type_template_id_45fffc05_scoped_true_render = function () {
70936
70972
  var _vm = this
70937
70973
  var _h = _vm.$createElement
70938
70974
  var _c = _vm._self._c || _h
@@ -71024,6 +71060,23 @@ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
71024
71060
  _c("span", { staticClass: "es-simplicitytop-handler-text" }, [
71025
71061
  _vm._v(_vm._s(item.text)),
71026
71062
  ]),
71063
+ item.type == "notice" && _vm.nums[item.type] > 0
71064
+ ? _c(
71065
+ "div",
71066
+ { staticClass: "es-simplicitytop-handler-badge" },
71067
+ [
71068
+ _vm._v(
71069
+ "\n " +
71070
+ _vm._s(
71071
+ _vm.nums[item.type] > 99
71072
+ ? "99+"
71073
+ : _vm.nums[item.type]
71074
+ ) +
71075
+ "\n "
71076
+ ),
71077
+ ]
71078
+ )
71079
+ : _vm._e(),
71027
71080
  ],
71028
71081
  1
71029
71082
  ),
@@ -71033,11 +71086,11 @@ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
71033
71086
  2
71034
71087
  )
71035
71088
  }
71036
- var handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns = []
71037
- handlervue_type_template_id_6434fb72_scoped_true_render._withStripped = true
71089
+ var handlervue_type_template_id_45fffc05_scoped_true_staticRenderFns = []
71090
+ handlervue_type_template_id_45fffc05_scoped_true_render._withStripped = true
71038
71091
 
71039
71092
 
71040
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
71093
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=45fffc05&scoped=true&
71041
71094
 
71042
71095
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71043
71096
  var simplicityTop_handlervue_type_script_lang_js_data;
@@ -71092,6 +71145,12 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71092
71145
  //
71093
71146
  //
71094
71147
  //
71148
+ //
71149
+ //
71150
+ //
71151
+ //
71152
+ //
71153
+ //
71095
71154
 
71096
71155
 
71097
71156
 
@@ -71251,11 +71310,11 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71251
71310
 
71252
71311
  var simplicityTop_handler_component = normalizeComponent(
71253
71312
  src_simplicityTop_handlervue_type_script_lang_js_,
71254
- handlervue_type_template_id_6434fb72_scoped_true_render,
71255
- handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns,
71313
+ handlervue_type_template_id_45fffc05_scoped_true_render,
71314
+ handlervue_type_template_id_45fffc05_scoped_true_staticRenderFns,
71256
71315
  false,
71257
71316
  null,
71258
- "6434fb72",
71317
+ "45fffc05",
71259
71318
  null
71260
71319
 
71261
71320
  )
@@ -73333,6 +73392,8 @@ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return func
73333
73392
  //
73334
73393
  //
73335
73394
  //
73395
+ //
73396
+ //
73336
73397
 
73337
73398
 
73338
73399
 
@@ -73348,6 +73409,8 @@ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return func
73348
73409
 
73349
73410
 
73350
73411
 
73412
+
73413
+
73351
73414
  var simplicityTopvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
73352
73415
  var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
73353
73416
  // let events = [
@@ -74660,7 +74723,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
74660
74723
 
74661
74724
  this.menus = rebuildMenu;
74662
74725
  this.setTips(this.menus);
74663
- utils_store.set('nav', this.menus);
74726
+ // store.set('nav', this.menus);
74664
74727
  var obj = this.getMenu(this.menus, this.indexUrl);
74665
74728
  obj = obj ? JSON.parse(JSON.stringify(obj)) : {
74666
74729
  url: this.indexUrl,
@@ -74713,6 +74776,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
74713
74776
  var url = res.url;
74714
74777
 
74715
74778
  var urls = url.split('?');
74779
+ console.log(res);
74716
74780
  if (urls[0].indexOf('.js') > 1 && !simplicityTopvue_type_script_lang_js_isIE) {
74717
74781
  res.method = 'wujie';
74718
74782
  if (!res.appCode) {
@@ -75045,17 +75109,55 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75045
75109
  this.webSocket.destroy();
75046
75110
  }
75047
75111
  },
75112
+ testReloadPage: function testReloadPage() {
75113
+ this.handleRefresh(1);
75114
+ },
75048
75115
 
75049
75116
  /**
75050
75117
  * @desc:刷新选中iframe页签
75051
75118
  * @author huangbo
75052
75119
  * @date 2024年9月7日
75053
75120
  **/
75054
- handleRefresh: function handleRefresh() {
75121
+ handleRefresh: function handleRefresh(arg) {
75055
75122
  this.getNums();
75123
+ console.log(arg, 'arg');
75056
75124
  if (window.top.refreshList) {
75057
75125
  window.top.refreshList();
75058
75126
  }
75127
+ if (arg != undefined) {
75128
+ var tab = this.currentPage;
75129
+ if (tab.appCode == 'indexUrl') return;
75130
+ if (simplicityTopvue_type_script_lang_js_isIE || tab.method === 'iframe') {
75131
+ if (arg && arg === 'pageData') {
75132
+ var iframe = document.getElementById(tab.id || tab.appCode);
75133
+ var source = tab.url;
75134
+ if (source && !utils_util.startWith(source, ['http', 'https'], true)) {
75135
+ source = location.origin + source.replace('./', '/');
75136
+ }
75137
+ !iframe && (iframe = document.getElementById(this.iframeId));
75138
+ iframe && iframe.contentWindow.postMessage({ method: 'pageData' }, source || '*');
75139
+ } else {
75140
+ this.$set(this.currentPage, 'url', utils_util.handlerUrl(tab.url));
75141
+ }
75142
+ return;
75143
+ }
75144
+ if (tab.method === 'wujie' && tab.appCode) {
75145
+ if (arg && arg === 'pageData') {
75146
+ external_wujie_vue2_default.a.$emit('pageData', tab);
75147
+ } else {
75148
+ window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
75149
+ }
75150
+ return;
75151
+ }
75152
+ if (tab.method === 'router') {
75153
+ if (arg && arg === 'pageData') {
75154
+ var bus = this.bus || this.$root.Bus;
75155
+ bus.$emit('pageData', tab);
75156
+ } else {
75157
+ this.$set(this.currentPage, 'keys', utils_util.uuid());
75158
+ }
75159
+ }
75160
+ }
75059
75161
  },
75060
75162
 
75061
75163
  /**
@@ -75183,7 +75285,6 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75183
75285
  // util.win.open(this.doorIndex, '_self');
75184
75286
  this.currentPage = simplicityTopvue_type_script_lang_js_extends({}, this.homePage);
75185
75287
  this.appCodes = 'indexUrl';
75186
- console.log(this.currentPage, 'this.currentPage');
75187
75288
  break;
75188
75289
  case 'userinfo':
75189
75290
  this.$refs.user.handleOpen();
@@ -75389,7 +75490,6 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75389
75490
  handleSelect: function handleSelect(res) {
75390
75491
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
75391
75492
 
75392
- console.log(res, 'handleSelect');
75393
75493
  var node = res.node ? res.node : res;
75394
75494
  if (node.urlopenmode == 1 || node.openModel == 1) {
75395
75495
  utils_util.win.open(node.url || node.menuurl);
@@ -75399,11 +75499,12 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75399
75499
  var apps = node;
75400
75500
  var param = params;
75401
75501
  var reload = true;
75402
- if (typeof res === 'string') {
75403
- apps = res.split(',');
75502
+ if (typeof node === 'string') {
75503
+ apps = node.split(',');
75404
75504
  } else if (utils_util.isObject(node)) {
75405
75505
  var appCode = node.appCode || node.menuCode;
75406
- apps = Array.isArray(appCode) ? appCode : appCode.split(',');
75506
+ var id = node.id || node.menuId;
75507
+ apps = appCode ? Array.isArray(appCode) ? appCode : appCode.split(',') : [id];
75407
75508
  node.param && (param = simplicityTopvue_type_script_lang_js_extends({}, node.param, params));
75408
75509
  reload = Object.prototype.hasOwnProperty.call(node, 'reload') ? node.reload : true;
75409
75510
  }
@@ -75412,6 +75513,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75412
75513
  currentPage = _findMenuById.currentPage,
75413
75514
  fourthTabs = _findMenuById.fourthTabs;
75414
75515
 
75516
+ console.log('fourthTabs', fourthTabs, 'currentPage', currentPage);
75415
75517
  if (currentPage) {
75416
75518
  this.currentPage = {};
75417
75519
  this.fourthTabs = [];
@@ -75423,7 +75525,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75423
75525
  this.currentPage.url = utils_util.handlerUrl(this.currentPage.url, param);
75424
75526
  }
75425
75527
  this.tabActiveName = this.currentPage.id;
75426
- this.appCodes = this.currentPage.appCode;
75528
+ this.appCodes = this.currentPage.appCode || this.currentPage.id;
75427
75529
  } else {
75428
75530
  this.fourthTabs = fourthTabs;
75429
75531
  this.currentPage = this.setIframeType(currentPage);
@@ -75544,11 +75646,11 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75544
75646
 
75545
75647
  var simplicityTop_component = normalizeComponent(
75546
75648
  src_simplicityTopvue_type_script_lang_js_,
75547
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render,
75548
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns,
75649
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_render,
75650
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_staticRenderFns,
75549
75651
  false,
75550
75652
  null,
75551
- "06dd3ec1",
75653
+ "567b8a97",
75552
75654
  null
75553
75655
 
75554
75656
  )
@@ -79680,7 +79782,11 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79680
79782
  type: Number,
79681
79783
  default: 3000
79682
79784
  },
79683
- multiple: Boolean
79785
+ multiple: Boolean,
79786
+ changeThemeReload: {
79787
+ type: Boolean,
79788
+ default: false
79789
+ }
79684
79790
  },
79685
79791
  computed: {
79686
79792
  _launchImage: function _launchImage() {
@@ -79702,6 +79808,10 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79702
79808
  };
79703
79809
  },
79704
79810
  created: function created() {
79811
+ var layoutType = localStorage.getItem('layoutType');
79812
+ if (layoutType) {
79813
+ this.layoutType = layoutType;
79814
+ }
79705
79815
  this.params = utils_util.getParams() || {};
79706
79816
  this.sysCode = this.params.sysCode;
79707
79817
  this.appCode = this.params.appCode || this.params.appcode;
@@ -79720,10 +79830,6 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79720
79830
  this.$nextTick(function () {
79721
79831
  // 当主题变化时,重新绑定一次事件 防止事件丢失 或者绑定错误
79722
79832
  _this.bindEvent();
79723
- var layoutType = localStorage.getItem('layoutType');
79724
- if (layoutType) {
79725
- _this.layoutType = layoutType;
79726
- }
79727
79833
  });
79728
79834
  },
79729
79835
 
@@ -79832,20 +79938,29 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79832
79938
  if (active) {
79833
79939
  this.layout = active;
79834
79940
  }
79941
+ // 重新加载页面,刷新布局风格配置信息
79942
+ // 如果不刷新,会导致事件绑定出现问题,导致事件丢失
79943
+ if (this.changeThemeReload) {
79944
+ window.top.location.reload();
79945
+ return;
79946
+ }
79947
+
79835
79948
  var mainConfig = utils_util.getStorage('mainConfig');
79836
- if (mainConfig) {
79837
- mainConfig = JSON.parse(mainConfig);
79838
- this.$nextTick(function () {
79949
+ // 切换布局风格后,重新绑定事件
79950
+ this.$nextTick(function () {
79951
+ _this3.bindEvent();
79952
+ if (mainConfig) {
79953
+ mainConfig = JSON.parse(mainConfig);
79839
79954
  _this3.$refs.main.init(mainConfig, true);
79840
79955
  utils_util.getMainConfig(function (res) {
79841
79956
  _this3.$refs.main.init(res, false);
79842
79957
  });
79843
- });
79844
- } else {
79845
- utils_util.getMainConfig(function (res) {
79846
- _this3.$refs.main.init(res, true);
79847
- });
79848
- }
79958
+ } else {
79959
+ utils_util.getMainConfig(function (res) {
79960
+ _this3.$refs.main.init(res, true);
79961
+ });
79962
+ }
79963
+ });
79849
79964
  },
79850
79965
 
79851
79966
  /**
@@ -80164,7 +80279,6 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
80164
80279
  **/
80165
80280
  busEmit: function busEmit(event, args) {
80166
80281
  console.log('busEmit', event, args);
80167
-
80168
80282
  external_wujie_vue2_default.a.bus.$emit(event, args);
80169
80283
  var iframes = document.getElementsByTagName('iframe');
80170
80284
  for (var i = 0; i < iframes.length; i++) {
@@ -80196,8 +80310,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
80196
80310
 
80197
80311
  var main_src_main_component = normalizeComponent(
80198
80312
  packages_main_src_mainvue_type_script_lang_js_,
80199
- mainvue_type_template_id_0fbde292_render,
80200
- mainvue_type_template_id_0fbde292_staticRenderFns,
80313
+ mainvue_type_template_id_48272c28_render,
80314
+ mainvue_type_template_id_48272c28_staticRenderFns,
80201
80315
  false,
80202
80316
  null,
80203
80317
  null,
@@ -100897,7 +101011,7 @@ if (typeof window !== 'undefined' && window.Vue) {
100897
101011
  }
100898
101012
 
100899
101013
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
100900
- version: '0.7.74',
101014
+ version: '0.7.76',
100901
101015
  install: install,
100902
101016
  Button: packages_button,
100903
101017
  ButtonGroup: button_group,