eoss-ui 0.5.81-beta4 → 0.5.81-beta5
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.
- package/lib/eoss-ui.common.js +1614 -1134
- package/lib/index.js +1 -1
- package/lib/main.js +1541 -1118
- package/lib/selector-panel.js +64 -11
- package/lib/selector.js +8 -4
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/selector-panel.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/package.json +1 -1
- package/packages/main/src/default/index.vue +1 -1
- package/packages/main/src/main.vue +12 -16
- package/packages/main/src/simplicity/apps.vue +176 -145
- package/packages/main/src/simplicity/index.vue +120 -190
- package/packages/main/src/simplicity/menu-list.vue +96 -26
- package/packages/main/src/simplicity/message.vue +35 -25
- package/packages/main/src/simplicity/notice.vue +72 -39
- package/packages/main/src/simplicity/router-page.vue +53 -0
- package/packages/main/src/simplicity/settings.vue +1 -1
- package/packages/main/src/simplicity/sub-menu.vue +67 -68
- package/packages/main/src/simplicity/user.vue +4 -4
- package/packages/main/src/simplicity/userinfo.vue +1 -0
- package/packages/selector/src/main.vue +6 -2
- package/packages/selector-panel/src/main.vue +21 -2
- package/packages/selector-panel/src/selection.vue +6 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/selector-panel.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/common/var.scss +2 -0
- package/packages/theme-chalk/src/selector-panel.scss +2 -1
- package/packages/theme-chalk/src/simplicity.scss +191 -5
- package/src/index.js +1 -1
package/lib/main.js
CHANGED
|
@@ -3932,7 +3932,7 @@ window.__store = store;
|
|
|
3932
3932
|
// ESM COMPAT FLAG
|
|
3933
3933
|
__webpack_require__.r(__webpack_exports__);
|
|
3934
3934
|
|
|
3935
|
-
// 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=
|
|
3935
|
+
// 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=a0d885fc&
|
|
3936
3936
|
var render = function () {
|
|
3937
3937
|
var _vm = this
|
|
3938
3938
|
var _h = _vm.$createElement
|
|
@@ -3943,11 +3943,11 @@ var render = function () {
|
|
|
3943
3943
|
[
|
|
3944
3944
|
_vm.type == "simplicity"
|
|
3945
3945
|
? _c(
|
|
3946
|
-
"
|
|
3946
|
+
"simplicity",
|
|
3947
3947
|
_vm._g(
|
|
3948
3948
|
_vm._b(
|
|
3949
3949
|
{ ref: "main", attrs: { appCode: _vm.appCode } },
|
|
3950
|
-
"
|
|
3950
|
+
"simplicity",
|
|
3951
3951
|
_vm.$attrs,
|
|
3952
3952
|
false
|
|
3953
3953
|
),
|
|
@@ -3955,9 +3955,9 @@ var render = function () {
|
|
|
3955
3955
|
)
|
|
3956
3956
|
)
|
|
3957
3957
|
: _c(
|
|
3958
|
-
"
|
|
3958
|
+
"main",
|
|
3959
3959
|
_vm._g(
|
|
3960
|
-
_vm._b({ ref: "main" }, "
|
|
3960
|
+
_vm._b({ ref: "main" }, "main", _vm.$attrs, false),
|
|
3961
3961
|
_vm.$listeners
|
|
3962
3962
|
)
|
|
3963
3963
|
),
|
|
@@ -3969,10 +3969,10 @@ var staticRenderFns = []
|
|
|
3969
3969
|
render._withStripped = true
|
|
3970
3970
|
|
|
3971
3971
|
|
|
3972
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
3972
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
|
|
3973
3973
|
|
|
3974
|
-
// 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=
|
|
3975
|
-
var
|
|
3974
|
+
// 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=672540fb&scoped=true&
|
|
3975
|
+
var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
|
|
3976
3976
|
var _vm = this
|
|
3977
3977
|
var _h = _vm.$createElement
|
|
3978
3978
|
var _c = _vm._self._c || _h
|
|
@@ -4154,77 +4154,51 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4154
4154
|
{ staticClass: "es-simplicity-main" },
|
|
4155
4155
|
[
|
|
4156
4156
|
_c(
|
|
4157
|
-
"
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
"update:visible": function ($event) {
|
|
4170
|
-
_vm.showMenu = $event
|
|
4157
|
+
"sub-menu",
|
|
4158
|
+
_vm._b(
|
|
4159
|
+
{
|
|
4160
|
+
ref: "subMenus",
|
|
4161
|
+
attrs: {
|
|
4162
|
+
visible: _vm.showMenu,
|
|
4163
|
+
fold: _vm.fold,
|
|
4164
|
+
size: _vm.menuWidth,
|
|
4165
|
+
title: _vm.title,
|
|
4166
|
+
color: _vm.menuColor,
|
|
4167
|
+
backgroundColor: _vm.menuBackgroundColor,
|
|
4168
|
+
"menu-icon": _vm.menuIcon,
|
|
4171
4169
|
},
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
_c(
|
|
4176
|
-
"sub-menu",
|
|
4177
|
-
_vm._b(
|
|
4178
|
-
{
|
|
4179
|
-
ref: "subMenus",
|
|
4180
|
-
attrs: {
|
|
4181
|
-
color: _vm.menuColor,
|
|
4182
|
-
backgroundColor: _vm.menuBackgroundColor,
|
|
4183
|
-
"menu-icon": _vm.menuIcon,
|
|
4184
|
-
},
|
|
4185
|
-
on: { command: _vm.handlerClickMenu },
|
|
4170
|
+
on: {
|
|
4171
|
+
"update:visible": function ($event) {
|
|
4172
|
+
_vm.showMenu = $event
|
|
4186
4173
|
},
|
|
4187
|
-
"
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
),
|
|
4192
|
-
],
|
|
4193
|
-
1
|
|
4194
|
-
),
|
|
4195
|
-
_c(
|
|
4196
|
-
"el-drawer",
|
|
4197
|
-
{
|
|
4198
|
-
staticClass: "es-simplicity-apps",
|
|
4199
|
-
attrs: {
|
|
4200
|
-
direction: "ltr",
|
|
4201
|
-
"modal-class": "es-simplicity-apps-modal",
|
|
4202
|
-
size: "90%",
|
|
4203
|
-
"modal-append-to-body": false,
|
|
4204
|
-
"with-header": false,
|
|
4205
|
-
visible: _vm.showApps,
|
|
4206
|
-
},
|
|
4207
|
-
on: {
|
|
4208
|
-
"update:visible": function ($event) {
|
|
4209
|
-
_vm.showApps = $event
|
|
4174
|
+
"update:fold": function ($event) {
|
|
4175
|
+
_vm.fold = $event
|
|
4176
|
+
},
|
|
4177
|
+
command: _vm.handlerClickMenu,
|
|
4210
4178
|
},
|
|
4211
4179
|
},
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
"menu-icon": _vm.menuIcon,
|
|
4217
|
-
color: _vm.appColor,
|
|
4218
|
-
backgroundColor: _vm.appBackgroundColor,
|
|
4219
|
-
applications: _vm.applications,
|
|
4220
|
-
business: _vm.business,
|
|
4221
|
-
systems: _vm.systems,
|
|
4222
|
-
},
|
|
4223
|
-
on: { click: _vm.handlerClickApp },
|
|
4224
|
-
}),
|
|
4225
|
-
],
|
|
4226
|
-
1
|
|
4180
|
+
"sub-menu",
|
|
4181
|
+
_vm.subMenus,
|
|
4182
|
+
false
|
|
4183
|
+
)
|
|
4227
4184
|
),
|
|
4185
|
+
_c("apps", {
|
|
4186
|
+
attrs: {
|
|
4187
|
+
visible: _vm.showApps,
|
|
4188
|
+
"menu-icon": _vm.menuIcon,
|
|
4189
|
+
color: _vm.appColor,
|
|
4190
|
+
backgroundColor: _vm.appBackgroundColor,
|
|
4191
|
+
applications: _vm.applications,
|
|
4192
|
+
business: _vm.business,
|
|
4193
|
+
systems: _vm.systems,
|
|
4194
|
+
},
|
|
4195
|
+
on: {
|
|
4196
|
+
"update:visible": function ($event) {
|
|
4197
|
+
_vm.showApps = $event
|
|
4198
|
+
},
|
|
4199
|
+
click: _vm.handlerClickApp,
|
|
4200
|
+
},
|
|
4201
|
+
}),
|
|
4228
4202
|
_c(
|
|
4229
4203
|
"el-drawer",
|
|
4230
4204
|
{
|
|
@@ -4295,9 +4269,10 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4295
4269
|
"div",
|
|
4296
4270
|
{
|
|
4297
4271
|
staticClass: "es-simplicity-tabs-handler-item",
|
|
4272
|
+
class: { "is-disabled": _vm.isDisabled.refresh },
|
|
4298
4273
|
on: {
|
|
4299
4274
|
click: function ($event) {
|
|
4300
|
-
_vm.handleTabsEvents(0)
|
|
4275
|
+
_vm.isDisabled.refresh ? "" : _vm.handleTabsEvents(0)
|
|
4301
4276
|
},
|
|
4302
4277
|
},
|
|
4303
4278
|
},
|
|
@@ -4363,6 +4338,7 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4363
4338
|
"el-tabs",
|
|
4364
4339
|
{
|
|
4365
4340
|
staticClass: "es-simplicity-iframe",
|
|
4341
|
+
class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
|
|
4366
4342
|
attrs: { closable: "", "hide-bar": "" },
|
|
4367
4343
|
on: {
|
|
4368
4344
|
"tab-remove": _vm.handleRemove,
|
|
@@ -4402,23 +4378,6 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4402
4378
|
false
|
|
4403
4379
|
)
|
|
4404
4380
|
),
|
|
4405
|
-
_c(
|
|
4406
|
-
"div",
|
|
4407
|
-
{
|
|
4408
|
-
directives: [
|
|
4409
|
-
{
|
|
4410
|
-
name: "show",
|
|
4411
|
-
rawName: "v-show",
|
|
4412
|
-
value: !_vm.showMenu && _vm.subMenus,
|
|
4413
|
-
expression: "!showMenu && subMenus",
|
|
4414
|
-
},
|
|
4415
|
-
],
|
|
4416
|
-
ref: "box",
|
|
4417
|
-
staticClass: "es-simplicity-unfold",
|
|
4418
|
-
on: { click: _vm.handleShowMenus },
|
|
4419
|
-
},
|
|
4420
|
-
[_c("i", { ref: "area", staticClass: "el-icon-s-unfold" })]
|
|
4421
|
-
),
|
|
4422
4381
|
_vm._l(_vm.tabs, function (item) {
|
|
4423
4382
|
return _c(
|
|
4424
4383
|
"el-tab-pane",
|
|
@@ -4454,7 +4413,22 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4454
4413
|
}),
|
|
4455
4414
|
]
|
|
4456
4415
|
: item.method === "router" && item.refresh
|
|
4457
|
-
? [
|
|
4416
|
+
? [
|
|
4417
|
+
_c(
|
|
4418
|
+
"router-page",
|
|
4419
|
+
_vm._b(
|
|
4420
|
+
{
|
|
4421
|
+
attrs: {
|
|
4422
|
+
show: _vm.activeName == item.id,
|
|
4423
|
+
query: _vm.$parent.params,
|
|
4424
|
+
},
|
|
4425
|
+
},
|
|
4426
|
+
"router-page",
|
|
4427
|
+
item,
|
|
4428
|
+
false
|
|
4429
|
+
)
|
|
4430
|
+
),
|
|
4431
|
+
]
|
|
4458
4432
|
: _vm._e(),
|
|
4459
4433
|
],
|
|
4460
4434
|
2
|
|
@@ -4540,11 +4514,11 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
4540
4514
|
),
|
|
4541
4515
|
])
|
|
4542
4516
|
}
|
|
4543
|
-
var
|
|
4544
|
-
|
|
4517
|
+
var simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns = []
|
|
4518
|
+
simplicityvue_type_template_id_672540fb_scoped_true_render._withStripped = true
|
|
4545
4519
|
|
|
4546
4520
|
|
|
4547
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4521
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=672540fb&scoped=true&
|
|
4548
4522
|
|
|
4549
4523
|
// 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=2597c13a&scoped=true&
|
|
4550
4524
|
var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
|
|
@@ -4965,219 +4939,383 @@ var handler_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4965
4939
|
)
|
|
4966
4940
|
|
|
4967
4941
|
/* harmony default export */ var simplicity_handler = (handler_component.exports);
|
|
4968
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
4969
|
-
var
|
|
4942
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
|
|
4943
|
+
var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
|
|
4970
4944
|
var _vm = this
|
|
4971
4945
|
var _h = _vm.$createElement
|
|
4972
4946
|
var _c = _vm._self._c || _h
|
|
4973
4947
|
return _c(
|
|
4974
|
-
"
|
|
4975
|
-
{
|
|
4948
|
+
"el-drawer",
|
|
4949
|
+
{
|
|
4950
|
+
staticClass: "es-simplicity-subMenus",
|
|
4951
|
+
attrs: {
|
|
4952
|
+
direction: "ltr",
|
|
4953
|
+
"modal-class": "es-simplicity-apps-modal",
|
|
4954
|
+
size: "auto",
|
|
4955
|
+
"modal-append-to-body": false,
|
|
4956
|
+
"close-on-press-escape": false,
|
|
4957
|
+
modal: false,
|
|
4958
|
+
"with-header": false,
|
|
4959
|
+
wrapperClosable: false,
|
|
4960
|
+
visible: _vm.show,
|
|
4961
|
+
},
|
|
4962
|
+
on: {
|
|
4963
|
+
"update:visible": function ($event) {
|
|
4964
|
+
_vm.show = $event
|
|
4965
|
+
},
|
|
4966
|
+
},
|
|
4967
|
+
},
|
|
4976
4968
|
[
|
|
4977
|
-
_c(
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
_vm.
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
"div",
|
|
5001
|
-
{ key: item.id, staticClass: "es-simplicity-menus-box" },
|
|
5002
|
-
[
|
|
5003
|
-
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
5004
|
-
_vm._v(_vm._s(item.text || item.name)),
|
|
5005
|
-
]),
|
|
5006
|
-
_c("menu-list", {
|
|
5007
|
-
attrs: {
|
|
5008
|
-
index: index,
|
|
5009
|
-
data: item.data,
|
|
5010
|
-
menuIcon: _vm.menuIcon,
|
|
4969
|
+
_c("div", { staticClass: "es-simplicity-menus" }, [
|
|
4970
|
+
_c(
|
|
4971
|
+
"div",
|
|
4972
|
+
{
|
|
4973
|
+
staticClass: "es-simplicity-menus-box",
|
|
4974
|
+
style: { width: _vm.width + "px" },
|
|
4975
|
+
},
|
|
4976
|
+
[
|
|
4977
|
+
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
4978
|
+
!_vm.fold
|
|
4979
|
+
? _c(
|
|
4980
|
+
"span",
|
|
4981
|
+
{ staticClass: "es-simplicity-menus-title-text" },
|
|
4982
|
+
[_vm._v(_vm._s(_vm.title || _vm.text))]
|
|
4983
|
+
)
|
|
4984
|
+
: _vm._e(),
|
|
4985
|
+
_c("i", {
|
|
4986
|
+
directives: [
|
|
4987
|
+
{
|
|
4988
|
+
name: "show",
|
|
4989
|
+
rawName: "v-show",
|
|
4990
|
+
value: !_vm.fold,
|
|
4991
|
+
expression: "!fold",
|
|
5011
4992
|
},
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
4993
|
+
],
|
|
4994
|
+
staticClass:
|
|
4995
|
+
"es-icon-shouqicaidan es-simplicity-menus-title-icon",
|
|
4996
|
+
on: {
|
|
4997
|
+
click: function ($event) {
|
|
4998
|
+
_vm.handleFold(true)
|
|
4999
|
+
},
|
|
5000
|
+
},
|
|
5001
|
+
}),
|
|
5002
|
+
_c("i", {
|
|
5003
|
+
directives: [
|
|
5004
|
+
{
|
|
5005
|
+
name: "show",
|
|
5006
|
+
rawName: "v-show",
|
|
5007
|
+
value: _vm.fold,
|
|
5008
|
+
expression: "fold",
|
|
5009
|
+
},
|
|
5010
|
+
],
|
|
5011
|
+
staticClass:
|
|
5012
|
+
"es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
|
|
5013
|
+
on: {
|
|
5014
|
+
click: function ($event) {
|
|
5015
|
+
_vm.handleFold(false)
|
|
5016
|
+
},
|
|
5017
|
+
},
|
|
5018
|
+
}),
|
|
5019
|
+
]),
|
|
5020
|
+
_c("menu-list", {
|
|
5021
|
+
ref: "menus",
|
|
5022
|
+
attrs: {
|
|
5023
|
+
data: _vm.menus,
|
|
5024
|
+
menuIcon: _vm.menuIcon,
|
|
5025
|
+
color: _vm.color,
|
|
5026
|
+
backgroundColor: _vm.backgroundColor,
|
|
5027
|
+
fold: _vm.fold,
|
|
5028
|
+
width: _vm.size,
|
|
5029
|
+
},
|
|
5030
|
+
on: { command: _vm.handleCommand },
|
|
5031
|
+
}),
|
|
5032
|
+
],
|
|
5033
|
+
1
|
|
5034
|
+
),
|
|
5035
|
+
]),
|
|
5036
|
+
]
|
|
5021
5037
|
)
|
|
5022
5038
|
}
|
|
5023
|
-
var
|
|
5024
|
-
|
|
5039
|
+
var sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns = []
|
|
5040
|
+
sub_menuvue_type_template_id_e591bf96_scoped_true_render._withStripped = true
|
|
5025
5041
|
|
|
5026
5042
|
|
|
5027
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
5043
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
|
|
5028
5044
|
|
|
5029
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=
|
|
5030
|
-
var
|
|
5045
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=118643de&scoped=true&
|
|
5046
|
+
var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
5031
5047
|
var _vm = this
|
|
5032
5048
|
var _h = _vm.$createElement
|
|
5033
5049
|
var _c = _vm._self._c || _h
|
|
5034
5050
|
return _c(
|
|
5035
5051
|
"el-scrollbar",
|
|
5036
|
-
_vm.
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
}
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5052
|
+
{ class: { "is-fold": _vm.fold } },
|
|
5053
|
+
[
|
|
5054
|
+
_vm._l(_vm.data, function (item, index) {
|
|
5055
|
+
return [
|
|
5056
|
+
(item.children && item.children.length) ||
|
|
5057
|
+
(item.fourthTabs, item.fourthTabs.length)
|
|
5058
|
+
? _c(
|
|
5059
|
+
"el-popover",
|
|
5060
|
+
{
|
|
5061
|
+
attrs: {
|
|
5062
|
+
placement: "right",
|
|
5063
|
+
trigger: "hover",
|
|
5064
|
+
"popper-class": "es-simplicity-menus-sub",
|
|
5065
|
+
width: _vm.width,
|
|
5066
|
+
},
|
|
5067
|
+
},
|
|
5068
|
+
[
|
|
5069
|
+
_c("menu-list", {
|
|
5070
|
+
ref: "menus",
|
|
5071
|
+
refInFor: true,
|
|
5072
|
+
attrs: {
|
|
5073
|
+
data: (item.children || []).concat(item.fourthTabs || []),
|
|
5074
|
+
menuIcon: _vm.menuIcon,
|
|
5075
|
+
color: _vm.color,
|
|
5076
|
+
backgroundColor: _vm.backgroundColor,
|
|
5077
|
+
width: _vm.width,
|
|
5078
|
+
},
|
|
5079
|
+
on: { command: _vm.handleClick },
|
|
5080
|
+
}),
|
|
5081
|
+
_c(
|
|
5082
|
+
"div",
|
|
5083
|
+
{
|
|
5084
|
+
key: item.id,
|
|
5085
|
+
staticClass: "es-simplicity-menus-item",
|
|
5086
|
+
class: {
|
|
5087
|
+
"is-active": _vm.active === item.id,
|
|
5088
|
+
"is-fold": _vm.fold,
|
|
5089
|
+
},
|
|
5090
|
+
attrs: {
|
|
5091
|
+
slot: "reference",
|
|
5092
|
+
title: _vm.fold ? item.text || item.name : "",
|
|
5093
|
+
},
|
|
5094
|
+
slot: "reference",
|
|
5095
|
+
},
|
|
5096
|
+
[
|
|
5097
|
+
_vm.fold
|
|
5098
|
+
? [
|
|
5099
|
+
_c(
|
|
5100
|
+
"el-badge",
|
|
5101
|
+
{ attrs: { "is-dot": "", hidden: !item.tips } },
|
|
5102
|
+
[
|
|
5103
|
+
_c("es-icon", {
|
|
5104
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5105
|
+
style: _vm.setStyle(index),
|
|
5106
|
+
attrs: {
|
|
5107
|
+
contents:
|
|
5108
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
5109
|
+
},
|
|
5110
|
+
}),
|
|
5111
|
+
],
|
|
5112
|
+
1
|
|
5113
|
+
),
|
|
5114
|
+
]
|
|
5115
|
+
: [
|
|
5116
|
+
_c("es-icon", {
|
|
5117
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5118
|
+
style: _vm.setStyle(index),
|
|
5119
|
+
attrs: {
|
|
5120
|
+
contents:
|
|
5121
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
5122
|
+
},
|
|
5123
|
+
}),
|
|
5124
|
+
item.tips
|
|
5125
|
+
? _c(
|
|
5126
|
+
"div",
|
|
5127
|
+
{ staticClass: "es-simplicity-menus-tips" },
|
|
5128
|
+
[
|
|
5129
|
+
_vm._v(
|
|
5130
|
+
"\n " +
|
|
5131
|
+
_vm._s(
|
|
5132
|
+
item.tips > 99 ? "99+" : item.tips
|
|
5133
|
+
) +
|
|
5134
|
+
"\n "
|
|
5135
|
+
),
|
|
5136
|
+
]
|
|
5137
|
+
)
|
|
5138
|
+
: _vm._e(),
|
|
5139
|
+
],
|
|
5140
|
+
_c(
|
|
5141
|
+
"div",
|
|
5142
|
+
{
|
|
5143
|
+
directives: [
|
|
5144
|
+
{
|
|
5145
|
+
name: "show",
|
|
5146
|
+
rawName: "v-show",
|
|
5147
|
+
value: !_vm.fold,
|
|
5148
|
+
expression: "!fold",
|
|
5149
|
+
},
|
|
5150
|
+
],
|
|
5151
|
+
staticClass: "es-simplicity_apps-text",
|
|
5152
|
+
},
|
|
5153
|
+
[
|
|
5154
|
+
_vm._v(
|
|
5155
|
+
"\n " +
|
|
5156
|
+
_vm._s(item.text || item.name) +
|
|
5157
|
+
"\n "
|
|
5158
|
+
),
|
|
5159
|
+
]
|
|
5160
|
+
),
|
|
5161
|
+
],
|
|
5162
|
+
2
|
|
5163
|
+
),
|
|
5164
|
+
],
|
|
5165
|
+
1
|
|
5166
|
+
)
|
|
5167
|
+
: _c(
|
|
5168
|
+
"div",
|
|
5169
|
+
{
|
|
5170
|
+
key: item.id,
|
|
5171
|
+
staticClass: "es-simplicity-menus-item",
|
|
5172
|
+
class: {
|
|
5173
|
+
"is-active": _vm.active === item.id,
|
|
5174
|
+
"is-fold": _vm.fold,
|
|
5175
|
+
},
|
|
5176
|
+
attrs: { title: _vm.fold ? item.text || item.name : "" },
|
|
5177
|
+
on: {
|
|
5178
|
+
click: function ($event) {
|
|
5179
|
+
_vm.handleClick(item)
|
|
5180
|
+
},
|
|
5181
|
+
},
|
|
5182
|
+
},
|
|
5183
|
+
[
|
|
5184
|
+
_vm.fold
|
|
5185
|
+
? [
|
|
5186
|
+
_c(
|
|
5187
|
+
"el-badge",
|
|
5188
|
+
{ attrs: { "is-dot": "", hidden: !item.tips } },
|
|
5189
|
+
[
|
|
5190
|
+
_c("es-icon", {
|
|
5191
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5192
|
+
style: _vm.setStyle(index),
|
|
5193
|
+
attrs: {
|
|
5194
|
+
contents:
|
|
5195
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
5196
|
+
},
|
|
5197
|
+
}),
|
|
5198
|
+
],
|
|
5199
|
+
1
|
|
5200
|
+
),
|
|
5201
|
+
]
|
|
5202
|
+
: [
|
|
5203
|
+
_c("es-icon", {
|
|
5204
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5205
|
+
style: _vm.setStyle(index),
|
|
5206
|
+
attrs: {
|
|
5207
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5208
|
+
},
|
|
5209
|
+
}),
|
|
5210
|
+
item.tips
|
|
5211
|
+
? _c(
|
|
5212
|
+
"div",
|
|
5213
|
+
{ staticClass: "es-simplicity-menus-tips" },
|
|
5214
|
+
[
|
|
5215
|
+
_vm._v(
|
|
5216
|
+
"\n " +
|
|
5217
|
+
_vm._s(item.tips > 99 ? "99+" : item.tips) +
|
|
5218
|
+
"\n "
|
|
5219
|
+
),
|
|
5220
|
+
]
|
|
5221
|
+
)
|
|
5222
|
+
: _vm._e(),
|
|
5223
|
+
],
|
|
5224
|
+
_c(
|
|
5225
|
+
"div",
|
|
5226
|
+
{
|
|
5227
|
+
directives: [
|
|
5228
|
+
{
|
|
5229
|
+
name: "show",
|
|
5230
|
+
rawName: "v-show",
|
|
5231
|
+
value: !_vm.fold,
|
|
5232
|
+
expression: "!fold",
|
|
5233
|
+
},
|
|
5234
|
+
],
|
|
5235
|
+
staticClass: "es-simplicity_apps-text",
|
|
5236
|
+
},
|
|
5237
|
+
[
|
|
5238
|
+
_vm._v(
|
|
5239
|
+
"\n " +
|
|
5240
|
+
_vm._s(item.text || item.name) +
|
|
5241
|
+
"\n "
|
|
5242
|
+
),
|
|
5243
|
+
]
|
|
5244
|
+
),
|
|
5245
|
+
],
|
|
5246
|
+
2
|
|
5247
|
+
),
|
|
5248
|
+
]
|
|
5249
|
+
}),
|
|
5250
|
+
],
|
|
5251
|
+
2
|
|
5252
|
+
)
|
|
5253
|
+
}
|
|
5254
|
+
var menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns = []
|
|
5255
|
+
menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
5176
5256
|
|
|
5177
|
-
/* harmony default export */ var menu_list = (menu_list_component.exports);
|
|
5178
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=script&lang=js&
|
|
5179
|
-
var _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; };
|
|
5180
5257
|
|
|
5258
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=118643de&scoped=true&
|
|
5259
|
+
|
|
5260
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
|
|
5261
|
+
//
|
|
5262
|
+
//
|
|
5263
|
+
//
|
|
5264
|
+
//
|
|
5265
|
+
//
|
|
5266
|
+
//
|
|
5267
|
+
//
|
|
5268
|
+
//
|
|
5269
|
+
//
|
|
5270
|
+
//
|
|
5271
|
+
//
|
|
5272
|
+
//
|
|
5273
|
+
//
|
|
5274
|
+
//
|
|
5275
|
+
//
|
|
5276
|
+
//
|
|
5277
|
+
//
|
|
5278
|
+
//
|
|
5279
|
+
//
|
|
5280
|
+
//
|
|
5281
|
+
//
|
|
5282
|
+
//
|
|
5283
|
+
//
|
|
5284
|
+
//
|
|
5285
|
+
//
|
|
5286
|
+
//
|
|
5287
|
+
//
|
|
5288
|
+
//
|
|
5289
|
+
//
|
|
5290
|
+
//
|
|
5291
|
+
//
|
|
5292
|
+
//
|
|
5293
|
+
//
|
|
5294
|
+
//
|
|
5295
|
+
//
|
|
5296
|
+
//
|
|
5297
|
+
//
|
|
5298
|
+
//
|
|
5299
|
+
//
|
|
5300
|
+
//
|
|
5301
|
+
//
|
|
5302
|
+
//
|
|
5303
|
+
//
|
|
5304
|
+
//
|
|
5305
|
+
//
|
|
5306
|
+
//
|
|
5307
|
+
//
|
|
5308
|
+
//
|
|
5309
|
+
//
|
|
5310
|
+
//
|
|
5311
|
+
//
|
|
5312
|
+
//
|
|
5313
|
+
//
|
|
5314
|
+
//
|
|
5315
|
+
//
|
|
5316
|
+
//
|
|
5317
|
+
//
|
|
5318
|
+
//
|
|
5181
5319
|
//
|
|
5182
5320
|
//
|
|
5183
5321
|
//
|
|
@@ -5209,101 +5347,69 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
5209
5347
|
//
|
|
5210
5348
|
//
|
|
5211
5349
|
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
components: { MenuList: menu_list },
|
|
5350
|
+
/* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
|
|
5351
|
+
name: 'MenuList',
|
|
5352
|
+
components: {},
|
|
5216
5353
|
props: {
|
|
5217
|
-
color: {
|
|
5218
|
-
type: [String, Array],
|
|
5219
|
-
default: '#fff'
|
|
5220
|
-
},
|
|
5221
|
-
backgroundColor: {
|
|
5222
|
-
type: [String, Array],
|
|
5223
|
-
default: function _default() {
|
|
5224
|
-
return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
|
|
5225
|
-
}
|
|
5226
|
-
},
|
|
5227
|
-
text: String,
|
|
5228
5354
|
menuIcon: String,
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
},
|
|
5235
|
-
fourthTabs: {
|
|
5236
|
-
type: Array,
|
|
5237
|
-
default: function _default() {
|
|
5238
|
-
return [];
|
|
5239
|
-
}
|
|
5240
|
-
}
|
|
5355
|
+
color: [String, Array],
|
|
5356
|
+
backgroundColor: [String, Array],
|
|
5357
|
+
data: Array,
|
|
5358
|
+
fold: Boolean,
|
|
5359
|
+
width: Number
|
|
5241
5360
|
},
|
|
5242
5361
|
data: function data() {
|
|
5243
5362
|
return {
|
|
5244
|
-
active: ''
|
|
5245
|
-
subMenus: []
|
|
5363
|
+
active: ''
|
|
5246
5364
|
};
|
|
5247
5365
|
},
|
|
5248
5366
|
|
|
5249
|
-
computed: {
|
|
5250
|
-
menus: function menus() {
|
|
5251
|
-
return [].concat(this.children, this.fourthTabs);
|
|
5252
|
-
}
|
|
5253
|
-
},
|
|
5367
|
+
computed: {},
|
|
5254
5368
|
watch: {},
|
|
5255
5369
|
created: function created() {},
|
|
5256
5370
|
mounted: function mounted() {},
|
|
5257
5371
|
|
|
5258
5372
|
methods: {
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5373
|
+
setStyle: function setStyle(num) {
|
|
5374
|
+
var obj = {};
|
|
5375
|
+
if (this.color) {
|
|
5376
|
+
obj.color = this.color;
|
|
5377
|
+
if (Array.isArray(this.color)) {
|
|
5378
|
+
obj.color = this.color[num % this.color.length];
|
|
5265
5379
|
} else {
|
|
5266
|
-
this
|
|
5380
|
+
obj.color = this.color;
|
|
5267
5381
|
}
|
|
5268
5382
|
}
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
this.subMenus = [_extends({}, res, { data: data })];
|
|
5383
|
+
if (this.backgroundColor) {
|
|
5384
|
+
if (Array.isArray(this.backgroundColor)) {
|
|
5385
|
+
obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
|
|
5273
5386
|
} else {
|
|
5274
|
-
|
|
5275
|
-
if (item) {
|
|
5276
|
-
if (item.id !== res.id) {
|
|
5277
|
-
this.subMenus.splice(parseInt(num, 10), this.subMenus.length - 1, _extends({}, res, {
|
|
5278
|
-
data: data
|
|
5279
|
-
}));
|
|
5280
|
-
}
|
|
5281
|
-
} else {
|
|
5282
|
-
this.subMenus.push(_extends({}, res, {
|
|
5283
|
-
data: data
|
|
5284
|
-
}));
|
|
5285
|
-
}
|
|
5387
|
+
obj.backgroundColor = this.backgroundColor;
|
|
5286
5388
|
}
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5389
|
+
}
|
|
5390
|
+
return obj;
|
|
5391
|
+
},
|
|
5392
|
+
handleClick: function handleClick(res) {
|
|
5393
|
+
this.active = res.id;
|
|
5394
|
+
if (res.url) {
|
|
5395
|
+
if (res.urlopenmode == 1) {
|
|
5396
|
+
util.win.open(res.url);
|
|
5397
|
+
return;
|
|
5398
|
+
} else if (res.urlopenmode == 2) {
|
|
5399
|
+
util.win.location.href = res.url;
|
|
5400
|
+
return;
|
|
5295
5401
|
}
|
|
5296
5402
|
}
|
|
5403
|
+
this.$emit('command', res);
|
|
5297
5404
|
},
|
|
5298
|
-
|
|
5299
|
-
this
|
|
5300
|
-
this.subMenus = [];
|
|
5405
|
+
clearActive: function clearActive() {
|
|
5406
|
+
this.active = '';
|
|
5301
5407
|
}
|
|
5302
5408
|
}
|
|
5303
5409
|
});
|
|
5304
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/
|
|
5305
|
-
/* harmony default export */ var
|
|
5306
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/
|
|
5410
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
|
|
5411
|
+
/* harmony default export */ var simplicity_menu_listvue_type_script_lang_js_ = (menu_listvue_type_script_lang_js_);
|
|
5412
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue
|
|
5307
5413
|
|
|
5308
5414
|
|
|
5309
5415
|
|
|
@@ -5311,374 +5417,578 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
5311
5417
|
|
|
5312
5418
|
/* normalize component */
|
|
5313
5419
|
|
|
5314
|
-
var
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5420
|
+
var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
5421
|
+
simplicity_menu_listvue_type_script_lang_js_,
|
|
5422
|
+
menu_listvue_type_template_id_118643de_scoped_true_render,
|
|
5423
|
+
menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns,
|
|
5318
5424
|
false,
|
|
5319
5425
|
null,
|
|
5320
|
-
"
|
|
5426
|
+
"118643de",
|
|
5321
5427
|
null
|
|
5322
5428
|
|
|
5323
5429
|
)
|
|
5324
5430
|
|
|
5325
|
-
/* harmony default export */ var
|
|
5326
|
-
// CONCATENATED MODULE: ./node_modules/
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5431
|
+
/* harmony default export */ var menu_list = (menu_list_component.exports);
|
|
5432
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=script&lang=js&
|
|
5433
|
+
//
|
|
5434
|
+
//
|
|
5435
|
+
//
|
|
5436
|
+
//
|
|
5437
|
+
//
|
|
5438
|
+
//
|
|
5439
|
+
//
|
|
5440
|
+
//
|
|
5441
|
+
//
|
|
5442
|
+
//
|
|
5443
|
+
//
|
|
5444
|
+
//
|
|
5445
|
+
//
|
|
5446
|
+
//
|
|
5447
|
+
//
|
|
5448
|
+
//
|
|
5449
|
+
//
|
|
5450
|
+
//
|
|
5451
|
+
//
|
|
5452
|
+
//
|
|
5453
|
+
//
|
|
5454
|
+
//
|
|
5455
|
+
//
|
|
5456
|
+
//
|
|
5457
|
+
//
|
|
5458
|
+
//
|
|
5459
|
+
//
|
|
5460
|
+
//
|
|
5461
|
+
//
|
|
5462
|
+
//
|
|
5463
|
+
//
|
|
5464
|
+
//
|
|
5465
|
+
//
|
|
5466
|
+
//
|
|
5467
|
+
//
|
|
5468
|
+
//
|
|
5469
|
+
//
|
|
5470
|
+
//
|
|
5471
|
+
//
|
|
5472
|
+
//
|
|
5473
|
+
//
|
|
5474
|
+
//
|
|
5475
|
+
//
|
|
5476
|
+
//
|
|
5477
|
+
//
|
|
5478
|
+
|
|
5479
|
+
|
|
5480
|
+
/* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
|
|
5481
|
+
name: 'SubMenu',
|
|
5482
|
+
components: { MenuList: menu_list },
|
|
5483
|
+
props: {
|
|
5484
|
+
title: String,
|
|
5485
|
+
color: {
|
|
5486
|
+
type: [String, Array],
|
|
5487
|
+
default: '#fff'
|
|
5488
|
+
},
|
|
5489
|
+
backgroundColor: {
|
|
5490
|
+
type: [String, Array],
|
|
5491
|
+
default: function _default() {
|
|
5492
|
+
return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
|
|
5493
|
+
}
|
|
5494
|
+
},
|
|
5495
|
+
size: {
|
|
5496
|
+
type: Number,
|
|
5497
|
+
default: 220
|
|
5498
|
+
},
|
|
5499
|
+
visible: Boolean,
|
|
5500
|
+
text: String,
|
|
5501
|
+
menuIcon: String,
|
|
5502
|
+
children: {
|
|
5503
|
+
type: Array,
|
|
5504
|
+
default: function _default() {
|
|
5505
|
+
return [];
|
|
5506
|
+
}
|
|
5507
|
+
},
|
|
5508
|
+
fourthTabs: {
|
|
5509
|
+
type: Array,
|
|
5510
|
+
default: function _default() {
|
|
5511
|
+
return [];
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
},
|
|
5515
|
+
data: function data() {
|
|
5516
|
+
return {
|
|
5517
|
+
fold: false,
|
|
5518
|
+
width: this.size,
|
|
5519
|
+
active: '',
|
|
5520
|
+
subMenus: []
|
|
5521
|
+
};
|
|
5522
|
+
},
|
|
5523
|
+
|
|
5524
|
+
computed: {
|
|
5525
|
+
menus: function menus() {
|
|
5526
|
+
return [].concat(this.children, this.fourthTabs);
|
|
5527
|
+
},
|
|
5528
|
+
|
|
5529
|
+
show: {
|
|
5530
|
+
get: function get() {
|
|
5531
|
+
return this.visible;
|
|
5532
|
+
},
|
|
5533
|
+
set: function set(val) {
|
|
5534
|
+
this.$emit('update:visible', val);
|
|
5535
|
+
return val;
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5538
|
+
},
|
|
5539
|
+
watch: {},
|
|
5540
|
+
created: function created() {},
|
|
5541
|
+
mounted: function mounted() {},
|
|
5542
|
+
|
|
5543
|
+
methods: {
|
|
5544
|
+
handleFold: function handleFold(res) {
|
|
5545
|
+
this.fold = res;
|
|
5546
|
+
if (res) {
|
|
5547
|
+
this.width = 48;
|
|
5548
|
+
} else {
|
|
5549
|
+
this.width = this.size;
|
|
5550
|
+
}
|
|
5551
|
+
this.$emit('update:fold', res);
|
|
5552
|
+
},
|
|
5553
|
+
handleCommand: function handleCommand(res) {
|
|
5554
|
+
this.$emit('command', res);
|
|
5555
|
+
},
|
|
5556
|
+
clearSubmenu: function clearSubmenu() {
|
|
5557
|
+
this.$refs.menus.clearActive();
|
|
5558
|
+
this.subMenus = [];
|
|
5559
|
+
}
|
|
5560
|
+
}
|
|
5561
|
+
});
|
|
5562
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=script&lang=js&
|
|
5563
|
+
/* harmony default export */ var simplicity_sub_menuvue_type_script_lang_js_ = (sub_menuvue_type_script_lang_js_);
|
|
5564
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue
|
|
5565
|
+
|
|
5566
|
+
|
|
5567
|
+
|
|
5568
|
+
|
|
5569
|
+
|
|
5570
|
+
/* normalize component */
|
|
5571
|
+
|
|
5572
|
+
var sub_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
5573
|
+
simplicity_sub_menuvue_type_script_lang_js_,
|
|
5574
|
+
sub_menuvue_type_template_id_e591bf96_scoped_true_render,
|
|
5575
|
+
sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns,
|
|
5576
|
+
false,
|
|
5577
|
+
null,
|
|
5578
|
+
"e591bf96",
|
|
5579
|
+
null
|
|
5580
|
+
|
|
5581
|
+
)
|
|
5582
|
+
|
|
5583
|
+
/* harmony default export */ var sub_menu = (sub_menu_component.exports);
|
|
5584
|
+
// 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/apps.vue?vue&type=template&id=62050c35&scoped=true&
|
|
5585
|
+
var appsvue_type_template_id_62050c35_scoped_true_render = function () {
|
|
5586
|
+
var this$1 = this
|
|
5587
|
+
var _vm = this
|
|
5588
|
+
var _h = _vm.$createElement
|
|
5331
5589
|
var _c = _vm._self._c || _h
|
|
5332
|
-
return _c(
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5590
|
+
return _c(
|
|
5591
|
+
"el-drawer",
|
|
5592
|
+
{
|
|
5593
|
+
staticClass: "es-simplicity-apps",
|
|
5594
|
+
attrs: {
|
|
5595
|
+
direction: "ltr",
|
|
5596
|
+
"modal-class": "es-simplicity-apps-modal",
|
|
5597
|
+
size: "90%",
|
|
5598
|
+
"modal-append-to-body": false,
|
|
5599
|
+
"with-header": false,
|
|
5600
|
+
visible: _vm.show,
|
|
5601
|
+
},
|
|
5602
|
+
on: {
|
|
5603
|
+
"update:visible": function ($event) {
|
|
5604
|
+
_vm.show = $event
|
|
5605
|
+
},
|
|
5606
|
+
},
|
|
5607
|
+
},
|
|
5608
|
+
[
|
|
5609
|
+
_c("div", { staticClass: "es-simplicity_apps" }, [
|
|
5337
5610
|
_c(
|
|
5338
5611
|
"div",
|
|
5339
|
-
{ staticClass: "es-simplicity_apps-
|
|
5612
|
+
{ staticClass: "es-simplicity_apps-all" },
|
|
5340
5613
|
[
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
staticClass: "es-simplicity_apps-
|
|
5614
|
+
_c(
|
|
5615
|
+
"div",
|
|
5616
|
+
{ staticClass: "es-simplicity_apps-title" },
|
|
5617
|
+
[
|
|
5618
|
+
_vm._v("\n 所有业务系统\n "),
|
|
5619
|
+
_c("el-input", {
|
|
5620
|
+
staticClass: "es-simplicity_apps-search",
|
|
5621
|
+
attrs: {
|
|
5622
|
+
size: "medium",
|
|
5623
|
+
placeholder: "请输入关键字",
|
|
5624
|
+
"prefix-icon": "el-icon-search",
|
|
5625
|
+
},
|
|
5626
|
+
model: {
|
|
5627
|
+
value: _vm.value,
|
|
5628
|
+
callback: function ($$v) {
|
|
5629
|
+
_vm.value = $$v
|
|
5630
|
+
},
|
|
5631
|
+
expression: "value",
|
|
5632
|
+
},
|
|
5633
|
+
}),
|
|
5634
|
+
],
|
|
5635
|
+
1
|
|
5636
|
+
),
|
|
5637
|
+
_c(
|
|
5638
|
+
"div",
|
|
5639
|
+
{
|
|
5640
|
+
staticClass: "es-simplicity_apps-box",
|
|
5641
|
+
on: { mousewheel: _vm.handleWheel },
|
|
5642
|
+
},
|
|
5643
|
+
[
|
|
5644
|
+
_c(
|
|
5645
|
+
"ul",
|
|
5646
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
5647
|
+
_vm._l(_vm._applications, function (item) {
|
|
5648
|
+
return _c(
|
|
5649
|
+
"li",
|
|
5650
|
+
{
|
|
5651
|
+
key: item.id,
|
|
5652
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
5653
|
+
},
|
|
5654
|
+
[
|
|
5655
|
+
_c(
|
|
5656
|
+
"div",
|
|
5657
|
+
{
|
|
5658
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
5659
|
+
class: {
|
|
5660
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
5661
|
+
},
|
|
5662
|
+
on: {
|
|
5663
|
+
click: function ($event) {
|
|
5664
|
+
_vm.handleClick(item)
|
|
5665
|
+
},
|
|
5666
|
+
},
|
|
5667
|
+
},
|
|
5668
|
+
[
|
|
5669
|
+
_c(
|
|
5670
|
+
"el-badge",
|
|
5671
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5672
|
+
[
|
|
5673
|
+
_c("es-icon", {
|
|
5674
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5675
|
+
attrs: {
|
|
5676
|
+
contents:
|
|
5677
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
5678
|
+
},
|
|
5679
|
+
}),
|
|
5680
|
+
],
|
|
5681
|
+
1
|
|
5682
|
+
),
|
|
5683
|
+
_c(
|
|
5684
|
+
"div",
|
|
5685
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5686
|
+
[
|
|
5687
|
+
_vm._v(
|
|
5688
|
+
"\n " +
|
|
5689
|
+
_vm._s(item.text || item.name) +
|
|
5690
|
+
"\n "
|
|
5691
|
+
),
|
|
5692
|
+
]
|
|
5693
|
+
),
|
|
5694
|
+
_c(
|
|
5695
|
+
"div",
|
|
5696
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
5697
|
+
[
|
|
5698
|
+
_c("es-icon", {
|
|
5699
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5700
|
+
attrs: {
|
|
5701
|
+
contents: item.permission
|
|
5702
|
+
? "es-icon-jiantou-next"
|
|
5703
|
+
: "es-icon-mm",
|
|
5704
|
+
},
|
|
5705
|
+
}),
|
|
5706
|
+
_c(
|
|
5707
|
+
"div",
|
|
5708
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5709
|
+
[
|
|
5710
|
+
_vm._v(
|
|
5711
|
+
"\n " +
|
|
5712
|
+
_vm._s(
|
|
5713
|
+
item.permission
|
|
5714
|
+
? "进入系统"
|
|
5715
|
+
: "暂无权限"
|
|
5716
|
+
) +
|
|
5717
|
+
"\n "
|
|
5718
|
+
),
|
|
5719
|
+
]
|
|
5720
|
+
),
|
|
5721
|
+
],
|
|
5722
|
+
1
|
|
5723
|
+
),
|
|
5724
|
+
],
|
|
5725
|
+
1
|
|
5726
|
+
),
|
|
5727
|
+
]
|
|
5728
|
+
)
|
|
5729
|
+
}),
|
|
5730
|
+
0
|
|
5731
|
+
),
|
|
5732
|
+
]
|
|
5733
|
+
),
|
|
5734
|
+
_c("el-pagination", {
|
|
5735
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
5344
5736
|
attrs: {
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
"
|
|
5737
|
+
background: "",
|
|
5738
|
+
layout: "total,prev, pager, next",
|
|
5739
|
+
"total-text": "共 {total} 个业务系统",
|
|
5740
|
+
"page-size": _vm.appSize,
|
|
5741
|
+
total: _vm.apps.length,
|
|
5742
|
+
"current-page": _vm.appNum,
|
|
5348
5743
|
},
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5744
|
+
on: {
|
|
5745
|
+
"update:currentPage": function ($event) {
|
|
5746
|
+
_vm.appNum = $event
|
|
5747
|
+
},
|
|
5748
|
+
"current-change": function (res) {
|
|
5749
|
+
this$1.handleChange(res, 0)
|
|
5353
5750
|
},
|
|
5354
|
-
expression: "value",
|
|
5355
5751
|
},
|
|
5356
5752
|
}),
|
|
5357
5753
|
],
|
|
5358
5754
|
1
|
|
5359
5755
|
),
|
|
5360
|
-
_c("div", { staticClass: "es-simplicity_apps-
|
|
5756
|
+
_c("div", { staticClass: "es-simplicity_apps-other" }, [
|
|
5361
5757
|
_c(
|
|
5362
|
-
"
|
|
5363
|
-
{ staticClass: "es-simplicity_apps-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
"
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5758
|
+
"div",
|
|
5759
|
+
{ staticClass: "es-simplicity_apps-business" },
|
|
5760
|
+
[
|
|
5761
|
+
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
5762
|
+
_vm._v("专项业务系统"),
|
|
5763
|
+
]),
|
|
5764
|
+
_c(
|
|
5765
|
+
"ul",
|
|
5766
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
5767
|
+
_vm._l(_vm._business, function (item, index) {
|
|
5768
|
+
return _c(
|
|
5769
|
+
"li",
|
|
5371
5770
|
{
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
5375
|
-
},
|
|
5376
|
-
on: {
|
|
5377
|
-
click: function ($event) {
|
|
5378
|
-
_vm.handleClick(item)
|
|
5379
|
-
},
|
|
5380
|
-
},
|
|
5771
|
+
key: item.id,
|
|
5772
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
5381
5773
|
},
|
|
5382
5774
|
[
|
|
5383
|
-
_c(
|
|
5384
|
-
"el-badge",
|
|
5385
|
-
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5386
|
-
[
|
|
5387
|
-
_c("es-icon", {
|
|
5388
|
-
staticClass: "es-simplicity_apps-icon",
|
|
5389
|
-
attrs: {
|
|
5390
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5391
|
-
},
|
|
5392
|
-
}),
|
|
5393
|
-
],
|
|
5394
|
-
1
|
|
5395
|
-
),
|
|
5396
|
-
_c("div", { staticClass: "es-simplicity_apps-text" }, [
|
|
5397
|
-
_vm._v(
|
|
5398
|
-
"\n " +
|
|
5399
|
-
_vm._s(item.text || item.name) +
|
|
5400
|
-
"\n "
|
|
5401
|
-
),
|
|
5402
|
-
]),
|
|
5403
5775
|
_c(
|
|
5404
5776
|
"div",
|
|
5405
|
-
{
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5777
|
+
{
|
|
5778
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
5779
|
+
class: {
|
|
5780
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
5781
|
+
},
|
|
5782
|
+
on: {
|
|
5783
|
+
click: function ($event) {
|
|
5784
|
+
_vm.handleClick(item)
|
|
5413
5785
|
},
|
|
5414
|
-
}
|
|
5415
|
-
_c(
|
|
5416
|
-
"div",
|
|
5417
|
-
{ staticClass: "es-simplicity_apps-text" },
|
|
5418
|
-
[
|
|
5419
|
-
_vm._v(
|
|
5420
|
-
"\n " +
|
|
5421
|
-
_vm._s(
|
|
5422
|
-
item.permission ? "进入系统" : "暂无权限"
|
|
5423
|
-
) +
|
|
5424
|
-
"\n "
|
|
5425
|
-
),
|
|
5426
|
-
]
|
|
5427
|
-
),
|
|
5428
|
-
],
|
|
5429
|
-
1
|
|
5430
|
-
),
|
|
5431
|
-
],
|
|
5432
|
-
1
|
|
5433
|
-
),
|
|
5434
|
-
]
|
|
5435
|
-
)
|
|
5436
|
-
}),
|
|
5437
|
-
0
|
|
5438
|
-
),
|
|
5439
|
-
]),
|
|
5440
|
-
_c("el-pagination", {
|
|
5441
|
-
staticClass: "es-simplicity_apps-pagination",
|
|
5442
|
-
attrs: {
|
|
5443
|
-
background: "",
|
|
5444
|
-
layout: "total,prev, pager, next",
|
|
5445
|
-
"total-text": "共 {total} 个业务系统",
|
|
5446
|
-
"page-size": _vm.appSize,
|
|
5447
|
-
total: _vm.apps.length,
|
|
5448
|
-
},
|
|
5449
|
-
on: {
|
|
5450
|
-
"current-change": function (res) {
|
|
5451
|
-
this$1.handleChange(res, 0)
|
|
5452
|
-
},
|
|
5453
|
-
},
|
|
5454
|
-
}),
|
|
5455
|
-
],
|
|
5456
|
-
1
|
|
5457
|
-
),
|
|
5458
|
-
_c("div", { staticClass: "es-simplicity_apps-other" }, [
|
|
5459
|
-
_c(
|
|
5460
|
-
"div",
|
|
5461
|
-
{ staticClass: "es-simplicity_apps-business" },
|
|
5462
|
-
[
|
|
5463
|
-
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
5464
|
-
_vm._v("专项业务系统"),
|
|
5465
|
-
]),
|
|
5466
|
-
_c(
|
|
5467
|
-
"ul",
|
|
5468
|
-
{ staticClass: "es-simplicity_apps-list" },
|
|
5469
|
-
_vm._l(_vm._business, function (item, index) {
|
|
5470
|
-
return _c(
|
|
5471
|
-
"li",
|
|
5472
|
-
{ key: item.id, staticClass: "es-simplicity_apps-list-item" },
|
|
5473
|
-
[
|
|
5474
|
-
_c(
|
|
5475
|
-
"div",
|
|
5476
|
-
{
|
|
5477
|
-
staticClass: "es-simplicity_apps-list-content",
|
|
5478
|
-
class: {
|
|
5479
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
5480
|
-
},
|
|
5481
|
-
on: {
|
|
5482
|
-
click: function ($event) {
|
|
5483
|
-
_vm.handleClick(item)
|
|
5484
|
-
},
|
|
5485
|
-
},
|
|
5486
|
-
},
|
|
5487
|
-
[
|
|
5488
|
-
_c("es-icon", {
|
|
5489
|
-
staticClass: "es-simplicity_app-icon",
|
|
5490
|
-
style: _vm.setStyle(index),
|
|
5491
|
-
attrs: {
|
|
5492
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5786
|
+
},
|
|
5493
5787
|
},
|
|
5494
|
-
}),
|
|
5495
|
-
_c(
|
|
5496
|
-
"el-badge",
|
|
5497
|
-
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5498
|
-
[
|
|
5499
|
-
_c(
|
|
5500
|
-
"div",
|
|
5501
|
-
{ staticClass: "es-simplicity_apps-text" },
|
|
5502
|
-
[
|
|
5503
|
-
_vm._v(
|
|
5504
|
-
"\n " +
|
|
5505
|
-
_vm._s(item.text || item.name) +
|
|
5506
|
-
"\n "
|
|
5507
|
-
),
|
|
5508
|
-
]
|
|
5509
|
-
),
|
|
5510
|
-
]
|
|
5511
|
-
),
|
|
5512
|
-
_c(
|
|
5513
|
-
"div",
|
|
5514
|
-
{ staticClass: "es-simplicity_apps-hover" },
|
|
5515
5788
|
[
|
|
5516
5789
|
_c("es-icon", {
|
|
5517
|
-
staticClass: "es-
|
|
5790
|
+
staticClass: "es-simplicity_app-icon",
|
|
5791
|
+
style: _vm.setStyle(index),
|
|
5518
5792
|
attrs: {
|
|
5519
|
-
contents: item.
|
|
5520
|
-
? "es-icon-jiantou-next"
|
|
5521
|
-
: "es-icon-mm",
|
|
5793
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5522
5794
|
},
|
|
5523
5795
|
}),
|
|
5524
5796
|
_c(
|
|
5525
|
-
"
|
|
5526
|
-
{
|
|
5797
|
+
"el-badge",
|
|
5798
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5527
5799
|
[
|
|
5528
|
-
|
|
5529
|
-
"
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5800
|
+
_c(
|
|
5801
|
+
"div",
|
|
5802
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5803
|
+
[
|
|
5804
|
+
_vm._v(
|
|
5805
|
+
"\n " +
|
|
5806
|
+
_vm._s(item.text || item.name) +
|
|
5807
|
+
"\n "
|
|
5808
|
+
),
|
|
5809
|
+
]
|
|
5534
5810
|
),
|
|
5535
|
-
]
|
|
5536
|
-
),
|
|
5537
|
-
],
|
|
5538
|
-
1
|
|
5539
|
-
),
|
|
5540
|
-
],
|
|
5541
|
-
1
|
|
5542
|
-
),
|
|
5543
|
-
]
|
|
5544
|
-
)
|
|
5545
|
-
}),
|
|
5546
|
-
0
|
|
5547
|
-
),
|
|
5548
|
-
_c("el-pagination", {
|
|
5549
|
-
staticClass: "es-simplicity_apps-pagination",
|
|
5550
|
-
attrs: {
|
|
5551
|
-
background: "",
|
|
5552
|
-
layout: "total,prev, pager, next",
|
|
5553
|
-
"total-text": "共 {total} 专项业务系统",
|
|
5554
|
-
"page-size": _vm.appSize,
|
|
5555
|
-
total: _vm.business.length,
|
|
5556
|
-
},
|
|
5557
|
-
on: {
|
|
5558
|
-
"current-change": function (res) {
|
|
5559
|
-
this$1.handleChange(res, 1)
|
|
5560
|
-
},
|
|
5561
|
-
},
|
|
5562
|
-
}),
|
|
5563
|
-
],
|
|
5564
|
-
1
|
|
5565
|
-
),
|
|
5566
|
-
_c(
|
|
5567
|
-
"div",
|
|
5568
|
-
{ staticClass: "es-simplicity_apps-systems" },
|
|
5569
|
-
[
|
|
5570
|
-
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
5571
|
-
_vm._v("系统设置"),
|
|
5572
|
-
]),
|
|
5573
|
-
_c(
|
|
5574
|
-
"ul",
|
|
5575
|
-
{ staticClass: "es-simplicity_apps-list" },
|
|
5576
|
-
_vm._l(_vm._systems, function (item, index) {
|
|
5577
|
-
return _c(
|
|
5578
|
-
"li",
|
|
5579
|
-
{ key: item.id, staticClass: "es-simplicity_apps-list-item" },
|
|
5580
|
-
[
|
|
5581
|
-
_c(
|
|
5582
|
-
"div",
|
|
5583
|
-
{
|
|
5584
|
-
staticClass: "es-simplicity_apps-list-content",
|
|
5585
|
-
class: {
|
|
5586
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
5587
|
-
},
|
|
5588
|
-
on: {
|
|
5589
|
-
click: function ($event) {
|
|
5590
|
-
_vm.handleClick(item)
|
|
5591
|
-
},
|
|
5592
|
-
},
|
|
5593
|
-
},
|
|
5594
|
-
[
|
|
5595
|
-
_c("es-icon", {
|
|
5596
|
-
staticClass: "es-simplicity_app-icon",
|
|
5597
|
-
style: _vm.setStyle(index),
|
|
5598
|
-
attrs: {
|
|
5599
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5600
|
-
},
|
|
5601
|
-
}),
|
|
5602
|
-
_c(
|
|
5603
|
-
"el-badge",
|
|
5604
|
-
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5605
|
-
[
|
|
5811
|
+
]
|
|
5812
|
+
),
|
|
5606
5813
|
_c(
|
|
5607
5814
|
"div",
|
|
5608
|
-
{ staticClass: "es-simplicity_apps-
|
|
5815
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
5609
5816
|
[
|
|
5610
|
-
|
|
5611
|
-
"
|
|
5612
|
-
|
|
5613
|
-
|
|
5817
|
+
_c("es-icon", {
|
|
5818
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5819
|
+
attrs: {
|
|
5820
|
+
contents: item.permission
|
|
5821
|
+
? "es-icon-jiantou-next"
|
|
5822
|
+
: "es-icon-mm",
|
|
5823
|
+
},
|
|
5824
|
+
}),
|
|
5825
|
+
_c(
|
|
5826
|
+
"div",
|
|
5827
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5828
|
+
[
|
|
5829
|
+
_vm._v(
|
|
5830
|
+
"\n " +
|
|
5831
|
+
_vm._s(
|
|
5832
|
+
item.permission
|
|
5833
|
+
? "进入系统"
|
|
5834
|
+
: "暂无权限"
|
|
5835
|
+
) +
|
|
5836
|
+
"\n "
|
|
5837
|
+
),
|
|
5838
|
+
]
|
|
5614
5839
|
),
|
|
5615
|
-
]
|
|
5840
|
+
],
|
|
5841
|
+
1
|
|
5616
5842
|
),
|
|
5617
|
-
]
|
|
5843
|
+
],
|
|
5844
|
+
1
|
|
5618
5845
|
),
|
|
5846
|
+
]
|
|
5847
|
+
)
|
|
5848
|
+
}),
|
|
5849
|
+
0
|
|
5850
|
+
),
|
|
5851
|
+
_c("el-pagination", {
|
|
5852
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
5853
|
+
attrs: {
|
|
5854
|
+
background: "",
|
|
5855
|
+
layout: "total,prev, pager, next",
|
|
5856
|
+
"total-text": "共 {total} 专项业务系统",
|
|
5857
|
+
"page-size": _vm.appSize,
|
|
5858
|
+
total: _vm.business.length,
|
|
5859
|
+
},
|
|
5860
|
+
on: {
|
|
5861
|
+
"current-change": function (res) {
|
|
5862
|
+
this$1.handleChange(res, 1)
|
|
5863
|
+
},
|
|
5864
|
+
},
|
|
5865
|
+
}),
|
|
5866
|
+
],
|
|
5867
|
+
1
|
|
5868
|
+
),
|
|
5869
|
+
_c(
|
|
5870
|
+
"div",
|
|
5871
|
+
{ staticClass: "es-simplicity_apps-systems" },
|
|
5872
|
+
[
|
|
5873
|
+
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
5874
|
+
_vm._v("系统设置"),
|
|
5875
|
+
]),
|
|
5876
|
+
_c(
|
|
5877
|
+
"ul",
|
|
5878
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
5879
|
+
_vm._l(_vm._systems, function (item, index) {
|
|
5880
|
+
return _c(
|
|
5881
|
+
"li",
|
|
5882
|
+
{
|
|
5883
|
+
key: item.id,
|
|
5884
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
5885
|
+
},
|
|
5886
|
+
[
|
|
5619
5887
|
_c(
|
|
5620
5888
|
"div",
|
|
5621
|
-
{
|
|
5889
|
+
{
|
|
5890
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
5891
|
+
class: {
|
|
5892
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
5893
|
+
},
|
|
5894
|
+
on: {
|
|
5895
|
+
click: function ($event) {
|
|
5896
|
+
_vm.handleClick(item)
|
|
5897
|
+
},
|
|
5898
|
+
},
|
|
5899
|
+
},
|
|
5622
5900
|
[
|
|
5623
5901
|
_c("es-icon", {
|
|
5624
|
-
staticClass: "es-
|
|
5902
|
+
staticClass: "es-simplicity_app-icon",
|
|
5903
|
+
style: _vm.setStyle(index),
|
|
5625
5904
|
attrs: {
|
|
5626
|
-
contents: item.
|
|
5627
|
-
? "es-icon-jiantou-next"
|
|
5628
|
-
: "es-icon-mm",
|
|
5905
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
5629
5906
|
},
|
|
5630
5907
|
}),
|
|
5631
5908
|
_c(
|
|
5632
|
-
"
|
|
5633
|
-
{
|
|
5909
|
+
"el-badge",
|
|
5910
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
5634
5911
|
[
|
|
5635
|
-
|
|
5636
|
-
"
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5912
|
+
_c(
|
|
5913
|
+
"div",
|
|
5914
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5915
|
+
[
|
|
5916
|
+
_vm._v(
|
|
5917
|
+
"\n " +
|
|
5918
|
+
_vm._s(item.text || item.name) +
|
|
5919
|
+
"\n "
|
|
5920
|
+
),
|
|
5921
|
+
]
|
|
5641
5922
|
),
|
|
5642
5923
|
]
|
|
5643
5924
|
),
|
|
5925
|
+
_c(
|
|
5926
|
+
"div",
|
|
5927
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
5928
|
+
[
|
|
5929
|
+
_c("es-icon", {
|
|
5930
|
+
staticClass: "es-simplicity_apps-icon",
|
|
5931
|
+
attrs: {
|
|
5932
|
+
contents: item.permission
|
|
5933
|
+
? "es-icon-jiantou-next"
|
|
5934
|
+
: "es-icon-mm",
|
|
5935
|
+
},
|
|
5936
|
+
}),
|
|
5937
|
+
_c(
|
|
5938
|
+
"div",
|
|
5939
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
5940
|
+
[
|
|
5941
|
+
_vm._v(
|
|
5942
|
+
"\n " +
|
|
5943
|
+
_vm._s(
|
|
5944
|
+
item.permission
|
|
5945
|
+
? "进入系统"
|
|
5946
|
+
: "暂无权限"
|
|
5947
|
+
) +
|
|
5948
|
+
"\n "
|
|
5949
|
+
),
|
|
5950
|
+
]
|
|
5951
|
+
),
|
|
5952
|
+
],
|
|
5953
|
+
1
|
|
5954
|
+
),
|
|
5644
5955
|
],
|
|
5645
5956
|
1
|
|
5646
5957
|
),
|
|
5647
|
-
]
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
)
|
|
5652
|
-
|
|
5653
|
-
|
|
5958
|
+
]
|
|
5959
|
+
)
|
|
5960
|
+
}),
|
|
5961
|
+
0
|
|
5962
|
+
),
|
|
5963
|
+
_c("el-pagination", {
|
|
5964
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
5965
|
+
attrs: {
|
|
5966
|
+
background: "",
|
|
5967
|
+
layout: "total,prev, pager, next",
|
|
5968
|
+
"total-text": "共 {total} 系统设置",
|
|
5969
|
+
"hide-on-single-page": "",
|
|
5970
|
+
"page-size": _vm.appSize,
|
|
5971
|
+
total: _vm.business.length,
|
|
5972
|
+
},
|
|
5973
|
+
on: {
|
|
5974
|
+
"current-change": function (res) {
|
|
5975
|
+
this$1.handleChange(res, 2)
|
|
5976
|
+
},
|
|
5977
|
+
},
|
|
5978
|
+
}),
|
|
5979
|
+
],
|
|
5980
|
+
1
|
|
5654
5981
|
),
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
layout: "total,prev, pager, next",
|
|
5660
|
-
"total-text": "共 {total} 系统设置",
|
|
5661
|
-
"hide-on-single-page": "",
|
|
5662
|
-
"page-size": _vm.appSize,
|
|
5663
|
-
total: _vm.business.length,
|
|
5664
|
-
},
|
|
5665
|
-
on: {
|
|
5666
|
-
"current-change": function (res) {
|
|
5667
|
-
this$1.handleChange(res, 2)
|
|
5668
|
-
},
|
|
5669
|
-
},
|
|
5670
|
-
}),
|
|
5671
|
-
],
|
|
5672
|
-
1
|
|
5673
|
-
),
|
|
5674
|
-
]),
|
|
5675
|
-
])
|
|
5982
|
+
]),
|
|
5983
|
+
]),
|
|
5984
|
+
]
|
|
5985
|
+
)
|
|
5676
5986
|
}
|
|
5677
|
-
var
|
|
5678
|
-
|
|
5987
|
+
var appsvue_type_template_id_62050c35_scoped_true_staticRenderFns = []
|
|
5988
|
+
appsvue_type_template_id_62050c35_scoped_true_render._withStripped = true
|
|
5679
5989
|
|
|
5680
5990
|
|
|
5681
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=
|
|
5991
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=62050c35&scoped=true&
|
|
5682
5992
|
|
|
5683
5993
|
// EXTERNAL MODULE: external "throttle-debounce"
|
|
5684
5994
|
var external_throttle_debounce_ = __webpack_require__(11);
|
|
@@ -5859,12 +6169,24 @@ var external_throttle_debounce_ = __webpack_require__(11);
|
|
|
5859
6169
|
//
|
|
5860
6170
|
//
|
|
5861
6171
|
//
|
|
6172
|
+
//
|
|
6173
|
+
//
|
|
6174
|
+
//
|
|
6175
|
+
//
|
|
6176
|
+
//
|
|
6177
|
+
//
|
|
6178
|
+
//
|
|
6179
|
+
//
|
|
6180
|
+
//
|
|
6181
|
+
//
|
|
6182
|
+
//
|
|
5862
6183
|
|
|
5863
6184
|
|
|
5864
6185
|
/* harmony default export */ var appsvue_type_script_lang_js_ = ({
|
|
5865
6186
|
name: 'Apps',
|
|
5866
6187
|
components: {},
|
|
5867
6188
|
props: {
|
|
6189
|
+
visible: Boolean,
|
|
5868
6190
|
//菜单、应用默认图标
|
|
5869
6191
|
menuIcon: String,
|
|
5870
6192
|
color: {
|
|
@@ -5912,6 +6234,15 @@ var external_throttle_debounce_ = __webpack_require__(11);
|
|
|
5912
6234
|
},
|
|
5913
6235
|
|
|
5914
6236
|
computed: {
|
|
6237
|
+
show: {
|
|
6238
|
+
get: function get() {
|
|
6239
|
+
return this.visible;
|
|
6240
|
+
},
|
|
6241
|
+
set: function set(val) {
|
|
6242
|
+
this.$emit('update:visible', val);
|
|
6243
|
+
return val;
|
|
6244
|
+
}
|
|
6245
|
+
},
|
|
5915
6246
|
_applications: function _applications() {
|
|
5916
6247
|
var _this = this;
|
|
5917
6248
|
|
|
@@ -5988,6 +6319,16 @@ var external_throttle_debounce_ = __webpack_require__(11);
|
|
|
5988
6319
|
var name = ['appNum', 'bsNum', 'sysNum'];
|
|
5989
6320
|
this[name[index]] = res;
|
|
5990
6321
|
},
|
|
6322
|
+
handleWheel: function handleWheel(e) {
|
|
6323
|
+
var direction = e.deltaY > 0 ? 'down' : 'up'; //deltaY为正则滚轮向下,为负滚轮向上
|
|
6324
|
+
var total = Math.ceil(this.apps.length / this.appSize);
|
|
6325
|
+
if (direction == 'up' && this.appNum > 1) {
|
|
6326
|
+
this.appNum -= 1;
|
|
6327
|
+
}
|
|
6328
|
+
if (direction == 'down' && this.appNum < total) {
|
|
6329
|
+
this.appNum += 1;
|
|
6330
|
+
}
|
|
6331
|
+
},
|
|
5991
6332
|
handleClick: function handleClick(res) {
|
|
5992
6333
|
this.$emit('click', res);
|
|
5993
6334
|
},
|
|
@@ -6022,18 +6363,18 @@ var external_throttle_debounce_ = __webpack_require__(11);
|
|
|
6022
6363
|
|
|
6023
6364
|
var apps_component = Object(componentNormalizer["a" /* default */])(
|
|
6024
6365
|
simplicity_appsvue_type_script_lang_js_,
|
|
6025
|
-
|
|
6026
|
-
|
|
6366
|
+
appsvue_type_template_id_62050c35_scoped_true_render,
|
|
6367
|
+
appsvue_type_template_id_62050c35_scoped_true_staticRenderFns,
|
|
6027
6368
|
false,
|
|
6028
6369
|
null,
|
|
6029
|
-
"
|
|
6370
|
+
"62050c35",
|
|
6030
6371
|
null
|
|
6031
6372
|
|
|
6032
6373
|
)
|
|
6033
6374
|
|
|
6034
6375
|
/* harmony default export */ var simplicity_apps = (apps_component.exports);
|
|
6035
|
-
// 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/user.vue?vue&type=template&id=
|
|
6036
|
-
var
|
|
6376
|
+
// 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/user.vue?vue&type=template&id=4f9acb61&scoped=true&
|
|
6377
|
+
var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
|
|
6037
6378
|
var _vm = this
|
|
6038
6379
|
var _h = _vm.$createElement
|
|
6039
6380
|
var _c = _vm._self._c || _h
|
|
@@ -6177,7 +6518,7 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
|
|
|
6177
6518
|
},
|
|
6178
6519
|
[
|
|
6179
6520
|
_vm.visible
|
|
6180
|
-
? _c("
|
|
6521
|
+
? _c("user-info", {
|
|
6181
6522
|
attrs: { contents: _vm.contents, value: _vm.userInfo },
|
|
6182
6523
|
})
|
|
6183
6524
|
: _vm._e(),
|
|
@@ -6188,14 +6529,14 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
|
|
|
6188
6529
|
1
|
|
6189
6530
|
)
|
|
6190
6531
|
}
|
|
6191
|
-
var
|
|
6192
|
-
|
|
6532
|
+
var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
|
|
6533
|
+
uservue_type_template_id_4f9acb61_scoped_true_render._withStripped = true
|
|
6193
6534
|
|
|
6194
6535
|
|
|
6195
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=
|
|
6536
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4f9acb61&scoped=true&
|
|
6196
6537
|
|
|
6197
|
-
// 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/userinfo.vue?vue&type=template&id=
|
|
6198
|
-
var
|
|
6538
|
+
// 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/userinfo.vue?vue&type=template&id=0dbd4cc6&
|
|
6539
|
+
var userinfovue_type_template_id_0dbd4cc6_render = function () {
|
|
6199
6540
|
var _vm = this
|
|
6200
6541
|
var _h = _vm.$createElement
|
|
6201
6542
|
var _c = _vm._self._c || _h
|
|
@@ -6211,11 +6552,11 @@ var userinfovue_type_template_id_55233cdc_render = function () {
|
|
|
6211
6552
|
2
|
|
6212
6553
|
)
|
|
6213
6554
|
}
|
|
6214
|
-
var
|
|
6215
|
-
|
|
6555
|
+
var userinfovue_type_template_id_0dbd4cc6_staticRenderFns = []
|
|
6556
|
+
userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
|
|
6216
6557
|
|
|
6217
6558
|
|
|
6218
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=
|
|
6559
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=0dbd4cc6&
|
|
6219
6560
|
|
|
6220
6561
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
|
|
6221
6562
|
//
|
|
@@ -6236,6 +6577,7 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
|
|
|
6236
6577
|
|
|
6237
6578
|
|
|
6238
6579
|
/* harmony default export */ var userinfovue_type_script_lang_js_ = ({
|
|
6580
|
+
name: 'UserInfo',
|
|
6239
6581
|
props: {
|
|
6240
6582
|
showNotify: {
|
|
6241
6583
|
type: Boolean,
|
|
@@ -6472,8 +6814,8 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
|
|
|
6472
6814
|
|
|
6473
6815
|
var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
6474
6816
|
simplicity_userinfovue_type_script_lang_js_,
|
|
6475
|
-
|
|
6476
|
-
|
|
6817
|
+
userinfovue_type_template_id_0dbd4cc6_render,
|
|
6818
|
+
userinfovue_type_template_id_0dbd4cc6_staticRenderFns,
|
|
6477
6819
|
false,
|
|
6478
6820
|
null,
|
|
6479
6821
|
null,
|
|
@@ -6557,7 +6899,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6557
6899
|
|
|
6558
6900
|
/* harmony default export */ var uservue_type_script_lang_js_ = ({
|
|
6559
6901
|
name: 'User',
|
|
6560
|
-
components: { avatar: avatar,
|
|
6902
|
+
components: { avatar: avatar, userInfo: userinfo },
|
|
6561
6903
|
props: {
|
|
6562
6904
|
notify: String,
|
|
6563
6905
|
notifyList: Array,
|
|
@@ -6732,32 +7074,32 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6732
7074
|
|
|
6733
7075
|
var user_component = Object(componentNormalizer["a" /* default */])(
|
|
6734
7076
|
simplicity_uservue_type_script_lang_js_,
|
|
6735
|
-
|
|
6736
|
-
|
|
7077
|
+
uservue_type_template_id_4f9acb61_scoped_true_render,
|
|
7078
|
+
uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns,
|
|
6737
7079
|
false,
|
|
6738
7080
|
null,
|
|
6739
|
-
"
|
|
7081
|
+
"4f9acb61",
|
|
6740
7082
|
null
|
|
6741
7083
|
|
|
6742
7084
|
)
|
|
6743
7085
|
|
|
6744
7086
|
/* harmony default export */ var simplicity_user = (user_component.exports);
|
|
6745
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=template&id=
|
|
6746
|
-
var
|
|
7087
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=template&id=0ee7ab90&
|
|
7088
|
+
var messagevue_type_template_id_0ee7ab90_render = function () {
|
|
6747
7089
|
var _vm = this
|
|
6748
7090
|
var _h = _vm.$createElement
|
|
6749
7091
|
var _c = _vm._self._c || _h
|
|
6750
7092
|
return _c(
|
|
6751
7093
|
"el-drawer",
|
|
6752
7094
|
{
|
|
6753
|
-
staticClass: "es-
|
|
7095
|
+
staticClass: "es-simplicity-message",
|
|
6754
7096
|
attrs: {
|
|
6755
|
-
"
|
|
7097
|
+
"modal-class": "es-simplicity-message-modal",
|
|
6756
7098
|
direction: "rtl",
|
|
6757
|
-
size: "
|
|
6758
|
-
modal: false,
|
|
7099
|
+
size: "648px",
|
|
6759
7100
|
withHeader: false,
|
|
6760
7101
|
visible: _vm.show,
|
|
7102
|
+
"modal-append-to-body": false,
|
|
6761
7103
|
},
|
|
6762
7104
|
on: {
|
|
6763
7105
|
"update:visible": function ($event) {
|
|
@@ -6766,18 +7108,23 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
6766
7108
|
},
|
|
6767
7109
|
},
|
|
6768
7110
|
[
|
|
6769
|
-
_c("div", { staticClass: "es-
|
|
6770
|
-
_c("span", { staticClass: "es-
|
|
7111
|
+
_c("div", { staticClass: "es-simplicity-message-header" }, [
|
|
7112
|
+
_c("span", { staticClass: "es-simplicity-message-title" }, [
|
|
7113
|
+
_vm._v("消息提示"),
|
|
7114
|
+
]),
|
|
6771
7115
|
_c(
|
|
6772
7116
|
"span",
|
|
6773
|
-
{
|
|
7117
|
+
{
|
|
7118
|
+
staticClass: "es-simplicity-message-overlook",
|
|
7119
|
+
on: { click: _vm.handleIgnoreAll },
|
|
7120
|
+
},
|
|
6774
7121
|
[_vm._v("全部忽略")]
|
|
6775
7122
|
),
|
|
6776
7123
|
]),
|
|
6777
|
-
_c("div", { staticClass: "es-
|
|
7124
|
+
_c("div", { staticClass: "es-simplicity-message-lists-box" }, [
|
|
6778
7125
|
_c(
|
|
6779
7126
|
"div",
|
|
6780
|
-
{ staticClass: "es-
|
|
7127
|
+
{ staticClass: "es-simplicity-message-lists" },
|
|
6781
7128
|
[
|
|
6782
7129
|
_c("el-scrollbar", { staticClass: "es-scrollbar" }, [
|
|
6783
7130
|
_c(
|
|
@@ -6796,25 +7143,35 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
6796
7143
|
[
|
|
6797
7144
|
_vm._l(_vm.msgs, function (item, index) {
|
|
6798
7145
|
return _c(
|
|
6799
|
-
"
|
|
6800
|
-
{
|
|
7146
|
+
"div",
|
|
7147
|
+
{
|
|
7148
|
+
key: item.id,
|
|
7149
|
+
staticClass: "es-simplicity-message-item",
|
|
7150
|
+
},
|
|
6801
7151
|
[
|
|
6802
|
-
_c(
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
]),
|
|
7152
|
+
_c(
|
|
7153
|
+
"div",
|
|
7154
|
+
{ staticClass: "es-simplicity-message-item-title" },
|
|
7155
|
+
[
|
|
7156
|
+
_vm._v(
|
|
7157
|
+
"\n " +
|
|
7158
|
+
_vm._s(item.title) +
|
|
7159
|
+
"\n "
|
|
7160
|
+
),
|
|
7161
|
+
]
|
|
7162
|
+
),
|
|
6814
7163
|
_c("div", [
|
|
6815
|
-
_c(
|
|
6816
|
-
|
|
6817
|
-
|
|
7164
|
+
_c(
|
|
7165
|
+
"span",
|
|
7166
|
+
{ staticClass: "es-simplicity-message-item-time" },
|
|
7167
|
+
[
|
|
7168
|
+
_vm._v(
|
|
7169
|
+
"\n " +
|
|
7170
|
+
_vm._s(item.time) +
|
|
7171
|
+
"\n "
|
|
7172
|
+
),
|
|
7173
|
+
]
|
|
7174
|
+
),
|
|
6818
7175
|
_c(
|
|
6819
7176
|
"span",
|
|
6820
7177
|
{
|
|
@@ -6826,27 +7183,39 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
6826
7183
|
expression: "item.handlerUrl",
|
|
6827
7184
|
},
|
|
6828
7185
|
],
|
|
6829
|
-
staticClass: "es-
|
|
7186
|
+
staticClass: "es-simplicity-message-handler",
|
|
6830
7187
|
on: {
|
|
6831
7188
|
click: function ($event) {
|
|
6832
7189
|
_vm.handleMessage(item, index)
|
|
6833
7190
|
},
|
|
6834
7191
|
},
|
|
6835
7192
|
},
|
|
6836
|
-
[_vm._v("
|
|
7193
|
+
[_vm._v("\n 处理\n ")]
|
|
7194
|
+
),
|
|
7195
|
+
_c(
|
|
7196
|
+
"span",
|
|
7197
|
+
{
|
|
7198
|
+
staticClass: "es-simplicity-message-overlook",
|
|
7199
|
+
on: {
|
|
7200
|
+
click: function ($event) {
|
|
7201
|
+
_vm.handleIgnore(item, index)
|
|
7202
|
+
},
|
|
7203
|
+
},
|
|
7204
|
+
},
|
|
7205
|
+
[_vm._v("\n 忽略\n ")]
|
|
6837
7206
|
),
|
|
6838
7207
|
]),
|
|
6839
7208
|
]
|
|
6840
7209
|
)
|
|
6841
7210
|
}),
|
|
6842
7211
|
_vm.loading
|
|
6843
|
-
? _c("p", { staticClass: "es-
|
|
7212
|
+
? _c("p", { staticClass: "es-simplicity-message-tips" }, [
|
|
6844
7213
|
_vm._v("加载中..."),
|
|
6845
7214
|
])
|
|
6846
7215
|
: _vm._e(),
|
|
6847
7216
|
_vm.noMore && _vm.count > 0
|
|
6848
|
-
? _c("p", { staticClass: "es-
|
|
6849
|
-
_vm._v("
|
|
7217
|
+
? _c("p", { staticClass: "es-simplicity-message-tips" }, [
|
|
7218
|
+
_vm._v("\n 没有更多了\n "),
|
|
6850
7219
|
])
|
|
6851
7220
|
: _vm._e(),
|
|
6852
7221
|
],
|
|
@@ -6857,8 +7226,8 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
6857
7226
|
1
|
|
6858
7227
|
),
|
|
6859
7228
|
]),
|
|
6860
|
-
_c("div", { staticClass: "es-
|
|
6861
|
-
_vm._v("
|
|
7229
|
+
_c("div", { staticClass: "es-simplicity-message-total" }, [
|
|
7230
|
+
_vm._v("共有 " + _vm._s(_vm.count) + " 条消息记录"),
|
|
6862
7231
|
]),
|
|
6863
7232
|
_c("es-dialog", {
|
|
6864
7233
|
attrs: {
|
|
@@ -6880,11 +7249,11 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
6880
7249
|
1
|
|
6881
7250
|
)
|
|
6882
7251
|
}
|
|
6883
|
-
var
|
|
6884
|
-
|
|
7252
|
+
var messagevue_type_template_id_0ee7ab90_staticRenderFns = []
|
|
7253
|
+
messagevue_type_template_id_0ee7ab90_render._withStripped = true
|
|
6885
7254
|
|
|
6886
7255
|
|
|
6887
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=
|
|
7256
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=0ee7ab90&
|
|
6888
7257
|
|
|
6889
7258
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=script&lang=js&
|
|
6890
7259
|
//
|
|
@@ -6944,11 +7313,21 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
|
|
|
6944
7313
|
//
|
|
6945
7314
|
//
|
|
6946
7315
|
//
|
|
7316
|
+
//
|
|
7317
|
+
//
|
|
7318
|
+
//
|
|
7319
|
+
//
|
|
7320
|
+
//
|
|
7321
|
+
//
|
|
7322
|
+
//
|
|
7323
|
+
//
|
|
7324
|
+
//
|
|
7325
|
+
//
|
|
6947
7326
|
|
|
6948
7327
|
|
|
6949
7328
|
|
|
6950
7329
|
/* harmony default export */ var messagevue_type_script_lang_js_ = ({
|
|
6951
|
-
name: '
|
|
7330
|
+
name: 'Message',
|
|
6952
7331
|
provide: function provide() {
|
|
6953
7332
|
return {
|
|
6954
7333
|
deleteMessage: this.handleRemove
|
|
@@ -7134,8 +7513,8 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
|
|
|
7134
7513
|
|
|
7135
7514
|
var message_component = Object(componentNormalizer["a" /* default */])(
|
|
7136
7515
|
simplicity_messagevue_type_script_lang_js_,
|
|
7137
|
-
|
|
7138
|
-
|
|
7516
|
+
messagevue_type_template_id_0ee7ab90_render,
|
|
7517
|
+
messagevue_type_template_id_0ee7ab90_staticRenderFns,
|
|
7139
7518
|
false,
|
|
7140
7519
|
null,
|
|
7141
7520
|
null,
|
|
@@ -7144,8 +7523,8 @@ var message_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7144
7523
|
)
|
|
7145
7524
|
|
|
7146
7525
|
/* harmony default export */ var message = (message_component.exports);
|
|
7147
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=template&id=
|
|
7148
|
-
var
|
|
7526
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=template&id=1c74f5bb&
|
|
7527
|
+
var noticevue_type_template_id_1c74f5bb_render = function () {
|
|
7149
7528
|
var _vm = this
|
|
7150
7529
|
var _h = _vm.$createElement
|
|
7151
7530
|
var _c = _vm._self._c || _h
|
|
@@ -7167,11 +7546,12 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
7167
7546
|
{
|
|
7168
7547
|
name: "show",
|
|
7169
7548
|
rawName: "v-show",
|
|
7170
|
-
value: _vm.
|
|
7171
|
-
expression: "
|
|
7549
|
+
value: _vm.msgs.length,
|
|
7550
|
+
expression: "msgs.length",
|
|
7172
7551
|
},
|
|
7173
7552
|
],
|
|
7174
|
-
staticClass: "es-notice-box",
|
|
7553
|
+
staticClass: "es-simplicity-notice-box",
|
|
7554
|
+
class: { "es-in": _vm.msgs.length },
|
|
7175
7555
|
on: {
|
|
7176
7556
|
mouseover: function ($event) {
|
|
7177
7557
|
_vm.handleMouse(true)
|
|
@@ -7182,85 +7562,93 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
7182
7562
|
},
|
|
7183
7563
|
},
|
|
7184
7564
|
[
|
|
7565
|
+
_c("div", { staticClass: "es-simplicity-notice-header" }, [
|
|
7566
|
+
_c("span", { staticClass: "es-notice-title" }, [
|
|
7567
|
+
_vm._v("通知消息"),
|
|
7568
|
+
]),
|
|
7569
|
+
]),
|
|
7185
7570
|
_c(
|
|
7186
|
-
"
|
|
7187
|
-
{
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
_c(
|
|
7196
|
-
"div",
|
|
7197
|
-
{ staticClass: "es-msg-lists" },
|
|
7198
|
-
[
|
|
7199
|
-
_c(
|
|
7200
|
-
"el-scrollbar",
|
|
7201
|
-
{ staticClass: "es-scrollbar" },
|
|
7202
|
-
_vm._l(_vm.data, function (item, index) {
|
|
7203
|
-
return _c(
|
|
7204
|
-
"el-card",
|
|
7205
|
-
{ key: item.id, staticClass: "es-msg-item" },
|
|
7206
|
-
[
|
|
7207
|
-
_c("div", { staticClass: "es-msg-item-title" }, [
|
|
7208
|
-
_vm._v(_vm._s(item.title)),
|
|
7209
|
-
]),
|
|
7210
|
-
_c("div", [
|
|
7211
|
-
_c("span", { staticClass: "es-msg-item-time" }, [
|
|
7212
|
-
_vm._v(_vm._s(item.time)),
|
|
7213
|
-
]),
|
|
7214
|
-
_c(
|
|
7215
|
-
"span",
|
|
7216
|
-
{
|
|
7217
|
-
directives: [
|
|
7218
|
-
{
|
|
7219
|
-
name: "show",
|
|
7220
|
-
rawName: "v-show",
|
|
7221
|
-
value: item.handlerUrl,
|
|
7222
|
-
expression: "item.handlerUrl",
|
|
7223
|
-
},
|
|
7224
|
-
],
|
|
7225
|
-
staticClass: "es-overlook",
|
|
7226
|
-
on: {
|
|
7227
|
-
click: function ($event) {
|
|
7228
|
-
_vm.handleMessage(item, index)
|
|
7229
|
-
},
|
|
7230
|
-
},
|
|
7231
|
-
},
|
|
7232
|
-
[_vm._v("处理")]
|
|
7233
|
-
),
|
|
7234
|
-
]),
|
|
7235
|
-
]
|
|
7236
|
-
)
|
|
7237
|
-
}),
|
|
7238
|
-
1
|
|
7239
|
-
),
|
|
7240
|
-
],
|
|
7241
|
-
1
|
|
7242
|
-
),
|
|
7243
|
-
]),
|
|
7244
|
-
_c(
|
|
7245
|
-
"div",
|
|
7246
|
-
{
|
|
7247
|
-
staticClass: "es-notice-footer",
|
|
7248
|
-
staticStyle: {
|
|
7249
|
-
display: "flex",
|
|
7250
|
-
"justify-content": "space-between",
|
|
7251
|
-
},
|
|
7252
|
-
},
|
|
7571
|
+
"el-scrollbar",
|
|
7572
|
+
{
|
|
7573
|
+
staticClass:
|
|
7574
|
+
"es-simplicity-notice-lists es-simplicity-message-lists",
|
|
7575
|
+
},
|
|
7576
|
+
_vm._l(_vm.msgs, function (item, index) {
|
|
7577
|
+
return _c(
|
|
7578
|
+
"div",
|
|
7579
|
+
{ key: item.id, staticClass: "es-simplicity-message-item" },
|
|
7253
7580
|
[
|
|
7254
|
-
_c(
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7581
|
+
_c(
|
|
7582
|
+
"div",
|
|
7583
|
+
{ staticClass: "es-simplicity-message-item-title" },
|
|
7584
|
+
[_vm._v("\n " + _vm._s(item.title) + "\n ")]
|
|
7585
|
+
),
|
|
7586
|
+
_c("div", [
|
|
7587
|
+
_c(
|
|
7588
|
+
"span",
|
|
7589
|
+
{ staticClass: "es-simplicity-message-item-time" },
|
|
7590
|
+
[
|
|
7591
|
+
_vm._v(
|
|
7592
|
+
"\n " + _vm._s(item.time) + "\n "
|
|
7593
|
+
),
|
|
7594
|
+
]
|
|
7595
|
+
),
|
|
7596
|
+
_c(
|
|
7597
|
+
"span",
|
|
7598
|
+
{
|
|
7599
|
+
directives: [
|
|
7600
|
+
{
|
|
7601
|
+
name: "show",
|
|
7602
|
+
rawName: "v-show",
|
|
7603
|
+
value: item.handlerUrl,
|
|
7604
|
+
expression: "item.handlerUrl",
|
|
7605
|
+
},
|
|
7606
|
+
],
|
|
7607
|
+
staticClass: "es-simplicity-message-handler",
|
|
7608
|
+
on: {
|
|
7609
|
+
click: function ($event) {
|
|
7610
|
+
_vm.handleMessage(item, index)
|
|
7611
|
+
},
|
|
7612
|
+
},
|
|
7613
|
+
},
|
|
7614
|
+
[_vm._v("\n 处理\n ")]
|
|
7615
|
+
),
|
|
7616
|
+
_c(
|
|
7617
|
+
"span",
|
|
7618
|
+
{
|
|
7619
|
+
staticClass: "es-simplicity-message-overlook",
|
|
7620
|
+
on: {
|
|
7621
|
+
click: function ($event) {
|
|
7622
|
+
_vm.handleIgnore(item, index)
|
|
7623
|
+
},
|
|
7624
|
+
},
|
|
7625
|
+
},
|
|
7626
|
+
[_vm._v("\n 忽略\n ")]
|
|
7627
|
+
),
|
|
7259
7628
|
]),
|
|
7260
7629
|
]
|
|
7261
|
-
)
|
|
7262
|
-
|
|
7630
|
+
)
|
|
7631
|
+
}),
|
|
7632
|
+
0
|
|
7263
7633
|
),
|
|
7634
|
+
_c("div", { staticClass: "es-notice-footer" }, [
|
|
7635
|
+
_c(
|
|
7636
|
+
"span",
|
|
7637
|
+
{
|
|
7638
|
+
staticClass: "es-simplicity-message-overlook",
|
|
7639
|
+
on: { click: _vm.handleIgnoreAll },
|
|
7640
|
+
},
|
|
7641
|
+
[_vm._v("忽略全部")]
|
|
7642
|
+
),
|
|
7643
|
+
_c(
|
|
7644
|
+
"span",
|
|
7645
|
+
{
|
|
7646
|
+
staticClass: "es-simplicity-message-handler",
|
|
7647
|
+
on: { click: _vm.afterEnter },
|
|
7648
|
+
},
|
|
7649
|
+
[_vm._v("我知道了")]
|
|
7650
|
+
),
|
|
7651
|
+
]),
|
|
7264
7652
|
_c("es-dialog", {
|
|
7265
7653
|
attrs: {
|
|
7266
7654
|
title: "处理",
|
|
@@ -7283,11 +7671,11 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
7283
7671
|
]
|
|
7284
7672
|
)
|
|
7285
7673
|
}
|
|
7286
|
-
var
|
|
7287
|
-
|
|
7674
|
+
var noticevue_type_template_id_1c74f5bb_staticRenderFns = []
|
|
7675
|
+
noticevue_type_template_id_1c74f5bb_render._withStripped = true
|
|
7288
7676
|
|
|
7289
7677
|
|
|
7290
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=
|
|
7678
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=1c74f5bb&
|
|
7291
7679
|
|
|
7292
7680
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=script&lang=js&
|
|
7293
7681
|
//
|
|
@@ -7344,11 +7732,20 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
7344
7732
|
//
|
|
7345
7733
|
//
|
|
7346
7734
|
//
|
|
7735
|
+
//
|
|
7736
|
+
//
|
|
7737
|
+
//
|
|
7738
|
+
//
|
|
7739
|
+
//
|
|
7740
|
+
//
|
|
7741
|
+
//
|
|
7742
|
+
//
|
|
7743
|
+
//
|
|
7347
7744
|
|
|
7348
7745
|
|
|
7349
7746
|
|
|
7350
7747
|
/* harmony default export */ var noticevue_type_script_lang_js_ = ({
|
|
7351
|
-
name: '
|
|
7748
|
+
name: 'Notice',
|
|
7352
7749
|
provide: function provide() {
|
|
7353
7750
|
return {
|
|
7354
7751
|
deleteNotice: this.handleRemove
|
|
@@ -7366,12 +7763,19 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
7366
7763
|
}
|
|
7367
7764
|
},
|
|
7368
7765
|
computed: {},
|
|
7766
|
+
watch: {
|
|
7767
|
+
data: {
|
|
7768
|
+
immediate: true,
|
|
7769
|
+
deep: true,
|
|
7770
|
+
handler: function handler(val) {
|
|
7771
|
+
this.msgs = val;
|
|
7772
|
+
}
|
|
7773
|
+
}
|
|
7774
|
+
},
|
|
7369
7775
|
data: function data() {
|
|
7370
7776
|
return {
|
|
7371
7777
|
//加载数据
|
|
7372
7778
|
loading: false,
|
|
7373
|
-
//消息页码
|
|
7374
|
-
pageNum: 1,
|
|
7375
7779
|
//消息数据,
|
|
7376
7780
|
msgs: [],
|
|
7377
7781
|
//即时消息
|
|
@@ -7393,20 +7797,38 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
7393
7797
|
this.$emit('opened', flag);
|
|
7394
7798
|
},
|
|
7395
7799
|
|
|
7800
|
+
//忽略
|
|
7801
|
+
handleIgnore: function handleIgnore(res, i) {
|
|
7802
|
+
var _this = this;
|
|
7803
|
+
|
|
7804
|
+
utils_util["a" /* default */].ajax({
|
|
7805
|
+
url: api["W" /* ignoreSysMsg */],
|
|
7806
|
+
params: {
|
|
7807
|
+
id: res.id
|
|
7808
|
+
}
|
|
7809
|
+
}).then(function (res) {
|
|
7810
|
+
if (res.rCode == 0) {
|
|
7811
|
+
_this.msgs.splice(i, 1);
|
|
7812
|
+
} else {
|
|
7813
|
+
var msg = res.msg || '系统错误,请联系管理员!';
|
|
7814
|
+
_this.$message.error(msg);
|
|
7815
|
+
}
|
|
7816
|
+
});
|
|
7817
|
+
},
|
|
7818
|
+
|
|
7396
7819
|
//全部忽略
|
|
7397
7820
|
handleIgnoreAll: function handleIgnoreAll() {
|
|
7398
|
-
var
|
|
7821
|
+
var _this2 = this;
|
|
7399
7822
|
|
|
7400
7823
|
utils_util["a" /* default */].ajax({
|
|
7401
7824
|
url: api["V" /* ignoreAllSysMsg */]
|
|
7402
7825
|
}).then(function (res) {
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
_this.$emit('opened', false);
|
|
7826
|
+
_this2.msgs = [];
|
|
7827
|
+
_this2.$emit('ignore', { type: 'ignore', value: 'all' });
|
|
7828
|
+
_this2.$emit('opened', false);
|
|
7407
7829
|
}).catch(function (err) {
|
|
7408
7830
|
if (err.message && err.message !== 'canceled') {
|
|
7409
|
-
|
|
7831
|
+
_this2.$message.error(err.message);
|
|
7410
7832
|
}
|
|
7411
7833
|
});
|
|
7412
7834
|
},
|
|
@@ -7449,8 +7871,8 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
7449
7871
|
|
|
7450
7872
|
var notice_component = Object(componentNormalizer["a" /* default */])(
|
|
7451
7873
|
simplicity_noticevue_type_script_lang_js_,
|
|
7452
|
-
|
|
7453
|
-
|
|
7874
|
+
noticevue_type_template_id_1c74f5bb_render,
|
|
7875
|
+
noticevue_type_template_id_1c74f5bb_staticRenderFns,
|
|
7454
7876
|
false,
|
|
7455
7877
|
null,
|
|
7456
7878
|
null,
|
|
@@ -7459,8 +7881,8 @@ var notice_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7459
7881
|
)
|
|
7460
7882
|
|
|
7461
7883
|
/* harmony default export */ var notice = (notice_component.exports);
|
|
7462
|
-
// 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/settings.vue?vue&type=template&id=
|
|
7463
|
-
var
|
|
7884
|
+
// 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/settings.vue?vue&type=template&id=48437ba0&
|
|
7885
|
+
var settingsvue_type_template_id_48437ba0_render = function () {
|
|
7464
7886
|
var _vm = this
|
|
7465
7887
|
var _h = _vm.$createElement
|
|
7466
7888
|
var _c = _vm._self._c || _h
|
|
@@ -7541,11 +7963,11 @@ var settingsvue_type_template_id_8d47a100_render = function () {
|
|
|
7541
7963
|
]
|
|
7542
7964
|
)
|
|
7543
7965
|
}
|
|
7544
|
-
var
|
|
7545
|
-
|
|
7966
|
+
var settingsvue_type_template_id_48437ba0_staticRenderFns = []
|
|
7967
|
+
settingsvue_type_template_id_48437ba0_render._withStripped = true
|
|
7546
7968
|
|
|
7547
7969
|
|
|
7548
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=
|
|
7970
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
|
|
7549
7971
|
|
|
7550
7972
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
|
|
7551
7973
|
//
|
|
@@ -7588,7 +8010,7 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
|
|
|
7588
8010
|
|
|
7589
8011
|
|
|
7590
8012
|
/* harmony default export */ var settingsvue_type_script_lang_js_ = ({
|
|
7591
|
-
name: '
|
|
8013
|
+
name: 'Message',
|
|
7592
8014
|
props: {
|
|
7593
8015
|
visible: Boolean,
|
|
7594
8016
|
//主题颜色选择颜色集合
|
|
@@ -7677,8 +8099,8 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
|
|
|
7677
8099
|
|
|
7678
8100
|
var settings_component = Object(componentNormalizer["a" /* default */])(
|
|
7679
8101
|
simplicity_settingsvue_type_script_lang_js_,
|
|
7680
|
-
|
|
7681
|
-
|
|
8102
|
+
settingsvue_type_template_id_48437ba0_render,
|
|
8103
|
+
settingsvue_type_template_id_48437ba0_staticRenderFns,
|
|
7682
8104
|
false,
|
|
7683
8105
|
null,
|
|
7684
8106
|
null,
|
|
@@ -7687,13 +8109,25 @@ var settings_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7687
8109
|
)
|
|
7688
8110
|
|
|
7689
8111
|
/* harmony default export */ var settings = (settings_component.exports);
|
|
7690
|
-
//
|
|
7691
|
-
var
|
|
8112
|
+
// 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/router-page.vue?vue&type=template&id=ec0c2718&scoped=true&
|
|
8113
|
+
var router_pagevue_type_template_id_ec0c2718_scoped_true_render = function () {
|
|
8114
|
+
var _vm = this
|
|
8115
|
+
var _h = _vm.$createElement
|
|
8116
|
+
var _c = _vm._self._c || _h
|
|
8117
|
+
return _c(
|
|
8118
|
+
"keep-alive",
|
|
8119
|
+
[_c("router-view", { attrs: { name: _vm.appCode } })],
|
|
8120
|
+
1
|
|
8121
|
+
)
|
|
8122
|
+
}
|
|
8123
|
+
var router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns = []
|
|
8124
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_render._withStripped = true
|
|
7692
8125
|
|
|
7693
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
|
|
7694
|
-
var simplicityvue_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; };
|
|
7695
8126
|
|
|
7696
|
-
|
|
8127
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=template&id=ec0c2718&scoped=true&
|
|
8128
|
+
|
|
8129
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
|
|
8130
|
+
var _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; };
|
|
7697
8131
|
|
|
7698
8132
|
//
|
|
7699
8133
|
//
|
|
@@ -7701,17 +8135,80 @@ var simplicityvue_type_script_lang_js_this = undefined;
|
|
|
7701
8135
|
//
|
|
7702
8136
|
//
|
|
7703
8137
|
//
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
8138
|
+
|
|
8139
|
+
|
|
8140
|
+
/* harmony default export */ var router_pagevue_type_script_lang_js_ = ({
|
|
8141
|
+
name: 'RouterPage',
|
|
8142
|
+
components: {},
|
|
8143
|
+
props: {
|
|
8144
|
+
appCode: String,
|
|
8145
|
+
path: String,
|
|
8146
|
+
url: String,
|
|
8147
|
+
query: {
|
|
8148
|
+
type: Object,
|
|
8149
|
+
default: function _default() {
|
|
8150
|
+
return {};
|
|
8151
|
+
}
|
|
8152
|
+
},
|
|
8153
|
+
show: Boolean
|
|
8154
|
+
},
|
|
8155
|
+
data: function data() {
|
|
8156
|
+
return {
|
|
8157
|
+
params: {}
|
|
8158
|
+
};
|
|
8159
|
+
},
|
|
8160
|
+
|
|
8161
|
+
computed: {},
|
|
8162
|
+
watch: {
|
|
8163
|
+
show: function show(val) {
|
|
8164
|
+
if (val) {
|
|
8165
|
+
this.jump();
|
|
8166
|
+
}
|
|
8167
|
+
}
|
|
8168
|
+
},
|
|
8169
|
+
created: function created() {},
|
|
8170
|
+
mounted: function mounted() {
|
|
8171
|
+
this.params = utils_util["a" /* default */].getParams({ url: this.url });
|
|
8172
|
+
this.jump();
|
|
8173
|
+
},
|
|
8174
|
+
|
|
8175
|
+
methods: {
|
|
8176
|
+
jump: function jump() {
|
|
8177
|
+
this.$router.push({
|
|
8178
|
+
path: this.path,
|
|
8179
|
+
query: _extends({}, this.query, this.params)
|
|
8180
|
+
});
|
|
8181
|
+
}
|
|
8182
|
+
}
|
|
8183
|
+
});
|
|
8184
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
|
|
8185
|
+
/* harmony default export */ var simplicity_router_pagevue_type_script_lang_js_ = (router_pagevue_type_script_lang_js_);
|
|
8186
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue
|
|
8187
|
+
|
|
8188
|
+
|
|
8189
|
+
|
|
8190
|
+
|
|
8191
|
+
|
|
8192
|
+
/* normalize component */
|
|
8193
|
+
|
|
8194
|
+
var router_page_component = Object(componentNormalizer["a" /* default */])(
|
|
8195
|
+
simplicity_router_pagevue_type_script_lang_js_,
|
|
8196
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_render,
|
|
8197
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns,
|
|
8198
|
+
false,
|
|
8199
|
+
null,
|
|
8200
|
+
"ec0c2718",
|
|
8201
|
+
null
|
|
8202
|
+
|
|
8203
|
+
)
|
|
8204
|
+
|
|
8205
|
+
/* harmony default export */ var router_page = (router_page_component.exports);
|
|
8206
|
+
// EXTERNAL MODULE: ./src/utils/store.js
|
|
8207
|
+
var store = __webpack_require__(12);
|
|
8208
|
+
|
|
8209
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
|
|
8210
|
+
var simplicityvue_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; };
|
|
8211
|
+
|
|
7715
8212
|
//
|
|
7716
8213
|
//
|
|
7717
8214
|
//
|
|
@@ -8002,15 +8499,16 @@ var simplicityvue_type_script_lang_js_this = undefined;
|
|
|
8002
8499
|
|
|
8003
8500
|
|
|
8004
8501
|
|
|
8502
|
+
|
|
8005
8503
|
var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
8006
|
-
var events = [function (tabs, index) {
|
|
8504
|
+
var events = [function (tabs, index, that) {
|
|
8007
8505
|
var tab = tabs[index];
|
|
8008
8506
|
|
|
8009
8507
|
if (tab.method == 'iframe') {
|
|
8010
8508
|
tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
8011
8509
|
} else {
|
|
8012
8510
|
tabs[index].refresh = false;
|
|
8013
|
-
|
|
8511
|
+
that.$nextTick(function () {
|
|
8014
8512
|
tabs[index].refresh = true;
|
|
8015
8513
|
});
|
|
8016
8514
|
}
|
|
@@ -8048,7 +8546,7 @@ var events = [function (tabs, index) {
|
|
|
8048
8546
|
return tabs;
|
|
8049
8547
|
}];
|
|
8050
8548
|
/* harmony default export */ var simplicityvue_type_script_lang_js_ = ({
|
|
8051
|
-
name: '
|
|
8549
|
+
name: 'Simplicity',
|
|
8052
8550
|
components: {
|
|
8053
8551
|
avatar: avatar,
|
|
8054
8552
|
handler: simplicity_handler,
|
|
@@ -8057,7 +8555,8 @@ var events = [function (tabs, index) {
|
|
|
8057
8555
|
user: simplicity_user,
|
|
8058
8556
|
message: message,
|
|
8059
8557
|
notice: notice,
|
|
8060
|
-
settings: settings
|
|
8558
|
+
settings: settings,
|
|
8559
|
+
routerPage: router_page
|
|
8061
8560
|
},
|
|
8062
8561
|
props: {
|
|
8063
8562
|
appCode: String,
|
|
@@ -8139,10 +8638,13 @@ var events = [function (tabs, index) {
|
|
|
8139
8638
|
wjProps: Object,
|
|
8140
8639
|
//无界微前端Attrs属性
|
|
8141
8640
|
wjAttrs: Object,
|
|
8641
|
+
//菜单宽度
|
|
8142
8642
|
menuWidth: {
|
|
8143
8643
|
type: Number,
|
|
8144
8644
|
default: 220
|
|
8145
|
-
}
|
|
8645
|
+
},
|
|
8646
|
+
//路由方式
|
|
8647
|
+
routeType: String
|
|
8146
8648
|
},
|
|
8147
8649
|
data: function data() {
|
|
8148
8650
|
return {
|
|
@@ -8156,12 +8658,14 @@ var events = [function (tabs, index) {
|
|
|
8156
8658
|
userApps: [],
|
|
8157
8659
|
//所有菜单
|
|
8158
8660
|
menus: [],
|
|
8661
|
+
//菜单名称
|
|
8662
|
+
title: '',
|
|
8159
8663
|
//子菜单
|
|
8160
8664
|
subMenus: null,
|
|
8161
8665
|
//展示菜单导航
|
|
8162
8666
|
showMenu: false,
|
|
8163
|
-
|
|
8164
|
-
|
|
8667
|
+
//折叠菜单
|
|
8668
|
+
fold: false,
|
|
8165
8669
|
//人工智能配置
|
|
8166
8670
|
aiConfig: null,
|
|
8167
8671
|
//公用窗口面板配置
|
|
@@ -8290,7 +8794,7 @@ var events = [function (tabs, index) {
|
|
|
8290
8794
|
utils_util["a" /* default */].win.refresh = this.handleRefresh;
|
|
8291
8795
|
utils_util["a" /* default */].win.jumpMenu = this.jumpMenu;
|
|
8292
8796
|
utils_util["a" /* default */].win.windowOpen = this.openPage;
|
|
8293
|
-
this.
|
|
8797
|
+
this.handleListener();
|
|
8294
8798
|
},
|
|
8295
8799
|
|
|
8296
8800
|
methods: {
|
|
@@ -8299,13 +8803,13 @@ var events = [function (tabs, index) {
|
|
|
8299
8803
|
* @author huangbo
|
|
8300
8804
|
* @date 2024年9月7日
|
|
8301
8805
|
**/
|
|
8302
|
-
hasRouter: function hasRouter(res, url, code
|
|
8806
|
+
hasRouter: function hasRouter(res, url, code) {
|
|
8303
8807
|
if (!url) {
|
|
8304
8808
|
return false;
|
|
8305
8809
|
}
|
|
8306
8810
|
if (Array.isArray(res)) {
|
|
8307
8811
|
for (var i in res) {
|
|
8308
|
-
var path = this.hasRouter(res[i], url, code
|
|
8812
|
+
var path = this.hasRouter(res[i], url, code);
|
|
8309
8813
|
if (path) {
|
|
8310
8814
|
return path;
|
|
8311
8815
|
}
|
|
@@ -8328,7 +8832,7 @@ var events = [function (tabs, index) {
|
|
|
8328
8832
|
return pathname;
|
|
8329
8833
|
}
|
|
8330
8834
|
if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
|
|
8331
|
-
var _path2 = this.hasRouter(res.children, url, code
|
|
8835
|
+
var _path2 = this.hasRouter(res.children, url, code);
|
|
8332
8836
|
if (_path2) {
|
|
8333
8837
|
return _path2;
|
|
8334
8838
|
}
|
|
@@ -8460,7 +8964,7 @@ var events = [function (tabs, index) {
|
|
|
8460
8964
|
* @date 2024年9月7日
|
|
8461
8965
|
**/
|
|
8462
8966
|
getApplications: function getApplications() {
|
|
8463
|
-
var
|
|
8967
|
+
var _this = this;
|
|
8464
8968
|
|
|
8465
8969
|
var loading = utils_util["a" /* default */].loading('', '加载中...');
|
|
8466
8970
|
utils_util["a" /* default */].ajax({
|
|
@@ -8475,29 +8979,29 @@ var events = [function (tabs, index) {
|
|
|
8475
8979
|
app_system = _res$results.app_system,
|
|
8476
8980
|
app_user = _res$results.app_user;
|
|
8477
8981
|
|
|
8478
|
-
|
|
8982
|
+
_this.userApps = app_user.filter(function (item) {
|
|
8479
8983
|
return item.permission !== false;
|
|
8480
8984
|
});
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8985
|
+
_this.applications = all;
|
|
8986
|
+
_this.business = app_special_business_system;
|
|
8987
|
+
_this.systems = app_system;
|
|
8988
|
+
_this.setTips(_this.userApps);
|
|
8989
|
+
_this.setTips(_this.applications);
|
|
8990
|
+
_this.setTips(_this.business);
|
|
8991
|
+
_this.setTips(_this.systems);
|
|
8488
8992
|
} else {
|
|
8489
|
-
|
|
8993
|
+
_this.$message.error('未分配应用菜单权限,请联系管理员!');
|
|
8490
8994
|
}
|
|
8491
|
-
|
|
8995
|
+
_this.getMenus(loading);
|
|
8492
8996
|
} else {
|
|
8493
8997
|
loading.close();
|
|
8494
8998
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
8495
|
-
|
|
8999
|
+
_this.$message.error(msg);
|
|
8496
9000
|
}
|
|
8497
9001
|
}).catch(function (err) {
|
|
8498
9002
|
loading.close();
|
|
8499
9003
|
if (err.message && err.message !== 'canceled') {
|
|
8500
|
-
|
|
9004
|
+
_this.$message.error(err.message);
|
|
8501
9005
|
}
|
|
8502
9006
|
});
|
|
8503
9007
|
},
|
|
@@ -8508,125 +9012,124 @@ var events = [function (tabs, index) {
|
|
|
8508
9012
|
* @date 2024年9月7日
|
|
8509
9013
|
**/
|
|
8510
9014
|
getMenus: function getMenus(loading) {
|
|
8511
|
-
var
|
|
9015
|
+
var _this2 = this;
|
|
8512
9016
|
|
|
8513
9017
|
utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
|
|
8514
9018
|
loading.close();
|
|
8515
9019
|
if (res.rCode === 0) {
|
|
8516
9020
|
if (res.results && res.results.length) {
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
store["a" /* default */].set('nav',
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
return item.code === _this3.appCode;
|
|
9021
|
+
_this2.menus = res.results;
|
|
9022
|
+
_this2.setTips(_this2.menus);
|
|
9023
|
+
store["a" /* default */].set('nav', _this2.menus);
|
|
9024
|
+
if (_this2.appCode) {
|
|
9025
|
+
var app = _this2.userApps.filter(function (item) {
|
|
9026
|
+
return item.code === _this2.appCode;
|
|
8524
9027
|
})[0];
|
|
8525
9028
|
if (app) {
|
|
8526
|
-
|
|
9029
|
+
_this2.active = app.id;
|
|
8527
9030
|
if (app.url) {
|
|
8528
|
-
var
|
|
8529
|
-
if (
|
|
8530
|
-
var tab =
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
if (tab.method == 'router') {
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
}
|
|
9031
|
+
var obj = _this2.getMenu(_this2.menus, app.url);
|
|
9032
|
+
if (obj) {
|
|
9033
|
+
var tab = _this2.setIframeType(obj);
|
|
9034
|
+
_this2.tabs = [tab];
|
|
9035
|
+
_this2.activeName = tab.id;
|
|
9036
|
+
// if (tab.method == 'router') {
|
|
9037
|
+
// let params = util.getParams({ url: tab.url });
|
|
9038
|
+
// this.$router.push({
|
|
9039
|
+
// path: tab.path,
|
|
9040
|
+
// query: { ...this.$parent.params, ...params }
|
|
9041
|
+
// });
|
|
9042
|
+
// }
|
|
8540
9043
|
}
|
|
8541
9044
|
}
|
|
8542
9045
|
}
|
|
8543
|
-
if (
|
|
8544
|
-
var subMenus =
|
|
9046
|
+
if (_this2.tabs.length == 0) {
|
|
9047
|
+
var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
8545
9048
|
if (subMenus) {
|
|
8546
9049
|
// this.subMenus = subMenus;
|
|
8547
9050
|
// this.showMenu = true;
|
|
8548
|
-
var
|
|
8549
|
-
if (
|
|
8550
|
-
var _tab =
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
if (
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
}
|
|
9051
|
+
var _obj = _this2.getFirst(subMenus);
|
|
9052
|
+
if (_obj) {
|
|
9053
|
+
var _tab = _this2.setIframeType(_obj);
|
|
9054
|
+
_this2.tabs = [_tab];
|
|
9055
|
+
_this2.activeName = _tab.id;
|
|
9056
|
+
// if (tab.method == 'router') {
|
|
9057
|
+
// let params = util.getParams({ url: tab.url });
|
|
9058
|
+
// this.$router.push({
|
|
9059
|
+
// path: tab.path,
|
|
9060
|
+
// query: { ...this.$parent.params, ...params }
|
|
9061
|
+
// });
|
|
9062
|
+
// }
|
|
8560
9063
|
}
|
|
8561
9064
|
} else {
|
|
8562
|
-
|
|
8563
|
-
|
|
9065
|
+
_this2.subMenus = null;
|
|
9066
|
+
_this2.showMenu = false;
|
|
8564
9067
|
}
|
|
8565
9068
|
}
|
|
8566
9069
|
// this.width = this.menuWidth;
|
|
8567
9070
|
// this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
|
|
8568
9071
|
}
|
|
8569
|
-
if (
|
|
8570
|
-
var
|
|
8571
|
-
if (
|
|
8572
|
-
if (!
|
|
8573
|
-
var _tab2 =
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
if (
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
}
|
|
9072
|
+
if (_this2.indexUrl) {
|
|
9073
|
+
var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
|
|
9074
|
+
if (_obj2) {
|
|
9075
|
+
if (!_this2.appCode) {
|
|
9076
|
+
var _tab2 = _this2.setIframeType(_obj2);
|
|
9077
|
+
_this2.tabs = [_tab2];
|
|
9078
|
+
_this2.activeName = _tab2.id;
|
|
9079
|
+
// if (tab.method == 'router') {
|
|
9080
|
+
// let params = util.getParams({ url: tab.url });
|
|
9081
|
+
// this.$router.push({
|
|
9082
|
+
// path: tab.path,
|
|
9083
|
+
// query: { ...this.$parent.params, ...params }
|
|
9084
|
+
// });
|
|
9085
|
+
// }
|
|
8583
9086
|
}
|
|
8584
|
-
|
|
9087
|
+
_this2.homePage = _obj2;
|
|
8585
9088
|
} else {
|
|
8586
|
-
|
|
8587
|
-
url:
|
|
9089
|
+
_this2.homePage = _this2.setIframeType({
|
|
9090
|
+
url: _this2.indexUrl,
|
|
8588
9091
|
text: '工作台',
|
|
8589
9092
|
id: '0',
|
|
8590
9093
|
appCode: 'indexUrl'
|
|
8591
9094
|
});
|
|
8592
|
-
if (!
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
if (
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
}
|
|
9095
|
+
if (!_this2.appCode) {
|
|
9096
|
+
_this2.tabs = [_this2.homePage];
|
|
9097
|
+
_this2.activeName = '0';
|
|
9098
|
+
// if (this.homePage.method == 'router') {
|
|
9099
|
+
// let params = util.getParams({ url: this.homePage.url });
|
|
9100
|
+
// this.$router.push({
|
|
9101
|
+
// path: this.homePage.path,
|
|
9102
|
+
// query: { ...this.$parent.params, ...params }
|
|
9103
|
+
// });
|
|
9104
|
+
// }
|
|
8602
9105
|
}
|
|
8603
9106
|
}
|
|
8604
|
-
} else if (
|
|
8605
|
-
var
|
|
8606
|
-
if (
|
|
8607
|
-
var _tab3 =
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
if (
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
}
|
|
9107
|
+
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
9108
|
+
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
9109
|
+
if (_obj3) {
|
|
9110
|
+
var _tab3 = _this2.setIframeType(_obj3);
|
|
9111
|
+
_this2.tabs.push(_tab3);
|
|
9112
|
+
_this2.activeName = _tab3.id;
|
|
9113
|
+
// if (tab.method == 'router') {
|
|
9114
|
+
// let params = util.getParams({ url: tab.url });
|
|
9115
|
+
// this.$router.push({
|
|
9116
|
+
// path: tab.path,
|
|
9117
|
+
// query: { ...this.$parent.params, ...params }
|
|
9118
|
+
// });
|
|
9119
|
+
// }
|
|
8617
9120
|
}
|
|
8618
9121
|
}
|
|
8619
9122
|
} else {
|
|
8620
|
-
|
|
9123
|
+
_this2.$message.error('未分配菜单权限,请联系管理员!');
|
|
8621
9124
|
}
|
|
8622
9125
|
} else {
|
|
8623
9126
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
8624
|
-
|
|
9127
|
+
_this2.$message.error(msg);
|
|
8625
9128
|
}
|
|
8626
9129
|
}).catch(function (err) {
|
|
8627
9130
|
loading.close();
|
|
8628
9131
|
if (err.message && err.message !== 'canceled') {
|
|
8629
|
-
|
|
9132
|
+
_this2.$message.error(err.message);
|
|
8630
9133
|
}
|
|
8631
9134
|
});
|
|
8632
9135
|
},
|
|
@@ -8651,7 +9154,7 @@ var events = [function (tabs, index) {
|
|
|
8651
9154
|
var routes = this.$router.options.routes;
|
|
8652
9155
|
if (routes) {
|
|
8653
9156
|
var path = this.hasRouter(routes, urls[0], res.appCode);
|
|
8654
|
-
if (path) {
|
|
9157
|
+
if (path && this.routeType !== 'wujie') {
|
|
8655
9158
|
res.method = 'router';
|
|
8656
9159
|
res.path = path;
|
|
8657
9160
|
} else {
|
|
@@ -8693,14 +9196,14 @@ var events = [function (tabs, index) {
|
|
|
8693
9196
|
return item;
|
|
8694
9197
|
}
|
|
8695
9198
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
8696
|
-
var
|
|
8697
|
-
if (
|
|
8698
|
-
return
|
|
9199
|
+
var obj = this.getMenu(item.children, res, key);
|
|
9200
|
+
if (obj) {
|
|
9201
|
+
return obj;
|
|
8699
9202
|
}
|
|
8700
9203
|
} else if (Object.prototype.hasOwnProperty.call(item, 'fourthTabs') && item.fourthTabs.length) {
|
|
8701
|
-
var
|
|
8702
|
-
if (
|
|
8703
|
-
return
|
|
9204
|
+
var _obj4 = this.getMenu(item.fourthTabs, res, key);
|
|
9205
|
+
if (_obj4) {
|
|
9206
|
+
return _obj4;
|
|
8704
9207
|
}
|
|
8705
9208
|
}
|
|
8706
9209
|
}
|
|
@@ -8736,11 +9239,11 @@ var events = [function (tabs, index) {
|
|
|
8736
9239
|
* @date 2024年9月7日
|
|
8737
9240
|
**/
|
|
8738
9241
|
setTips: function setTips(obj) {
|
|
8739
|
-
var
|
|
9242
|
+
var _this3 = this;
|
|
8740
9243
|
|
|
8741
9244
|
if (Array.isArray(obj)) {
|
|
8742
9245
|
obj.forEach(function (item) {
|
|
8743
|
-
|
|
9246
|
+
_this3.setTips(item);
|
|
8744
9247
|
});
|
|
8745
9248
|
} else {
|
|
8746
9249
|
if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
|
|
@@ -8750,7 +9253,7 @@ var events = [function (tabs, index) {
|
|
|
8750
9253
|
var flag = 0;
|
|
8751
9254
|
if (obj.children && obj.children.length) {
|
|
8752
9255
|
obj.children.forEach(function (item) {
|
|
8753
|
-
var n =
|
|
9256
|
+
var n = _this3.setTips(item);
|
|
8754
9257
|
flag += n ? parseInt(n) : 0;
|
|
8755
9258
|
});
|
|
8756
9259
|
if (flag) {
|
|
@@ -8759,7 +9262,7 @@ var events = [function (tabs, index) {
|
|
|
8759
9262
|
}
|
|
8760
9263
|
} else if (obj.fourthTabs && obj.fourthTabs.length) {
|
|
8761
9264
|
obj.fourthTabs.forEach(function (item) {
|
|
8762
|
-
var n =
|
|
9265
|
+
var n = _this3.setTips(item);
|
|
8763
9266
|
flag += n ? parseInt(n) : 0;
|
|
8764
9267
|
});
|
|
8765
9268
|
if (flag) {
|
|
@@ -8799,7 +9302,7 @@ var events = [function (tabs, index) {
|
|
|
8799
9302
|
* @date 2024年9月7日
|
|
8800
9303
|
**/
|
|
8801
9304
|
initWebSocket: function initWebSocket() {
|
|
8802
|
-
var
|
|
9305
|
+
var _this4 = this;
|
|
8803
9306
|
|
|
8804
9307
|
this.webSocket = utils_util["a" /* default */].socket({
|
|
8805
9308
|
url: api["cc" /* wss */],
|
|
@@ -8809,32 +9312,32 @@ var events = [function (tabs, index) {
|
|
|
8809
9312
|
for (var i in data) {
|
|
8810
9313
|
if (data[i] !== null && data[i] !== undefined) {
|
|
8811
9314
|
if (i === 'onlineUserNums' && data[i] > 0) {
|
|
8812
|
-
|
|
9315
|
+
_this4.online = data[i];
|
|
8813
9316
|
}
|
|
8814
9317
|
if (i === 'sysMsgNums') {
|
|
8815
|
-
|
|
8816
|
-
if (
|
|
8817
|
-
|
|
9318
|
+
_this4.notice = data[i];
|
|
9319
|
+
if (_this4.showMsg) {
|
|
9320
|
+
_this4.$refs.message.getMsg(true);
|
|
8818
9321
|
}
|
|
8819
9322
|
}
|
|
8820
9323
|
if (i === 'menuTipsMap') {
|
|
8821
|
-
|
|
9324
|
+
_this4.menuTips = data[i];
|
|
8822
9325
|
}
|
|
8823
9326
|
if (i === 'sysMsgList') {
|
|
8824
|
-
|
|
9327
|
+
_this4.sysMsg = data[i];
|
|
8825
9328
|
}
|
|
8826
9329
|
if (i === 'extraData') {
|
|
8827
|
-
|
|
9330
|
+
_this4.extraData = data[i];
|
|
8828
9331
|
}
|
|
8829
9332
|
}
|
|
8830
9333
|
}
|
|
8831
|
-
if (
|
|
9334
|
+
if (_this4.$store) {
|
|
8832
9335
|
try {
|
|
8833
|
-
|
|
9336
|
+
_this4.$store.commit('websocket', data);
|
|
8834
9337
|
} catch (error) {}
|
|
8835
9338
|
}
|
|
8836
|
-
if (
|
|
8837
|
-
|
|
9339
|
+
if (_this4.$eventBus) {
|
|
9340
|
+
_this4.$eventBus.$emit('websocket', data);
|
|
8838
9341
|
}
|
|
8839
9342
|
if (utils_util["a" /* default */].win.eventBus) {
|
|
8840
9343
|
utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
|
|
@@ -8849,6 +9352,8 @@ var events = [function (tabs, index) {
|
|
|
8849
9352
|
* @date 2024年9月7日
|
|
8850
9353
|
**/
|
|
8851
9354
|
handlerClickApp: function handlerClickApp(res) {
|
|
9355
|
+
this.showMsg = false;
|
|
9356
|
+
this.showSet = false;
|
|
8852
9357
|
if (res) {
|
|
8853
9358
|
if (res.permission === false) {
|
|
8854
9359
|
return false;
|
|
@@ -8857,8 +9362,6 @@ var events = [function (tabs, index) {
|
|
|
8857
9362
|
this.subMenus = res;
|
|
8858
9363
|
this.showMenu = true;
|
|
8859
9364
|
this.showApps = false;
|
|
8860
|
-
this.width = this.menuWidth;
|
|
8861
|
-
this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
|
|
8862
9365
|
} else {
|
|
8863
9366
|
var set = true;
|
|
8864
9367
|
if (res.url) {
|
|
@@ -8873,25 +9376,16 @@ var events = [function (tabs, index) {
|
|
|
8873
9376
|
this.activeName = res.id;
|
|
8874
9377
|
if (i == -1) {
|
|
8875
9378
|
var tab = this.setIframeType(res);
|
|
8876
|
-
this.tabs.push(
|
|
8877
|
-
if (tab.method == 'router') {
|
|
8878
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
8879
|
-
this.$router.push({
|
|
8880
|
-
path: tab.path,
|
|
8881
|
-
query: params
|
|
8882
|
-
});
|
|
8883
|
-
}
|
|
9379
|
+
this.tabs.push(tab);
|
|
8884
9380
|
}
|
|
8885
9381
|
}
|
|
8886
9382
|
}
|
|
8887
9383
|
if (set && res.code) {
|
|
8888
9384
|
var subMenus = this.getMenu(this.menus, res.code, 'appCode');
|
|
8889
|
-
|
|
9385
|
+
this.title = res.text || res.name;
|
|
8890
9386
|
this.subMenus = subMenus ? subMenus : null;
|
|
8891
9387
|
this.showMenu = subMenus !== false;
|
|
8892
9388
|
this.showApps = false;
|
|
8893
|
-
this.width = this.menuWidth;
|
|
8894
|
-
this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
|
|
8895
9389
|
}
|
|
8896
9390
|
}
|
|
8897
9391
|
this.active = res.id;
|
|
@@ -8901,15 +9395,6 @@ var events = [function (tabs, index) {
|
|
|
8901
9395
|
}
|
|
8902
9396
|
},
|
|
8903
9397
|
|
|
8904
|
-
/**
|
|
8905
|
-
* @desc:显示菜单界面
|
|
8906
|
-
* @author huangbo
|
|
8907
|
-
* @date 2024年9月7日
|
|
8908
|
-
**/
|
|
8909
|
-
handleShowMenus: function handleShowMenus() {
|
|
8910
|
-
this.showMenu = true;
|
|
8911
|
-
},
|
|
8912
|
-
|
|
8913
9398
|
/**
|
|
8914
9399
|
* @desc:显示Drawer界面
|
|
8915
9400
|
* @author huangbo
|
|
@@ -8939,24 +9424,13 @@ var events = [function (tabs, index) {
|
|
|
8939
9424
|
* @date 2024年9月7日
|
|
8940
9425
|
**/
|
|
8941
9426
|
handlerClickMenu: function handlerClickMenu(res) {
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
var tab = this.setIframeType(res);
|
|
8950
|
-
this.tabs.push(tab);
|
|
8951
|
-
if (tab.method == 'router') {
|
|
8952
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
8953
|
-
this.$router.push({
|
|
8954
|
-
path: tab.path,
|
|
8955
|
-
query: params
|
|
8956
|
-
});
|
|
8957
|
-
}
|
|
8958
|
-
}
|
|
8959
|
-
this.showMenu = false;
|
|
9427
|
+
this.showMsg = false;
|
|
9428
|
+
this.showSet = false;
|
|
9429
|
+
var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
|
|
9430
|
+
this.activeName = res.id;
|
|
9431
|
+
if (i == -1) {
|
|
9432
|
+
var tab = this.setIframeType(res);
|
|
9433
|
+
this.tabs.push(tab);
|
|
8960
9434
|
}
|
|
8961
9435
|
},
|
|
8962
9436
|
|
|
@@ -9036,6 +9510,9 @@ var events = [function (tabs, index) {
|
|
|
9036
9510
|
if (this.tabs.length == 1) {
|
|
9037
9511
|
disabled.other = true;
|
|
9038
9512
|
}
|
|
9513
|
+
if (this.tabs[index].id != this.activeName) {
|
|
9514
|
+
disabled.refresh = true;
|
|
9515
|
+
}
|
|
9039
9516
|
this.isDisabled = disabled;
|
|
9040
9517
|
this.$refs.tabsHandler.$el.style.setProperty('left', e.x + 'px');
|
|
9041
9518
|
this.$refs.tabsHandler.$el.style.setProperty('top', e.y + 'px');
|
|
@@ -9088,6 +9565,8 @@ var events = [function (tabs, index) {
|
|
|
9088
9565
|
this.handleQuit();
|
|
9089
9566
|
break;
|
|
9090
9567
|
case 'online':
|
|
9568
|
+
this.showMsg = false;
|
|
9569
|
+
this.showSet = false;
|
|
9091
9570
|
if (this.onlineUrl) {
|
|
9092
9571
|
this.dialog = {
|
|
9093
9572
|
title: '查看在线人员',
|
|
@@ -9098,9 +9577,11 @@ var events = [function (tabs, index) {
|
|
|
9098
9577
|
break;
|
|
9099
9578
|
case 'notice':
|
|
9100
9579
|
this.showMsg = !this.showMsg;
|
|
9580
|
+
this.showSet = false;
|
|
9101
9581
|
break;
|
|
9102
9582
|
case 'set':
|
|
9103
9583
|
this.showSet = !this.showSet;
|
|
9584
|
+
this.showMsg = false;
|
|
9104
9585
|
break;
|
|
9105
9586
|
case 'home':
|
|
9106
9587
|
if (this.homePage.id !== this.activeName) {
|
|
@@ -9109,10 +9590,14 @@ var events = [function (tabs, index) {
|
|
|
9109
9590
|
this.tabs.unshift(this.homePage);
|
|
9110
9591
|
}
|
|
9111
9592
|
this.activeName = this.homePage.id;
|
|
9593
|
+
this.showMsg = false;
|
|
9594
|
+
this.showSet = false;
|
|
9112
9595
|
}
|
|
9113
9596
|
break;
|
|
9114
9597
|
case 'search':
|
|
9115
9598
|
this.handlerSetDrawer(res);
|
|
9599
|
+
this.showMsg = false;
|
|
9600
|
+
this.showSet = false;
|
|
9116
9601
|
break;
|
|
9117
9602
|
case 'goView':
|
|
9118
9603
|
utils_util["a" /* default */].win.open(res.path, '_blank');
|
|
@@ -9128,7 +9613,7 @@ var events = [function (tabs, index) {
|
|
|
9128
9613
|
* @date 2024年9月7日
|
|
9129
9614
|
**/
|
|
9130
9615
|
handleQuit: function handleQuit() {
|
|
9131
|
-
var
|
|
9616
|
+
var _this5 = this;
|
|
9132
9617
|
|
|
9133
9618
|
this.$confirm('确定注销吗?', '退出系统', {
|
|
9134
9619
|
confirmButtonText: '确定',
|
|
@@ -9138,8 +9623,8 @@ var events = [function (tabs, index) {
|
|
|
9138
9623
|
utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
9139
9624
|
if (res.rCode == 0) {
|
|
9140
9625
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
9141
|
-
if (
|
|
9142
|
-
|
|
9626
|
+
if (_this5.onQuit && typeof _this5.onQuit === 'function') {
|
|
9627
|
+
_this5.onQuit();
|
|
9143
9628
|
} else {
|
|
9144
9629
|
try {
|
|
9145
9630
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
@@ -9177,7 +9662,7 @@ var events = [function (tabs, index) {
|
|
|
9177
9662
|
}
|
|
9178
9663
|
}).catch(function (err) {
|
|
9179
9664
|
if (err.message && err.message !== 'canceled') {
|
|
9180
|
-
|
|
9665
|
+
_this5.$message.error(err.message);
|
|
9181
9666
|
}
|
|
9182
9667
|
});
|
|
9183
9668
|
}).catch(function (e) {});
|
|
@@ -9222,20 +9707,20 @@ var events = [function (tabs, index) {
|
|
|
9222
9707
|
* @date 2024年9月7日
|
|
9223
9708
|
**/
|
|
9224
9709
|
handleOpened: function handleOpened(res) {
|
|
9225
|
-
var
|
|
9710
|
+
var _this6 = this;
|
|
9226
9711
|
|
|
9227
9712
|
if (res === undefined) {
|
|
9228
9713
|
this.sysMsg = [];
|
|
9229
9714
|
} else if (res == false && this.sysMsg.length) {
|
|
9230
9715
|
this.sysMsgOut = setTimeout(function () {
|
|
9231
|
-
|
|
9716
|
+
_this6.sysMsg = [];
|
|
9232
9717
|
}, 3000);
|
|
9233
9718
|
} else if (this.sysMsgOut) {
|
|
9234
9719
|
clearTimeout(this.sysMsgOut);
|
|
9235
9720
|
}
|
|
9236
9721
|
},
|
|
9237
9722
|
handleReLogin: function handleReLogin(res) {
|
|
9238
|
-
var
|
|
9723
|
+
var _this7 = this;
|
|
9239
9724
|
|
|
9240
9725
|
if (res && typeof res == 'string') {
|
|
9241
9726
|
res = JSON.parse(res);
|
|
@@ -9265,7 +9750,7 @@ var events = [function (tabs, index) {
|
|
|
9265
9750
|
clearTimeout(this.timer);
|
|
9266
9751
|
this.timer = setTimeout(function () {
|
|
9267
9752
|
sessionStorage.setItem('remind', 1);
|
|
9268
|
-
|
|
9753
|
+
_this7.$confirm(msg, btn).then(function () {
|
|
9269
9754
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
9270
9755
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
9271
9756
|
try {
|
|
@@ -9332,7 +9817,10 @@ var events = [function (tabs, index) {
|
|
|
9332
9817
|
}
|
|
9333
9818
|
},
|
|
9334
9819
|
jumpMenu: function jumpMenu(res) {
|
|
9335
|
-
var apps = res
|
|
9820
|
+
var apps = res;
|
|
9821
|
+
if (typeof res === 'string') {
|
|
9822
|
+
apps = res.split(',');
|
|
9823
|
+
}
|
|
9336
9824
|
var obj = this.getMenu(this.menus, apps[apps.length - 1]);
|
|
9337
9825
|
if (obj) {
|
|
9338
9826
|
var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
|
|
@@ -9341,84 +9829,23 @@ var events = [function (tabs, index) {
|
|
|
9341
9829
|
if (i == -1) {
|
|
9342
9830
|
var tab = this.setIframeType(obj);
|
|
9343
9831
|
this.tabs.splice(n + 1, 0, tab);
|
|
9344
|
-
if (tab.method == 'router') {
|
|
9345
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
9346
|
-
this.$router.push({
|
|
9347
|
-
path: tab.path,
|
|
9348
|
-
query: params
|
|
9349
|
-
});
|
|
9350
|
-
}
|
|
9351
9832
|
}
|
|
9352
9833
|
} else {
|
|
9353
9834
|
this.$message.error('没有此菜单!');
|
|
9354
9835
|
}
|
|
9355
9836
|
},
|
|
9356
9837
|
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
var
|
|
9360
|
-
|
|
9361
|
-
var area = this.$refs.area;
|
|
9362
|
-
var box = this.$refs.box;
|
|
9363
|
-
var sTime = 0,
|
|
9364
|
-
eTime = 0;
|
|
9365
|
-
|
|
9366
|
-
area.addEventListener('mousedown', function (e) {
|
|
9367
|
-
sTime = new Date().getTime();
|
|
9368
|
-
var downY = e.y,
|
|
9369
|
-
downX = e.x;
|
|
9370
|
-
|
|
9371
|
-
var _document$body$getBou = document.body.getBoundingClientRect(),
|
|
9372
|
-
winH = _document$body$getBou.height,
|
|
9373
|
-
winW = _document$body$getBou.width;
|
|
9374
|
-
//防止拖动期间选中和复制网页文本
|
|
9375
|
-
|
|
9838
|
+
//监听改变菜单
|
|
9839
|
+
handleListener: function handleListener() {
|
|
9840
|
+
var _this8 = this;
|
|
9376
9841
|
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
var _box$getBoundingClien = box.getBoundingClientRect(),
|
|
9386
|
-
boxTop = _box$getBoundingClien.top,
|
|
9387
|
-
boxLeft = _box$getBoundingClien.left;
|
|
9388
|
-
|
|
9389
|
-
boxTop += moveY - downY;
|
|
9390
|
-
boxLeft += moveX - downX;
|
|
9391
|
-
boxTop >= winH - size && (boxTop = winH - size);
|
|
9392
|
-
boxTop <= -size && (boxTop = -size);
|
|
9393
|
-
boxLeft >= winW - size && (boxLeft = winW - size);
|
|
9394
|
-
boxLeft <= -size && (boxLeft = -size);
|
|
9395
|
-
if (boxTop < 60) {
|
|
9396
|
-
boxTop = 60;
|
|
9397
|
-
}
|
|
9398
|
-
if (boxLeft < 80) {
|
|
9399
|
-
boxLeft = 80;
|
|
9400
|
-
}
|
|
9401
|
-
box.style.top = boxTop + 'px';
|
|
9402
|
-
box.style.left = boxLeft + 'px';
|
|
9403
|
-
downY = moveY;
|
|
9404
|
-
downX = moveX;
|
|
9405
|
-
};
|
|
9406
|
-
document.onmouseup = function () {
|
|
9407
|
-
eTime = new Date().getTime();
|
|
9408
|
-
var isClick = eTime - sTime < 200;
|
|
9409
|
-
if (isClick) {
|
|
9410
|
-
var onArea = function onArea() {
|
|
9411
|
-
_this9.subMenu = [];
|
|
9412
|
-
area.removeEventListener('click', onArea);
|
|
9413
|
-
};
|
|
9414
|
-
area.addEventListener('click', onArea);
|
|
9415
|
-
}
|
|
9416
|
-
document.onmousemove = null;
|
|
9417
|
-
document.body.onselectstart = document.body.oncontextmenu = function () {
|
|
9418
|
-
return true;
|
|
9419
|
-
};
|
|
9420
|
-
};
|
|
9421
|
-
});
|
|
9842
|
+
utils_util["a" /* default */].win.addEventListener('message', function (e) {
|
|
9843
|
+
var msg = e.data;
|
|
9844
|
+
if (msg.key == 'jump_Menu') {
|
|
9845
|
+
var res = msg.data1;
|
|
9846
|
+
_this8.jumpMenu(res);
|
|
9847
|
+
}
|
|
9848
|
+
}, false);
|
|
9422
9849
|
}
|
|
9423
9850
|
},
|
|
9424
9851
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -9441,18 +9868,18 @@ var events = [function (tabs, index) {
|
|
|
9441
9868
|
|
|
9442
9869
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
9443
9870
|
src_simplicityvue_type_script_lang_js_,
|
|
9444
|
-
|
|
9445
|
-
|
|
9871
|
+
simplicityvue_type_template_id_672540fb_scoped_true_render,
|
|
9872
|
+
simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns,
|
|
9446
9873
|
false,
|
|
9447
9874
|
null,
|
|
9448
|
-
"
|
|
9875
|
+
"672540fb",
|
|
9449
9876
|
null
|
|
9450
9877
|
|
|
9451
9878
|
)
|
|
9452
9879
|
|
|
9453
9880
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
9454
|
-
// 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=
|
|
9455
|
-
var
|
|
9881
|
+
// 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=1606367c&
|
|
9882
|
+
var defaultvue_type_template_id_1606367c_render = function () {
|
|
9456
9883
|
var _vm = this
|
|
9457
9884
|
var _h = _vm.$createElement
|
|
9458
9885
|
var _c = _vm._self._c || _h
|
|
@@ -9832,11 +10259,11 @@ var defaultvue_type_template_id_1527d603_render = function () {
|
|
|
9832
10259
|
1
|
|
9833
10260
|
)
|
|
9834
10261
|
}
|
|
9835
|
-
var
|
|
9836
|
-
|
|
10262
|
+
var defaultvue_type_template_id_1606367c_staticRenderFns = []
|
|
10263
|
+
defaultvue_type_template_id_1606367c_render._withStripped = true
|
|
9837
10264
|
|
|
9838
10265
|
|
|
9839
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
10266
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1606367c&
|
|
9840
10267
|
|
|
9841
10268
|
// 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=bd3da0e0&
|
|
9842
10269
|
var userinfovue_type_template_id_bd3da0e0_render = function () {
|
|
@@ -11753,7 +12180,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
|
|
|
11753
12180
|
var log = utils_util["a" /* default */].getParams('console');
|
|
11754
12181
|
var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
|
|
11755
12182
|
/* harmony default export */ var defaultvue_type_script_lang_js_ = ({
|
|
11756
|
-
name: '
|
|
12183
|
+
name: 'Main',
|
|
11757
12184
|
inheritAttrs: false,
|
|
11758
12185
|
provide: function provide() {
|
|
11759
12186
|
return {
|
|
@@ -13561,8 +13988,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
13561
13988
|
|
|
13562
13989
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
13563
13990
|
src_defaultvue_type_script_lang_js_,
|
|
13564
|
-
|
|
13565
|
-
|
|
13991
|
+
defaultvue_type_template_id_1606367c_render,
|
|
13992
|
+
defaultvue_type_template_id_1606367c_staticRenderFns,
|
|
13566
13993
|
false,
|
|
13567
13994
|
null,
|
|
13568
13995
|
null,
|
|
@@ -13584,11 +14011,6 @@ var default_component = Object(componentNormalizer["a" /* default */])(
|
|
|
13584
14011
|
//
|
|
13585
14012
|
//
|
|
13586
14013
|
//
|
|
13587
|
-
//
|
|
13588
|
-
//
|
|
13589
|
-
//
|
|
13590
|
-
//
|
|
13591
|
-
//
|
|
13592
14014
|
|
|
13593
14015
|
|
|
13594
14016
|
|
|
@@ -13603,8 +14025,8 @@ var default_component = Object(componentNormalizer["a" /* default */])(
|
|
|
13603
14025
|
},
|
|
13604
14026
|
|
|
13605
14027
|
components: {
|
|
13606
|
-
|
|
13607
|
-
|
|
14028
|
+
Simplicity: simplicity,
|
|
14029
|
+
Main: src_default
|
|
13608
14030
|
},
|
|
13609
14031
|
props: {
|
|
13610
14032
|
type: String
|
|
@@ -13613,13 +14035,14 @@ var default_component = Object(componentNormalizer["a" /* default */])(
|
|
|
13613
14035
|
watch: {},
|
|
13614
14036
|
data: function data() {
|
|
13615
14037
|
return {
|
|
13616
|
-
appCode: ''
|
|
14038
|
+
appCode: '',
|
|
14039
|
+
params: {}
|
|
13617
14040
|
};
|
|
13618
14041
|
},
|
|
13619
14042
|
created: function created() {
|
|
13620
|
-
|
|
13621
|
-
this.appCode = params.appCode;
|
|
13622
|
-
this.getConfig(params);
|
|
14043
|
+
this.params = utils_util["a" /* default */].getParams() || {};
|
|
14044
|
+
this.appCode = this.params.appCode;
|
|
14045
|
+
this.getConfig(this.params);
|
|
13623
14046
|
},
|
|
13624
14047
|
mounted: function mounted() {},
|
|
13625
14048
|
|