eoss-ui 0.7.73 → 0.7.75

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.
@@ -28203,8 +28203,8 @@ form_src_main.install = function (Vue) {
28203
28203
  };
28204
28204
 
28205
28205
  /* harmony default export */ var packages_form = (form_src_main);
28206
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=3280dd80&
28207
- var mainvue_type_template_id_3280dd80_render = function () {
28206
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=daa43608&
28207
+ var mainvue_type_template_id_daa43608_render = function () {
28208
28208
  var _vm = this
28209
28209
  var _h = _vm.$createElement
28210
28210
  var _c = _vm._self._c || _h
@@ -30863,9 +30863,9 @@ var mainvue_type_template_id_3280dd80_render = function () {
30863
30863
  ? _c(
30864
30864
  "es-dialog",
30865
30865
  {
30866
+ staticClass: "flow-chart-dialog",
30866
30867
  attrs: {
30867
30868
  "append-to-body": "",
30868
- height: "auto",
30869
30869
  "close-on-click-modal": false,
30870
30870
  title: "流程图查看",
30871
30871
  visible: _vm.showFlowChart,
@@ -31145,11 +31145,11 @@ var mainvue_type_template_id_3280dd80_render = function () {
31145
31145
  )
31146
31146
  : _vm._e()
31147
31147
  }
31148
- var mainvue_type_template_id_3280dd80_staticRenderFns = []
31149
- mainvue_type_template_id_3280dd80_render._withStripped = true
31148
+ var mainvue_type_template_id_daa43608_staticRenderFns = []
31149
+ mainvue_type_template_id_daa43608_render._withStripped = true
31150
31150
 
31151
31151
 
31152
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3280dd80&
31152
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=daa43608&
31153
31153
 
31154
31154
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4a620f86&
31155
31155
  var CommonOpinionsvue_type_template_id_4a620f86_render = function () {
@@ -48751,7 +48751,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
48751
48751
  showFlowChart: false, // 展示流程图弹窗
48752
48752
  isReject: false, // 是否驳回
48753
48753
  showTaskUnionExamine: false, //展示联合审核弹窗
48754
- charUrl: utils_util.win.location.origin,
48754
+ charUrl: 'https://yafzoa.scstit.com', //util.win.location.origin,
48755
48755
  endFlow: false, // 是否结束流程
48756
48756
  isCurrentNodeForbiddenChangeCandidate: 0, //是否禁止选择办理人
48757
48757
  isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
@@ -51060,8 +51060,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51060
51060
 
51061
51061
  var flow_src_main_component = normalizeComponent(
51062
51062
  packages_flow_src_mainvue_type_script_lang_js_,
51063
- mainvue_type_template_id_3280dd80_render,
51064
- mainvue_type_template_id_3280dd80_staticRenderFns,
51063
+ mainvue_type_template_id_daa43608_render,
51064
+ mainvue_type_template_id_daa43608_staticRenderFns,
51065
51065
  false,
51066
51066
  null,
51067
51067
  null,
@@ -61591,8 +61591,8 @@ mainvue_type_template_id_0fbde292_render._withStripped = true
61591
61591
 
61592
61592
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=0fbde292&
61593
61593
 
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=c4919c58&scoped=true&
61595
- var simplicityvue_type_template_id_c4919c58_scoped_true_render = function () {
61594
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
61595
+ var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
61596
61596
  var _vm = this
61597
61597
  var _h = _vm.$createElement
61598
61598
  var _c = _vm._self._c || _h
@@ -62358,11 +62358,11 @@ var simplicityvue_type_template_id_c4919c58_scoped_true_render = function () {
62358
62358
  ),
62359
62359
  ])
62360
62360
  }
62361
- var simplicityvue_type_template_id_c4919c58_scoped_true_staticRenderFns = []
62362
- simplicityvue_type_template_id_c4919c58_scoped_true_render._withStripped = true
62361
+ var simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns = []
62362
+ simplicityvue_type_template_id_6808c3e5_scoped_true_render._withStripped = true
62363
62363
 
62364
62364
 
62365
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=c4919c58&scoped=true&
62365
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
62366
62366
 
62367
62367
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
62368
62368
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -70051,6 +70051,7 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70051
70051
  handleLayout: function handleLayout(res, active) {
70052
70052
  if (active) {
70053
70053
  localStorage.setItem('layout', active);
70054
+ localStorage.setItem('layoutType', active);
70054
70055
  }
70055
70056
  this.$emit('chang-layout', res, active);
70056
70057
  },
@@ -70199,18 +70200,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70199
70200
 
70200
70201
  var simplicity_component = normalizeComponent(
70201
70202
  src_simplicityvue_type_script_lang_js_,
70202
- simplicityvue_type_template_id_c4919c58_scoped_true_render,
70203
- simplicityvue_type_template_id_c4919c58_scoped_true_staticRenderFns,
70203
+ simplicityvue_type_template_id_6808c3e5_scoped_true_render,
70204
+ simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns,
70204
70205
  false,
70205
70206
  null,
70206
- "c4919c58",
70207
+ "6808c3e5",
70207
70208
  null
70208
70209
 
70209
70210
  )
70210
70211
 
70211
70212
  /* harmony default export */ var simplicity = (simplicity_component.exports);
70212
- // 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=4a8a8fcc&scoped=true&
70213
- var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function () {
70213
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70214
+ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function () {
70214
70215
  var _vm = this
70215
70216
  var _h = _vm.$createElement
70216
70217
  var _c = _vm._self._c || _h
@@ -70341,11 +70342,79 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70341
70342
  _c(
70342
70343
  "div",
70343
70344
  { staticClass: "es-simplicitytop-menu-children" },
70344
- [
70345
- _vm._l(_vm.myRemind, function (child, i) {
70346
- return [
70347
- child.hasPermission
70345
+ _vm._l(_vm.myRemindMenu, function (child, i) {
70346
+ return _c(
70347
+ "div",
70348
+ {
70349
+ key: i,
70350
+ staticClass: "es-simplicitytop-menu-children-item",
70351
+ on: {
70352
+ click: function ($event) {
70353
+ _vm.remindSelect(child)
70354
+ },
70355
+ },
70356
+ },
70357
+ [
70358
+ _c(
70359
+ "div",
70360
+ { staticClass: "es-simplicitytop-menu-children-icon" },
70361
+ [
70362
+ _c("i", {
70363
+ class: child.icons
70364
+ ? child.icons
70365
+ : "es-icon-application",
70366
+ }),
70367
+ ]
70368
+ ),
70369
+ _c(
70370
+ "div",
70371
+ { staticClass: "es-simplicitytop-menu-children-name" },
70372
+ [
70373
+ _vm._v(
70374
+ "\n " +
70375
+ _vm._s(child.text || child.name) +
70376
+ "\n "
70377
+ ),
70378
+ ]
70379
+ ),
70380
+ child.num
70348
70381
  ? _c(
70382
+ "div",
70383
+ {
70384
+ staticClass:
70385
+ "es-simplicitytop-menu-children-badge",
70386
+ },
70387
+ [
70388
+ _vm._v(
70389
+ "\n " +
70390
+ _vm._s(child.num) +
70391
+ "\n "
70392
+ ),
70393
+ ]
70394
+ )
70395
+ : _vm._e(),
70396
+ ]
70397
+ )
70398
+ }),
70399
+ 0
70400
+ ),
70401
+ ]
70402
+ ),
70403
+ _vm.myShortcut.length > 0
70404
+ ? _c(
70405
+ "div",
70406
+ { staticClass: "es-simplicitytop-menu-item" },
70407
+ [
70408
+ _vm._m(0),
70409
+ _c(
70410
+ "el-scrollbar",
70411
+ { staticStyle: { height: "calc(100% - 45px)" } },
70412
+ [
70413
+ _c(
70414
+ "div",
70415
+ { staticClass: "es-simplicitytop-menu-children" },
70416
+ _vm._l(_vm.myShortcut, function (child, i) {
70417
+ return _c(
70349
70418
  "div",
70350
70419
  {
70351
70420
  key: i,
@@ -70353,7 +70422,7 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70353
70422
  "es-simplicitytop-menu-children-item",
70354
70423
  on: {
70355
70424
  click: function ($event) {
70356
- _vm.handleSelect(child)
70425
+ _vm.remindSelect(child)
70357
70426
  },
70358
70427
  },
70359
70428
  },
@@ -70364,7 +70433,13 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70364
70433
  staticClass:
70365
70434
  "es-simplicitytop-menu-children-icon",
70366
70435
  },
70367
- [_c("i", { class: child.icon })]
70436
+ [
70437
+ _c("i", {
70438
+ class: child.icons
70439
+ ? child.icons
70440
+ : "es-icon-application",
70441
+ }),
70442
+ ]
70368
70443
  ),
70369
70444
  _c(
70370
70445
  "div",
@@ -70375,96 +70450,13 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70375
70450
  [
70376
70451
  _vm._v(
70377
70452
  "\n " +
70378
- _vm._s(child.text || child.name) +
70453
+ _vm._s(child.text) +
70379
70454
  "\n "
70380
70455
  ),
70381
70456
  ]
70382
70457
  ),
70383
- child.badge && child.num
70384
- ? _c(
70385
- "div",
70386
- {
70387
- staticClass:
70388
- "es-simplicitytop-menu-children-badge",
70389
- },
70390
- [
70391
- _vm._v(
70392
- "\n " +
70393
- _vm._s(child.num) +
70394
- "\n "
70395
- ),
70396
- ]
70397
- )
70398
- : _vm._e(),
70399
70458
  ]
70400
70459
  )
70401
- : _vm._e(),
70402
- ]
70403
- }),
70404
- ],
70405
- 2
70406
- ),
70407
- ]
70408
- ),
70409
- _vm.userCommonMenuList.length > 0
70410
- ? _c(
70411
- "div",
70412
- { staticClass: "es-simplicitytop-menu-item" },
70413
- [
70414
- _vm._m(0),
70415
- _c(
70416
- "el-scrollbar",
70417
- { staticStyle: { height: "calc(100% - 45px)" } },
70418
- [
70419
- _c(
70420
- "div",
70421
- { staticClass: "es-simplicitytop-menu-children" },
70422
- _vm._l(_vm.userCommonMenuList, function (child, i) {
70423
- return child.hasPermission
70424
- ? _c(
70425
- "div",
70426
- {
70427
- key: i,
70428
- staticClass:
70429
- "es-simplicitytop-menu-children-item",
70430
- on: {
70431
- click: function ($event) {
70432
- _vm.handleSelect(child)
70433
- },
70434
- },
70435
- },
70436
- [
70437
- _c(
70438
- "div",
70439
- {
70440
- staticClass:
70441
- "es-simplicitytop-menu-children-icon",
70442
- },
70443
- [
70444
- _c("i", {
70445
- class: child.icons
70446
- ? child.icons
70447
- : "es-icon-application",
70448
- }),
70449
- ]
70450
- ),
70451
- _c(
70452
- "div",
70453
- {
70454
- staticClass:
70455
- "es-simplicitytop-menu-children-name",
70456
- },
70457
- [
70458
- _vm._v(
70459
- "\n " +
70460
- _vm._s(child.text) +
70461
- "\n "
70462
- ),
70463
- ]
70464
- ),
70465
- ]
70466
- )
70467
- : _vm._e()
70468
70460
  }),
70469
70461
  0
70470
70462
  ),
@@ -70605,24 +70597,6 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70605
70597
  },
70606
70598
  })
70607
70599
  : _vm._e(),
70608
- _c("apps", {
70609
- attrs: {
70610
- visible: _vm.showApps,
70611
- "menu-icon": _vm.menuIcon,
70612
- color: _vm.appColor,
70613
- backgroundColor: _vm.appBackgroundColor,
70614
- applications: _vm.applications,
70615
- business: _vm.business,
70616
- systems: _vm.systems,
70617
- user: _vm.user,
70618
- },
70619
- on: {
70620
- "update:visible": function ($event) {
70621
- _vm.showApps = $event
70622
- },
70623
- click: _vm.handlerClickApps,
70624
- },
70625
- }),
70626
70600
  _c(
70627
70601
  "el-drawer",
70628
70602
  {
@@ -70791,7 +70765,7 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70791
70765
  1
70792
70766
  )
70793
70767
  }
70794
- var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns = [
70768
+ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns = [
70795
70769
  function () {
70796
70770
  var _vm = this
70797
70771
  var _h = _vm.$createElement
@@ -70803,10 +70777,10 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns = [
70803
70777
  ])
70804
70778
  },
70805
70779
  ]
70806
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render._withStripped = true
70780
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render._withStripped = true
70807
70781
 
70808
70782
 
70809
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=4a8a8fcc&scoped=true&
70783
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70810
70784
 
70811
70785
  // 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&
70812
70786
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -70957,8 +70931,8 @@ var simplicityTop_avatar_component = normalizeComponent(
70957
70931
  )
70958
70932
 
70959
70933
  /* harmony default export */ var simplicityTop_avatar = (simplicityTop_avatar_component.exports);
70960
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=63cde61d&scoped=true&
70961
- var handlervue_type_template_id_63cde61d_scoped_true_render = function () {
70934
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
70935
+ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
70962
70936
  var _vm = this
70963
70937
  var _h = _vm.$createElement
70964
70938
  var _c = _vm._self._c || _h
@@ -71059,11 +71033,11 @@ var handlervue_type_template_id_63cde61d_scoped_true_render = function () {
71059
71033
  2
71060
71034
  )
71061
71035
  }
71062
- var handlervue_type_template_id_63cde61d_scoped_true_staticRenderFns = []
71063
- handlervue_type_template_id_63cde61d_scoped_true_render._withStripped = true
71036
+ var handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns = []
71037
+ handlervue_type_template_id_6434fb72_scoped_true_render._withStripped = true
71064
71038
 
71065
71039
 
71066
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=63cde61d&scoped=true&
71040
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
71067
71041
 
71068
71042
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71069
71043
  var simplicityTop_handlervue_type_script_lang_js_data;
@@ -71122,1747 +71096,152 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71122
71096
 
71123
71097
 
71124
71098
 
71125
- /* harmony default export */ var simplicityTop_handlervue_type_script_lang_js_ = ({
71126
- name: 'Handler',
71127
- components: {},
71128
- props: {
71129
- data: {
71130
- type: Array,
71131
- default: function _default() {
71132
- return [];
71133
- }
71134
- },
71135
- nums: {
71136
- type: Object,
71137
- default: function _default() {
71138
- return {};
71139
- }
71140
- },
71141
- showTitleType: {
71142
- type: String,
71143
- default: 'tooltip',
71144
- validator: function validator(val) {
71145
- return val === 'text' || val === 'tooltip';
71146
- }
71147
- },
71148
- user: {
71149
- type: Object,
71150
- default: function _default() {
71151
- return {};
71152
- }
71153
- }
71154
- },
71155
- data: function data() {
71156
- return {
71157
- time: '',
71158
- date: '',
71159
- timer: null,
71160
- handlers: [{
71161
- type: 'index',
71162
- icon: 'es-icon-zhuye',
71163
- text: '首页'
71164
- }, {
71165
- type: 'org'
71166
- }, {
71167
- type: 'online'
71168
- }, {
71169
- type: 'userinfo',
71170
- text: '个人资料',
71171
- icon: 'es-icon-yonghu'
71172
- }, {
71173
- type: 'set',
71174
- icon: 'es-icon-shezhi',
71175
- text: '设置'
71176
- }, {
71177
- type: 'quit',
71178
- icon: 'es-icon-tuichu',
71179
- text: '退出'
71180
- }]
71181
- };
71182
- },
71183
-
71184
- computed: {
71185
- isClick: function isClick() {
71186
- var useCaseCodes = utils_util.getStorage('useCaseCodes');
71187
- return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
71188
- }
71189
- },
71190
- watch: {
71191
- data: (simplicityTop_handlervue_type_script_lang_js_data = {
71192
- handler: 'deep',
71193
- immediate: true
71194
- }, simplicityTop_handlervue_type_script_lang_js_data['handler'] = function handler(newVal, oldVal) {}, simplicityTop_handlervue_type_script_lang_js_data)
71195
- },
71196
- created: function created() {
71197
- //this.time = util.timeCycle() + '好!';
71198
- this.date = utils_util.formatDate('', 'yyyy年M月d日');
71199
- },
71200
- mounted: function mounted() {
71201
- this.getTime();
71202
- },
71203
-
71204
- methods: {
71205
- //切换职务
71206
- handleUserSelect: function handleUserSelect(res) {
71207
- var _this = this;
71208
-
71209
- if (this.user.identityId !== res.id) {
71210
- utils_util.ajax({
71211
- method: 'post',
71212
- url: switchUserTo,
71213
- data: { userId: res.value }
71214
- }).then(function (res) {
71215
- if (res.rCode == 0) {
71216
- _this.$emit('close');
71217
- utils_util.setStorage({
71218
- type: _this.storage,
71219
- key: 'userId',
71220
- value: res.value
71221
- });
71222
- utils_util.removeStorage(['mainConfig', 'jump']);
71223
- _this.$message({
71224
- message: res.msg,
71225
- type: 'success',
71226
- duration: 500,
71227
- onClose: function onClose() {
71228
- if (utils_util.win.location.href.indexOf('#/main') > -1 || utils_util.win.location.href.indexOf('/main.html') > -1) {
71229
- location.reload();
71230
- } else {
71231
- _this.$router.replace('/main');
71232
- }
71233
- }
71234
- });
71235
- } else {
71236
- _this.$message({
71237
- message: res.msg || '系统错误,请联系管理员!',
71238
- type: 'error'
71239
- });
71240
- }
71241
- }).catch(function (err) {
71242
- if (err.message && err.message !== 'canceled') {
71243
- _this.$message.error(err.message);
71244
- }
71245
- });
71246
- }
71247
- },
71248
- getTime: function getTime() {
71249
- var _this2 = this;
71250
-
71251
- this.timer && clearInterval(this.timer);
71252
- this.timer = setInterval(function () {
71253
- _this2.time = utils_util.formatDate('', 'HH:mm:ss');
71254
- });
71255
- },
71256
- handleClick: function handleClick(res) {
71257
- this.$emit('click', res);
71258
- }
71259
- },
71260
- beforeDestroy: function beforeDestroy() {
71261
- clearInterval(this.timer);
71262
- }
71263
- });
71264
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71265
- /* harmony default export */ var src_simplicityTop_handlervue_type_script_lang_js_ = (simplicityTop_handlervue_type_script_lang_js_);
71266
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue
71267
-
71268
-
71269
-
71270
-
71271
-
71272
- /* normalize component */
71273
-
71274
- var simplicityTop_handler_component = normalizeComponent(
71275
- src_simplicityTop_handlervue_type_script_lang_js_,
71276
- handlervue_type_template_id_63cde61d_scoped_true_render,
71277
- handlervue_type_template_id_63cde61d_scoped_true_staticRenderFns,
71278
- false,
71279
- null,
71280
- "63cde61d",
71281
- null
71282
-
71283
- )
71284
-
71285
- /* harmony default export */ var simplicityTop_handler = (simplicityTop_handler_component.exports);
71286
- // 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/sub-menu.vue?vue&type=template&id=551bd2e0&scoped=true&
71287
- var sub_menuvue_type_template_id_551bd2e0_scoped_true_render = function () {
71288
- var this$1 = this
71289
- var _vm = this
71290
- var _h = _vm.$createElement
71291
- var _c = _vm._self._c || _h
71292
- return _c(
71293
- "el-drawer",
71294
- {
71295
- staticClass: "es-simplicity-subMenus",
71296
- attrs: {
71297
- direction: "ltr",
71298
- "modal-class": "es-simplicity-apps-modal",
71299
- size: "auto",
71300
- "modal-append-to-body": false,
71301
- "close-on-press-escape": false,
71302
- modal: false,
71303
- "with-header": false,
71304
- wrapperClosable: false,
71305
- visible: _vm.show,
71306
- },
71307
- on: {
71308
- "update:visible": function ($event) {
71309
- _vm.show = $event
71310
- },
71311
- },
71312
- },
71313
- [
71314
- _c(
71315
- "div",
71316
- {
71317
- staticClass: "es-simplicity-menus",
71318
- class: { "es-simplicity-menus-plus": _vm.mode == "plus" },
71319
- },
71320
- [
71321
- _c(
71322
- "div",
71323
- {
71324
- staticClass: "es-simplicity-menus-box",
71325
- style: { width: _vm.width + "px" },
71326
- },
71327
- [
71328
- _c(
71329
- "div",
71330
- { staticClass: "es-simplicity-menus-title" },
71331
- [
71332
- _c(
71333
- "el-tooltip",
71334
- {
71335
- staticClass: "item",
71336
- attrs: {
71337
- effect: "dark",
71338
- placement: "right",
71339
- content: _vm.title || _vm.text,
71340
- auto: true,
71341
- },
71342
- },
71343
- [
71344
- !_vm.fold
71345
- ? _c(
71346
- "span",
71347
- { staticClass: "es-simplicity-menus-title-text" },
71348
- [_vm._v(_vm._s(_vm.title || _vm.text))]
71349
- )
71350
- : _vm._e(),
71351
- ]
71352
- ),
71353
- _c("i", {
71354
- directives: [
71355
- {
71356
- name: "show",
71357
- rawName: "v-show",
71358
- value: !_vm.fold,
71359
- expression: "!fold",
71360
- },
71361
- ],
71362
- staticClass:
71363
- "es-icon-shouqi es-simplicity-menus-title-icon",
71364
- on: {
71365
- click: function ($event) {
71366
- _vm.handleFold(true)
71367
- },
71368
- },
71369
- }),
71370
- _c("i", {
71371
- directives: [
71372
- {
71373
- name: "show",
71374
- rawName: "v-show",
71375
- value: _vm.fold,
71376
- expression: "fold",
71377
- },
71378
- ],
71379
- staticClass:
71380
- "es-icon-zhankai es-simplicity-menus-title-icon",
71381
- on: {
71382
- click: function ($event) {
71383
- _vm.handleFold(false)
71384
- },
71385
- },
71386
- }),
71387
- ],
71388
- 1
71389
- ),
71390
- _vm.collapse
71391
- ? _c(
71392
- "div",
71393
- { staticClass: "es-simplicity-menus-scrollbar" },
71394
- [
71395
- _c("es-menu", {
71396
- attrs: {
71397
- popperClass: "es-simplicity_menus",
71398
- "menu-class": _vm.fold
71399
- ? "es-simplicity_menus es-simplicity_menus-fold"
71400
- : "es-simplicity_menus",
71401
- fourthTabs: true,
71402
- data: _vm.menus,
71403
- menuIcon: _vm.menuIcon,
71404
- color: _vm.color,
71405
- backgroundColor: _vm.backgroundColor,
71406
- "show-title": false,
71407
- collapse: _vm.fold,
71408
- },
71409
- on: { select: _vm.handleSelect },
71410
- }),
71411
- ],
71412
- 1
71413
- )
71414
- : _c("menu-list", {
71415
- attrs: {
71416
- active: _vm.actives[0],
71417
- data: _vm.menus,
71418
- menuIcon: _vm.menuIcon,
71419
- color: _vm.color,
71420
- backgroundColor: _vm.backgroundColor,
71421
- fold: _vm.fold,
71422
- width: _vm.size,
71423
- },
71424
- on: {
71425
- menter: function (res) {
71426
- this$1.getData(res, 0, true)
71427
- },
71428
- mleave: function (res) {
71429
- this$1.getData(res, 0, false)
71430
- },
71431
- hover: _vm.handleHover,
71432
- command: _vm.handleCommand,
71433
- },
71434
- }),
71435
- ],
71436
- 1
71437
- ),
71438
- _c(
71439
- "div",
71440
- {
71441
- directives: [
71442
- {
71443
- name: "show",
71444
- rawName: "v-show",
71445
- value: _vm.subMenus.length,
71446
- expression: "subMenus.length",
71447
- },
71448
- ],
71449
- staticClass: "es-simplicity-menus-view",
71450
- on: { mouseleave: _vm.handleLeave, mouseenter: _vm.handleEnter },
71451
- },
71452
- _vm._l(_vm.subMenus, function (item, index) {
71453
- return _c(
71454
- "div",
71455
- { key: item.id, staticClass: "es-simplicity-menus-box" },
71456
- [
71457
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
71458
- _c(
71459
- "span",
71460
- { staticClass: "es-simplicity-menus-title-text" },
71461
- [_vm._v(_vm._s(item.name || item.text || item.title))]
71462
- ),
71463
- ]),
71464
- _c("menu-list", {
71465
- attrs: {
71466
- active: _vm.actives[index + 1],
71467
- data: item.children.concat(item.fourthTabs),
71468
- menuIcon: _vm.menuIcon,
71469
- color: _vm.color,
71470
- backgroundColor: _vm.backgroundColor,
71471
- width: _vm.size,
71472
- },
71473
- on: {
71474
- menter: function (res) {
71475
- _vm.getData(res, index + 1, true)
71476
- },
71477
- mleave: function (res) {
71478
- _vm.getData(res, index + 1, false)
71479
- },
71480
- command: _vm.handleCommand,
71481
- },
71482
- }),
71483
- ],
71484
- 1
71485
- )
71486
- }),
71487
- 0
71488
- ),
71489
- ]
71490
- ),
71491
- ]
71492
- )
71493
- }
71494
- var sub_menuvue_type_template_id_551bd2e0_scoped_true_staticRenderFns = []
71495
- sub_menuvue_type_template_id_551bd2e0_scoped_true_render._withStripped = true
71496
-
71497
-
71498
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue?vue&type=template&id=551bd2e0&scoped=true&
71499
-
71500
- // 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/menu-list.vue?vue&type=template&id=29e56eef&scoped=true&
71501
- var menu_listvue_type_template_id_29e56eef_scoped_true_render = function () {
71502
- var _vm = this
71503
- var _h = _vm.$createElement
71504
- var _c = _vm._self._c || _h
71505
- return _c("el-scrollbar", { staticClass: "es-simplicity-menus-scrollbar" }, [
71506
- _c(
71507
- "div",
71508
- {
71509
- staticClass: "es-simplicity-menus-lists",
71510
- class: { "is-fold": _vm.fold },
71511
- on: {
71512
- mouseleave: function ($event) {
71513
- _vm.handleOut(true)
71514
- },
71515
- mouseenter: function ($event) {
71516
- _vm.handleOut(false)
71517
- },
71518
- },
71519
- },
71520
- _vm._l(_vm.data, function (item, index) {
71521
- return _c(
71522
- "div",
71523
- {
71524
- key: item.id,
71525
- staticClass: "es-simplicity-menus-item",
71526
- class: { "is-fold": _vm.fold, "is-active": _vm.active == item.id },
71527
- attrs: { title: _vm.fold ? item.text || item.name : "" },
71528
- on: {
71529
- click: function ($event) {
71530
- _vm.handleClick(item)
71531
- },
71532
- mouseenter: function ($event) {
71533
- _vm.handleEnter(item)
71534
- },
71535
- mouseleave: function ($event) {
71536
- _vm.handleLeave(item)
71537
- },
71538
- },
71539
- },
71540
- [
71541
- _vm.fold
71542
- ? [
71543
- _c(
71544
- "el-badge",
71545
- { attrs: { "is-dot": "", hidden: !item.tips } },
71546
- [
71547
- _c("es-icon", {
71548
- staticClass: "es-simplicity_apps-icon",
71549
- style: _vm.setStyle(index),
71550
- attrs: {
71551
- contents: item.icons || item.icon || _vm.menuIcon,
71552
- },
71553
- }),
71554
- ],
71555
- 1
71556
- ),
71557
- ]
71558
- : [
71559
- _c("es-icon", {
71560
- staticClass: "es-simplicity_apps-icon",
71561
- style: _vm.setStyle(index),
71562
- attrs: {
71563
- contents: item.icons || item.icon || _vm.menuIcon,
71564
- },
71565
- }),
71566
- item.tips
71567
- ? _c("div", { staticClass: "es-simplicity-menus-tips" }, [
71568
- _vm._v(
71569
- "\n " +
71570
- _vm._s(item.tips > 99 ? "99+" : item.tips) +
71571
- "\n "
71572
- ),
71573
- ])
71574
- : _vm._e(),
71575
- ],
71576
- _c(
71577
- "div",
71578
- {
71579
- directives: [
71580
- {
71581
- name: "show",
71582
- rawName: "v-show",
71583
- value: !_vm.fold,
71584
- expression: "!fold",
71585
- },
71586
- ],
71587
- staticClass: "es-simplicity_apps-text",
71588
- },
71589
- [
71590
- _vm._v(
71591
- "\n " + _vm._s(item.text || item.name) + "\n "
71592
- ),
71593
- ]
71594
- ),
71595
- _c("i", {
71596
- directives: [
71597
- {
71598
- name: "show",
71599
- rawName: "v-show",
71600
- value:
71601
- (item.children && item.children.length) ||
71602
- (item.fourthTabs && item.fourthTabs.length),
71603
- expression:
71604
- "\n (item.children && item.children.length) ||\n (item.fourthTabs && item.fourthTabs.length)\n ",
71605
- },
71606
- ],
71607
- staticClass: "es-icon-you es-simplicity-menus-item-icon",
71608
- }),
71609
- ],
71610
- 2
71611
- )
71612
- }),
71613
- 0
71614
- ),
71615
- ])
71616
- }
71617
- var menu_listvue_type_template_id_29e56eef_scoped_true_staticRenderFns = []
71618
- menu_listvue_type_template_id_29e56eef_scoped_true_render._withStripped = true
71619
-
71620
-
71621
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue?vue&type=template&id=29e56eef&scoped=true&
71622
-
71623
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/menu-list.vue?vue&type=script&lang=js&
71624
- //
71625
- //
71626
- //
71627
- //
71628
- //
71629
- //
71630
- //
71631
- //
71632
- //
71633
- //
71634
- //
71635
- //
71636
- //
71637
- //
71638
- //
71639
- //
71640
- //
71641
- //
71642
- //
71643
- //
71644
- //
71645
- //
71646
- //
71647
- //
71648
- //
71649
- //
71650
- //
71651
- //
71652
- //
71653
- //
71654
- //
71655
- //
71656
- //
71657
- //
71658
- //
71659
- //
71660
- //
71661
- //
71662
- //
71663
- //
71664
- //
71665
- //
71666
- //
71667
- //
71668
- //
71669
- //
71670
- //
71671
- //
71672
- //
71673
- //
71674
- //
71675
- //
71676
-
71677
-
71678
- /* harmony default export */ var simplicityTop_menu_listvue_type_script_lang_js_ = ({
71679
- name: 'MenuList',
71680
- components: {},
71681
- props: {
71682
- active: String,
71683
- menuIcon: String,
71684
- color: [String, Array],
71685
- backgroundColor: [String, Array],
71686
- data: Array,
71687
- fold: Boolean,
71688
- width: Number,
71689
- popover: Boolean,
71690
- parent: Object
71691
- },
71692
- data: function data() {
71693
- return {
71694
- defaultActive: this.active,
71695
- show: false,
71696
- height: document.body.offsetHeight - 44
71697
- };
71698
- },
71699
-
71700
- computed: {},
71701
- watch: {
71702
- popover: function popover() {
71703
- if (this.$el.offsetHeight > this.height) {
71704
- this.$el.style.height = this.height + 'px';
71705
- } else {
71706
- this.$el.style.height = '';
71707
- }
71708
- }
71709
- },
71710
- created: function created() {},
71711
- mounted: function mounted() {},
71712
-
71713
- methods: {
71714
- setStyle: function setStyle(num) {
71715
- var obj = {};
71716
- if (this.color) {
71717
- obj.color = this.color;
71718
- if (Array.isArray(this.color)) {
71719
- obj.color = this.color[num % this.color.length];
71720
- } else {
71721
- obj.color = this.color;
71722
- }
71723
- }
71724
- if (this.backgroundColor) {
71725
- if (Array.isArray(this.backgroundColor)) {
71726
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
71727
- } else {
71728
- obj.backgroundColor = this.backgroundColor;
71729
- }
71730
- }
71731
- return obj;
71732
- },
71733
- handleClick: function handleClick(res) {
71734
- this.defaultActive = res.id;
71735
- if (res.url) {
71736
- if (res.urlopenmode == 1) {
71737
- utils_util.win.open(res.url);
71738
- return;
71739
- } else if (res.urlopenmode == 2) {
71740
- utils_util.win.open(res.url, '_self');
71741
- return;
71742
- }
71743
- this.$emit('command', res);
71744
- }
71745
- },
71746
- handleEnter: function handleEnter(res) {
71747
- this.$emit('menter', res);
71748
- },
71749
- handleLeave: function handleLeave(res) {
71750
- this.$emit('mleave', res);
71751
- },
71752
- handleOut: function handleOut(res) {
71753
- this.$emit('mout', res);
71754
- }
71755
- }
71756
- });
71757
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue?vue&type=script&lang=js&
71758
- /* harmony default export */ var src_simplicityTop_menu_listvue_type_script_lang_js_ = (simplicityTop_menu_listvue_type_script_lang_js_);
71759
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue
71760
-
71761
-
71762
-
71763
-
71764
-
71765
- /* normalize component */
71766
-
71767
- var simplicityTop_menu_list_component = normalizeComponent(
71768
- src_simplicityTop_menu_listvue_type_script_lang_js_,
71769
- menu_listvue_type_template_id_29e56eef_scoped_true_render,
71770
- menu_listvue_type_template_id_29e56eef_scoped_true_staticRenderFns,
71771
- false,
71772
- null,
71773
- "29e56eef",
71774
- null
71775
-
71776
- )
71777
-
71778
- /* harmony default export */ var simplicityTop_menu_list = (simplicityTop_menu_list_component.exports);
71779
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/sub-menu.vue?vue&type=script&lang=js&
71780
- //
71781
- //
71782
- //
71783
- //
71784
- //
71785
- //
71786
- //
71787
- //
71788
- //
71789
- //
71790
- //
71791
- //
71792
- //
71793
- //
71794
- //
71795
- //
71796
- //
71797
- //
71798
- //
71799
- //
71800
- //
71801
- //
71802
- //
71803
- //
71804
- //
71805
- //
71806
- //
71807
- //
71808
- //
71809
- //
71810
- //
71811
- //
71812
- //
71813
- //
71814
- //
71815
- //
71816
- //
71817
- //
71818
- //
71819
- //
71820
- //
71821
- //
71822
- //
71823
- //
71824
- //
71825
- //
71826
- //
71827
- //
71828
- //
71829
- //
71830
- //
71831
- //
71832
- //
71833
- //
71834
- //
71835
- //
71836
- //
71837
- //
71838
- //
71839
- //
71840
- //
71841
- //
71842
- //
71843
- //
71844
- //
71845
- //
71846
- //
71847
- //
71848
- //
71849
- //
71850
- //
71851
- //
71852
- //
71853
- //
71854
- //
71855
- //
71856
- //
71857
- //
71858
- //
71859
- //
71860
- //
71861
- //
71862
- //
71863
- //
71864
- //
71865
- //
71866
- //
71867
- //
71868
- //
71869
- //
71870
- //
71871
- //
71872
- //
71873
- //
71874
- //
71875
- //
71876
- //
71877
- //
71878
- //
71879
- //
71880
- //
71881
- //
71882
- //
71883
- //
71884
- //
71885
- //
71886
- //
71887
- //
71888
- //
71889
- //
71890
- //
71891
- //
71892
- //
71893
- //
71894
- //
71895
- //
71896
- //
71897
- //
71898
- //
71899
- //
71900
- //
71901
- //
71902
- //
71903
-
71904
-
71905
- /* harmony default export */ var simplicityTop_sub_menuvue_type_script_lang_js_ = ({
71906
- name: 'SubMenu',
71907
- components: { MenuList: simplicityTop_menu_list },
71908
- props: {
71909
- mode: String,
71910
- collapse: Boolean,
71911
- title: String,
71912
- closed: Boolean,
71913
- color: {
71914
- type: [String, Array],
71915
- default: '#fff'
71916
- },
71917
- backgroundColor: {
71918
- type: [String, Array],
71919
- default: function _default() {
71920
- return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
71921
- }
71922
- },
71923
- size: {
71924
- type: Number,
71925
- default: 220
71926
- },
71927
- visible: Boolean,
71928
- text: String,
71929
- menuIcon: String,
71930
- children: {
71931
- type: Array,
71932
- default: function _default() {
71933
- return [];
71934
- }
71935
- },
71936
- fourthTabs: {
71937
- type: Array,
71938
- default: function _default() {
71939
- return [];
71940
- }
71941
- }
71942
- },
71943
- data: function data() {
71944
- return {
71945
- fold: this.closed,
71946
- width: this.size,
71947
- subMenus: [],
71948
- isEnter: false,
71949
- timer: null,
71950
- actives: []
71951
- };
71952
- },
71953
-
71954
- computed: {
71955
- menus: function menus() {
71956
- return [].concat(this.children, this.fourthTabs);
71957
- },
71958
-
71959
- show: {
71960
- get: function get() {
71961
- return this.visible;
71962
- },
71963
- set: function set(val) {
71964
- this.$emit('update:visible', val);
71965
- return val;
71966
- }
71967
- }
71968
- },
71969
- watch: {
71970
- closed: function closed(val) {
71971
- this.fold = val;
71972
- if (val) {
71973
- this.width = 48;
71974
- } else {
71975
- this.width = this.size;
71976
- }
71977
- },
71978
- visible: function visible(val) {
71979
- val === false && (this.actives = []);
71980
- }
71981
- },
71982
- created: function created() {},
71983
- mounted: function mounted() {},
71984
-
71985
- methods: {
71986
- handleFold: function handleFold(res) {
71987
- this.fold = res;
71988
- if (res) {
71989
- this.width = 48;
71990
- } else {
71991
- this.width = this.size;
71992
- }
71993
- this.$emit('update:closed', res);
71994
- },
71995
- handleCommand: function handleCommand(res) {
71996
- this.$emit('command', res);
71997
- },
71998
- handleSelect: function handleSelect(res) {
71999
- this.$emit('command', res.node);
72000
- },
72001
- getData: function getData(res, n, is) {
72002
- var _this = this;
72003
-
72004
- this.isEnter = is;
72005
- if (is) {
72006
- this.actives.splice(n);
72007
- if (this.actives[n]) {
72008
- this.actives[n] = res.id;
72009
- } else {
72010
- this.actives.push(res.id);
72011
- }
72012
- this.subMenus.splice(n);
72013
- var children = res.children,
72014
- fourthTabs = res.fourthTabs;
72015
-
72016
- if (children && children.length || fourthTabs && fourthTabs.length) {
72017
- this.subMenus = this.subMenus.concat(res);
72018
- }
72019
- } else {
72020
- if (n == 0) {
72021
- clearTimeout(this.timer);
72022
- this.timer = setTimeout(function () {
72023
- if (res && !_this.isEnter) {
72024
- _this.subMenus = [];
72025
- _this.actives = [];
72026
- }
72027
- }, 300);
72028
- }
72029
- }
72030
- },
72031
- handleHover: function handleHover(res) {
72032
- this.isEnter = res;
72033
- //if(this)
72034
- },
72035
- clearSubmenu: function clearSubmenu() {
72036
- this.$refs.menus.clearActive();
72037
- this.subMenus = [];
72038
- },
72039
- handleLeave: function handleLeave() {
72040
- this.subMenus = [];
72041
- this.actives = [];
72042
- },
72043
- handleEnter: function handleEnter() {
72044
- this.isEnter = true;
72045
- }
72046
- }
72047
- });
72048
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue?vue&type=script&lang=js&
72049
- /* harmony default export */ var src_simplicityTop_sub_menuvue_type_script_lang_js_ = (simplicityTop_sub_menuvue_type_script_lang_js_);
72050
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue
72051
-
72052
-
72053
-
72054
-
72055
-
72056
- /* normalize component */
72057
-
72058
- var simplicityTop_sub_menu_component = normalizeComponent(
72059
- src_simplicityTop_sub_menuvue_type_script_lang_js_,
72060
- sub_menuvue_type_template_id_551bd2e0_scoped_true_render,
72061
- sub_menuvue_type_template_id_551bd2e0_scoped_true_staticRenderFns,
72062
- false,
72063
- null,
72064
- "551bd2e0",
72065
- null
72066
-
72067
- )
72068
-
72069
- /* harmony default export */ var simplicityTop_sub_menu = (simplicityTop_sub_menu_component.exports);
72070
- // 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/apps.vue?vue&type=template&id=08547d6a&scoped=true&
72071
- var appsvue_type_template_id_08547d6a_scoped_true_render = function () {
72072
- var this$1 = this
72073
- var _vm = this
72074
- var _h = _vm.$createElement
72075
- var _c = _vm._self._c || _h
72076
- return _c(
72077
- "el-drawer",
72078
- {
72079
- staticClass: "es-simplicity-apps",
72080
- attrs: {
72081
- direction: "ltr",
72082
- "modal-class": "es-simplicity-apps-modal",
72083
- size: "90%",
72084
- "modal-append-to-body": false,
72085
- "with-header": false,
72086
- visible: _vm.show,
72087
- },
72088
- on: {
72089
- "update:visible": function ($event) {
72090
- _vm.show = $event
72091
- },
72092
- },
72093
- },
72094
- [
72095
- _c("div", { staticClass: "es-simplicity_apps" }, [
72096
- _c(
72097
- "div",
72098
- { staticClass: "es-simplicity_apps-all" },
72099
- [
72100
- _c(
72101
- "div",
72102
- { staticClass: "es-simplicity_apps-title" },
72103
- [
72104
- _vm._v("\n 所有业务系统\n "),
72105
- _c("el-input", {
72106
- staticClass: "es-simplicity_apps-search",
72107
- attrs: {
72108
- size: "medium",
72109
- placeholder: "请输入关键字",
72110
- "prefix-icon": "el-icon-search",
72111
- },
72112
- model: {
72113
- value: _vm.value,
72114
- callback: function ($$v) {
72115
- _vm.value = $$v
72116
- },
72117
- expression: "value",
72118
- },
72119
- }),
72120
- ],
72121
- 1
72122
- ),
72123
- _c(
72124
- "div",
72125
- {
72126
- staticClass: "es-simplicity_apps-box",
72127
- on: { mousewheel: _vm.handleWheel },
72128
- },
72129
- [
72130
- _c(
72131
- "ul",
72132
- { staticClass: "es-simplicity_apps-list" },
72133
- _vm._l(_vm._applications, function (item) {
72134
- return _c(
72135
- "li",
72136
- {
72137
- key: item.id,
72138
- staticClass: "es-simplicity_apps-list-item",
72139
- },
72140
- [
72141
- _c(
72142
- "div",
72143
- {
72144
- staticClass: "es-simplicity_apps-list-content",
72145
- class: {
72146
- "es-simplicity_apps-disabled": !item.permission,
72147
- },
72148
- on: {
72149
- click: function ($event) {
72150
- _vm.handleClick(item)
72151
- },
72152
- },
72153
- },
72154
- [
72155
- _c(
72156
- "el-badge",
72157
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
72158
- [
72159
- _c("es-icon", {
72160
- staticClass: "es-simplicity_apps-icon",
72161
- attrs: {
72162
- contents:
72163
- item.icons || item.icon || _vm.menuIcon,
72164
- },
72165
- }),
72166
- ],
72167
- 1
72168
- ),
72169
- _c(
72170
- "div",
72171
- { staticClass: "es-simplicity_apps-text" },
72172
- [
72173
- _vm._v(
72174
- "\n " +
72175
- _vm._s(item.text || item.name) +
72176
- "\n "
72177
- ),
72178
- ]
72179
- ),
72180
- _c(
72181
- "div",
72182
- { staticClass: "es-simplicity_apps-hover" },
72183
- [
72184
- _c("es-icon", {
72185
- staticClass: "es-simplicity_apps-icon",
72186
- attrs: {
72187
- contents: item.permission
72188
- ? "es-icon-solid-you"
72189
- : "es-icon-mima",
72190
- },
72191
- }),
72192
- _c(
72193
- "div",
72194
- { staticClass: "es-simplicity_apps-text" },
72195
- [
72196
- _vm._v(
72197
- "\n " +
72198
- _vm._s(
72199
- item.permission
72200
- ? "进入系统"
72201
- : "暂无权限"
72202
- ) +
72203
- "\n "
72204
- ),
72205
- ]
72206
- ),
72207
- ],
72208
- 1
72209
- ),
72210
- ],
72211
- 1
72212
- ),
72213
- ]
72214
- )
72215
- }),
72216
- 0
72217
- ),
72218
- ]
72219
- ),
72220
- _c("el-pagination", {
72221
- staticClass: "es-simplicity_apps-pagination",
72222
- attrs: {
72223
- background: "",
72224
- layout: "total,prev, pager, next",
72225
- "total-text": "共 {total} 个业务系统",
72226
- "page-size": _vm.appSize,
72227
- total: _vm.apps.length,
72228
- "current-page": _vm.appNum,
72229
- },
72230
- on: {
72231
- "update:currentPage": function ($event) {
72232
- _vm.appNum = $event
72233
- },
72234
- "current-change": function (res) {
72235
- this$1.handleChange(res, 0)
72236
- },
72237
- },
72238
- }),
72239
- ],
72240
- 1
72241
- ),
72242
- _c("div", { staticClass: "es-simplicity_apps-other" }, [
72243
- _c(
72244
- "div",
72245
- { staticClass: "es-simplicity_apps-business" },
72246
- [
72247
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
72248
- _vm._v("专项业务系统"),
72249
- ]),
72250
- _c(
72251
- "ul",
72252
- { staticClass: "es-simplicity_apps-list" },
72253
- _vm._l(_vm._business, function (item, index) {
72254
- return _c(
72255
- "li",
72256
- {
72257
- key: item.id,
72258
- staticClass: "es-simplicity_apps-list-item",
72259
- },
72260
- [
72261
- _c(
72262
- "div",
72263
- {
72264
- staticClass: "es-simplicity_apps-list-content",
72265
- class: {
72266
- "es-simplicity_apps-disabled": !item.permission,
72267
- },
72268
- on: {
72269
- click: function ($event) {
72270
- _vm.handleClick(item)
72271
- },
72272
- },
72273
- },
72274
- [
72275
- _c("es-icon", {
72276
- staticClass: "es-simplicity_app-icon",
72277
- style: _vm.setStyle(index),
72278
- attrs: {
72279
- contents: item.icons || item.icon || _vm.menuIcon,
72280
- },
72281
- }),
72282
- _c(
72283
- "el-badge",
72284
- _vm._b(
72285
- { staticClass: "es-simplicity_apps-texts" },
72286
- "el-badge",
72287
- _vm.getBadge(item),
72288
- false
72289
- ),
72290
- [
72291
- _c(
72292
- "div",
72293
- { staticClass: "es-simplicity_apps-text" },
72294
- [
72295
- _vm._v(
72296
- "\n " +
72297
- _vm._s(item.text || item.name) +
72298
- "\n "
72299
- ),
72300
- ]
72301
- ),
72302
- ]
72303
- ),
72304
- _c(
72305
- "div",
72306
- { staticClass: "es-simplicity_apps-hover" },
72307
- [
72308
- _c("es-icon", {
72309
- staticClass: "es-simplicity_apps-icon",
72310
- attrs: {
72311
- contents: item.permission
72312
- ? "es-icon-solid-you"
72313
- : "es-icon-mima",
72314
- },
72315
- }),
72316
- _c(
72317
- "div",
72318
- { staticClass: "es-simplicity_apps-text" },
72319
- [
72320
- _vm._v(
72321
- "\n " +
72322
- _vm._s(
72323
- item.permission
72324
- ? "进入系统"
72325
- : "暂无权限"
72326
- ) +
72327
- "\n "
72328
- ),
72329
- ]
72330
- ),
72331
- ],
72332
- 1
72333
- ),
72334
- ],
72335
- 1
72336
- ),
72337
- ]
72338
- )
72339
- }),
72340
- 0
72341
- ),
72342
- _c("el-pagination", {
72343
- staticClass: "es-simplicity_apps-pagination",
72344
- attrs: {
72345
- background: "",
72346
- layout: "total,prev, pager, next",
72347
- "total-text": "共 {total} 专项业务系统",
72348
- "page-size": _vm.bsSize,
72349
- total: _vm.business.length,
72350
- },
72351
- on: {
72352
- "current-change": function (res) {
72353
- this$1.handleChange(res, 1)
72354
- },
72355
- },
72356
- }),
72357
- ],
72358
- 1
72359
- ),
72360
- _c(
72361
- "div",
72362
- { staticClass: "es-simplicity_apps-systems" },
72363
- [
72364
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
72365
- _vm._v("系统设置"),
72366
- ]),
72367
- _c(
72368
- "ul",
72369
- { staticClass: "es-simplicity_apps-list" },
72370
- _vm._l(_vm._systems, function (item, index) {
72371
- return _c(
72372
- "li",
72373
- {
72374
- key: item.id,
72375
- staticClass: "es-simplicity_apps-list-item",
72376
- },
72377
- [
72378
- _c(
72379
- "div",
72380
- {
72381
- staticClass: "es-simplicity_apps-list-content",
72382
- class: {
72383
- "es-simplicity_apps-disabled": !item.permission,
72384
- },
72385
- on: {
72386
- click: function ($event) {
72387
- _vm.handleClick(item)
72388
- },
72389
- },
72390
- },
72391
- [
72392
- _c("es-icon", {
72393
- staticClass: "es-simplicity_app-icon",
72394
- style: _vm.setStyle(index),
72395
- attrs: {
72396
- contents: item.icons || item.icon || _vm.menuIcon,
72397
- },
72398
- }),
72399
- _c(
72400
- "el-badge",
72401
- _vm._b(
72402
- { staticClass: "es-simplicity_apps-texts" },
72403
- "el-badge",
72404
- _vm.getBadge(item),
72405
- false
72406
- ),
72407
- [
72408
- _c(
72409
- "div",
72410
- { staticClass: "es-simplicity_apps-text" },
72411
- [
72412
- _vm._v(
72413
- "\n " +
72414
- _vm._s(item.text || item.name) +
72415
- "\n "
72416
- ),
72417
- ]
72418
- ),
72419
- ]
72420
- ),
72421
- _c(
72422
- "div",
72423
- { staticClass: "es-simplicity_apps-hover" },
72424
- [
72425
- _c("es-icon", {
72426
- staticClass: "es-simplicity_apps-icon",
72427
- attrs: {
72428
- contents: item.permission
72429
- ? "es-icon-solid-you"
72430
- : "es-icon-mima",
72431
- },
72432
- }),
72433
- _c(
72434
- "div",
72435
- { staticClass: "es-simplicity_apps-text" },
72436
- [
72437
- _vm._v(
72438
- "\n " +
72439
- _vm._s(
72440
- item.permission
72441
- ? "进入系统"
72442
- : "暂无权限"
72443
- ) +
72444
- "\n "
72445
- ),
72446
- ]
72447
- ),
72448
- ],
72449
- 1
72450
- ),
72451
- ],
72452
- 1
72453
- ),
72454
- ]
72455
- )
72456
- }),
72457
- 0
72458
- ),
72459
- _c("el-pagination", {
72460
- staticClass: "es-simplicity_apps-pagination",
72461
- attrs: {
72462
- background: "",
72463
- layout: "total,prev, pager, next",
72464
- "total-text": "共 {total} 系统设置",
72465
- "hide-on-single-page": "",
72466
- "page-size": _vm.sysSize,
72467
- total: _vm.systems.length,
72468
- },
72469
- on: {
72470
- "current-change": function (res) {
72471
- this$1.handleChange(res, 2)
72472
- },
72473
- },
72474
- }),
72475
- ],
72476
- 1
72477
- ),
72478
- ]),
72479
- ]),
72480
- ]
72481
- )
72482
- }
72483
- var appsvue_type_template_id_08547d6a_scoped_true_staticRenderFns = []
72484
- appsvue_type_template_id_08547d6a_scoped_true_render._withStripped = true
72485
-
72486
-
72487
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue?vue&type=template&id=08547d6a&scoped=true&
72488
-
72489
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/apps.vue?vue&type=script&lang=js&
72490
- //
72491
- //
72492
- //
72493
- //
72494
- //
72495
- //
72496
- //
72497
- //
72498
- //
72499
- //
72500
- //
72501
- //
72502
- //
72503
- //
72504
- //
72505
- //
72506
- //
72507
- //
72508
- //
72509
- //
72510
- //
72511
- //
72512
- //
72513
- //
72514
- //
72515
- //
72516
- //
72517
- //
72518
- //
72519
- //
72520
- //
72521
- //
72522
- //
72523
- //
72524
- //
72525
- //
72526
- //
72527
- //
72528
- //
72529
- //
72530
- //
72531
- //
72532
- //
72533
- //
72534
- //
72535
- //
72536
- //
72537
- //
72538
- //
72539
- //
72540
- //
72541
- //
72542
- //
72543
- //
72544
- //
72545
- //
72546
- //
72547
- //
72548
- //
72549
- //
72550
- //
72551
- //
72552
- //
72553
- //
72554
- //
72555
- //
72556
- //
72557
- //
72558
- //
72559
- //
72560
- //
72561
- //
72562
- //
72563
- //
72564
- //
72565
- //
72566
- //
72567
- //
72568
- //
72569
- //
72570
- //
72571
- //
72572
- //
72573
- //
72574
- //
72575
- //
72576
- //
72577
- //
72578
- //
72579
- //
72580
- //
72581
- //
72582
- //
72583
- //
72584
- //
72585
- //
72586
- //
72587
- //
72588
- //
72589
- //
72590
- //
72591
- //
72592
- //
72593
- //
72594
- //
72595
- //
72596
- //
72597
- //
72598
- //
72599
- //
72600
- //
72601
- //
72602
- //
72603
- //
72604
- //
72605
- //
72606
- //
72607
- //
72608
- //
72609
- //
72610
- //
72611
- //
72612
- //
72613
- //
72614
- //
72615
- //
72616
- //
72617
- //
72618
- //
72619
- //
72620
- //
72621
- //
72622
- //
72623
- //
72624
- //
72625
- //
72626
- //
72627
- //
72628
- //
72629
- //
72630
- //
72631
- //
72632
- //
72633
- //
72634
- //
72635
- //
72636
- //
72637
- //
72638
- //
72639
- //
72640
- //
72641
- //
72642
- //
72643
- //
72644
- //
72645
- //
72646
- //
72647
- //
72648
- //
72649
- //
72650
- //
72651
- //
72652
- //
72653
- //
72654
- //
72655
- //
72656
- //
72657
- //
72658
- //
72659
- //
72660
- //
72661
- //
72662
- //
72663
- //
72664
- //
72665
- //
72666
- //
72667
- //
72668
- //
72669
- //
72670
- //
72671
- //
72672
- //
72673
- //
72674
- //
72675
- //
72676
- //
72677
- //
72678
- //
72679
- //
72680
- //
72681
- //
72682
-
72683
-
72684
-
72685
-
72686
- /* harmony default export */ var simplicityTop_appsvue_type_script_lang_js_ = ({
72687
- name: 'Apps',
71099
+ /* harmony default export */ var simplicityTop_handlervue_type_script_lang_js_ = ({
71100
+ name: 'Handler',
72688
71101
  components: {},
72689
71102
  props: {
72690
- user: Object,
72691
- visible: Boolean,
72692
- //菜单、应用默认图标
72693
- menuIcon: String,
72694
- color: {
72695
- type: [String, Array],
72696
- default: '#fff'
72697
- },
72698
- backgroundColor: {
72699
- type: [String, Array],
72700
- default: function _default() {
72701
- return ['#0B3978', '#2591F7', '#69C0FF', '#E34D59', '#2591F7', '#FF9C52', '#17C27B'];
72702
- }
72703
- },
72704
- applications: {
71103
+ data: {
72705
71104
  type: Array,
72706
71105
  default: function _default() {
72707
71106
  return [];
72708
71107
  }
72709
71108
  },
72710
- //业务系统
72711
- business: {
72712
- type: Array,
71109
+ nums: {
71110
+ type: Object,
72713
71111
  default: function _default() {
72714
- return [];
71112
+ return {};
72715
71113
  }
72716
71114
  },
72717
- //系统管理
72718
- systems: {
72719
- type: Array,
71115
+ showTitleType: {
71116
+ type: String,
71117
+ default: 'tooltip',
71118
+ validator: function validator(val) {
71119
+ return val === 'text' || val === 'tooltip';
71120
+ }
71121
+ },
71122
+ user: {
71123
+ type: Object,
72720
71124
  default: function _default() {
72721
- return [];
71125
+ return {};
72722
71126
  }
72723
71127
  }
72724
71128
  },
72725
71129
  data: function data() {
72726
71130
  return {
72727
- value: '',
72728
- apps: [],
72729
- appSize: 20,
72730
- appNum: 1,
72731
- bsSize: 8,
72732
- bsNum: 1,
72733
- sysSize: 2,
72734
- sysNum: 1
71131
+ time: '',
71132
+ date: '',
71133
+ timer: null,
71134
+ handlers: [{
71135
+ type: 'index',
71136
+ icon: 'es-icon-zhuye',
71137
+ text: '首页'
71138
+ }, {
71139
+ type: 'org'
71140
+ }, {
71141
+ type: 'online'
71142
+ }, {
71143
+ type: 'userinfo',
71144
+ text: '个人资料',
71145
+ icon: 'es-icon-yonghu'
71146
+ }, {
71147
+ type: 'notice',
71148
+ icon: 'es-icon-xiaoxi',
71149
+ text: '消息'
71150
+ }, {
71151
+ type: 'set',
71152
+ icon: 'es-icon-shezhi',
71153
+ text: '设置'
71154
+ }, {
71155
+ type: 'quit',
71156
+ icon: 'es-icon-tuichu',
71157
+ text: '退出'
71158
+ }]
72735
71159
  };
72736
71160
  },
72737
71161
 
72738
71162
  computed: {
72739
- show: {
72740
- get: function get() {
72741
- return this.visible;
72742
- },
72743
- set: function set(val) {
72744
- this.$emit('update:visible', val);
72745
- return val;
72746
- }
72747
- },
72748
- _applications: function _applications() {
72749
- var _this = this;
72750
-
72751
- return this.apps.filter(function (item, index) {
72752
- return index > (_this.appNum - 1) * _this.appSize - 1 && index < _this.appNum * _this.appSize;
72753
- });
72754
- },
72755
- _business: function _business() {
72756
- var _this2 = this;
72757
-
72758
- return this.business.filter(function (item, index) {
72759
- return index > (_this2.bsNum - 1) * _this2.bsSize - 1 && index < _this2.bsNum * _this2.bsSize;
72760
- });
72761
- },
72762
- _systems: function _systems() {
72763
- var _this3 = this;
72764
-
72765
- return this.systems.filter(function (item, index) {
72766
- return index > (_this3.sysNum - 1) * _this3.sysSize - 1 && index < _this3.sysNum * _this3.sysSize;
72767
- });
71163
+ isClick: function isClick() {
71164
+ var useCaseCodes = utils_util.getStorage('useCaseCodes');
71165
+ return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
72768
71166
  }
72769
71167
  },
72770
71168
  watch: {
72771
- applications: {
72772
- deep: true,
72773
- handler: function handler() {
72774
- this.getApps();
72775
- }
72776
- },
72777
- value: function value() {
72778
- this.getApps();
72779
- }
71169
+ data: (simplicityTop_handlervue_type_script_lang_js_data = {
71170
+ handler: 'deep',
71171
+ immediate: true
71172
+ }, simplicityTop_handlervue_type_script_lang_js_data['handler'] = function handler(newVal, oldVal) {}, simplicityTop_handlervue_type_script_lang_js_data)
72780
71173
  },
72781
- beforeCreate: function beforeCreate() {
72782
- var _this4 = this;
72783
-
72784
- this.getApps = Object(external_throttle_debounce_["debounce"])(500, function () {
72785
- _this4.getApp();
72786
- });
71174
+ created: function created() {
71175
+ //this.time = util.timeCycle() + '好!';
71176
+ this.date = utils_util.formatDate('', 'yyyy年M月d日');
72787
71177
  },
72788
- created: function created() {},
72789
71178
  mounted: function mounted() {
72790
- this.getApps();
71179
+ this.getTime();
72791
71180
  },
72792
71181
 
72793
71182
  methods: {
72794
- getApp: function getApp() {
72795
- var _this5 = this;
71183
+ //切换职务
71184
+ handleUserSelect: function handleUserSelect(res) {
71185
+ var _this = this;
72796
71186
 
72797
- this.apps = this.value ? this.applications.filter(function (item) {
72798
- return (item.name || item.text).indexOf(_this5.value) > -1;
72799
- }) : this.applications;
72800
- },
72801
- setStyle: function setStyle(num) {
72802
- var obj = {};
72803
- if (this.color) {
72804
- obj.color = this.color;
72805
- if (Array.isArray(this.color)) {
72806
- obj.color = this.color[num % this.color.length];
72807
- } else {
72808
- obj.color = this.color;
72809
- }
72810
- }
72811
- if (this.backgroundColor) {
72812
- if (Array.isArray(this.backgroundColor)) {
72813
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
72814
- } else {
72815
- obj.backgroundColor = this.backgroundColor;
72816
- }
71187
+ if (this.user.identityId !== res.id) {
71188
+ utils_util.ajax({
71189
+ method: 'post',
71190
+ url: switchUserTo,
71191
+ data: { userId: res.value }
71192
+ }).then(function (res) {
71193
+ if (res.rCode == 0) {
71194
+ _this.$emit('close');
71195
+ utils_util.setStorage({
71196
+ type: _this.storage,
71197
+ key: 'userId',
71198
+ value: res.value
71199
+ });
71200
+ utils_util.removeStorage(['mainConfig', 'jump']);
71201
+ _this.$message({
71202
+ message: res.msg,
71203
+ type: 'success',
71204
+ duration: 500,
71205
+ onClose: function onClose() {
71206
+ if (utils_util.win.location.href.indexOf('#/main') > -1 || utils_util.win.location.href.indexOf('/main.html') > -1) {
71207
+ location.reload();
71208
+ } else {
71209
+ _this.$router.replace('/main');
71210
+ }
71211
+ }
71212
+ });
71213
+ } else {
71214
+ _this.$message({
71215
+ message: res.msg || '系统错误,请联系管理员!',
71216
+ type: 'error'
71217
+ });
71218
+ }
71219
+ }).catch(function (err) {
71220
+ if (err.message && err.message !== 'canceled') {
71221
+ _this.$message.error(err.message);
71222
+ }
71223
+ });
72817
71224
  }
72818
- return obj;
72819
- },
72820
- handleChange: function handleChange(res, index) {
72821
- var name = ['appNum', 'bsNum', 'sysNum'];
72822
- this[name[index]] = res;
72823
71225
  },
72824
- handleWheel: function handleWheel(e) {
72825
- var direction = e.deltaY > 0 ? 'down' : 'up'; //deltaY为正则滚轮向下,为负滚轮向上
72826
- var total = Math.ceil(this.apps.length / this.appSize);
72827
- if (direction == 'up' && this.appNum > 1) {
72828
- this.appNum -= 1;
72829
- }
72830
- if (direction == 'down' && this.appNum < total) {
72831
- this.appNum += 1;
72832
- }
71226
+ getTime: function getTime() {
71227
+ var _this2 = this;
71228
+
71229
+ this.timer && clearInterval(this.timer);
71230
+ this.timer = setInterval(function () {
71231
+ _this2.time = utils_util.formatDate('', 'HH:mm:ss');
71232
+ });
72833
71233
  },
72834
71234
  handleClick: function handleClick(res) {
72835
- utils_util.ajax({
72836
- url: recordUserApp,
72837
- params: {
72838
- userId: this.user.userId,
72839
- appId: res.id
72840
- }
72841
- }).then(function () {}).catch(function () {});
72842
71235
  this.$emit('click', res);
72843
- },
72844
-
72845
- /**
72846
- * @desc:获取气泡提醒
72847
- * @author huangbo
72848
- * @date 2024年9月7日
72849
- **/
72850
- getBadge: function getBadge(res) {
72851
- var num = res.tips || 0;
72852
- return num === true ? {
72853
- isDot: true
72854
- //hidden: item.tips
72855
- } : {
72856
- value: num,
72857
- max: 99,
72858
- hidden: !num
72859
- };
72860
71236
  }
71237
+ },
71238
+ beforeDestroy: function beforeDestroy() {
71239
+ clearInterval(this.timer);
72861
71240
  }
72862
71241
  });
72863
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue?vue&type=script&lang=js&
72864
- /* harmony default export */ var src_simplicityTop_appsvue_type_script_lang_js_ = (simplicityTop_appsvue_type_script_lang_js_);
72865
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue
71242
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71243
+ /* harmony default export */ var src_simplicityTop_handlervue_type_script_lang_js_ = (simplicityTop_handlervue_type_script_lang_js_);
71244
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue
72866
71245
 
72867
71246
 
72868
71247
 
@@ -72870,18 +71249,18 @@ appsvue_type_template_id_08547d6a_scoped_true_render._withStripped = true
72870
71249
 
72871
71250
  /* normalize component */
72872
71251
 
72873
- var simplicityTop_apps_component = normalizeComponent(
72874
- src_simplicityTop_appsvue_type_script_lang_js_,
72875
- appsvue_type_template_id_08547d6a_scoped_true_render,
72876
- appsvue_type_template_id_08547d6a_scoped_true_staticRenderFns,
71252
+ var simplicityTop_handler_component = normalizeComponent(
71253
+ src_simplicityTop_handlervue_type_script_lang_js_,
71254
+ handlervue_type_template_id_6434fb72_scoped_true_render,
71255
+ handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns,
72877
71256
  false,
72878
71257
  null,
72879
- "08547d6a",
71258
+ "6434fb72",
72880
71259
  null
72881
71260
 
72882
71261
  )
72883
71262
 
72884
- /* harmony default export */ var simplicityTop_apps = (simplicityTop_apps_component.exports);
71263
+ /* harmony default export */ var simplicityTop_handler = (simplicityTop_handler_component.exports);
72885
71264
  // 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/user.vue?vue&type=template&id=22bc2a9d&scoped=true&
72886
71265
  var uservue_type_template_id_22bc2a9d_scoped_true_render = function () {
72887
71266
  var _vm = this
@@ -74656,8 +73035,12 @@ var simplicityTop_router_page_component = normalizeComponent(
74656
73035
 
74657
73036
  /* harmony default export */ var simplicityTop_router_page = (simplicityTop_router_page_component.exports);
74658
73037
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=script&lang=js&
73038
+
73039
+
74659
73040
  var simplicityTopvue_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; };
74660
73041
 
73042
+ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
73043
+
74661
73044
  //
74662
73045
  //
74663
73046
  //
@@ -74950,14 +73333,11 @@ var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (ta
74950
73333
  //
74951
73334
  //
74952
73335
  //
74953
- //
74954
- //
74955
- //
74956
-
74957
-
74958
73336
 
74959
73337
 
74960
73338
 
73339
+ // import subMenu from './sub-menu.vue';
73340
+ // import apps from './apps.vue';
74961
73341
 
74962
73342
 
74963
73343
 
@@ -74970,55 +73350,60 @@ var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (ta
74970
73350
 
74971
73351
  var simplicityTopvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
74972
73352
  var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
74973
-
74974
- var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that) {
74975
- var tab = tabs[index];
74976
- if (tab.method == 'iframe') {
74977
- tabs[index].url = utils_util.handlerUrl(tab.url);
74978
- }
74979
- if (tab.method === 'wujie' && tab.appCode) {
74980
- var url = tab.url;
74981
- tab.url = '';
74982
- that.$nextTick(function () {
74983
- tab.url = url;
74984
- });
74985
- }
74986
- if (tab.method === 'router') {
74987
- that.$set(tabs[index], 'keys', utils_util.uuid());
74988
- }
74989
- return tabs;
74990
- }, function (tabs, index, that) {
74991
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
74992
- if (tabs.length == 1) {
74993
- that.activeName = '';
74994
- } else if (i == index) {
74995
- if (index < tabs.length - 1) {
74996
- that.activeName = tabs[index + 1].id;
74997
- } else {
74998
- that.activeName = tabs[index - 1].id;
74999
- }
75000
- }
75001
- tabs.splice(index, 1);
75002
- return tabs;
75003
- }, function (tabs, index, that) {
75004
- var tab = tabs.slice(index, index + 1);
75005
- that.activeName = tab[0].id;
75006
- return tab;
75007
- }, function (tabs, index, that) {
75008
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
75009
- if (i < index) {
75010
- that.activeName = tabs[index].id;
75011
- }
75012
- tabs.splice(0, index);
75013
- return tabs;
75014
- }, function (tabs, index, that) {
75015
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
75016
- if (i > index) {
75017
- that.activeName = tabs[index].id;
75018
- }
75019
- tabs.splice(index + 1, tabs.length - index);
75020
- return tabs;
75021
- }];
73353
+ // let events = [
73354
+ // (tabs, index, that) => {
73355
+ // let tab = tabs[index];
73356
+ // if (tab.method == 'iframe') {
73357
+ // tabs[index].url = util.handlerUrl(tab.url);
73358
+ // }
73359
+ // if (tab.method === 'wujie' && tab.appCode) {
73360
+ // const url = tab.url;
73361
+ // tab.url = '';
73362
+ // that.$nextTick(() => {
73363
+ // tab.url = url;
73364
+ // });
73365
+ // }
73366
+ // if (tab.method === 'router') {
73367
+ // that.$set(tabs[index], 'keys', util.uuid());
73368
+ // }
73369
+ // return tabs;
73370
+ // },
73371
+ // (tabs, index, that) => {
73372
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73373
+ // if (tabs.length == 1) {
73374
+ // that.activeName = '';
73375
+ // } else if (i == index) {
73376
+ // if (index < tabs.length - 1) {
73377
+ // that.activeName = tabs[index + 1].id;
73378
+ // } else {
73379
+ // that.activeName = tabs[index - 1].id;
73380
+ // }
73381
+ // }
73382
+ // tabs.splice(index, 1);
73383
+ // return tabs;
73384
+ // },
73385
+ // (tabs, index, that) => {
73386
+ // let tab = tabs.slice(index, index + 1);
73387
+ // that.activeName = tab[0].id;
73388
+ // return tab;
73389
+ // },
73390
+ // (tabs, index, that) => {
73391
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73392
+ // if (i < index) {
73393
+ // that.activeName = tabs[index].id;
73394
+ // }
73395
+ // tabs.splice(0, index);
73396
+ // return tabs;
73397
+ // },
73398
+ // (tabs, index, that) => {
73399
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73400
+ // if (i > index) {
73401
+ // that.activeName = tabs[index].id;
73402
+ // }
73403
+ // tabs.splice(index + 1, tabs.length - index);
73404
+ // return tabs;
73405
+ // }
73406
+ // ];
75022
73407
  /* harmony default export */ var simplicityTopvue_type_script_lang_js_ = ({
75023
73408
  name: 'SimplicityTop',
75024
73409
  provide: function provide() {
@@ -75032,8 +73417,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75032
73417
  components: {
75033
73418
  avatar: simplicityTop_avatar,
75034
73419
  handler: simplicityTop_handler,
75035
- subMenu: simplicityTop_sub_menu,
75036
- apps: simplicityTop_apps,
73420
+ // subMenu,
73421
+ // apps,
75037
73422
  user: simplicityTop_user,
75038
73423
  message: simplicityTop_message,
75039
73424
  notice: simplicityTop_notice,
@@ -75234,43 +73619,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75234
73619
  currentPage: {
75235
73620
  method: ''
75236
73621
  },
75237
- userCommonMenuList: [{
75238
- id: '712207aec84a426c842c86f34c7293c2',
75239
- menutype: 1,
75240
- text: '新建公文',
75241
- menuurl: '/archives-ui/webpack/index.html#/dispatch/add',
75242
- systemurl: null,
75243
- icons: '',
75244
- sort: 4,
75245
- appCode: 'dispatch_org',
75246
- urlopenmode: 0,
75247
- defaultMenu: 1,
75248
- pid: 'cc529d06f2fe4c9aa5956e7f540b8cd2'
75249
- }, {
75250
- id: '00c9e4e6e9974a789dbf2d99620c1773',
75251
- menutype: 1,
75252
- text: '资料发送',
75253
- menuurl: '/oa/sharefiles/send/listYb.dhtml',
75254
- systemurl: null,
75255
- icons: '',
75256
- sort: 5,
75257
- appCode: 'sharefilesSend',
75258
- urlopenmode: 0,
75259
- defaultMenu: 1,
75260
- pid: 'd648a3e7ae16458a823fdbe911e4d76e'
75261
- }, {
75262
- id: '7588320f81dd49d09fd8832037b1c57a',
75263
- menutype: 0,
75264
- text: '收文补录',
75265
- menuurl: '/archives-ui/webpack/index.html#/receipt/add',
75266
- systemurl: null,
75267
- icons: '',
75268
- sort: 1,
75269
- appCode: 'receiptAdd',
75270
- urlopenmode: 0,
75271
- defaultMenu: 0,
75272
- pid: 'ec4a6e89b1b346a4a2e8f4245e315da3'
75273
- }],
73622
+ userCommonMenuList: [],
75274
73623
  //是否显示头像
75275
73624
  showAvatar: this.avatar,
75276
73625
  // 问候语
@@ -75666,12 +74015,12 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75666
74015
  deep: true,
75667
74016
  handler: function handler() {
75668
74017
  // console.log('menuTips', this.menuTips);
75669
-
75670
- this.setTips(this.userApps);
75671
- this.setTips(this.applications);
75672
- this.setTips(this.business);
75673
- this.setTips(this.systems);
75674
- this.setTips(this.menus);
74018
+ // this.setTips(this.userApps);
74019
+ // this.setTips(this.applications);
74020
+ // this.setTips(this.business);
74021
+ // this.setTips(this.systems);
74022
+ // this.setTips(this.menus);
74023
+ this.getNums();
75675
74024
  }
75676
74025
  },
75677
74026
  scene: function scene(val) {
@@ -75684,15 +74033,25 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75684
74033
  this.doorIndex = sessionStorage.getItem('doorIndex');
75685
74034
  },
75686
74035
  mounted: function mounted() {
75687
- console.log(this.menuUrl, this.topLogo, this.hides, this.showSimplicityTop, 'this.menuUrl');
75688
-
75689
74036
  // this.handleListener();
75690
- this.getNums();
75691
74037
  window.top.jumpMenu = window.top.jumpTopMenu = this.handleSelect;
75692
74038
  this.queryChildMenuData();
75693
74039
  },
75694
74040
 
75695
74041
  methods: {
74042
+ remindSelect: function remindSelect(menu) {
74043
+ var fourthTabs = [];
74044
+ if (menu.children && menu.children.length > 0) {
74045
+ fourthTabs = [].concat(menu.children);
74046
+ } else {
74047
+ fourthTabs = [].concat(menu);
74048
+ }
74049
+ this.fourthTabs = [].concat(fourthTabs);
74050
+ this.tabActiveName = fourthTabs[0].id;
74051
+ this.appCodes = this.fourthTabs[0].appCode;
74052
+ this.currentPage = this.setIframeType(this.fourthTabs[0]);
74053
+ },
74054
+
75696
74055
  /**
75697
74056
  * queryChildMenu: 查询左侧我的提醒和我的快捷菜单
75698
74057
  */
@@ -75704,11 +74063,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75704
74063
  method: 'get'
75705
74064
  }).then(function (res) {
75706
74065
  if (res.rCode === 0) {
75707
- console.log(res.results, 'res.results');
75708
74066
  var tree = _this2.flatToNestedTree(res.results);
75709
- console.log(tree, 'tree');
75710
- _this2.myRemindMenu = tree[0];
75711
- _this2.myShortcut = tree[1];
74067
+ _this2.myRemindMenu = [].concat(tree[0].children);
74068
+ _this2.myShortcut = [].concat(tree[1].children);
74069
+ _this2.getNums();
75712
74070
  }
75713
74071
  });
75714
74072
  },
@@ -75759,9 +74117,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75759
74117
  var _this3 = this;
75760
74118
 
75761
74119
  var index = res.index;
75762
- this.currentPage = simplicityTopvue_type_script_lang_js_extends({}, this.fourthTabs[index]);
74120
+ this.currentPage = {};
75763
74121
  this.appCodes = this.fourthTabs[index].appCode;
75764
- console.log(this.currentPage, 'this.currentPage');
75765
74122
 
75766
74123
  // console.log(this.fourthTabs[index], 'this.fourthTabs[index]');
75767
74124
  // 增加阻塞 重载页面
@@ -75774,17 +74131,45 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75774
74131
  getNums: function getNums() {
75775
74132
  var _this4 = this;
75776
74133
 
75777
- this.getIndexCount();
75778
- this.getUserTipsInstanceNum(0);
75779
- this.getUserTipsInstanceNum(1);
75780
- this.getShareFilesReceiveCountNew();
75781
- this.getVoteMeetingNum();
75782
- this.reladding = true;
75783
- if (this.reladding) {
75784
- setTimeout(function () {
75785
- _this4.reladding = false;
75786
- }, 1000);
75787
- }
74134
+ return simplicityTopvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
74135
+ return regenerator_default.a.wrap(function _callee$(_context) {
74136
+ while (1) {
74137
+ switch (_context.prev = _context.next) {
74138
+ case 0:
74139
+ _context.next = 2;
74140
+ return _this4.getIndexCount();
74141
+
74142
+ case 2:
74143
+ _context.next = 4;
74144
+ return _this4.getUserTipsInstanceNum(0);
74145
+
74146
+ case 4:
74147
+ _context.next = 6;
74148
+ return _this4.getUserTipsInstanceNum(1);
74149
+
74150
+ case 6:
74151
+ _context.next = 8;
74152
+ return _this4.getShareFilesReceiveCountNew();
74153
+
74154
+ case 8:
74155
+ _context.next = 10;
74156
+ return _this4.getVoteMeetingNum();
74157
+
74158
+ case 10:
74159
+ _this4.reladding = true;
74160
+ if (_this4.reladding) {
74161
+ setTimeout(function () {
74162
+ _this4.reladding = false;
74163
+ }, 1000);
74164
+ }
74165
+
74166
+ case 12:
74167
+ case 'end':
74168
+ return _context.stop();
74169
+ }
74170
+ }
74171
+ }, _callee, _this4);
74172
+ }))();
75788
74173
  },
75789
74174
 
75790
74175
  /**
@@ -75802,7 +74187,13 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75802
74187
  method: 'get'
75803
74188
  }).then(function (res) {
75804
74189
  if (res.rCode === 0) {
75805
- _this5.myRemind[5].num = res.results > 99 ? '99+' : res.results;
74190
+ var myRemindMenu = [].concat(_this5.myRemindMenu);
74191
+ myRemindMenu.forEach(function (item) {
74192
+ if (item.appCode === 'conference_meeting') {
74193
+ item.num = res.results > 99 ? '99+' : res.results;
74194
+ }
74195
+ });
74196
+ _this5.myRemindMenu = [].concat(myRemindMenu);
75806
74197
  }
75807
74198
  });
75808
74199
  },
@@ -75821,7 +74212,13 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75821
74212
  method: 'get'
75822
74213
  }).then(function (res) {
75823
74214
  if (res.rCode === 0) {
75824
- _this6.myRemind[4].num = res.results > 99 ? '99+' : res.results;
74215
+ var myRemindMenu = [].concat(_this6.myRemindMenu);
74216
+ myRemindMenu.forEach(function (item) {
74217
+ if (item.appCode === 'favoriteCount') {
74218
+ item.num = res.results > 99 ? '99+' : res.results;
74219
+ }
74220
+ });
74221
+ _this6.myRemindMenu = [].concat(myRemindMenu);
75825
74222
  }
75826
74223
  });
75827
74224
  },
@@ -75842,11 +74239,14 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75842
74239
  method: 'get'
75843
74240
  }).then(function (res) {
75844
74241
  if (res.rCode === 0) {
75845
- if (type) {
75846
- _this7.myRemind[3].num = res.results > 99 ? '99+' : res.results;
75847
- } else {
75848
- _this7.myRemind[2].num = res.results > 99 ? '99+' : res.results;
75849
- }
74242
+ var appCode = type ? 'wdtxjqgw' : 'wdtxgwqssignList';
74243
+ var myRemindMenu = [].concat(_this7.myRemindMenu);
74244
+ myRemindMenu.forEach(function (item) {
74245
+ if (item.appCode === appCode) {
74246
+ item.num = res.results > 99 ? '99+' : res.results;
74247
+ }
74248
+ });
74249
+ _this7.myRemindMenu = [].concat(myRemindMenu);
75850
74250
  } else {
75851
74251
  console.error('查询待签收/据签收任务数量失败', res);
75852
74252
  }
@@ -75867,10 +74267,15 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75867
74267
  method: 'get'
75868
74268
  }).then(function (res) {
75869
74269
  if (res.rCode === 0) {
74270
+ // 待办
75870
74271
  var makePendingCount = res.results.makePendingCount || 0;
75871
- var pendedCount = res.results.pendedCount || 0;
75872
- _this8.myRemind[0].num = makePendingCount > 99 ? '99+' : makePendingCount;
75873
- _this8.myRemind[1].num = pendedCount > 99 ? '99+' : pendedCount;
74272
+ var myRemindMenu = [].concat(_this8.myRemindMenu);
74273
+ myRemindMenu.forEach(function (item) {
74274
+ if (item.appCode === 'makePendingCount') {
74275
+ item.num = makePendingCount > 99 ? '99+' : makePendingCount;
74276
+ }
74277
+ });
74278
+ _this8.myRemindMenu = [].concat(myRemindMenu);
75874
74279
  } else {
75875
74280
  console.error('查询待办任务数量失败', res);
75876
74281
  }
@@ -76519,6 +74924,9 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76519
74924
  _this14.$refs.message.getMsg(true);
76520
74925
  }
76521
74926
  }
74927
+ if (i === 'menuTipsMap') {
74928
+ _this14.getNums();
74929
+ }
76522
74930
  if (i === 'menuTipsMap' && data[i] !== null) {
76523
74931
  _this14.menuTips = data[i];
76524
74932
  }
@@ -76567,114 +74975,6 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76567
74975
  this.newApps.splice(index, 1);
76568
74976
  },
76569
74977
 
76570
- /**
76571
- * @desc:储存更多应用菜单点击
76572
- * @author huangbo
76573
- * @date 2024年9月7日
76574
- **/
76575
- handlerClickApps: function handlerClickApps(res) {
76576
- if (res.permission === false) {
76577
- return false;
76578
- }
76579
- var i = utils_util.indexOfObj(this.newApps, res, 'id');
76580
- if (i == -1) {
76581
- this.newApps.push(res);
76582
- }
76583
- this.handlerClickApp(res);
76584
- },
76585
-
76586
- /**
76587
- * @desc:侧边应用菜单点击
76588
- * @author huangbo
76589
- * @date 2024年9月7日
76590
- **/
76591
- handlerClickApp: function handlerClickApp(res) {
76592
- this.showMsg = false;
76593
- this.showSet = false;
76594
- this.fold = false;
76595
- this.showApps = false;
76596
- this.drawer.visible = false;
76597
- if (res) {
76598
- if (res.permission === false) {
76599
- return false;
76600
- }
76601
- if (res.children && res.children.length || res.fourthTabs && res.fourthTabs.length) {
76602
- this.subMenus = res;
76603
- this.showMenu = true;
76604
- } else {
76605
- this.subMenus = null;
76606
- this.showMenu = false;
76607
- }
76608
- var set = true;
76609
- if (res.url) {
76610
- if (res.urlopenmode == 1 || res.openModel == 1) {
76611
- set = false;
76612
- utils_util.win.open(res.url);
76613
- } else if (res.urlopenmode == 2 || res.openModel == 2) {
76614
- set = false;
76615
- utils_util.win.open(res.url, '_self');
76616
- } else {
76617
- var i = utils_util.indexOfObj(this.tabs, res, 'id');
76618
- this.activeName = res.id;
76619
- if (i == -1) {
76620
- var obj = res.code ? this.getMenu(this.menus, res.code, 'appCode') : null;
76621
- if (obj) {
76622
- obj = JSON.parse(JSON.stringify(obj));
76623
- var n = utils_util.indexOfObj(this.tabs, obj, 'id');
76624
- if (n == -1) {
76625
- var tab = this.setIframeType(obj);
76626
- this.tabs.push(tab);
76627
- this.activeName = tab.id;
76628
- } else {
76629
- if (obj.method == 'iframe') {
76630
- obj.url = utils_util.handlerUrl(obj.url);
76631
- }
76632
- }
76633
- } else {
76634
- var _tab = this.setIframeType(res);
76635
- this.tabs.push(_tab);
76636
- this.activeName = _tab.id;
76637
- }
76638
- } else {
76639
- if (res.method == 'iframe') {
76640
- res.url = utils_util.handlerUrl(res.url);
76641
- }
76642
- }
76643
- }
76644
- }
76645
- if (set && res.code) {
76646
- var subMenus = this.getMenu(this.menus, res.code, 'appCode');
76647
- if (!subMenus && !res.url) {
76648
- this.$alert('没有关联菜单,请联系管理员!', '提示', {
76649
- confirmButtonText: '确定',
76650
- type: 'warning'
76651
- }).catch(function () {});
76652
- } else {
76653
- this.title = res.text || res.name;
76654
- this.subMenus = subMenus ? subMenus : null;
76655
- this.showMenu = subMenus ? subMenus.children && subMenus.children.length > 0 || subMenus.fourthTabs && subMenus.fourthTabs.length > 0 : false;
76656
- this.showApps = false;
76657
- if (subMenus && subMenus.url) {
76658
- subMenus = JSON.parse(JSON.stringify(subMenus));
76659
- var _i = utils_util.indexOfObj(this.tabs, subMenus, 'id');
76660
- this.activeName = subMenus.id;
76661
- if (_i == -1) {
76662
- var _tab2 = this.setIframeType(subMenus);
76663
- this.tabs.push(_tab2);
76664
- } else {
76665
- if (subMenus.method == 'iframe') {
76666
- this.tabs[_i].url = utils_util.handlerUrl(subMenus.url);
76667
- }
76668
- }
76669
- }
76670
- }
76671
- }
76672
- this.active = res.id;
76673
- } else {
76674
- this.showApps = !this.showApps;
76675
- }
76676
- },
76677
-
76678
74978
  /**
76679
74979
  * @desc:显示Drawer界面
76680
74980
  * @author huangbo
@@ -76813,7 +75113,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76813
75113
  **/
76814
75114
  handleTabsEvents: function handleTabsEvents(num) {
76815
75115
  if (this.pane !== null) {
76816
- this.tabs = simplicityTopvue_type_script_lang_js_events[num](this.tabs, this.pane, this);
75116
+ this.tabs = events[num](this.tabs, this.pane, this);
76817
75117
  }
76818
75118
  this.showTabsHandler = false;
76819
75119
  window.removeEventListener('click', this.closeTabsEvents);
@@ -76957,10 +75257,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76957
75257
  break;
76958
75258
  }
76959
75259
  if (_this15.singleLogout) {
76960
- for (var _i2 = 0; _i2 < _this15.singleLogout.length; _i2++) {
75260
+ for (var _i = 0; _i < _this15.singleLogout.length; _i++) {
76961
75261
  var iframe = document.createElement('iframe');
76962
75262
  iframe.style.display = 'none';
76963
- iframe.src = _this15.singleLogout[_i2];
75263
+ iframe.src = _this15.singleLogout[_i];
76964
75264
  document.body.appendChild(iframe);
76965
75265
  }
76966
75266
  }
@@ -77039,6 +75339,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77039
75339
  handleLayout: function handleLayout(res, active) {
77040
75340
  if (active) {
77041
75341
  localStorage.setItem('layout', active);
75342
+ localStorage.setItem('layoutType', active);
77042
75343
  }
77043
75344
  this.$emit('chang-layout', res, active);
77044
75345
  },
@@ -77095,19 +75396,19 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77095
75396
  } else if (node.urlopenmode == 2 || node.openModel == 2) {
77096
75397
  utils_util.win.open(node.url || node.menuurl, '_self');
77097
75398
  } else {
77098
- var _apps = node;
75399
+ var apps = node;
77099
75400
  var param = params;
77100
75401
  var reload = true;
77101
75402
  if (typeof res === 'string') {
77102
- _apps = res.split(',');
75403
+ apps = res.split(',');
77103
75404
  } else if (utils_util.isObject(node)) {
77104
75405
  var appCode = node.appCode || node.menuCode;
77105
- _apps = Array.isArray(appCode) ? appCode : appCode.split(',');
75406
+ apps = Array.isArray(appCode) ? appCode : appCode.split(',');
77106
75407
  node.param && (param = simplicityTopvue_type_script_lang_js_extends({}, node.param, params));
77107
75408
  reload = Object.prototype.hasOwnProperty.call(node, 'reload') ? node.reload : true;
77108
75409
  }
77109
75410
 
77110
- var _findMenuById = this.findMenuById(_apps[_apps.length - 1]),
75411
+ var _findMenuById = this.findMenuById(apps[apps.length - 1]),
77111
75412
  currentPage = _findMenuById.currentPage,
77112
75413
  fourthTabs = _findMenuById.fourthTabs;
77113
75414
 
@@ -77146,16 +75447,16 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77146
75447
  var transformedMenus = this.menus;
77147
75448
  // 递归查找函数
77148
75449
  function searchMenu(menuList) {
77149
- for (var _iterator = menuList, _isArray = Array.isArray(_iterator), _i3 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
75450
+ for (var _iterator = menuList, _isArray = Array.isArray(_iterator), _i2 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
77150
75451
  var _ref;
77151
75452
 
77152
75453
  if (_isArray) {
77153
- if (_i3 >= _iterator.length) break;
77154
- _ref = _iterator[_i3++];
75454
+ if (_i2 >= _iterator.length) break;
75455
+ _ref = _iterator[_i2++];
77155
75456
  } else {
77156
- _i3 = _iterator.next();
77157
- if (_i3.done) break;
77158
- _ref = _i3.value;
75457
+ _i2 = _iterator.next();
75458
+ if (_i2.done) break;
75459
+ _ref = _i2.value;
77159
75460
  }
77160
75461
 
77161
75462
  var menu = _ref;
@@ -77169,16 +75470,16 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77169
75470
 
77170
75471
  // 检查是否为二级菜单
77171
75472
  if (menu.children) {
77172
- for (var _iterator2 = menu.children, _isArray2 = Array.isArray(_iterator2), _i4 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
75473
+ for (var _iterator2 = menu.children, _isArray2 = Array.isArray(_iterator2), _i3 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
77173
75474
  var _ref2;
77174
75475
 
77175
75476
  if (_isArray2) {
77176
- if (_i4 >= _iterator2.length) break;
77177
- _ref2 = _iterator2[_i4++];
75477
+ if (_i3 >= _iterator2.length) break;
75478
+ _ref2 = _iterator2[_i3++];
77178
75479
  } else {
77179
- _i4 = _iterator2.next();
77180
- if (_i4.done) break;
77181
- _ref2 = _i4.value;
75480
+ _i3 = _iterator2.next();
75481
+ if (_i3.done) break;
75482
+ _ref2 = _i3.value;
77182
75483
  }
77183
75484
 
77184
75485
  var level2Menu = _ref2;
@@ -77243,18 +75544,18 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77243
75544
 
77244
75545
  var simplicityTop_component = normalizeComponent(
77245
75546
  src_simplicityTopvue_type_script_lang_js_,
77246
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render,
77247
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns,
75547
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render,
75548
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns,
77248
75549
  false,
77249
75550
  null,
77250
- "4a8a8fcc",
75551
+ "06dd3ec1",
77251
75552
  null
77252
75553
 
77253
75554
  )
77254
75555
 
77255
75556
  /* harmony default export */ var simplicityTop = (simplicityTop_component.exports);
77256
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0eafbe04&
77257
- var defaultvue_type_template_id_0eafbe04_render = function () {
75557
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0c452dea&
75558
+ var defaultvue_type_template_id_0c452dea_render = function () {
77258
75559
  var _vm = this
77259
75560
  var _h = _vm.$createElement
77260
75561
  var _c = _vm._self._c || _h
@@ -77805,11 +76106,11 @@ var defaultvue_type_template_id_0eafbe04_render = function () {
77805
76106
  1
77806
76107
  )
77807
76108
  }
77808
- var defaultvue_type_template_id_0eafbe04_staticRenderFns = []
77809
- defaultvue_type_template_id_0eafbe04_render._withStripped = true
76109
+ var defaultvue_type_template_id_0c452dea_staticRenderFns = []
76110
+ defaultvue_type_template_id_0c452dea_render._withStripped = true
77810
76111
 
77811
76112
 
77812
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0eafbe04&
76113
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0c452dea&
77813
76114
 
77814
76115
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=4160a4c1&
77815
76116
  var userinfovue_type_template_id_4160a4c1_render = function () {
@@ -81034,6 +79335,7 @@ var log = utils_util.getParams('console');
81034
79335
  }
81035
79336
  this.layout = res;
81036
79337
  localStorage.setItem('layout', res);
79338
+ localStorage.setItem('layoutType', res);
81037
79339
  switch (res) {
81038
79340
  case 'topnav':
81039
79341
  this.navs = this.menus;
@@ -81250,8 +79552,8 @@ var log = utils_util.getParams('console');
81250
79552
 
81251
79553
  var default_component = normalizeComponent(
81252
79554
  src_defaultvue_type_script_lang_js_,
81253
- defaultvue_type_template_id_0eafbe04_render,
81254
- defaultvue_type_template_id_0eafbe04_staticRenderFns,
79555
+ defaultvue_type_template_id_0c452dea_render,
79556
+ defaultvue_type_template_id_0c452dea_staticRenderFns,
81255
79557
  false,
81256
79558
  null,
81257
79559
  null,
@@ -102595,7 +100897,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102595
100897
  }
102596
100898
 
102597
100899
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102598
- version: '0.7.73',
100900
+ version: '0.7.75',
102599
100901
  install: install,
102600
100902
  Button: packages_button,
102601
100903
  ButtonGroup: button_group,