eoss-ui 0.7.68 → 0.7.70

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.
@@ -236,8 +236,8 @@ module.exports = require("lodash");
236
236
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
237
237
 
238
238
  "use strict";
239
- /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_96dd3768_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
240
- /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_96dd3768_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_96dd3768_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
239
+ /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_b9929eaa_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
240
+ /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_b9929eaa_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_settings_vue_vue_type_style_index_0_id_b9929eaa_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
241
241
  /* unused harmony reexport * */
242
242
 
243
243
 
@@ -247,7 +247,7 @@ module.exports = require("lodash");
247
247
 
248
248
  exports = module.exports = __webpack_require__(23)(false);
249
249
  // Module
250
- exports.push([module.i, "\n.es-setting-top-nav-side[data-v-96dd3768]::before {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n width: 8px;\r\n top: 10px;\r\n bottom: 0;\r\n z-index: 2;\r\n background-color: rgb(0, 80, 179);\n}\r\n", ""]);
250
+ exports.push([module.i, "\n.es-setting-top-nav-side[data-v-b9929eaa]::before {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n width: 8px;\r\n top: 10px;\r\n bottom: 0;\r\n z-index: 2;\r\n background-color: rgb(0, 80, 179);\n}\r\n", ""]);
251
251
 
252
252
 
253
253
 
@@ -51073,8 +51073,8 @@ flow_src_main.install = function (Vue) {
51073
51073
  };
51074
51074
 
51075
51075
  /* harmony default export */ var packages_flow = (flow_src_main);
51076
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=74385e49&
51077
- var mainvue_type_template_id_74385e49_render = function () {
51076
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=49927a64&
51077
+ var mainvue_type_template_id_49927a64_render = function () {
51078
51078
  var _vm = this
51079
51079
  var _h = _vm.$createElement
51080
51080
  var _c = _vm._self._c || _h
@@ -52336,11 +52336,11 @@ var mainvue_type_template_id_74385e49_render = function () {
52336
52336
  2
52337
52337
  )
52338
52338
  }
52339
- var mainvue_type_template_id_74385e49_staticRenderFns = []
52340
- mainvue_type_template_id_74385e49_render._withStripped = true
52339
+ var mainvue_type_template_id_49927a64_staticRenderFns = []
52340
+ mainvue_type_template_id_49927a64_render._withStripped = true
52341
52341
 
52342
52342
 
52343
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=74385e49&
52343
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=49927a64&
52344
52344
 
52345
52345
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
52346
52346
  var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -52817,12 +52817,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
52817
52817
  type: Boolean,
52818
52818
  default: true
52819
52819
  },
52820
- otherValidate: {
52821
- type: Function,
52822
- default: function _default() {
52823
- return false;
52824
- }
52825
- },
52820
+ otherValidate: Function,
52826
52821
  flow: Object,
52827
52822
  events: Object,
52828
52823
  recordid: String,
@@ -53070,8 +53065,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
53070
53065
 
53071
53066
  var flow_group_src_main_component = normalizeComponent(
53072
53067
  packages_flow_group_src_mainvue_type_script_lang_js_,
53073
- mainvue_type_template_id_74385e49_render,
53074
- mainvue_type_template_id_74385e49_staticRenderFns,
53068
+ mainvue_type_template_id_49927a64_render,
53069
+ mainvue_type_template_id_49927a64_staticRenderFns,
53075
53070
  false,
53076
53071
  null,
53077
53072
  null,
@@ -61441,8 +61436,8 @@ login_src_main.install = function (Vue) {
61441
61436
  };
61442
61437
 
61443
61438
  /* 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=6ee4a0ee&
61445
- var mainvue_type_template_id_6ee4a0ee_render = function () {
61439
+ // 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=08d4664a&
61440
+ var mainvue_type_template_id_08d4664a_render = function () {
61446
61441
  var _vm = this
61447
61442
  var _h = _vm.$createElement
61448
61443
  var _c = _vm._self._c || _h
@@ -61585,14 +61580,14 @@ var mainvue_type_template_id_6ee4a0ee_render = function () {
61585
61580
  )
61586
61581
  : _vm._e()
61587
61582
  }
61588
- var mainvue_type_template_id_6ee4a0ee_staticRenderFns = []
61589
- mainvue_type_template_id_6ee4a0ee_render._withStripped = true
61583
+ var mainvue_type_template_id_08d4664a_staticRenderFns = []
61584
+ mainvue_type_template_id_08d4664a_render._withStripped = true
61590
61585
 
61591
61586
 
61592
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6ee4a0ee&
61587
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=08d4664a&
61593
61588
 
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=7679eaf2&scoped=true&
61595
- var simplicityvue_type_template_id_7679eaf2_scoped_true_render = function () {
61589
+ // 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=429559f0&scoped=true&
61590
+ var simplicityvue_type_template_id_429559f0_scoped_true_render = function () {
61596
61591
  var _vm = this
61597
61592
  var _h = _vm.$createElement
61598
61593
  var _c = _vm._self._c || _h
@@ -62356,11 +62351,11 @@ var simplicityvue_type_template_id_7679eaf2_scoped_true_render = function () {
62356
62351
  ),
62357
62352
  ])
62358
62353
  }
62359
- var simplicityvue_type_template_id_7679eaf2_scoped_true_staticRenderFns = []
62360
- simplicityvue_type_template_id_7679eaf2_scoped_true_render._withStripped = true
62354
+ var simplicityvue_type_template_id_429559f0_scoped_true_staticRenderFns = []
62355
+ simplicityvue_type_template_id_429559f0_scoped_true_render._withStripped = true
62361
62356
 
62362
62357
 
62363
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7679eaf2&scoped=true&
62358
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=429559f0&scoped=true&
62364
62359
 
62365
62360
  // 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&
62366
62361
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -66138,8 +66133,8 @@ var notice_component = normalizeComponent(
66138
66133
  )
66139
66134
 
66140
66135
  /* harmony default export */ var notice = (notice_component.exports);
66141
- // 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/settings.vue?vue&type=template&id=96dd3768&scoped=true&
66142
- var settingsvue_type_template_id_96dd3768_scoped_true_render = function () {
66136
+ // 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/settings.vue?vue&type=template&id=b9929eaa&scoped=true&
66137
+ var settingsvue_type_template_id_b9929eaa_scoped_true_render = function () {
66143
66138
  var _vm = this
66144
66139
  var _h = _vm.$createElement
66145
66140
  var _c = _vm._self._c || _h
@@ -66482,7 +66477,7 @@ var settingsvue_type_template_id_96dd3768_scoped_true_render = function () {
66482
66477
  on: {
66483
66478
  click: function ($event) {
66484
66479
  $event.stopPropagation()
66485
- _vm.handleLayout("simplicity")
66480
+ _vm.handleLayout("simplicity", "simplicity")
66486
66481
  },
66487
66482
  },
66488
66483
  },
@@ -66529,7 +66524,7 @@ var settingsvue_type_template_id_96dd3768_scoped_true_render = function () {
66529
66524
  on: {
66530
66525
  click: function ($event) {
66531
66526
  $event.stopPropagation()
66532
- _vm.handleLayout("simplicityTop")
66527
+ _vm.handleLayout("simplicityTop", "simplicityTop")
66533
66528
  },
66534
66529
  },
66535
66530
  },
@@ -66566,11 +66561,11 @@ var settingsvue_type_template_id_96dd3768_scoped_true_render = function () {
66566
66561
  ]
66567
66562
  )
66568
66563
  }
66569
- var settingsvue_type_template_id_96dd3768_scoped_true_staticRenderFns = []
66570
- settingsvue_type_template_id_96dd3768_scoped_true_render._withStripped = true
66564
+ var settingsvue_type_template_id_b9929eaa_scoped_true_staticRenderFns = []
66565
+ settingsvue_type_template_id_b9929eaa_scoped_true_render._withStripped = true
66571
66566
 
66572
66567
 
66573
- // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=template&id=96dd3768&scoped=true&
66568
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=template&id=b9929eaa&scoped=true&
66574
66569
 
66575
66570
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/settings.vue?vue&type=script&lang=js&
66576
66571
  //
@@ -66827,8 +66822,8 @@ settingsvue_type_template_id_96dd3768_scoped_true_render._withStripped = true
66827
66822
  });
66828
66823
  // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=script&lang=js&
66829
66824
  /* harmony default export */ var public_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
66830
- // EXTERNAL MODULE: ./packages/main/src/public/settings.vue?vue&type=style&index=0&id=96dd3768&prod&scoped=true&lang=css&
66831
- var settingsvue_type_style_index_0_id_96dd3768_prod_scoped_true_lang_css_ = __webpack_require__(21);
66825
+ // EXTERNAL MODULE: ./packages/main/src/public/settings.vue?vue&type=style&index=0&id=b9929eaa&prod&scoped=true&lang=css&
66826
+ var settingsvue_type_style_index_0_id_b9929eaa_prod_scoped_true_lang_css_ = __webpack_require__(21);
66832
66827
 
66833
66828
  // CONCATENATED MODULE: ./packages/main/src/public/settings.vue
66834
66829
 
@@ -66841,11 +66836,11 @@ var settingsvue_type_style_index_0_id_96dd3768_prod_scoped_true_lang_css_ = __we
66841
66836
 
66842
66837
  var settings_component = normalizeComponent(
66843
66838
  public_settingsvue_type_script_lang_js_,
66844
- settingsvue_type_template_id_96dd3768_scoped_true_render,
66845
- settingsvue_type_template_id_96dd3768_scoped_true_staticRenderFns,
66839
+ settingsvue_type_template_id_b9929eaa_scoped_true_render,
66840
+ settingsvue_type_template_id_b9929eaa_scoped_true_staticRenderFns,
66846
66841
  false,
66847
66842
  null,
66848
- "96dd3768",
66843
+ "b9929eaa",
66849
66844
  null
66850
66845
 
66851
66846
  )
@@ -69350,13 +69345,17 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
69350
69345
  var num = 0;
69351
69346
  obj.forEach(function (item) {
69352
69347
  var n = _this4.setTips(item);
69353
- num += n ? parseInt(n) : 0;
69354
- _this4.$set(obj, 'tips', num);
69355
- _this4.setDot(_this4.userApps, item.appCode, num);
69356
- _this4.setDot(_this4.applications, item.appCode, num);
69357
- _this4.setDot(_this4.business, item.appCode, num);
69358
- _this4.setDot(_this4.systems, item.appCode, num);
69348
+ n = n ? parseInt(n) : 0;
69349
+ num += n;
69350
+ if (n) {
69351
+ _this4.$set(obj, 'tips', n);
69352
+ _this4.setDot(_this4.userApps, item.appCode, n);
69353
+ _this4.setDot(_this4.applications, item.appCode, n);
69354
+ _this4.setDot(_this4.business, item.appCode, n);
69355
+ _this4.setDot(_this4.systems, item.appCode, n);
69356
+ }
69359
69357
  });
69358
+ return num;
69360
69359
  } else {
69361
69360
  if (obj.children && obj.children.length || obj.fourthTabs && obj.fourthTabs.length) {
69362
69361
  var _num = 0;
@@ -70186,18 +70185,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70186
70185
 
70187
70186
  var simplicity_component = normalizeComponent(
70188
70187
  src_simplicityvue_type_script_lang_js_,
70189
- simplicityvue_type_template_id_7679eaf2_scoped_true_render,
70190
- simplicityvue_type_template_id_7679eaf2_scoped_true_staticRenderFns,
70188
+ simplicityvue_type_template_id_429559f0_scoped_true_render,
70189
+ simplicityvue_type_template_id_429559f0_scoped_true_staticRenderFns,
70191
70190
  false,
70192
70191
  null,
70193
- "7679eaf2",
70192
+ "429559f0",
70194
70193
  null
70195
70194
 
70196
70195
  )
70197
70196
 
70198
70197
  /* harmony default export */ var simplicity = (simplicity_component.exports);
70199
- // 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=7e7a3d7a&scoped=true&
70200
- var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function () {
70198
+ // 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=5a47c4f6&scoped=true&
70199
+ var simplicityTopvue_type_template_id_5a47c4f6_scoped_true_render = function () {
70201
70200
  var _vm = this
70202
70201
  var _h = _vm.$createElement
70203
70202
  var _c = _vm._self._c || _h
@@ -70286,7 +70285,7 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70286
70285
  _c("div", { staticClass: "es-simplicitytop-greeting" }, [
70287
70286
  _vm._v(
70288
70287
  "\n " +
70289
- _vm._s(_vm.user.username) +
70288
+ _vm._s(_vm.user.username || "-") +
70290
70289
  "," +
70291
70290
  _vm._s(_vm.greeting) +
70292
70291
  "\n "
@@ -70328,55 +70327,68 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70328
70327
  _c(
70329
70328
  "div",
70330
70329
  { staticClass: "es-simplicitytop-menu-children" },
70331
- _vm._l(_vm.myRemind, function (child, i) {
70332
- return _c(
70333
- "div",
70334
- {
70335
- key: i,
70336
- staticClass: "es-simplicitytop-menu-children-item",
70337
- on: {
70338
- click: function ($event) {
70339
- _vm.handleSelect(child)
70340
- },
70341
- },
70342
- },
70343
- [
70344
- _c(
70345
- "div",
70346
- { staticClass: "es-simplicitytop-menu-children-icon" },
70347
- [_c("i", { class: child.icon })]
70348
- ),
70349
- _c(
70350
- "div",
70351
- { staticClass: "es-simplicitytop-menu-children-name" },
70352
- [
70353
- _vm._v(
70354
- "\n " +
70355
- _vm._s(child.text || child.name) +
70356
- "\n "
70357
- ),
70358
- ]
70359
- ),
70360
- child.badge && child.num
70330
+ [
70331
+ _vm._l(_vm.myRemind, function (child, i) {
70332
+ return [
70333
+ child.hasPermission
70361
70334
  ? _c(
70362
70335
  "div",
70363
70336
  {
70337
+ key: i,
70364
70338
  staticClass:
70365
- "es-simplicitytop-menu-children-badge",
70339
+ "es-simplicitytop-menu-children-item",
70340
+ on: {
70341
+ click: function ($event) {
70342
+ _vm.handleSelect(child)
70343
+ },
70344
+ },
70366
70345
  },
70367
70346
  [
70368
- _vm._v(
70369
- "\n " +
70370
- _vm._s(child.num) +
70371
- "\n "
70347
+ _c(
70348
+ "div",
70349
+ {
70350
+ staticClass:
70351
+ "es-simplicitytop-menu-children-icon",
70352
+ },
70353
+ [_c("i", { class: child.icon })]
70372
70354
  ),
70355
+ _c(
70356
+ "div",
70357
+ {
70358
+ staticClass:
70359
+ "es-simplicitytop-menu-children-name",
70360
+ },
70361
+ [
70362
+ _vm._v(
70363
+ "\n " +
70364
+ _vm._s(child.text || child.name) +
70365
+ "\n "
70366
+ ),
70367
+ ]
70368
+ ),
70369
+ child.badge && child.num
70370
+ ? _c(
70371
+ "div",
70372
+ {
70373
+ staticClass:
70374
+ "es-simplicitytop-menu-children-badge",
70375
+ },
70376
+ [
70377
+ _vm._v(
70378
+ "\n " +
70379
+ _vm._s(child.num) +
70380
+ "\n "
70381
+ ),
70382
+ ]
70383
+ )
70384
+ : _vm._e(),
70373
70385
  ]
70374
70386
  )
70375
70387
  : _vm._e(),
70376
70388
  ]
70377
- )
70378
- }),
70379
- 0
70389
+ }),
70390
+ ],
70391
+ 2
70380
70392
  ),
70381
70393
  ]
70382
70394
  ),
@@ -70394,49 +70406,51 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70394
70406
  "div",
70395
70407
  { staticClass: "es-simplicitytop-menu-children" },
70396
70408
  _vm._l(_vm.userCommonMenuList, function (child, i) {
70397
- return _c(
70398
- "div",
70399
- {
70400
- key: i,
70401
- staticClass:
70402
- "es-simplicitytop-menu-children-item",
70403
- on: {
70404
- click: function ($event) {
70405
- _vm.handleSelect(child, "wujie")
70406
- },
70407
- },
70408
- },
70409
- [
70410
- _c(
70411
- "div",
70412
- {
70413
- staticClass:
70414
- "es-simplicitytop-menu-children-icon",
70415
- },
70416
- [
70417
- _c("i", {
70418
- class: child.icons
70419
- ? child.icons
70420
- : "es-icon-application",
70421
- }),
70422
- ]
70423
- ),
70424
- _c(
70409
+ return child.hasPermission
70410
+ ? _c(
70425
70411
  "div",
70426
70412
  {
70413
+ key: i,
70427
70414
  staticClass:
70428
- "es-simplicitytop-menu-children-name",
70415
+ "es-simplicitytop-menu-children-item",
70416
+ on: {
70417
+ click: function ($event) {
70418
+ _vm.handleSelect(child)
70419
+ },
70420
+ },
70429
70421
  },
70430
70422
  [
70431
- _vm._v(
70432
- "\n " +
70433
- _vm._s(child.text) +
70434
- "\n "
70423
+ _c(
70424
+ "div",
70425
+ {
70426
+ staticClass:
70427
+ "es-simplicitytop-menu-children-icon",
70428
+ },
70429
+ [
70430
+ _c("i", {
70431
+ class: child.icons
70432
+ ? child.icons
70433
+ : "es-icon-application",
70434
+ }),
70435
+ ]
70436
+ ),
70437
+ _c(
70438
+ "div",
70439
+ {
70440
+ staticClass:
70441
+ "es-simplicitytop-menu-children-name",
70442
+ },
70443
+ [
70444
+ _vm._v(
70445
+ "\n " +
70446
+ _vm._s(child.text) +
70447
+ "\n "
70448
+ ),
70449
+ ]
70435
70450
  ),
70436
70451
  ]
70437
- ),
70438
- ]
70439
- )
70452
+ )
70453
+ : _vm._e()
70440
70454
  }),
70441
70455
  0
70442
70456
  ),
@@ -70472,6 +70486,36 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70472
70486
  ],
70473
70487
  1
70474
70488
  ),
70489
+ _vm.currentPage.appCode && _vm.currentPage.appCode !== "indexUrl"
70490
+ ? _c(
70491
+ "div",
70492
+ { staticClass: "es-simplicitytop-main-fourth-tabs" },
70493
+ [
70494
+ _c(
70495
+ "el-tabs",
70496
+ {
70497
+ ref: "fourthTab",
70498
+ on: { "tab-click": _vm.fourthTabClick },
70499
+ model: {
70500
+ value: _vm.tabActiveName,
70501
+ callback: function ($$v) {
70502
+ _vm.tabActiveName = $$v
70503
+ },
70504
+ expression: "tabActiveName",
70505
+ },
70506
+ },
70507
+ _vm._l(_vm.fourthTabs, function (item, index) {
70508
+ return _c("el-tab-pane", {
70509
+ key: index,
70510
+ attrs: { label: item.text, name: item.id },
70511
+ })
70512
+ }),
70513
+ 1
70514
+ ),
70515
+ ],
70516
+ 1
70517
+ )
70518
+ : _vm._e(),
70475
70519
  _c(
70476
70520
  "div",
70477
70521
  { staticClass: "es-simplicitytop-main-router" },
@@ -70674,12 +70718,6 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70674
70718
  1
70675
70719
  ),
70676
70720
  ]),
70677
- false
70678
- ? undefined
70679
- : _vm._e(),
70680
- false
70681
- ? undefined
70682
- : _vm._e(),
70683
70721
  _c(
70684
70722
  "settings",
70685
70723
  _vm._b(
@@ -70704,11 +70742,41 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render = function ()
70704
70742
  false
70705
70743
  )
70706
70744
  ),
70745
+ _c(
70746
+ "es-dialog",
70747
+ {
70748
+ attrs: {
70749
+ title: _vm.dialog.title,
70750
+ visible: _vm.dialog.show,
70751
+ size: "md",
70752
+ },
70753
+ on: {
70754
+ "update:visible": function ($event) {
70755
+ _vm.$set(_vm.dialog, "show", $event)
70756
+ },
70757
+ },
70758
+ },
70759
+ [
70760
+ _vm.dialog.title == "查看在线人员" && !_vm.dialog.src
70761
+ ? [_c("online")]
70762
+ : _vm.dialog.show
70763
+ ? _c("iframe", {
70764
+ attrs: {
70765
+ width: "100%",
70766
+ height: "100%",
70767
+ frameborder: "0",
70768
+ src: _vm.dialog.src,
70769
+ },
70770
+ })
70771
+ : _vm._e(),
70772
+ ],
70773
+ 2
70774
+ ),
70707
70775
  ],
70708
70776
  1
70709
70777
  )
70710
70778
  }
70711
- var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_staticRenderFns = [
70779
+ var simplicityTopvue_type_template_id_5a47c4f6_scoped_true_staticRenderFns = [
70712
70780
  function () {
70713
70781
  var _vm = this
70714
70782
  var _h = _vm.$createElement
@@ -70720,10 +70788,10 @@ var simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_staticRenderFns = [
70720
70788
  ])
70721
70789
  },
70722
70790
  ]
70723
- simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render._withStripped = true
70791
+ simplicityTopvue_type_template_id_5a47c4f6_scoped_true_render._withStripped = true
70724
70792
 
70725
70793
 
70726
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=7e7a3d7a&scoped=true&
70794
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=5a47c4f6&scoped=true&
70727
70795
 
70728
70796
  // 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&
70729
70797
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -74872,252 +74940,6 @@ var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (ta
74872
74940
  //
74873
74941
  //
74874
74942
  //
74875
- //
74876
- //
74877
- //
74878
- //
74879
- //
74880
- //
74881
- //
74882
- //
74883
- //
74884
- //
74885
- //
74886
- //
74887
- //
74888
- //
74889
- //
74890
- //
74891
- //
74892
- //
74893
- //
74894
- //
74895
- //
74896
- //
74897
- //
74898
- //
74899
- //
74900
- //
74901
- //
74902
- //
74903
- //
74904
- //
74905
- //
74906
- //
74907
- //
74908
- //
74909
- //
74910
- //
74911
- //
74912
- //
74913
- //
74914
- //
74915
- //
74916
- //
74917
- //
74918
- //
74919
- //
74920
- //
74921
- //
74922
- //
74923
- //
74924
- //
74925
- //
74926
- //
74927
- //
74928
- //
74929
- //
74930
- //
74931
- //
74932
- //
74933
- //
74934
- //
74935
- //
74936
- //
74937
- //
74938
- //
74939
- //
74940
- //
74941
- //
74942
- //
74943
- //
74944
- //
74945
- //
74946
- //
74947
- //
74948
- //
74949
- //
74950
- //
74951
- //
74952
- //
74953
- //
74954
- //
74955
- //
74956
- //
74957
- //
74958
- //
74959
- //
74960
- //
74961
- //
74962
- //
74963
- //
74964
- //
74965
- //
74966
- //
74967
- //
74968
- //
74969
- //
74970
- //
74971
- //
74972
- //
74973
- //
74974
- //
74975
- //
74976
- //
74977
- //
74978
- //
74979
- //
74980
- //
74981
- //
74982
- //
74983
- //
74984
- //
74985
- //
74986
- //
74987
- //
74988
- //
74989
- //
74990
- //
74991
- //
74992
- //
74993
- //
74994
- //
74995
- //
74996
- //
74997
- //
74998
- //
74999
- //
75000
- //
75001
- //
75002
- //
75003
- //
75004
- //
75005
- //
75006
- //
75007
- //
75008
- //
75009
- //
75010
- //
75011
- //
75012
- //
75013
- //
75014
- //
75015
- //
75016
- //
75017
- //
75018
- //
75019
- //
75020
- //
75021
- //
75022
- //
75023
- //
75024
- //
75025
- //
75026
- //
75027
- //
75028
- //
75029
- //
75030
- //
75031
- //
75032
- //
75033
- //
75034
- //
75035
- //
75036
- //
75037
- //
75038
- //
75039
- //
75040
- //
75041
- //
75042
- //
75043
- //
75044
- //
75045
- //
75046
- //
75047
- //
75048
- //
75049
- //
75050
- //
75051
- //
75052
- //
75053
- //
75054
- //
75055
- //
75056
- //
75057
- //
75058
- //
75059
- //
75060
- //
75061
- //
75062
- //
75063
- //
75064
- //
75065
- //
75066
- //
75067
- //
75068
- //
75069
- //
75070
- //
75071
- //
75072
- //
75073
- //
75074
- //
75075
- //
75076
- //
75077
- //
75078
- //
75079
- //
75080
- //
75081
- //
75082
- //
75083
- //
75084
- //
75085
- //
75086
- //
75087
- //
75088
- //
75089
- //
75090
- //
75091
- //
75092
- //
75093
- //
75094
- //
75095
- //
75096
- //
75097
- //
75098
- //
75099
- //
75100
- //
75101
- //
75102
- //
75103
- //
75104
- //
75105
- //
75106
- //
75107
- //
75108
- //
75109
- //
75110
- //
75111
- //
75112
- //
75113
- //
75114
- //
75115
- //
75116
- //
75117
- //
75118
- //
75119
- //
75120
- //
75121
74943
 
75122
74944
 
75123
74945
 
@@ -75190,7 +75012,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75190
75012
  return {
75191
75013
  esMain: this,
75192
75014
  refresh: this.handleRefresh,
75193
- jumpMenu: this.jumpMenu
75015
+ jumpMenu: this.jumpTopMenu
75194
75016
  };
75195
75017
  },
75196
75018
 
@@ -75377,199 +75199,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75377
75199
  }
75378
75200
  },
75379
75201
  icons: Object,
75380
- myRemind: {
75381
- type: Array,
75382
- default: function _default() {
75383
- return [{
75384
- badge: true,
75385
- icon: 'es-icon-solid-shijian',
75386
- id: '589cdcff17f44a58bccb5b44de0e90c5',
75387
- text: '待办事项',
75388
- icons: '',
75389
- url: '/bpm/wfPending/wfPending/makeList.dhtml',
75390
- target: 'stage',
75391
- sort: 1,
75392
- remindurl: 'http://boot-gateway:8080/bpm/wfPending/wfPending/getMakeNum.dhtml',
75393
- pid: 'd92e4c724cc74b13a4119f644eff0be8',
75394
- level: 3,
75395
- quickicons: '',
75396
- appType: '0',
75397
- urlopenmode: 0,
75398
- hasPermission: false,
75399
- appId: '',
75400
- extendData: {
75401
- businessStatus: 1,
75402
- businessWarnMsg: ''
75403
- },
75404
- fourthTabs: [],
75405
- children: [],
75406
- method: 'iframe',
75407
- loading: false,
75408
- num: 0
75409
- }, {
75410
- badge: false,
75411
- icon: 'es-icon-solid-yiban',
75412
- id: '259600a64a6840a4952251fe0a7bd890',
75413
- text: '已办事项',
75414
- icons: '',
75415
- url: '/bpm/wfpened/wfPended/list.dhtml?viewName=yibing',
75416
- target: 'stage',
75417
- sort: 3,
75418
- remindurl: '',
75419
- pid: 'd92e4c724cc74b13a4119f644eff0be8',
75420
- level: 3,
75421
- quickicons: '',
75422
- appType: '0',
75423
- appCode: 'yibingwdyb',
75424
- urlopenmode: 0,
75425
- hasPermission: false,
75426
- appId: '',
75427
- fourthTabs: [],
75428
- children: [],
75429
- method: 'iframe',
75430
- loading: false,
75431
- num: 0
75432
- }, {
75433
- text: '待签公文',
75434
- badge: true,
75435
- num: 0,
75436
- icon: 'es-icon-solid-daiqiangongwen',
75437
- id: '03158b72e0d644f6ae97e55ee598a17d',
75438
- url: '/archives-ui/webpack/index.html#/sign/signList',
75439
- remindurl: '',
75440
- pid: 'ec4a6e89b1b346a4a2e8f4245e315da3',
75441
- appCode: 'signList',
75442
- appId: 'q291a124fc151se5b4b890191c65e485',
75443
- fourthTabs: [],
75444
- children: [],
75445
- method: 'wujie'
75446
- }, {
75447
- badge: true,
75448
- icon: 'es-icon-juqiangongwen',
75449
- id: 'bbc03189766441e6a46550c556d61f03',
75450
- text: '拒签公文',
75451
- icons: '',
75452
- url: '/archives-ui/webpack/index.html#/dispatch/rejectedList',
75453
- target: 'stage',
75454
- sort: 4,
75455
- remindurl: '',
75456
- pid: '7fd13c86f596417b95d2b7622906f70f',
75457
- level: 3,
75458
- quickicons: '',
75459
- appType: '0',
75460
- appCode: 'rejectedList',
75461
- urlopenmode: 0,
75462
- hasPermission: false,
75463
- appId: 'q291a124fc151se5b4b890191c65e485',
75464
- extendData: {
75465
- businessStatus: 1,
75466
- businessWarnMsg: ''
75467
- },
75468
- fourthTabs: [],
75469
- children: [],
75470
- method: 'wujie'
75471
- }, {
75472
- badge: true,
75473
- num: 0,
75474
- icon: 'es-icon-solid-ziliao',
75475
- routerName: '',
75476
- id: 'df9d1baedf6a4107bfa9f5d763a98fc0',
75477
- text: '待收资料',
75478
- icons: '',
75479
- url: '/oa/sharefiles/receive/list.dhtml',
75480
- target: 'stage',
75481
- sort: 0,
75482
- remindurl: '',
75483
- pid: 'd648a3e7ae16458a823fdbe911e4d76e',
75484
- level: 2,
75485
- quickicons: '',
75486
- appType: '1',
75487
- appCode: 'sharefilesReceive',
75488
- urlopenmode: 0,
75489
- hasPermission: false,
75490
- appId: 'q291a124fc151se5b4b890191c65e485',
75491
- extendData: {
75492
- businessStatus: 1,
75493
- businessWarnMsg: ''
75494
- },
75495
- fourthTabs: [],
75496
- children: [],
75497
- method: 'iframe',
75498
- loading: false
75499
- }, {
75500
- text: '待签会议',
75501
- badge: true,
75502
- num: 0,
75503
- icon: 'es-icon-solid-huiyileixing',
75504
- id: '407eff212ecd4355ad1fb28c8de6e882',
75505
- icons: '',
75506
- url: '/conference/meetingReceive/receive_list.dhtml?meetState=-5',
75507
- target: 'stage',
75508
- sort: 0,
75509
- remindurl: '',
75510
- pid: 'bc1b01feafc64ae68beed2da5559ff7c',
75511
- level: 3,
75512
- quickicons: '',
75513
- appType: '0',
75514
- appCode: 'hyqs',
75515
- urlopenmode: 0,
75516
- hasPermission: false,
75517
- appId: '',
75518
- extendData: {
75519
- businessStatus: 1,
75520
- businessWarnMsg: ''
75521
- },
75522
- fourthTabs: [{
75523
- id: 'c2d3fb3c7d684b06b4511233a6b5f03b',
75524
- text: '未签收',
75525
- icons: '',
75526
- url: '/conference/meetingReceive/receive_list.dhtml?meetState=-5',
75527
- target: 'stage',
75528
- sort: 1,
75529
- remindurl: '',
75530
- pid: '407eff212ecd4355ad1fb28c8de6e882',
75531
- level: 4,
75532
- quickicons: '',
75533
- appType: '0',
75534
- appCode: 'wqsmeeting',
75535
- urlopenmode: 0,
75536
- hasPermission: false,
75537
- appId: '',
75538
- extendData: {
75539
- businessStatus: 1,
75540
- businessWarnMsg: ''
75541
- },
75542
- fourthTabs: [],
75543
- children: []
75544
- }, {
75545
- id: '9990c8064694403ba5ee85f098738aab',
75546
- text: '已签收',
75547
- icons: '',
75548
- url: '/conference/meetingReceive/receive_list.dhtml?meetState=-6',
75549
- target: 'stage',
75550
- sort: 2,
75551
- remindurl: '',
75552
- pid: '407eff212ecd4355ad1fb28c8de6e882',
75553
- level: 4,
75554
- quickicons: '',
75555
- appType: '0',
75556
- appCode: 'yqs',
75557
- urlopenmode: 0,
75558
- hasPermission: false,
75559
- appId: '',
75560
- extendData: {
75561
- businessStatus: 1,
75562
- businessWarnMsg: ''
75563
- },
75564
- fourthTabs: [],
75565
- children: []
75566
- }],
75567
- children: [],
75568
- method: 'iframe',
75569
- loading: false
75570
- }];
75571
- }
75572
- },
75202
+
75573
75203
  userCommonMenu: {
75574
75204
  type: String,
75575
75205
  default: queryUseCommonMenu
@@ -75577,6 +75207,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75577
75207
  },
75578
75208
  data: function data() {
75579
75209
  return {
75210
+ tabActiveName: '',
75580
75211
  currentPage: {
75581
75212
  method: ''
75582
75213
  },
@@ -75588,9 +75219,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75588
75219
  systemurl: null,
75589
75220
  icons: '',
75590
75221
  sort: 4,
75591
- menuCode: 'dispatch_org',
75222
+ appCode: 'dispatch_org',
75592
75223
  urlopenmode: 0,
75593
- defaultMenu: 1
75224
+ defaultMenu: 1,
75225
+ pid: 'cc529d06f2fe4c9aa5956e7f540b8cd2'
75594
75226
  }, {
75595
75227
  id: '00c9e4e6e9974a789dbf2d99620c1773',
75596
75228
  menutype: 1,
@@ -75599,9 +75231,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75599
75231
  systemurl: null,
75600
75232
  icons: '',
75601
75233
  sort: 5,
75602
- menuCode: 'sharefilesSend',
75234
+ appCode: 'sharefilesSend',
75603
75235
  urlopenmode: 0,
75604
- defaultMenu: 1
75236
+ defaultMenu: 1,
75237
+ pid: 'd648a3e7ae16458a823fdbe911e4d76e'
75605
75238
  }, {
75606
75239
  id: '7588320f81dd49d09fd8832037b1c57a',
75607
75240
  menutype: 0,
@@ -75610,9 +75243,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75610
75243
  systemurl: null,
75611
75244
  icons: '',
75612
75245
  sort: 1,
75613
- menuCode: 'receiptAdd',
75246
+ appCode: 'receiptAdd',
75614
75247
  urlopenmode: 0,
75615
- defaultMenu: 0
75248
+ defaultMenu: 0,
75249
+ pid: 'ec4a6e89b1b346a4a2e8f4245e315da3'
75616
75250
  }],
75617
75251
  //是否显示头像
75618
75252
  showAvatar: this.avatar,
@@ -75734,7 +75368,198 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75734
75368
  //展示系统操作按钮标题类型
75735
75369
  showTitleType: this.showHandlerTitleType,
75736
75370
  layout: this.scene.toLowerCase(),
75737
- reladding: false
75371
+ reladding: false,
75372
+ fourthTabs: [],
75373
+ jumpMenu: this.handleSelect,
75374
+ myRemind: [{
75375
+ badge: true,
75376
+ icon: 'es-icon-solid-shijian',
75377
+ id: '589cdcff17f44a58bccb5b44de0e90c5',
75378
+ text: '待办事项',
75379
+ icons: '',
75380
+ url: '/bpm/wfPending/wfPending/makeList.dhtml',
75381
+ target: 'stage',
75382
+ sort: 1,
75383
+ remindurl: 'http://boot-gateway:8080/bpm/wfPending/wfPending/getMakeNum.dhtml',
75384
+ pid: 'd92e4c724cc74b13a4119f644eff0be8',
75385
+ level: 3,
75386
+ quickicons: '',
75387
+ appType: '0',
75388
+ appCode: 'pengding_make1',
75389
+ urlopenmode: 0,
75390
+ hasPermission: false,
75391
+ appId: '',
75392
+ extendData: {
75393
+ businessStatus: 1,
75394
+ businessWarnMsg: ''
75395
+ },
75396
+ fourthTabs: [],
75397
+ children: [],
75398
+ method: 'iframe',
75399
+ loading: false,
75400
+ num: 0
75401
+ }, {
75402
+ badge: false,
75403
+ icon: 'es-icon-solid-yiban',
75404
+ id: '259600a64a6840a4952251fe0a7bd890',
75405
+ text: '已办事项',
75406
+ icons: '',
75407
+ url: '/bpm/wfpened/wfPended/list.dhtml?viewName=yibing',
75408
+ target: 'stage',
75409
+ sort: 3,
75410
+ remindurl: '',
75411
+ pid: 'd92e4c724cc74b13a4119f644eff0be8',
75412
+ level: 3,
75413
+ quickicons: '',
75414
+ appType: '0',
75415
+ appCode: 'yibingwdyb',
75416
+ urlopenmode: 0,
75417
+ hasPermission: false,
75418
+ appId: '',
75419
+ fourthTabs: [],
75420
+ children: [],
75421
+ method: 'iframe',
75422
+ loading: false,
75423
+ num: 0
75424
+ }, {
75425
+ text: '待签公文',
75426
+ badge: true,
75427
+ num: 0,
75428
+ icon: 'es-icon-solid-daiqiangongwen',
75429
+ id: '03158b72e0d644f6ae97e55ee598a17d',
75430
+ url: '/archives-ui/webpack/index.html#/sign/signList',
75431
+ remindurl: '',
75432
+ pid: 'ec4a6e89b1b346a4a2e8f4245e315da3',
75433
+ appCode: 'signList',
75434
+ appId: 'q291a124fc151se5b4b890191c65e485',
75435
+ fourthTabs: [],
75436
+ children: [],
75437
+ method: 'wujie'
75438
+ }, {
75439
+ badge: true,
75440
+ icon: 'es-icon-juqiangongwen',
75441
+ id: 'bbc03189766441e6a46550c556d61f03',
75442
+ text: '拒签公文',
75443
+ icons: '',
75444
+ url: '/archives-ui/webpack/index.html#/dispatch/rejectedList',
75445
+ target: 'stage',
75446
+ sort: 4,
75447
+ remindurl: '',
75448
+ pid: '7fd13c86f596417b95d2b7622906f70f',
75449
+ level: 3,
75450
+ quickicons: '',
75451
+ appType: '0',
75452
+ appCode: 'rejectedList',
75453
+ urlopenmode: 0,
75454
+ hasPermission: false,
75455
+ appId: 'q291a124fc151se5b4b890191c65e485',
75456
+ extendData: {
75457
+ businessStatus: 1,
75458
+ businessWarnMsg: ''
75459
+ },
75460
+ fourthTabs: [],
75461
+ children: [],
75462
+ method: 'wujie'
75463
+ }, {
75464
+ badge: true,
75465
+ num: 0,
75466
+ icon: 'es-icon-solid-ziliao',
75467
+ routerName: '',
75468
+ id: 'df9d1baedf6a4107bfa9f5d763a98fc0',
75469
+ text: '待收资料',
75470
+ icons: '',
75471
+ url: '/oa/sharefiles/receive/list.dhtml',
75472
+ target: 'stage',
75473
+ sort: 0,
75474
+ remindurl: '',
75475
+ pid: 'd648a3e7ae16458a823fdbe911e4d76e',
75476
+ level: 2,
75477
+ quickicons: '',
75478
+ appType: '1',
75479
+ appCode: 'sharefilesReceive',
75480
+ urlopenmode: 0,
75481
+ hasPermission: false,
75482
+ appId: 'q291a124fc151se5b4b890191c65e485',
75483
+ extendData: {
75484
+ businessStatus: 1,
75485
+ businessWarnMsg: ''
75486
+ },
75487
+ fourthTabs: [],
75488
+ children: [],
75489
+ method: 'iframe',
75490
+ loading: false
75491
+ }, {
75492
+ text: '待签会议',
75493
+ badge: true,
75494
+ num: 0,
75495
+ icon: 'es-icon-solid-huiyileixing',
75496
+ id: '407eff212ecd4355ad1fb28c8de6e882',
75497
+ icons: '',
75498
+ url: '/conference/meetingReceive/receive_list.dhtml?meetState=-5',
75499
+ target: 'stage',
75500
+ sort: 0,
75501
+ remindurl: '',
75502
+ pid: 'bc1b01feafc64ae68beed2da5559ff7c',
75503
+ level: 3,
75504
+ quickicons: '',
75505
+ appType: '0',
75506
+ appCode: 'hyqs',
75507
+ urlopenmode: 0,
75508
+ hasPermission: false,
75509
+ appId: '',
75510
+ extendData: {
75511
+ businessStatus: 1,
75512
+ businessWarnMsg: ''
75513
+ },
75514
+ fourthTabs: [{
75515
+ id: 'c2d3fb3c7d684b06b4511233a6b5f03b',
75516
+ text: '未签收',
75517
+ icons: '',
75518
+ url: '/conference/meetingReceive/receive_list.dhtml?meetState=-5',
75519
+ target: 'stage',
75520
+ sort: 1,
75521
+ remindurl: '',
75522
+ pid: '407eff212ecd4355ad1fb28c8de6e882',
75523
+ level: 4,
75524
+ quickicons: '',
75525
+ appType: '0',
75526
+ appCode: 'wqsmeeting',
75527
+ urlopenmode: 0,
75528
+ hasPermission: false,
75529
+ appId: '',
75530
+ extendData: {
75531
+ businessStatus: 1,
75532
+ businessWarnMsg: ''
75533
+ },
75534
+ fourthTabs: [],
75535
+ children: []
75536
+ }, {
75537
+ id: '9990c8064694403ba5ee85f098738aab',
75538
+ text: '已签收',
75539
+ icons: '',
75540
+ url: '/conference/meetingReceive/receive_list.dhtml?meetState=-6',
75541
+ target: 'stage',
75542
+ sort: 2,
75543
+ remindurl: '',
75544
+ pid: '407eff212ecd4355ad1fb28c8de6e882',
75545
+ level: 4,
75546
+ quickicons: '',
75547
+ appType: '0',
75548
+ appCode: 'yqs',
75549
+ urlopenmode: 0,
75550
+ hasPermission: false,
75551
+ appId: '',
75552
+ extendData: {
75553
+ businessStatus: 1,
75554
+ businessWarnMsg: ''
75555
+ },
75556
+ fourthTabs: [],
75557
+ children: []
75558
+ }],
75559
+ children: [],
75560
+ method: 'iframe',
75561
+ loading: false
75562
+ }]
75738
75563
  };
75739
75564
  },
75740
75565
 
@@ -75834,15 +75659,32 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75834
75659
  this.doorIndex = sessionStorage.getItem('doorIndex');
75835
75660
  },
75836
75661
  mounted: function mounted() {
75837
- this.handleListener();
75662
+ // this.handleListener();
75838
75663
  this.getNums();
75839
- window.top.jumpTopMenu = this.handleSelect;
75664
+ window.top.jumpMenu = window.top.jumpTopMenu = this.handleSelect;
75840
75665
  },
75841
75666
 
75842
75667
  methods: {
75668
+ // tab点击事件
75669
+ fourthTabClick: function fourthTabClick(res) {
75670
+ var _this2 = this;
75671
+
75672
+ var index = res.index;
75673
+ this.currentPage = {
75674
+ appCode: this.fourthTabs[index]
75675
+ };
75676
+ console.log(this.currentPage, 'this.currentPage');
75677
+
75678
+ // console.log(this.fourthTabs[index], 'this.fourthTabs[index]');
75679
+ // 增加阻塞 重载页面
75680
+ setTimeout(function () {
75681
+ _this2.currentPage = _this2.setIframeType(_this2.fourthTabs[index]);
75682
+ }, 0);
75683
+ },
75684
+
75843
75685
  //获取数量
75844
75686
  getNums: function getNums() {
75845
- var _this2 = this;
75687
+ var _this3 = this;
75846
75688
 
75847
75689
  this.getIndexCount();
75848
75690
  this.getUserTipsInstanceNum(0);
@@ -75852,7 +75694,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75852
75694
  this.reladding = true;
75853
75695
  if (this.reladding) {
75854
75696
  setTimeout(function () {
75855
- _this2.reladding = false;
75697
+ _this3.reladding = false;
75856
75698
  }, 1000);
75857
75699
  }
75858
75700
  },
@@ -75861,7 +75703,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75861
75703
  * getVoteMeetingNum: 查询会议数量
75862
75704
  */
75863
75705
  getVoteMeetingNum: function getVoteMeetingNum() {
75864
- var _this3 = this;
75706
+ var _this4 = this;
75865
75707
 
75866
75708
  utils_util.ajax({
75867
75709
  url: api_getVoteMeetingNum,
@@ -75872,8 +75714,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75872
75714
  method: 'get'
75873
75715
  }).then(function (res) {
75874
75716
  if (res.rCode === 0) {
75875
- _this3.myRemind[5].num = res.results > 99 ? '99+' : res.results;
75876
- console.log('查询会议数量', res.results);
75717
+ _this4.myRemind[5].num = res.results > 99 ? '99+' : res.results;
75877
75718
  }
75878
75719
  });
75879
75720
  },
@@ -75882,7 +75723,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75882
75723
  * getShareFilesReceiveCountNew: 查询待接收文件数量
75883
75724
  */
75884
75725
  getShareFilesReceiveCountNew: function getShareFilesReceiveCountNew() {
75885
- var _this4 = this;
75726
+ var _this5 = this;
75886
75727
 
75887
75728
  utils_util.ajax({
75888
75729
  url: api_getShareFilesReceiveCountNew,
@@ -75892,7 +75733,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75892
75733
  method: 'get'
75893
75734
  }).then(function (res) {
75894
75735
  if (res.rCode === 0) {
75895
- _this4.myRemind[4].num = res.results > 99 ? '99+' : res.results;
75736
+ _this5.myRemind[4].num = res.results > 99 ? '99+' : res.results;
75896
75737
  }
75897
75738
  });
75898
75739
  },
@@ -75902,7 +75743,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75902
75743
  * getUserTipsInstanceNum: 查询待签收/据签收任务数量 1是拒签收 0是待签收
75903
75744
  */
75904
75745
  getUserTipsInstanceNum: function getUserTipsInstanceNum(type) {
75905
- var _this5 = this;
75746
+ var _this6 = this;
75906
75747
 
75907
75748
  var params = '?subjectCode=signCount&state=0&userId=' + utils_util.getStorage('userId') + '&queryOrgType=-1';
75908
75749
  if (type) {
@@ -75914,9 +75755,9 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75914
75755
  }).then(function (res) {
75915
75756
  if (res.rCode === 0) {
75916
75757
  if (type) {
75917
- _this5.myRemind[3].num = res.results > 99 ? '99+' : res.results;
75758
+ _this6.myRemind[3].num = res.results > 99 ? '99+' : res.results;
75918
75759
  } else {
75919
- _this5.myRemind[2].num = res.results > 99 ? '99+' : res.results;
75760
+ _this6.myRemind[2].num = res.results > 99 ? '99+' : res.results;
75920
75761
  }
75921
75762
  } else {
75922
75763
  console.error('查询待签收/据签收任务数量失败', res);
@@ -75928,7 +75769,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75928
75769
  * getIndexCount: 查询待办任务数量
75929
75770
  */
75930
75771
  getIndexCount: function getIndexCount() {
75931
- var _this6 = this;
75772
+ var _this7 = this;
75932
75773
 
75933
75774
  utils_util.ajax({
75934
75775
  url: api_getIndexCount,
@@ -75940,8 +75781,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75940
75781
  if (res.rCode === 0) {
75941
75782
  var makePendingCount = res.results.makePendingCount || 0;
75942
75783
  var pendedCount = res.results.pendedCount || 0;
75943
- _this6.myRemind[0].num = makePendingCount > 99 ? '99+' : makePendingCount;
75944
- _this6.myRemind[1].num = pendedCount > 99 ? '99+' : pendedCount;
75784
+ _this7.myRemind[0].num = makePendingCount > 99 ? '99+' : makePendingCount;
75785
+ _this7.myRemind[1].num = pendedCount > 99 ? '99+' : pendedCount;
75945
75786
  } else {
75946
75787
  console.error('查询待办任务数量失败', res);
75947
75788
  }
@@ -76007,6 +75848,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76007
75848
  this.setConfig(results);
76008
75849
  if (this.remote && first) {
76009
75850
  this.getApplications();
75851
+ // 此处的快捷 是用户自定义的 不是系统配置的快捷菜单 所以注释掉
76010
75852
  // this.getUseCommonMenu();
76011
75853
  }
76012
75854
  },
@@ -76182,7 +76024,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76182
76024
  * @desc:获取用户自定义菜单
76183
76025
  **/
76184
76026
  getUseCommonMenu: function getUseCommonMenu() {
76185
- var _this7 = this;
76027
+ var _this8 = this;
76186
76028
 
76187
76029
  utils_util.ajax({
76188
76030
  url: this.userCommonMenu,
@@ -76194,17 +76036,17 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76194
76036
  }).then(function (res) {
76195
76037
  if (res.rCode === 0) {
76196
76038
  if (res.results && Object.keys(res.results).length) {
76197
- _this7.userCommonMenuList = res.results;
76039
+ _this8.userCommonMenuList = res.results;
76198
76040
  } else {
76199
- _this7.$message.error('未分配应用菜单权限,请联系管理员!');
76041
+ _this8.$message.error('未分配应用菜单权限,请联系管理员!');
76200
76042
  }
76201
76043
  } else {
76202
76044
  var msg = res.msg || '系统错误,请联系管理员!';
76203
- _this7.$message.error(msg);
76045
+ _this8.$message.error(msg);
76204
76046
  }
76205
76047
  }).catch(function (err) {
76206
76048
  if (err.message && err.message !== 'canceled') {
76207
- _this7.$message.error(err.message);
76049
+ _this8.$message.error(err.message);
76208
76050
  }
76209
76051
  });
76210
76052
  },
@@ -76215,15 +76057,15 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76215
76057
  * @date 2024年9月7日
76216
76058
  **/
76217
76059
  getApplications: function getApplications() {
76218
- var _this8 = this;
76060
+ var _this9 = this;
76219
76061
 
76220
76062
  var loading = utils_util.loading('', '加载中...');
76221
76063
  utils_util.ajax({
76222
76064
  url: this.appsUrl,
76223
76065
  defaults: true
76224
76066
  }).then(function (res) {
76225
- if (_this8.socket) {
76226
- _this8.initWebSocket();
76067
+ if (_this9.socket) {
76068
+ _this9.initWebSocket();
76227
76069
  }
76228
76070
  if (res.rCode === 0) {
76229
76071
  if (res.results && Object.keys(res.results).length) {
@@ -76233,29 +76075,29 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76233
76075
  app_system = _res$results.app_system,
76234
76076
  app_user = _res$results.app_user;
76235
76077
 
76236
- _this8.userApps = app_user.filter(function (item) {
76078
+ _this9.userApps = app_user.filter(function (item) {
76237
76079
  return item.permission !== false;
76238
76080
  });
76239
- _this8.applications = all;
76240
- _this8.business = app_special_business_system;
76241
- _this8.systems = app_system;
76242
- _this8.setTips(_this8.userApps);
76243
- _this8.setTips(_this8.applications);
76244
- _this8.setTips(_this8.business);
76245
- _this8.setTips(_this8.systems);
76081
+ _this9.applications = all;
76082
+ _this9.business = app_special_business_system;
76083
+ _this9.systems = app_system;
76084
+ _this9.setTips(_this9.userApps);
76085
+ _this9.setTips(_this9.applications);
76086
+ _this9.setTips(_this9.business);
76087
+ _this9.setTips(_this9.systems);
76246
76088
  } else {
76247
- _this8.$message.error('未分配应用菜单权限,请联系管理员!');
76089
+ _this9.$message.error('未分配应用菜单权限,请联系管理员!');
76248
76090
  }
76249
- _this8.getMenus(loading);
76091
+ _this9.getMenus(loading);
76250
76092
  } else {
76251
76093
  loading.close();
76252
76094
  var msg = res.msg || '系统错误,请联系管理员!';
76253
- _this8.$message.error(msg);
76095
+ _this9.$message.error(msg);
76254
76096
  }
76255
76097
  }).catch(function (err) {
76256
76098
  loading.close();
76257
76099
  if (err.message && err.message !== 'canceled') {
76258
- _this8.$message.error(err.message);
76100
+ _this9.$message.error(err.message);
76259
76101
  }
76260
76102
  });
76261
76103
  },
@@ -76266,33 +76108,26 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76266
76108
  * @date 2024年9月7日
76267
76109
  **/
76268
76110
  getMenus: function getMenus(loading) {
76269
- var _this9 = this;
76270
-
76271
- var menuData = utils_store.get('nav');
76111
+ var _this10 = this;
76272
76112
 
76273
- if (menuData && menuData.length) {
76274
- loading.close();
76275
- this.renderMenus(menuData);
76276
- return;
76277
- }
76278
76113
  utils_util.ajax({ url: this._menuUrl }).then(function (res) {
76279
76114
  loading.close();
76280
76115
  if (res.rCode === 0) {
76281
76116
  if (res.results && res.results.length) {
76282
76117
  //this.$emit('update:menuData', res.results);
76283
76118
  utils_store.set('nav', JSON.parse(JSON.stringify(res.results)));
76284
- _this9.renderMenus(JSON.parse(JSON.stringify(res.results)));
76119
+ _this10.renderMenus(JSON.parse(JSON.stringify(res.results)));
76285
76120
  } else {
76286
- _this9.$message.error('未分配菜单权限,请联系管理员!');
76121
+ _this10.$message.error('未分配菜单权限,请联系管理员!');
76287
76122
  }
76288
76123
  } else {
76289
76124
  var msg = res.msg || '系统错误,请联系管理员!';
76290
- _this9.$message.error(msg);
76125
+ _this10.$message.error(msg);
76291
76126
  }
76292
76127
  }).catch(function (err) {
76293
76128
  loading.close();
76294
76129
  if (err.message && err.message !== 'canceled') {
76295
- _this9.$message.error(err.message);
76130
+ _this10.$message.error(err.message);
76296
76131
  }
76297
76132
  });
76298
76133
  },
@@ -76303,100 +76138,76 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76303
76138
  * @date 2024年9月7日
76304
76139
  **/
76305
76140
  renderMenus: function renderMenus(res) {
76306
- this.menus = res;
76141
+ // console.log(res, 'renderMenus');
76142
+ // 此主题样式的情况下 只显示二级菜单 三级菜单以tab的形式加载 如果没有三级菜单 1.不需要展示tab,2.tab为二级菜单
76143
+ var rebuildMenu = res.map(function (level1Menu) {
76144
+ var transformedLevel1 = simplicityTopvue_type_script_lang_js_extends({}, level1Menu, {
76145
+ children: level1Menu.children.map(function (level2Menu) {
76146
+ var transformedLevel2 = simplicityTopvue_type_script_lang_js_extends({}, level2Menu, {
76147
+ // 处理三级菜单
76148
+ fourthTabs: level2Menu.children && level2Menu.children.length > 0 ? level2Menu.children.map(function (level3Menu) {
76149
+ return simplicityTopvue_type_script_lang_js_extends({}, level3Menu);
76150
+ }) : [simplicityTopvue_type_script_lang_js_extends({}, level2Menu)]
76151
+ });
76152
+
76153
+ // 清除children,避免渲染问题
76154
+ transformedLevel2.children = [];
76155
+
76156
+ return transformedLevel2;
76157
+ })
76158
+ });
76159
+
76160
+ return transformedLevel1;
76161
+ });
76162
+
76163
+ // 判断myRemind中每个项是否在菜单列表中,并设置hasPermission
76164
+ this.updateRemindPermission(res);
76165
+
76166
+ // console.log('rebuildMenu', rebuildMenu);
76167
+
76168
+ this.menus = rebuildMenu;
76307
76169
  this.setTips(this.menus);
76308
76170
  utils_store.set('nav', this.menus);
76309
- if (this.indexUrl) {
76310
- var obj = this.getMenu(this.menus, this.indexUrl);
76311
- obj = obj ? JSON.parse(JSON.stringify(obj)) : {
76312
- url: this.indexUrl,
76313
- text: this.indexTitle,
76314
- id: '0',
76315
- appCode: 'indexUrl'
76316
- };
76317
- this.homePage = this.setIframeType(obj);
76318
- this.currentPage = this.homePage;
76319
- // console.log(this.currentPage, 'currentPagecurrentPage');
76171
+ var obj = this.getMenu(this.menus, this.indexUrl);
76172
+ obj = obj ? JSON.parse(JSON.stringify(obj)) : {
76173
+ url: this.indexUrl,
76174
+ text: this.indexTitle,
76175
+ id: '0',
76176
+ appCode: 'indexUrl'
76177
+ };
76178
+ this.homePage = this.setIframeType(obj);
76179
+ this.currentPage = this.homePage;
76180
+ // console.log(this.currentPage, 'currentPage');
76181
+ },
76320
76182
 
76321
- if (!this.appCode) {
76322
- this.tabs = [this.homePage];
76323
- this.activeName = this.homePage.id;
76324
- }
76325
- }
76326
- if (this.appCode) {
76327
- var code = this.sysCode || this.appCode;
76328
- var app = this.userApps.filter(function (item) {
76329
- return item.code === code;
76330
- })[0];
76331
- if (app) {
76332
- this.active = app.id;
76333
- if (app.url) {
76334
- var _obj = this.getMenu(this.menus, app.url);
76335
- if (_obj) {
76336
- _obj = JSON.parse(JSON.stringify(_obj));
76337
- var tab = this.setIframeType(_obj);
76338
- this.tabs = [tab];
76339
- this.activeName = tab.id;
76340
- } else {
76341
- this.tabs = [app];
76342
- }
76343
- }
76344
- }
76345
- if (this.sysCode) {
76346
- var subMenus = this.getMenu(this.menus, this.sysCode, 'appCode');
76347
- if (subMenus) {
76348
- var _obj2 = this.getMenu(this.menus, this.appCode, 'appCode');
76349
- if (_obj2) {
76350
- if (_obj2.url) {
76351
- _obj2 = JSON.parse(JSON.stringify(_obj2));
76352
- } else {
76353
- _obj2 = JSON.parse(JSON.stringify(this.getFirst(_obj2)));
76354
- }
76355
- this.subActive = _obj2.id;
76356
- var _tab = this.setIframeType(_obj2);
76357
- this.tabs = [_tab];
76358
- this.activeName = _tab.id;
76359
- } else {
76360
- this.subActive = '';
76361
- }
76362
- this.subMenus = subMenus;
76363
- this.showMenu = subMenus.children && subMenus.children.length > 0 || subMenus.fourthTabs && subMenus.fourthTabs.length > 0;
76364
- } else {
76365
- this.subMenus = null;
76366
- this.showMenu = false;
76367
- this.$message.error('未分配菜单权限,请联系管理员!');
76368
- }
76369
- } else {
76370
- var _subMenus = this.getMenu(this.menus, this.appCode, 'appCode');
76371
- if (_subMenus) {
76372
- if (this.tabs.length == 0) {
76373
- var _obj3 = this.getFirst(_subMenus);
76374
- if (_obj3) {
76375
- _obj3 = JSON.parse(JSON.stringify(_obj3));
76376
- this.subActive = _obj3.id;
76377
- var _tab2 = this.setIframeType(_obj3);
76378
- this.tabs = [_tab2];
76379
- this.activeName = _tab2.id;
76380
- } else {
76381
- this.subActive = '';
76382
- }
76383
- }
76384
- this.subMenus = _subMenus;
76385
- this.showMenu = _subMenus.children && _subMenus.children.length > 0 || _subMenus.fourthTabs && _subMenus.fourthTabs.length > 0;
76386
- } else {
76387
- this.subMenus = null;
76388
- this.showMenu = false;
76389
- this.$message.error('未分配菜单权限,请联系管理员!');
76183
+ /**
76184
+ * 更新myRemind中各项的权限状态
76185
+ * @param {Array} menus - 完整的菜单列表
76186
+ */
76187
+ updateRemindPermission: function updateRemindPermission(menus) {
76188
+ // 创建一个Set存储所有菜单的id,方便快速查找
76189
+ var menuIdSet = new Set();
76190
+ // 递归遍历菜单列表,收集所有id
76191
+ var collectMenuIds = function collectMenuIds(menuList) {
76192
+ menuList.forEach(function (menu) {
76193
+ menuIdSet.add(menu.id);
76194
+ if (menu.children && menu.children.length > 0) {
76195
+ collectMenuIds(menu.children);
76390
76196
  }
76391
- }
76392
- } else if (this.initApps && this.initApps.length && !this.indexUrl) {
76393
- var _obj4 = this.getMenu(this.menus, this.initApps[this.initApps.length - 1]);
76394
- if (_obj4) {
76395
- var _tab3 = this.setIframeType(JSON.parse(JSON.stringify(_obj4)));
76396
- this.tabs.push(_tab3);
76397
- this.activeName = _tab3.id;
76398
- }
76399
- }
76197
+ });
76198
+ };
76199
+ // 收集所有菜单id
76200
+ collectMenuIds(menus);
76201
+ // 更新myRemind中各项的hasPermission
76202
+ this.myRemind.forEach(function (remind) {
76203
+ // 判断remind.id是否存在于菜单id集合中
76204
+ remind.hasPermission = menuIdSet.has(remind.id);
76205
+ });
76206
+ // 同时更新userCommonMenuList中各项的hasPermission
76207
+ this.userCommonMenuList.forEach(function (item) {
76208
+ // 判断item.id是否存在于菜单id集合中
76209
+ item.hasPermission = menuIdSet.has(item.id);
76210
+ });
76400
76211
  },
76401
76212
 
76402
76213
  /**
@@ -76480,9 +76291,9 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76480
76291
  return obj;
76481
76292
  }
76482
76293
  } else if (Object.prototype.hasOwnProperty.call(item, 'fourthTabs') && item.fourthTabs.length) {
76483
- var _obj5 = this.getMenu(item.fourthTabs, res, key);
76484
- if (_obj5) {
76485
- return _obj5;
76294
+ var _obj = this.getMenu(item.fourthTabs, res, key);
76295
+ if (_obj) {
76296
+ return _obj;
76486
76297
  }
76487
76298
  }
76488
76299
  }
@@ -76518,11 +76329,11 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76518
76329
  * @date 2024年9月7日
76519
76330
  **/
76520
76331
  setTips: function setTips(obj) {
76521
- var _this10 = this;
76332
+ var _this11 = this;
76522
76333
 
76523
76334
  if (Array.isArray(obj)) {
76524
76335
  obj.forEach(function (item) {
76525
- _this10.setTips(item);
76336
+ _this11.setTips(item);
76526
76337
  });
76527
76338
  } else {
76528
76339
  if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
@@ -76532,7 +76343,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76532
76343
  var flag = 0;
76533
76344
  if (obj.children && obj.children.length) {
76534
76345
  obj.children.forEach(function (item) {
76535
- var n = _this10.setTips(item);
76346
+ var n = _this11.setTips(item);
76536
76347
  flag += n ? parseInt(n) : 0;
76537
76348
  });
76538
76349
  if (flag) {
@@ -76545,7 +76356,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76545
76356
  }
76546
76357
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
76547
76358
  obj.fourthTabs.forEach(function (item) {
76548
- var n = _this10.setTips(item);
76359
+ var n = _this11.setTips(item);
76549
76360
  flag += n ? parseInt(n) : 0;
76550
76361
  });
76551
76362
  if (flag) {
@@ -76567,11 +76378,11 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76567
76378
  return false;
76568
76379
  },
76569
76380
  setDot: function setDot(obj, code) {
76570
- var _this11 = this;
76381
+ var _this12 = this;
76571
76382
 
76572
76383
  if (Array.isArray(obj)) {
76573
76384
  obj.forEach(function (item) {
76574
- _this11.setDot(item, code);
76385
+ _this12.setDot(item, code);
76575
76386
  });
76576
76387
  } else if (obj.code === code) {
76577
76388
  this.$set(obj, 'tips', true);
@@ -76601,7 +76412,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76601
76412
  * @date 2024年9月7日
76602
76413
  **/
76603
76414
  initWebSocket: function initWebSocket() {
76604
- var _this12 = this;
76415
+ var _this13 = this;
76605
76416
 
76606
76417
  this.webSocket = utils_util.socket({
76607
76418
  url: wss,
@@ -76611,32 +76422,32 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76611
76422
  for (var i in data) {
76612
76423
  if (data[i] !== null && data[i] !== undefined) {
76613
76424
  if (i === 'onlineUserNums' && data[i] > 0) {
76614
- _this12.$set(_this12.handleNums, 'online', data[i]);
76425
+ _this13.$set(_this13.handleNums, 'online', data[i]);
76615
76426
  }
76616
76427
  if (i === 'sysMsgNums' && data[i] !== null) {
76617
- _this12.$set(_this12.handleNums, 'notice', data[i]);
76618
- if (_this12.showMsg) {
76619
- _this12.$refs.message.getMsg(true);
76428
+ _this13.$set(_this13.handleNums, 'notice', data[i]);
76429
+ if (_this13.showMsg) {
76430
+ _this13.$refs.message.getMsg(true);
76620
76431
  }
76621
76432
  }
76622
76433
  if (i === 'menuTipsMap' && data[i] !== null) {
76623
- _this12.menuTips = data[i];
76434
+ _this13.menuTips = data[i];
76624
76435
  }
76625
76436
  if (i === 'sysMsgList' && data[i] !== null) {
76626
- _this12.sysMsg = data[i];
76627
- data[i] && data[i].length && _this12.$emit('bus-emit', 'waitdone');
76437
+ _this13.sysMsg = data[i];
76438
+ data[i] && data[i].length && _this13.$emit('bus-emit', 'waitdone');
76628
76439
  }
76629
76440
  if (i === 'extraData' && data[i] !== null) {
76630
- _this12.extraData = data[i];
76441
+ _this13.extraData = data[i];
76631
76442
  }
76632
76443
  }
76633
76444
  }
76634
- if (_this12.$store) {
76445
+ if (_this13.$store) {
76635
76446
  try {
76636
- _this12.$store.commit('websocket', data);
76447
+ _this13.$store.commit('websocket', data);
76637
76448
  } catch (error) {}
76638
76449
  }
76639
- var bus = _this12.bus || _this12.$eventBus || _this12.$root.Bus;
76450
+ var bus = _this13.bus || _this13.$eventBus || _this13.$root.Bus;
76640
76451
  if (bus) {
76641
76452
  bus.$emit('websocket', data);
76642
76453
  }
@@ -76731,9 +76542,9 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76731
76542
  }
76732
76543
  }
76733
76544
  } else {
76734
- var _tab4 = this.setIframeType(res);
76735
- this.tabs.push(_tab4);
76736
- this.activeName = _tab4.id;
76545
+ var _tab = this.setIframeType(res);
76546
+ this.tabs.push(_tab);
76547
+ this.activeName = _tab.id;
76737
76548
  }
76738
76549
  } else {
76739
76550
  if (res.method == 'iframe') {
@@ -76759,8 +76570,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76759
76570
  var _i = utils_util.indexOfObj(this.tabs, subMenus, 'id');
76760
76571
  this.activeName = subMenus.id;
76761
76572
  if (_i == -1) {
76762
- var _tab5 = this.setIframeType(subMenus);
76763
- this.tabs.push(_tab5);
76573
+ var _tab2 = this.setIframeType(subMenus);
76574
+ this.tabs.push(_tab2);
76764
76575
  } else {
76765
76576
  if (subMenus.method == 'iframe') {
76766
76577
  this.tabs[_i].url = utils_util.handlerUrl(subMenus.url);
@@ -76807,58 +76618,6 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76807
76618
  this.drawer = { visible: false };
76808
76619
  },
76809
76620
 
76810
- /**
76811
- * @desc:菜单点击
76812
- * @author huangbo
76813
- * @date 2024年9月7日
76814
- **/
76815
- handlerClickMenu: function handlerClickMenu(res) {
76816
- utils_util.ajax({
76817
- url: recordUserApp,
76818
- params: {
76819
- userId: this.user.userId,
76820
- appId: res.id
76821
- }
76822
- }).then(function () {}).catch(function () {});
76823
- this.showMsg = false;
76824
- this.showSet = false;
76825
-
76826
- if (res.url) {
76827
- if (res.urlopenmode == 1 || res.openModel == 1) {
76828
- utils_util.win.open(res.url);
76829
- return;
76830
- } else if (res.urlopenmode == 2 || res.openModel == 2) {
76831
- utils_util.win.open(res.url, '_self');
76832
- return;
76833
- }
76834
- }
76835
- var i = utils_util.indexOfObj(this.tabs, res, 'id');
76836
- if (i == -1) {
76837
- var tab = this.setIframeType(res);
76838
- this.tabs.push(tab);
76839
- this.activeName = res.id;
76840
- } else {
76841
- this.tabs = simplicityTopvue_type_script_lang_js_events[0](this.tabs, i, this);
76842
- // let tab = this.tabs[i];
76843
- // if (tab.method === 'iframe') {
76844
- // this.activeName = res.id;
76845
- // this.$set(this.tabs[i], 'url', util.handlerUrl(tab.url));
76846
- // } else {
76847
- // if (tab.method === 'wujie' && tab.appCode) {
76848
- // window.document
76849
- // .querySelector(`iframe[name=${tab.appCode}]`)
76850
- // .contentWindow.location.reload(true);
76851
- // }
76852
- // if (tab.method === 'router') {
76853
- // this.$set(this.tabs[i], 'keys', util.uuid());
76854
- // }
76855
- // this.activeName = res.id;
76856
- // }
76857
- this.activeName = res.id;
76858
- }
76859
- },
76860
-
76861
-
76862
76621
  /**
76863
76622
  * @desc:用户详情请求成功
76864
76623
  * @author huangbo
@@ -76904,6 +76663,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76904
76663
  * @date 2024年9月7日
76905
76664
  **/
76906
76665
  handleRefresh: function handleRefresh(arg) {
76666
+ this.getNums();
76907
76667
  var i = arg && arg != true && arg !== 'pageData' ? utils_util.indexOfObj(this.tabs, arg, 'appCode,code,id,url') : utils_util.indexOfObj(this.tabs, this.activeName, 'id');
76908
76668
  var tab = this.tabs[i];
76909
76669
  if (simplicityTopvue_type_script_lang_js_isIE || tab.method === 'iframe') {
@@ -77118,7 +76878,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77118
76878
  * @date 2024年9月7日
77119
76879
  **/
77120
76880
  handleQuit: function handleQuit() {
77121
- var _this13 = this;
76881
+ var _this14 = this;
77122
76882
 
77123
76883
  this.$confirm('确定退出吗?', '退出系统', {
77124
76884
  confirmButtonText: '确定',
@@ -77134,19 +76894,19 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77134
76894
  }
77135
76895
  break;
77136
76896
  }
77137
- if (_this13.singleLogout) {
77138
- for (var _i2 = 0; _i2 < _this13.singleLogout.length; _i2++) {
76897
+ if (_this14.singleLogout) {
76898
+ for (var _i2 = 0; _i2 < _this14.singleLogout.length; _i2++) {
77139
76899
  var iframe = document.createElement('iframe');
77140
76900
  iframe.style.display = 'none';
77141
- iframe.src = _this13.singleLogout[_i2];
76901
+ iframe.src = _this14.singleLogout[_i2];
77142
76902
  document.body.appendChild(iframe);
77143
76903
  }
77144
76904
  }
77145
76905
  utils_util.ajax({ method: 'post', url: logout }).then(function (res) {
77146
76906
  if (res.rCode == 0) {
77147
76907
  utils_util.removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
77148
- if (_this13.onQuit && typeof _this13.onQuit === 'function') {
77149
- _this13.onQuit();
76908
+ if (_this14.onQuit && typeof _this14.onQuit === 'function') {
76909
+ _this14.onQuit();
77150
76910
  } else {
77151
76911
  try {
77152
76912
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
@@ -77184,7 +76944,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77184
76944
  }
77185
76945
  }).catch(function (err) {
77186
76946
  if (err.message && err.message !== 'canceled') {
77187
- _this13.$message.error(err.message);
76947
+ _this14.$message.error(err.message);
77188
76948
  }
77189
76949
  });
77190
76950
  }).catch(function (e) {});
@@ -77241,121 +77001,160 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77241
77001
  * @date 2024年9月7日
77242
77002
  **/
77243
77003
  handleOpened: function handleOpened(res) {
77244
- var _this14 = this;
77004
+ var _this15 = this;
77245
77005
 
77246
77006
  if (res === undefined) {
77247
77007
  this.sysMsg = [];
77248
77008
  } else if (res == false && this.sysMsg.length) {
77249
77009
  this.sysMsgOut = setTimeout(function () {
77250
- _this14.sysMsg = [];
77010
+ _this15.sysMsg = [];
77251
77011
  }, 3000);
77252
77012
  } else if (this.sysMsgOut) {
77253
77013
  clearTimeout(this.sysMsgOut);
77254
77014
  }
77255
77015
  },
77256
- jumpMenu: function jumpMenu(res, close) {
77257
- var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
77258
77016
 
77259
- var apps = res;
77260
- var param = params;
77261
- var reload = true;
77262
- if (typeof res === 'string') {
77263
- apps = res.split(',');
77264
- } else if (utils_util.isObject(res)) {
77265
- apps = Array.isArray(res.appCode) ? res.appCode : res.appCode.split(',');
77266
- res.param && (param = simplicityTopvue_type_script_lang_js_extends({}, res.param, params));
77267
- reload = Object.prototype.hasOwnProperty.call(res, 'reload') ? res.reload : true;
77268
- }
77269
- var obj = this.getMenu(this.menus, apps[apps.length - 1]);
77270
- if (obj) {
77271
- obj = JSON.parse(JSON.stringify(obj));
77272
- var i = utils_util.indexOfObj(this.tabs, obj, 'id,code,appCode');
77273
- var n = utils_util.indexOfObj(this.tabs, this.activeName, 'id');
77274
- var old = this.activeName;
77275
- this.activeName = obj.id;
77276
- if (i == -1) {
77277
- var tab = this.setIframeType(obj);
77278
- this.$set(tab, 'url', utils_util.handlerUrl(tab.url, param));
77279
- this.tabs.splice(n + 1, 0, tab);
77280
- } else {
77281
- var _tab6 = this.tabs[i];
77282
- if (_tab6.method === 'iframe') {
77283
- this.$set(this.tabs[i], 'url', utils_util.handlerUrl(_tab6.url, param));
77284
- }
77285
- if (_tab6.method === 'wujie' && _tab6.appCode) {
77286
- var url = param ? utils_util.handlerUrl(_tab6.url, param) : _tab6.url;
77287
- if (reload || param) {
77288
- _tab6.url = '';
77289
- this.$nextTick(function () {
77290
- _tab6.url = url;
77291
- });
77017
+ /**
77018
+ * @desc:菜单点击事件
77019
+ * @author huangbo
77020
+ * @date 2024年9月7日
77021
+ * @param {*} res 菜单点击事件参数
77022
+ * @param {*} method 菜单点击事件方法
77023
+ * 1.顶部菜单点击跳转已经实现
77024
+ * 2.其他地方点击跳转,需要选中跳转的一二级菜单
77025
+ **/
77026
+ handleSelect: function handleSelect(res) {
77027
+ var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
77028
+
77029
+ console.log(res, 'handleSelect');
77030
+
77031
+ if (res.urlopenmode == 1 || res.openModel == 1) {
77032
+ utils_util.win.open(res.url || res.menuurl);
77033
+ } else if (res.urlopenmode == 2 || res.openModel == 2) {
77034
+ utils_util.win.open(res.url || res.menuurl, '_self');
77035
+ } else {
77036
+ var node = res.node ? res.node : res;
77037
+
77038
+ var _apps = node;
77039
+ var param = params;
77040
+ var reload = true;
77041
+ if (typeof res === 'string') {
77042
+ _apps = res.split(',');
77043
+ } else if (utils_util.isObject(node)) {
77044
+ var appCode = node.appCode || node.menuCode;
77045
+ _apps = Array.isArray(appCode) ? appCode : appCode.split(',');
77046
+ node.param && (param = simplicityTopvue_type_script_lang_js_extends({}, node.param, params));
77047
+ reload = Object.prototype.hasOwnProperty.call(node, 'reload') ? node.reload : true;
77048
+ }
77049
+
77050
+ var _findMenuById = this.findMenuById(_apps[_apps.length - 1]),
77051
+ currentPage = _findMenuById.currentPage,
77052
+ fourthTabs = _findMenuById.fourthTabs;
77053
+
77054
+ if (currentPage) {
77055
+ this.currentPage = {};
77056
+ this.fourthTabs = [];
77057
+ if (currentPage.fourthTabs && currentPage.fourthTabs.length > 0) {
77058
+ this.fourthTabs = currentPage.fourthTabs;
77059
+ this.currentPage = this.setIframeType(this.fourthTabs[0]);
77060
+ if (param) {
77061
+ this.currentPage.url = utils_util.handlerUrl(this.currentPage.url, param);
77292
77062
  }
77293
- // if (param) {
77294
- // window.document.querySelector(
77295
- // `iframe[name=${tab.appCode}]`
77296
- // ).contentWindow.location.href = util.handlerUrl(tab.url, param);
77297
- // } else {
77298
- // window.document
77299
- // .querySelector(`iframe[name=${tab.appCode}]`)
77300
- // .contentWindow.location.reload(true);
77301
- // }
77302
- }
77303
- if (_tab6.method === 'router') {
77304
- this.$set(this.tabs[i], 'url', utils_util.handlerUrl(_tab6.url, param));
77305
- this.$set(this.tabs[i], 'keys', utils_util.uuid());
77306
- }
77307
- }
77308
- if (close) {
77309
- if (close === old) {
77310
- this.tabs.splice(n, 1);
77063
+ this.tabActiveName = this.currentPage.id;
77311
77064
  } else {
77312
- var d = utils_util.indexOfObj(this.tabs, close, 'id,code,appCode');
77313
- if (d > -1) {
77314
- this.tabs.splice(d, 1);
77065
+ this.fourthTabs = fourthTabs;
77066
+ this.currentPage = this.setIframeType(currentPage);
77067
+ if (param) {
77068
+ this.currentPage.url = utils_util.handlerUrl(this.currentPage.url, param);
77315
77069
  }
77070
+ this.tabActiveName = this.currentPage.id;
77316
77071
  }
77072
+ } else {
77073
+ this.$alert('没有关联菜单,请联系管理员!', '提示', {
77074
+ confirmButtonText: '确定',
77075
+ type: 'warning'
77076
+ }).catch(function () {});
77317
77077
  }
77318
- } else {
77319
- this.$message.error('没有此菜单!');
77320
77078
  }
77321
77079
  },
77080
+ findMenuById: function findMenuById(res) {
77081
+ var targetMenu = null;
77082
+ var siblingMenus = [];
77083
+ var transformedMenus = this.menus;
77084
+ // 递归查找函数
77085
+ function searchMenu(menuList) {
77086
+ for (var _iterator = menuList, _isArray = Array.isArray(_iterator), _i3 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
77087
+ var _ref;
77322
77088
 
77323
- //监听改变菜单
77324
- handleListener: function handleListener() {
77325
- var _this15 = this;
77089
+ if (_isArray) {
77090
+ if (_i3 >= _iterator.length) break;
77091
+ _ref = _iterator[_i3++];
77092
+ } else {
77093
+ _i3 = _iterator.next();
77094
+ if (_i3.done) break;
77095
+ _ref = _i3.value;
77096
+ }
77326
77097
 
77327
- utils_util.win.addEventListener('message', function (e) {
77328
- var msg = e.data;
77329
- if (msg.key == 'jump_Menu') {
77330
- var res = msg.data1;
77331
- _this15.jumpMenu(res);
77332
- }
77333
- }, false);
77334
- },
77335
- handleSelect: function handleSelect(res, method) {
77336
- console.log(res, 'resss');
77098
+ var menu = _ref;
77337
77099
 
77338
- if (method) {
77339
- if (res.urlopenmode == 0) {
77340
- this.currentPage = simplicityTopvue_type_script_lang_js_extends({
77341
- url: res.menuurl,
77342
- method: 'wujie'
77343
- }, res);
77344
- } else {
77345
- utils_util.win.open(res.menuurl);
77100
+ // 检查是否为一级菜单
77101
+ if (menu.url === res || menu.id === res || menu.appCode === res) {
77102
+ targetMenu = simplicityTopvue_type_script_lang_js_extends({}, menu, { level: 1 });
77103
+ siblingMenus = transformedMenus;
77104
+ return true;
77105
+ }
77106
+
77107
+ // 检查是否为二级菜单
77108
+ if (menu.children) {
77109
+ for (var _iterator2 = menu.children, _isArray2 = Array.isArray(_iterator2), _i4 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
77110
+ var _ref2;
77111
+
77112
+ if (_isArray2) {
77113
+ if (_i4 >= _iterator2.length) break;
77114
+ _ref2 = _iterator2[_i4++];
77115
+ } else {
77116
+ _i4 = _iterator2.next();
77117
+ if (_i4.done) break;
77118
+ _ref2 = _i4.value;
77119
+ }
77120
+
77121
+ var level2Menu = _ref2;
77122
+
77123
+ if (level2Menu.url === res || level2Menu.id === res || level2Menu.appCode === res) {
77124
+ targetMenu = simplicityTopvue_type_script_lang_js_extends({}, level2Menu, {
77125
+ level: 2
77126
+ });
77127
+ siblingMenus = menu.children;
77128
+ return true;
77129
+ }
77130
+
77131
+ // 检查是否为三级菜单(在fourthTabs中)
77132
+ if (level2Menu.fourthTabs) {
77133
+ var foundInTabs = level2Menu.fourthTabs.find(function (tab) {
77134
+ return tab.id === res || tab.appCode === res || tab.url == res;
77135
+ });
77136
+ if (foundInTabs) {
77137
+ targetMenu = simplicityTopvue_type_script_lang_js_extends({}, foundInTabs, {
77138
+ level: 3,
77139
+ parentId: level2Menu.id
77140
+ });
77141
+ siblingMenus = level2Menu.fourthTabs;
77142
+ return true;
77143
+ }
77144
+ }
77145
+ }
77146
+ }
77346
77147
  }
77347
- } else {
77348
- this.currentPage = this.setIframeType(res.node ? res.node : res);
77148
+ return false;
77349
77149
  }
77350
- // console.log(this.currentPage, 'this.currentPage');
77351
77150
 
77352
- // this.showSearch = false;
77353
- // if (parent.name === '应用') {
77354
- // this.handlerClickApps(res);
77355
- // }
77356
- // if (parent.name === '菜单') {
77357
- // this.handlerClickApp(res);
77358
- // }
77151
+ // 开始查找
77152
+ searchMenu(this.menus);
77153
+
77154
+ return {
77155
+ currentPage: targetMenu,
77156
+ fourthTabs: siblingMenus // 不需要过滤自身
77157
+ };
77359
77158
  },
77360
77159
  handleLoadIframe: function handleLoadIframe(item) {
77361
77160
  this.$set(item, 'loading', false);
@@ -77381,11 +77180,11 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77381
77180
 
77382
77181
  var simplicityTop_component = normalizeComponent(
77383
77182
  src_simplicityTopvue_type_script_lang_js_,
77384
- simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_render,
77385
- simplicityTopvue_type_template_id_7e7a3d7a_scoped_true_staticRenderFns,
77183
+ simplicityTopvue_type_template_id_5a47c4f6_scoped_true_render,
77184
+ simplicityTopvue_type_template_id_5a47c4f6_scoped_true_staticRenderFns,
77386
77185
  false,
77387
77186
  null,
77388
- "7e7a3d7a",
77187
+ "5a47c4f6",
77389
77188
  null
77390
77189
 
77391
77190
  )
@@ -81399,6 +81198,8 @@ var default_component = normalizeComponent(
81399
81198
 
81400
81199
  /* harmony default export */ var src_default = (default_component.exports);
81401
81200
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&
81201
+ var _name$inheritAttrs$pr;
81202
+
81402
81203
  var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
81403
81204
 
81404
81205
  function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
@@ -81485,7 +81286,7 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81485
81286
 
81486
81287
 
81487
81288
 
81488
- /* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({
81289
+ /* harmony default export */ var main_src_mainvue_type_script_lang_js_ = (_name$inheritAttrs$pr = {
81489
81290
  name: 'EsMain',
81490
81291
  inheritAttrs: false,
81491
81292
  provide: function provide() {
@@ -81537,27 +81338,37 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81537
81338
  layout: this.scene,
81538
81339
  isIE: /MSIE|Trident/.test(navigator.userAgent)
81539
81340
  };
81540
- },
81541
- created: function created() {
81542
- var layoutType = localStorage.getItem('layoutType');
81543
- if (layoutType) {
81544
- this.layoutType = layoutType;
81545
- }
81546
- this.params = utils_util.getParams() || {};
81547
- this.sysCode = this.params.sysCode;
81548
- this.appCode = this.params.appCode || this.params.appcode;
81549
- if (this.params.cookie && (this.params.cookie == true || this.params.cookie == 1)) {
81550
- this.isLogin = true;
81551
- }
81552
- },
81553
- mounted: function mounted() {
81341
+ }
81342
+ }, _name$inheritAttrs$pr['watch'] = {
81343
+ layoutType: function layoutType() {
81344
+ // 当主题变化时,重新绑定一次事件 防止事件丢失 或者绑定错误
81345
+ this.bindEvent();
81346
+ }
81347
+ }, _name$inheritAttrs$pr.created = function created() {
81348
+ var layoutType = localStorage.getItem('layoutType');
81349
+ if (layoutType) {
81350
+ this.layoutType = layoutType;
81351
+ }
81352
+ this.params = utils_util.getParams() || {};
81353
+ this.sysCode = this.params.sysCode;
81354
+ this.appCode = this.params.appCode || this.params.appcode;
81355
+ if (this.params.cookie && (this.params.cookie == true || this.params.cookie == 1)) {
81356
+ this.isLogin = true;
81357
+ }
81358
+ }, _name$inheritAttrs$pr.mounted = function mounted() {
81359
+ var token = utils_util.getStorage('token') || utils_util.getStorage('Authorization');
81360
+ this.isLogin = token ? true : this.isLogin;
81361
+ if (!token && Object.prototype.hasOwnProperty.call(this.params, 'serverId') && Object.prototype.hasOwnProperty.call(this.params, 'authType')) {
81362
+ return false;
81363
+ }
81364
+ this.bindEvent();
81365
+ }, _name$inheritAttrs$pr.methods = {
81366
+ /**
81367
+ * @desc: 绑定事件
81368
+ **/
81369
+ bindEvent: function bindEvent() {
81554
81370
  var _this = this;
81555
81371
 
81556
- var token = utils_util.getStorage('token') || utils_util.getStorage('Authorization');
81557
- this.isLogin = token ? true : this.isLogin;
81558
- if (!token && Object.prototype.hasOwnProperty.call(this.params, 'serverId') && Object.prototype.hasOwnProperty.call(this.params, 'authType')) {
81559
- return false;
81560
- }
81561
81372
  if (this.isLogin) {
81562
81373
  if (utils_util.win.$wujie) {
81563
81374
  utils_util.win.$wujie.bus.$on('changeTheme', function (res) {
@@ -81616,379 +81427,376 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81616
81427
  }
81617
81428
  },
81618
81429
 
81619
- methods: {
81620
- /**
81621
- * @desc: 切换布局风格
81622
- * @author huangbo
81623
- * @date 2024年9月7日
81624
- **/
81625
- changLayout: function changLayout(res, active) {
81626
- var _this2 = this;
81430
+ /**
81431
+ * @desc: 切换布局风格
81432
+ * @author huangbo
81433
+ * @date 2024年9月7日
81434
+ **/
81435
+ changLayout: function changLayout(res, active) {
81436
+ var _this2 = this;
81627
81437
 
81628
- this.layoutType = res;
81629
- localStorage.setItem('layoutType', res);
81630
- if (active) {
81631
- this.layout = active;
81632
- }
81633
- var mainConfig = utils_util.getStorage('mainConfig');
81634
- if (mainConfig) {
81635
- mainConfig = JSON.parse(mainConfig);
81636
- this.$nextTick(function () {
81637
- _this2.$refs.main.init(mainConfig, true);
81638
- utils_util.getMainConfig(function (res) {
81639
- _this2.$refs.main.init(res, false);
81640
- });
81641
- });
81642
- } else {
81438
+ this.layoutType = res;
81439
+ localStorage.setItem('layoutType', res);
81440
+ if (active) {
81441
+ this.layout = active;
81442
+ }
81443
+ var mainConfig = utils_util.getStorage('mainConfig');
81444
+ if (mainConfig) {
81445
+ mainConfig = JSON.parse(mainConfig);
81446
+ this.$nextTick(function () {
81447
+ _this2.$refs.main.init(mainConfig, true);
81643
81448
  utils_util.getMainConfig(function (res) {
81644
- _this2.$refs.main.init(res, true);
81449
+ _this2.$refs.main.init(res, false);
81645
81450
  });
81646
- }
81647
- },
81451
+ });
81452
+ } else {
81453
+ utils_util.getMainConfig(function (res) {
81454
+ _this2.$refs.main.init(res, true);
81455
+ });
81456
+ }
81457
+ },
81648
81458
 
81649
- /**
81650
- * @desc:重新登录
81651
- * @author huangbo
81652
- * @date 2024年9月7日
81653
- **/
81654
- handleReLogin: function handleReLogin(res) {
81655
- var _this3 = this;
81459
+ /**
81460
+ * @desc:重新登录
81461
+ * @author huangbo
81462
+ * @date 2024年9月7日
81463
+ **/
81464
+ handleReLogin: function handleReLogin(res) {
81465
+ var _this3 = this;
81656
81466
 
81657
- if (res && typeof res == 'string') {
81658
- res = JSON.parse(res);
81659
- }
81660
- var msg = '提示';
81661
- var btn = {
81662
- confirmButtonText: '确定',
81663
- cancelButtonText: '取消',
81664
- closeOnClickModal: false,
81665
- type: 'warning'
81666
- };
81667
- if (res) {
81668
- if (res.rCode === 69) {
81669
- msg = '该账号在其他地方已登陆!';
81670
- btn = {
81671
- confirmButtonText: '确定',
81672
- closeOnClickModal: false,
81673
- type: 'warning'
81674
- };
81675
- } else {
81676
- msg = '登录已过期,请重新登录!';
81677
- }
81467
+ if (res && typeof res == 'string') {
81468
+ res = JSON.parse(res);
81469
+ }
81470
+ var msg = '提示';
81471
+ var btn = {
81472
+ confirmButtonText: '确定',
81473
+ cancelButtonText: '取消',
81474
+ closeOnClickModal: false,
81475
+ type: 'warning'
81476
+ };
81477
+ if (res) {
81478
+ if (res.rCode === 69) {
81479
+ msg = '该账号在其他地方已登陆!';
81480
+ btn = {
81481
+ confirmButtonText: '确定',
81482
+ closeOnClickModal: false,
81483
+ type: 'warning'
81484
+ };
81485
+ } else {
81486
+ msg = '登录已过期,请重新登录!';
81678
81487
  }
81679
- cl;
81680
- var remind = sessionStorage.getItem('remind');
81681
- if (!remind) {
81682
- clearTimeout(this.timer);
81683
- this.timer = setTimeout(function () {
81684
- console.log('handleReLogin');
81685
- sessionStorage.setItem('remind', 1);
81686
- _this3.$confirm(msg, btn).then(function () {
81687
- utils_util.removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
81688
- var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
81689
- try {
81690
- if (loginPage) {
81691
- var src = void 0;
81692
- if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
81693
- var pathname = utils_util.win.top.location.pathname;
81694
- if (pathname !== '/') {
81695
- pathname = pathname.split('/');
81696
- pathname.splice(pathname.length - 1);
81697
- pathname = pathname.join('/');
81698
- src = pathname + '/' + loginPage.replace('./', '');
81699
- } else {
81700
- src = pathname + loginPage.replace('./', '');
81701
- }
81488
+ }
81489
+ cl;
81490
+ var remind = sessionStorage.getItem('remind');
81491
+ if (!remind) {
81492
+ clearTimeout(this.timer);
81493
+ this.timer = setTimeout(function () {
81494
+ console.log('handleReLogin');
81495
+ sessionStorage.setItem('remind', 1);
81496
+ _this3.$confirm(msg, btn).then(function () {
81497
+ utils_util.removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
81498
+ var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
81499
+ try {
81500
+ if (loginPage) {
81501
+ var src = void 0;
81502
+ if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
81503
+ var pathname = utils_util.win.top.location.pathname;
81504
+ if (pathname !== '/') {
81505
+ pathname = pathname.split('/');
81506
+ pathname.splice(pathname.length - 1);
81507
+ pathname = pathname.join('/');
81508
+ src = pathname + '/' + loginPage.replace('./', '');
81702
81509
  } else {
81703
- src = loginPage;
81510
+ src = pathname + loginPage.replace('./', '');
81704
81511
  }
81705
- utils_util.win.top.location.href = src;
81706
- } else if (utils_util.win.top.location.href.indexOf('main.html') > -1) {
81707
- utils_util.win.top.location.href = './login.html';
81708
81512
  } else {
81709
- var hash = utils_util.win.top.location.hash;
81710
- if (hash) {
81711
- var len = utils_util.win.top.location.href.indexOf(hash);
81712
- utils_util.win.top.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
81713
- } else {
81714
- utils_util.win.top.location.href = '/login.html';
81715
- }
81513
+ src = loginPage;
81716
81514
  }
81717
- } catch (error) {}
81718
- }).catch(function (e) {
81719
- sessionStorage.removeItem('remind');
81720
- });
81721
- }, 2000);
81722
- }
81723
- },
81724
-
81725
- /**
81726
- * @desc:获取系统配置
81727
- * @author huangbo
81728
- * @date 2024年9月7日
81729
- **/
81730
- getConfig: function getConfig() {
81731
- var _this4 = this;
81732
-
81733
- var mainConfig = utils_util.getStorage('mainConfig');
81734
- if (mainConfig) {
81735
- mainConfig = JSON.parse(mainConfig);
81736
- this.$refs.main.init(mainConfig, true);
81737
- utils_util.getMainConfig(function (res) {
81738
- _this4.$refs.main.init(res, false);
81739
- });
81740
- } else {
81741
- utils_util.getMainConfig(function (res) {
81742
- _this4.$refs.main.init(res, true);
81743
- });
81744
- }
81745
- },
81746
-
81747
- /**
81748
- * @desc:打开dialog页面
81749
- * @author huangbo
81750
- * @date 2024年9月7日
81751
- **/
81752
- winOpen: function winOpen(_ref) {
81753
- var _this5 = this;
81754
-
81755
- var url = _ref.url,
81756
- name = _ref.name,
81757
- _ref$width = _ref.width,
81758
- width = _ref$width === undefined ? '100%' : _ref$width,
81759
- _ref$height = _ref.height,
81760
- height = _ref$height === undefined ? '100%' : _ref$height,
81761
- appCode = _ref.appCode,
81762
- id = _ref.id,
81763
- size = _ref.size,
81764
- config = main_src_mainvue_type_script_lang_js_objectWithoutProperties(_ref, ['url', 'name', 'width', 'height', 'appCode', 'id', 'size']);
81765
-
81766
- url = typeof arguments[0] === 'string' ? arguments[0] : url;
81767
- id = id ? id : appCode ? undefined : 'iframe' + this.dialogs.length;
81768
- var openModel = utils_util.getStorage('openModel');
81769
- var src = url;
81770
- if (!utils_util.startWith(url, ['http', '/'], true)) {
81771
- var pathname = window.location.pathname;
81772
- if (pathname !== '/') {
81773
- pathname = pathname.split('/');
81774
- pathname.splice(pathname.length - 1);
81775
- pathname = pathname.join('/');
81776
- }
81777
- src = pathname + url.replace('./', '/');
81778
- }
81779
- if (openModel && openModel == 'dialog') {
81780
- var _dialog = main_src_mainvue_type_script_lang_js_extends({
81781
- id: id,
81782
- url: src,
81783
- name: name,
81784
- width: width,
81785
- height: height,
81786
- appCode: appCode,
81787
- visible: false,
81788
- size: size
81789
- }, config);
81790
- var n = this.dialogs.push(_dialog);
81791
- this.$nextTick(function () {
81792
- _this5.$set(_dialog, 'index', n - 1);
81793
- _this5.$set(_dialog, 'visible', true);
81515
+ utils_util.win.top.location.href = src;
81516
+ } else if (utils_util.win.top.location.href.indexOf('main.html') > -1) {
81517
+ utils_util.win.top.location.href = './login.html';
81518
+ } else {
81519
+ var hash = utils_util.win.top.location.hash;
81520
+ if (hash) {
81521
+ var len = utils_util.win.top.location.href.indexOf(hash);
81522
+ utils_util.win.top.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
81523
+ } else {
81524
+ utils_util.win.top.location.href = '/login.html';
81525
+ }
81526
+ }
81527
+ } catch (error) {}
81528
+ }).catch(function (e) {
81529
+ sessionStorage.removeItem('remind');
81794
81530
  });
81795
- return _dialog;
81796
- }
81531
+ }, 2000);
81532
+ }
81533
+ },
81797
81534
 
81798
- if (name) {
81799
- var w = 0;
81800
- var h = 0;
81801
- try {
81802
- w = width ? width : utils_util.win.top.screen.availWidth - 10;
81803
- h = height ? height : utils_util.win.top.screen.availHeight - 60;
81804
- } catch (error) {
81805
- w = width ? width : utils_util.win.screen.availWidth - 10;
81806
- h = height ? height : utils_util.win.screen.availHeight - 60;
81807
- }
81808
- return utils_util.win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
81809
- } else {
81810
- return utils_util.win.open(src);
81811
- }
81812
- },
81535
+ /**
81536
+ * @desc:获取系统配置
81537
+ * @author huangbo
81538
+ * @date 2024年9月7日
81539
+ **/
81540
+ getConfig: function getConfig() {
81541
+ var _this4 = this;
81813
81542
 
81543
+ var mainConfig = utils_util.getStorage('mainConfig');
81544
+ if (mainConfig) {
81545
+ mainConfig = JSON.parse(mainConfig);
81546
+ this.$refs.main.init(mainConfig, true);
81547
+ utils_util.getMainConfig(function (res) {
81548
+ _this4.$refs.main.init(res, false);
81549
+ });
81550
+ } else {
81551
+ utils_util.getMainConfig(function (res) {
81552
+ _this4.$refs.main.init(res, true);
81553
+ });
81554
+ }
81555
+ },
81814
81556
 
81815
- /**
81816
- * @desc:关闭dialog页面
81817
- * @author huangbo
81818
- * @date 2024年9月7日
81819
- **/
81820
- winClose: function winClose(_ref2) {
81821
- var url = _ref2.url,
81822
- appCode = _ref2.appCode,
81823
- id = _ref2.id,
81824
- index = _ref2.index,
81825
- refresh = _ref2.refresh,
81826
- jumpMenu = _ref2.jumpMenu,
81827
- callback = _ref2.callback;
81828
-
81829
- if (!appCode && !id) {
81830
- console.error('参数错误,缺少appCode或者id');
81831
- return;
81832
- }
81833
- if (index) {
81834
- this.$set(this.dialogs, 'visible', false);
81835
- this.dialogs.splice(dialog.index, 1);
81836
- } else {
81837
- var _dialog2 = this.dialogs.find(function (item) {
81838
- return item.url == url || item.appCode == appCode || item.id == id;
81839
- });
81557
+ /**
81558
+ * @desc:打开dialog页面
81559
+ * @author huangbo
81560
+ * @date 2024年9月7日
81561
+ **/
81562
+ winOpen: function winOpen(_ref) {
81563
+ var _this5 = this;
81840
81564
 
81841
- if (_dialog2) {
81842
- this.$set(_dialog2, 'visible', false);
81843
- this.dialogs.splice(_dialog2.index, 1);
81844
- }
81845
- }
81846
- if (callback) {
81847
- var bus = this.bus || this.$root.Bus;
81848
- if (bus) {
81849
- // 主应用发送事件
81850
- bus.$emit(callback, arguments[0]);
81851
- }
81852
- } else {
81853
- var _$refs$main;
81565
+ var url = _ref.url,
81566
+ name = _ref.name,
81567
+ _ref$width = _ref.width,
81568
+ width = _ref$width === undefined ? '100%' : _ref$width,
81569
+ _ref$height = _ref.height,
81570
+ height = _ref$height === undefined ? '100%' : _ref$height,
81571
+ appCode = _ref.appCode,
81572
+ id = _ref.id,
81573
+ size = _ref.size,
81574
+ config = main_src_mainvue_type_script_lang_js_objectWithoutProperties(_ref, ['url', 'name', 'width', 'height', 'appCode', 'id', 'size']);
81575
+
81576
+ url = typeof arguments[0] === 'string' ? arguments[0] : url;
81577
+ id = id ? id : appCode ? undefined : 'iframe' + this.dialogs.length;
81578
+ var openModel = utils_util.getStorage('openModel');
81579
+ var src = url;
81580
+ if (!utils_util.startWith(url, ['http', '/'], true)) {
81581
+ var pathname = window.location.pathname;
81582
+ if (pathname !== '/') {
81583
+ pathname = pathname.split('/');
81584
+ pathname.splice(pathname.length - 1);
81585
+ pathname = pathname.join('/');
81586
+ }
81587
+ src = pathname + url.replace('./', '/');
81588
+ }
81589
+ if (openModel && openModel == 'dialog') {
81590
+ var _dialog = main_src_mainvue_type_script_lang_js_extends({
81591
+ id: id,
81592
+ url: src,
81593
+ name: name,
81594
+ width: width,
81595
+ height: height,
81596
+ appCode: appCode,
81597
+ visible: false,
81598
+ size: size
81599
+ }, config);
81600
+ var n = this.dialogs.push(_dialog);
81601
+ this.$nextTick(function () {
81602
+ _this5.$set(_dialog, 'index', n - 1);
81603
+ _this5.$set(_dialog, 'visible', true);
81604
+ });
81605
+ return _dialog;
81606
+ }
81854
81607
 
81855
- refresh && this.$refs.main.handleRefresh(refresh);
81856
- jumpMenu && (Array.isArray(jumpMenu) ? (_$refs$main = this.$refs.main).jumpMenu.apply(_$refs$main, jumpMenu) : this.$refs.main.jumpMenu(jumpMenu));
81608
+ if (name) {
81609
+ var w = 0;
81610
+ var h = 0;
81611
+ try {
81612
+ w = width ? width : utils_util.win.top.screen.availWidth - 10;
81613
+ h = height ? height : utils_util.win.top.screen.availHeight - 60;
81614
+ } catch (error) {
81615
+ w = width ? width : utils_util.win.screen.availWidth - 10;
81616
+ h = height ? height : utils_util.win.screen.availHeight - 60;
81857
81617
  }
81858
- },
81618
+ return utils_util.win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
81619
+ } else {
81620
+ return utils_util.win.open(src);
81621
+ }
81622
+ },
81859
81623
 
81860
81624
 
81861
- /**
81862
- * @desc:postMessage消息处理
81863
- * @author huangbo
81864
- * @date 2024年9月7日
81865
- **/
81866
- handleMessage: function handleMessage(e) {
81867
- var _$refs$main2;
81625
+ /**
81626
+ * @desc:关闭dialog页面
81627
+ * @author huangbo
81628
+ * @date 2024年9月7日
81629
+ **/
81630
+ winClose: function winClose(_ref2) {
81631
+ var url = _ref2.url,
81632
+ appCode = _ref2.appCode,
81633
+ id = _ref2.id,
81634
+ index = _ref2.index,
81635
+ refresh = _ref2.refresh,
81636
+ jumpMenu = _ref2.jumpMenu,
81637
+ callback = _ref2.callback;
81868
81638
 
81869
- var _e$data = e.data,
81870
- method = _e$data.method,
81871
- args = _e$data.args;
81639
+ if (!appCode && !id) {
81640
+ console.error('参数错误,缺少appCode或者id');
81641
+ return;
81642
+ }
81643
+ if (index) {
81644
+ this.$set(this.dialogs, 'visible', false);
81645
+ this.dialogs.splice(dialog.index, 1);
81646
+ } else {
81647
+ var _dialog2 = this.dialogs.find(function (item) {
81648
+ return item.url == url || item.appCode == appCode || item.id == id;
81649
+ });
81872
81650
 
81873
- switch (method) {
81874
- case 'reLogin':
81875
- this.handleReLogin(args);
81876
- break;
81877
- case 'refresh':
81878
- this.$refs.main.handleRefresh(args);
81879
- break;
81880
- case 'jumpMenu':
81881
- Array.isArray(args) ? (_$refs$main2 = this.$refs.main).jumpMenu.apply(_$refs$main2, args) : this.$refs.main.jumpMenu(args);
81882
- break;
81883
- case 'emit':
81884
- var origin = args.origin,
81885
- appCode = args.appCode,
81886
- id = args.id,
81887
- data = main_src_mainvue_type_script_lang_js_objectWithoutProperties(args, ['origin', 'appCode', 'id']);
81888
-
81889
- var iframe = document.getElementById(appCode || id);
81890
- iframe.contentWindow.postMessage(data, origin ? origin : '*');
81891
- break;
81892
- case 'openDialog':
81893
- //打开弹窗
81894
- this.winOpen(args);
81895
- break;
81896
- case 'closeDialog':
81897
- //关闭弹窗
81898
- this.winClose(args);
81899
- break;
81900
- case 'windowOpen':
81901
- //打开弹窗
81902
- this.winOpen(args);
81903
- break;
81904
- case 'windowClose':
81905
- //关闭弹窗
81906
- this.winClose(args);
81907
- break;
81651
+ if (_dialog2) {
81652
+ this.$set(_dialog2, 'visible', false);
81653
+ this.dialogs.splice(_dialog2.index, 1);
81908
81654
  }
81909
- },
81910
-
81911
-
81912
- /**
81913
- * @desc:dialog页面加载完成后通讯
81914
- * @author huangbo
81915
- * @date 2024年9月7日
81916
- **/
81917
- handleIframeLoad: function handleIframeLoad(iframe, data) {
81918
- iframe = iframe ? iframe : document.getElementById(data.appCode || data.id);
81919
- var origin = new URL(iframe.src).origin;
81920
- iframe.contentWindow.postMessage(main_src_mainvue_type_script_lang_js_extends({}, data, { method: 'windowOpen' }), origin);
81921
- },
81922
-
81923
-
81924
- /**
81925
- * @desc:排除属性
81926
- * @author huangbo
81927
- * @date 2024年9月7日
81928
- **/
81929
- exclAttribute: function exclAttribute(_ref3) {
81930
- var data = _ref3.data,
81931
- attrs = _ref3.attrs;
81932
-
81933
- return utils_util.exclAttribute({ data: data, attrs: attrs });
81934
- },
81935
-
81936
- /**
81937
- * @desc:关闭dialog
81938
- * @author huangbo
81939
- * @date 2024年9月7日
81940
- **/
81941
- handleClosed: function handleClosed(res, index) {
81942
- var _this6 = this;
81943
-
81944
- // 在关闭弹窗后更新数量
81945
- if (this.layoutType == 'simplicityTop') {
81946
- this.$refs.main.getNums();
81655
+ }
81656
+ if (callback) {
81657
+ var bus = this.bus || this.$root.Bus;
81658
+ if (bus) {
81659
+ // 主应用发送事件
81660
+ bus.$emit(callback, arguments[0]);
81947
81661
  }
81948
- this.$nextTick(function () {
81949
- _this6.dialogs.splice(index, 1);
81950
- });
81951
- },
81662
+ } else {
81663
+ var _$refs$main;
81664
+
81665
+ refresh && this.$refs.main.handleRefresh(refresh);
81666
+ jumpMenu && (Array.isArray(jumpMenu) ? (_$refs$main = this.$refs.main).jumpMenu.apply(_$refs$main, jumpMenu) : this.$refs.main.jumpMenu(jumpMenu));
81667
+ }
81668
+ },
81669
+
81670
+
81671
+ /**
81672
+ * @desc:postMessage消息处理
81673
+ * @author huangbo
81674
+ * @date 2024年9月7日
81675
+ **/
81676
+ handleMessage: function handleMessage(e) {
81677
+ var _$refs$main2;
81678
+
81679
+ var _e$data = e.data,
81680
+ method = _e$data.method,
81681
+ args = _e$data.args;
81682
+
81683
+ switch (method) {
81684
+ case 'reLogin':
81685
+ this.handleReLogin(args);
81686
+ break;
81687
+ case 'refresh':
81688
+ this.$refs.main.handleRefresh(args);
81689
+ break;
81690
+ case 'jumpMenu':
81691
+ Array.isArray(args) ? (_$refs$main2 = this.$refs.main).jumpMenu.apply(_$refs$main2, args) : this.$refs.main.jumpMenu(args);
81692
+ break;
81693
+ case 'emit':
81694
+ var origin = args.origin,
81695
+ appCode = args.appCode,
81696
+ id = args.id,
81697
+ data = main_src_mainvue_type_script_lang_js_objectWithoutProperties(args, ['origin', 'appCode', 'id']);
81698
+
81699
+ var iframe = document.getElementById(appCode || id);
81700
+ iframe.contentWindow.postMessage(data, origin ? origin : '*');
81701
+ break;
81702
+ case 'openDialog':
81703
+ //打开弹窗
81704
+ this.winOpen(args);
81705
+ break;
81706
+ case 'closeDialog':
81707
+ //关闭弹窗
81708
+ this.winClose(args);
81709
+ break;
81710
+ case 'windowOpen':
81711
+ //打开弹窗
81712
+ this.winOpen(args);
81713
+ break;
81714
+ case 'windowClose':
81715
+ //关闭弹窗
81716
+ this.winClose(args);
81717
+ break;
81718
+ }
81719
+ },
81720
+
81721
+
81722
+ /**
81723
+ * @desc:dialog页面加载完成后通讯
81724
+ * @author huangbo
81725
+ * @date 2024年9月7日
81726
+ **/
81727
+ handleIframeLoad: function handleIframeLoad(iframe, data) {
81728
+ iframe = iframe ? iframe : document.getElementById(data.appCode || data.id);
81729
+ var origin = new URL(iframe.src).origin;
81730
+ iframe.contentWindow.postMessage(main_src_mainvue_type_script_lang_js_extends({}, data, { method: 'windowOpen' }), origin);
81731
+ },
81732
+
81733
+
81734
+ /**
81735
+ * @desc:排除属性
81736
+ * @author huangbo
81737
+ * @date 2024年9月7日
81738
+ **/
81739
+ exclAttribute: function exclAttribute(_ref3) {
81740
+ var data = _ref3.data,
81741
+ attrs = _ref3.attrs;
81742
+
81743
+ return utils_util.exclAttribute({ data: data, attrs: attrs });
81744
+ },
81745
+
81746
+ /**
81747
+ * @desc:关闭dialog
81748
+ * @author huangbo
81749
+ * @date 2024年9月7日
81750
+ **/
81751
+ handleClosed: function handleClosed(res, index) {
81752
+ var _this6 = this;
81952
81753
 
81953
- /**
81954
- * @desc:主应用向子应用发送事件
81955
- * @author huangbo
81956
- * @date 2024年9月7日
81957
- **/
81958
- busEmit: function busEmit(event, args) {
81959
- console.log('busEmit', event, args);
81754
+ // 在关闭弹窗后更新数量
81755
+ if (this.layoutType == 'simplicityTop') {
81756
+ this.$refs.main.getNums();
81757
+ }
81758
+ this.$nextTick(function () {
81759
+ _this6.dialogs.splice(index, 1);
81760
+ });
81761
+ },
81960
81762
 
81961
- external_wujie_vue2_default.a.bus.$emit(event, args);
81962
- var iframes = document.getElementsByTagName('iframe');
81963
- for (var i = 0; i < iframes.length; i++) {
81964
- var src = iframes[i] ? iframes[i].src : null;
81965
- var origin = utils_util.win.location.origin;
81966
- if (src && utils_util.startWith(src, 'http') && src.indexOf(origin) === -1) {
81967
- iframes[i] && iframes[i].contentWindow.postMessage({ method: event, query: args }, '*');
81968
- }
81763
+ /**
81764
+ * @desc:主应用向子应用发送事件
81765
+ * @author huangbo
81766
+ * @date 2024年9月7日
81767
+ **/
81768
+ busEmit: function busEmit(event, args) {
81769
+ console.log('busEmit', event, args);
81770
+
81771
+ external_wujie_vue2_default.a.bus.$emit(event, args);
81772
+ var iframes = document.getElementsByTagName('iframe');
81773
+ for (var i = 0; i < iframes.length; i++) {
81774
+ var src = iframes[i] ? iframes[i].src : null;
81775
+ var origin = utils_util.win.location.origin;
81776
+ if (src && utils_util.startWith(src, 'http') && src.indexOf(origin) === -1) {
81777
+ iframes[i] && iframes[i].contentWindow.postMessage({ method: event, query: args }, '*');
81969
81778
  }
81970
- var bus = this.bus || this.$root.Bus;
81971
- bus && bus.$emit(event, args);
81972
- this.$emit('busEvent', event, args);
81973
81779
  }
81974
- },
81975
- beforeDestroy: function beforeDestroy() {
81976
- window.removeEventListener('message', this.handleMessage);
81977
81780
  var bus = this.bus || this.$root.Bus;
81978
- if (bus) {
81979
- bus.$off('reLogin');
81980
- bus.$off('refresh');
81981
- bus.$off('windowOpen');
81982
- bus.$off('windowClose');
81983
- bus.$off('jumpMenu');
81984
- bus.$off('emit');
81985
- }
81986
- external_wujie_vue2_default.a.bus.$off('reLogin');
81987
- external_wujie_vue2_default.a.bus.$off('refresh');
81988
- external_wujie_vue2_default.a.bus.$off('jumpMenu');
81989
- external_wujie_vue2_default.a.bus.$off('emit');
81781
+ bus && bus.$emit(event, args);
81782
+ this.$emit('busEvent', event, args);
81990
81783
  }
81991
- });
81784
+ }, _name$inheritAttrs$pr.beforeDestroy = function beforeDestroy() {
81785
+ window.removeEventListener('message', this.handleMessage);
81786
+ var bus = this.bus || this.$root.Bus;
81787
+ if (bus) {
81788
+ bus.$off('reLogin');
81789
+ bus.$off('refresh');
81790
+ bus.$off('windowOpen');
81791
+ bus.$off('windowClose');
81792
+ bus.$off('jumpMenu');
81793
+ bus.$off('emit');
81794
+ }
81795
+ external_wujie_vue2_default.a.bus.$off('reLogin');
81796
+ external_wujie_vue2_default.a.bus.$off('refresh');
81797
+ external_wujie_vue2_default.a.bus.$off('jumpMenu');
81798
+ external_wujie_vue2_default.a.bus.$off('emit');
81799
+ }, _name$inheritAttrs$pr);
81992
81800
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=script&lang=js&
81993
81801
  /* harmony default export */ var packages_main_src_mainvue_type_script_lang_js_ = (main_src_mainvue_type_script_lang_js_);
81994
81802
  // CONCATENATED MODULE: ./packages/main/src/main.vue
@@ -82001,8 +81809,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
82001
81809
 
82002
81810
  var main_src_main_component = normalizeComponent(
82003
81811
  packages_main_src_mainvue_type_script_lang_js_,
82004
- mainvue_type_template_id_6ee4a0ee_render,
82005
- mainvue_type_template_id_6ee4a0ee_staticRenderFns,
81812
+ mainvue_type_template_id_08d4664a_render,
81813
+ mainvue_type_template_id_08d4664a_staticRenderFns,
82006
81814
  false,
82007
81815
  null,
82008
81816
  null,
@@ -102702,7 +102510,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102702
102510
  }
102703
102511
 
102704
102512
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102705
- version: '0.7.68',
102513
+ version: '0.7.70',
102706
102514
  install: install,
102707
102515
  Button: packages_button,
102708
102516
  ButtonGroup: button_group,