eoss-ui 0.5.81-beta4 → 0.5.81-beta6
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 +1610 -1104
- package/lib/index.js +1 -1
- package/lib/main.js +1571 -1122
- 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/lib/theme-chalk/tree.css +1 -1
- package/package.json +1 -1
- package/packages/main/src/default/index.vue +1 -1
- package/packages/main/src/main.vue +13 -12
- package/packages/main/src/simplicity/apps.vue +176 -145
- package/packages/main/src/simplicity/index.vue +160 -238
- package/packages/main/src/simplicity/menu-list.vue +117 -32
- 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 +69 -69
- 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/lib/tree.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/packages/theme-chalk/src/tree.scss +4 -2
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -50945,8 +50945,8 @@ login_src_main.install = function (Vue) {
|
|
|
50945
50945
|
};
|
|
50946
50946
|
|
|
50947
50947
|
/* harmony default export */ var login = (login_src_main);
|
|
50948
|
-
// 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=
|
|
50949
|
-
var
|
|
50948
|
+
// 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=6aa3a502&
|
|
50949
|
+
var mainvue_type_template_id_6aa3a502_render = function () {
|
|
50950
50950
|
var _vm = this
|
|
50951
50951
|
var _h = _vm.$createElement
|
|
50952
50952
|
var _c = _vm._self._c || _h
|
|
@@ -50956,11 +50956,11 @@ var mainvue_type_template_id_0794c41f_render = function () {
|
|
|
50956
50956
|
[
|
|
50957
50957
|
_vm.type == "simplicity"
|
|
50958
50958
|
? _c(
|
|
50959
|
-
"
|
|
50959
|
+
"simplicity",
|
|
50960
50960
|
_vm._g(
|
|
50961
50961
|
_vm._b(
|
|
50962
50962
|
{ ref: "main", attrs: { appCode: _vm.appCode } },
|
|
50963
|
-
"
|
|
50963
|
+
"simplicity",
|
|
50964
50964
|
_vm.$attrs,
|
|
50965
50965
|
false
|
|
50966
50966
|
),
|
|
@@ -50968,9 +50968,9 @@ var mainvue_type_template_id_0794c41f_render = function () {
|
|
|
50968
50968
|
)
|
|
50969
50969
|
)
|
|
50970
50970
|
: _c(
|
|
50971
|
-
"
|
|
50971
|
+
"main-default",
|
|
50972
50972
|
_vm._g(
|
|
50973
|
-
_vm._b({ ref: "main" }, "
|
|
50973
|
+
_vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
|
|
50974
50974
|
_vm.$listeners
|
|
50975
50975
|
)
|
|
50976
50976
|
),
|
|
@@ -50978,14 +50978,14 @@ var mainvue_type_template_id_0794c41f_render = function () {
|
|
|
50978
50978
|
1
|
|
50979
50979
|
)
|
|
50980
50980
|
}
|
|
50981
|
-
var
|
|
50982
|
-
|
|
50981
|
+
var mainvue_type_template_id_6aa3a502_staticRenderFns = []
|
|
50982
|
+
mainvue_type_template_id_6aa3a502_render._withStripped = true
|
|
50983
50983
|
|
|
50984
50984
|
|
|
50985
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
50985
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
50986
50986
|
|
|
50987
|
-
// 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=
|
|
50988
|
-
var
|
|
50987
|
+
// 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=4a717394&scoped=true&
|
|
50988
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_render = function () {
|
|
50989
50989
|
var _vm = this
|
|
50990
50990
|
var _h = _vm.$createElement
|
|
50991
50991
|
var _c = _vm._self._c || _h
|
|
@@ -51167,77 +51167,52 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51167
51167
|
{ staticClass: "es-simplicity-main" },
|
|
51168
51168
|
[
|
|
51169
51169
|
_c(
|
|
51170
|
-
"
|
|
51171
|
-
|
|
51172
|
-
|
|
51173
|
-
|
|
51174
|
-
|
|
51175
|
-
|
|
51176
|
-
|
|
51177
|
-
|
|
51178
|
-
|
|
51179
|
-
|
|
51180
|
-
|
|
51181
|
-
|
|
51182
|
-
|
|
51183
|
-
_vm.showMenu = $event
|
|
51170
|
+
"sub-menu",
|
|
51171
|
+
_vm._b(
|
|
51172
|
+
{
|
|
51173
|
+
ref: "subMenus",
|
|
51174
|
+
attrs: {
|
|
51175
|
+
visible: _vm.showMenu,
|
|
51176
|
+
fold: _vm.fold,
|
|
51177
|
+
size: _vm.menuWidth,
|
|
51178
|
+
title: _vm.title,
|
|
51179
|
+
color: _vm.menuColor,
|
|
51180
|
+
backgroundColor: _vm.menuBackgroundColor,
|
|
51181
|
+
"menu-icon": _vm.menuIcon,
|
|
51182
|
+
active: _vm.subActive,
|
|
51184
51183
|
},
|
|
51185
|
-
|
|
51186
|
-
|
|
51187
|
-
|
|
51188
|
-
_c(
|
|
51189
|
-
"sub-menu",
|
|
51190
|
-
_vm._b(
|
|
51191
|
-
{
|
|
51192
|
-
ref: "subMenus",
|
|
51193
|
-
attrs: {
|
|
51194
|
-
color: _vm.menuColor,
|
|
51195
|
-
backgroundColor: _vm.menuBackgroundColor,
|
|
51196
|
-
"menu-icon": _vm.menuIcon,
|
|
51197
|
-
},
|
|
51198
|
-
on: { command: _vm.handlerClickMenu },
|
|
51184
|
+
on: {
|
|
51185
|
+
"update:visible": function ($event) {
|
|
51186
|
+
_vm.showMenu = $event
|
|
51199
51187
|
},
|
|
51200
|
-
"
|
|
51201
|
-
|
|
51202
|
-
|
|
51203
|
-
|
|
51204
|
-
),
|
|
51205
|
-
],
|
|
51206
|
-
1
|
|
51207
|
-
),
|
|
51208
|
-
_c(
|
|
51209
|
-
"el-drawer",
|
|
51210
|
-
{
|
|
51211
|
-
staticClass: "es-simplicity-apps",
|
|
51212
|
-
attrs: {
|
|
51213
|
-
direction: "ltr",
|
|
51214
|
-
"modal-class": "es-simplicity-apps-modal",
|
|
51215
|
-
size: "90%",
|
|
51216
|
-
"modal-append-to-body": false,
|
|
51217
|
-
"with-header": false,
|
|
51218
|
-
visible: _vm.showApps,
|
|
51219
|
-
},
|
|
51220
|
-
on: {
|
|
51221
|
-
"update:visible": function ($event) {
|
|
51222
|
-
_vm.showApps = $event
|
|
51188
|
+
"update:fold": function ($event) {
|
|
51189
|
+
_vm.fold = $event
|
|
51190
|
+
},
|
|
51191
|
+
command: _vm.handlerClickMenu,
|
|
51223
51192
|
},
|
|
51224
51193
|
},
|
|
51225
|
-
|
|
51226
|
-
|
|
51227
|
-
|
|
51228
|
-
|
|
51229
|
-
"menu-icon": _vm.menuIcon,
|
|
51230
|
-
color: _vm.appColor,
|
|
51231
|
-
backgroundColor: _vm.appBackgroundColor,
|
|
51232
|
-
applications: _vm.applications,
|
|
51233
|
-
business: _vm.business,
|
|
51234
|
-
systems: _vm.systems,
|
|
51235
|
-
},
|
|
51236
|
-
on: { click: _vm.handlerClickApp },
|
|
51237
|
-
}),
|
|
51238
|
-
],
|
|
51239
|
-
1
|
|
51194
|
+
"sub-menu",
|
|
51195
|
+
_vm.subMenus,
|
|
51196
|
+
false
|
|
51197
|
+
)
|
|
51240
51198
|
),
|
|
51199
|
+
_c("apps", {
|
|
51200
|
+
attrs: {
|
|
51201
|
+
visible: _vm.showApps,
|
|
51202
|
+
"menu-icon": _vm.menuIcon,
|
|
51203
|
+
color: _vm.appColor,
|
|
51204
|
+
backgroundColor: _vm.appBackgroundColor,
|
|
51205
|
+
applications: _vm.applications,
|
|
51206
|
+
business: _vm.business,
|
|
51207
|
+
systems: _vm.systems,
|
|
51208
|
+
},
|
|
51209
|
+
on: {
|
|
51210
|
+
"update:visible": function ($event) {
|
|
51211
|
+
_vm.showApps = $event
|
|
51212
|
+
},
|
|
51213
|
+
click: _vm.handlerClickApp,
|
|
51214
|
+
},
|
|
51215
|
+
}),
|
|
51241
51216
|
_c(
|
|
51242
51217
|
"el-drawer",
|
|
51243
51218
|
{
|
|
@@ -51308,9 +51283,10 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51308
51283
|
"div",
|
|
51309
51284
|
{
|
|
51310
51285
|
staticClass: "es-simplicity-tabs-handler-item",
|
|
51286
|
+
class: { "is-disabled": _vm.isDisabled.refresh },
|
|
51311
51287
|
on: {
|
|
51312
51288
|
click: function ($event) {
|
|
51313
|
-
_vm.handleTabsEvents(0)
|
|
51289
|
+
_vm.isDisabled.refresh ? "" : _vm.handleTabsEvents(0)
|
|
51314
51290
|
},
|
|
51315
51291
|
},
|
|
51316
51292
|
},
|
|
@@ -51376,6 +51352,7 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51376
51352
|
"el-tabs",
|
|
51377
51353
|
{
|
|
51378
51354
|
staticClass: "es-simplicity-iframe",
|
|
51355
|
+
class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
|
|
51379
51356
|
attrs: { closable: "", "hide-bar": "" },
|
|
51380
51357
|
on: {
|
|
51381
51358
|
"tab-remove": _vm.handleRemove,
|
|
@@ -51415,23 +51392,6 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51415
51392
|
false
|
|
51416
51393
|
)
|
|
51417
51394
|
),
|
|
51418
|
-
_c(
|
|
51419
|
-
"div",
|
|
51420
|
-
{
|
|
51421
|
-
directives: [
|
|
51422
|
-
{
|
|
51423
|
-
name: "show",
|
|
51424
|
-
rawName: "v-show",
|
|
51425
|
-
value: !_vm.showMenu && _vm.subMenus,
|
|
51426
|
-
expression: "!showMenu && subMenus",
|
|
51427
|
-
},
|
|
51428
|
-
],
|
|
51429
|
-
ref: "box",
|
|
51430
|
-
staticClass: "es-simplicity-unfold",
|
|
51431
|
-
on: { click: _vm.handleShowMenus },
|
|
51432
|
-
},
|
|
51433
|
-
[_c("i", { ref: "area", staticClass: "el-icon-s-unfold" })]
|
|
51434
|
-
),
|
|
51435
51395
|
_vm._l(_vm.tabs, function (item) {
|
|
51436
51396
|
return _c(
|
|
51437
51397
|
"el-tab-pane",
|
|
@@ -51467,7 +51427,22 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51467
51427
|
}),
|
|
51468
51428
|
]
|
|
51469
51429
|
: item.method === "router" && item.refresh
|
|
51470
|
-
? [
|
|
51430
|
+
? [
|
|
51431
|
+
_c(
|
|
51432
|
+
"router-page",
|
|
51433
|
+
_vm._b(
|
|
51434
|
+
{
|
|
51435
|
+
attrs: {
|
|
51436
|
+
show: _vm.activeName == item.id,
|
|
51437
|
+
query: _vm.$parent.params,
|
|
51438
|
+
},
|
|
51439
|
+
},
|
|
51440
|
+
"router-page",
|
|
51441
|
+
item,
|
|
51442
|
+
false
|
|
51443
|
+
)
|
|
51444
|
+
),
|
|
51445
|
+
]
|
|
51471
51446
|
: _vm._e(),
|
|
51472
51447
|
],
|
|
51473
51448
|
2
|
|
@@ -51553,11 +51528,11 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
|
|
|
51553
51528
|
),
|
|
51554
51529
|
])
|
|
51555
51530
|
}
|
|
51556
|
-
var
|
|
51557
|
-
|
|
51531
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns = []
|
|
51532
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render._withStripped = true
|
|
51558
51533
|
|
|
51559
51534
|
|
|
51560
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
51535
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
|
|
51561
51536
|
|
|
51562
51537
|
// 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&
|
|
51563
51538
|
var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
|
|
@@ -51969,219 +51944,540 @@ var handler_component = normalizeComponent(
|
|
|
51969
51944
|
)
|
|
51970
51945
|
|
|
51971
51946
|
/* harmony default export */ var simplicity_handler = (handler_component.exports);
|
|
51972
|
-
// 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=
|
|
51973
|
-
var
|
|
51947
|
+
// 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=427b4bf6&scoped=true&
|
|
51948
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_render = function () {
|
|
51974
51949
|
var _vm = this
|
|
51975
51950
|
var _h = _vm.$createElement
|
|
51976
51951
|
var _c = _vm._self._c || _h
|
|
51977
51952
|
return _c(
|
|
51978
|
-
"
|
|
51979
|
-
{
|
|
51953
|
+
"el-drawer",
|
|
51954
|
+
{
|
|
51955
|
+
staticClass: "es-simplicity-subMenus",
|
|
51956
|
+
attrs: {
|
|
51957
|
+
direction: "ltr",
|
|
51958
|
+
"modal-class": "es-simplicity-apps-modal",
|
|
51959
|
+
size: "auto",
|
|
51960
|
+
"modal-append-to-body": false,
|
|
51961
|
+
"close-on-press-escape": false,
|
|
51962
|
+
modal: false,
|
|
51963
|
+
"with-header": false,
|
|
51964
|
+
wrapperClosable: false,
|
|
51965
|
+
visible: _vm.show,
|
|
51966
|
+
},
|
|
51967
|
+
on: {
|
|
51968
|
+
"update:visible": function ($event) {
|
|
51969
|
+
_vm.show = $event
|
|
51970
|
+
},
|
|
51971
|
+
},
|
|
51972
|
+
},
|
|
51980
51973
|
[
|
|
51981
|
-
_c(
|
|
51982
|
-
|
|
51983
|
-
|
|
51984
|
-
|
|
51985
|
-
|
|
51986
|
-
_vm.
|
|
51987
|
-
|
|
51988
|
-
|
|
51989
|
-
|
|
51990
|
-
|
|
51991
|
-
|
|
51992
|
-
|
|
51993
|
-
|
|
51994
|
-
|
|
51995
|
-
|
|
51996
|
-
|
|
51997
|
-
|
|
51998
|
-
|
|
51999
|
-
|
|
52000
|
-
|
|
52001
|
-
|
|
52002
|
-
|
|
52003
|
-
|
|
52004
|
-
"div",
|
|
52005
|
-
{ key: item.id, staticClass: "es-simplicity-menus-box" },
|
|
52006
|
-
[
|
|
52007
|
-
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
52008
|
-
_vm._v(_vm._s(item.text || item.name)),
|
|
52009
|
-
]),
|
|
52010
|
-
_c("menu-list", {
|
|
52011
|
-
attrs: {
|
|
52012
|
-
index: index,
|
|
52013
|
-
data: item.data,
|
|
52014
|
-
menuIcon: _vm.menuIcon,
|
|
51974
|
+
_c("div", { staticClass: "es-simplicity-menus" }, [
|
|
51975
|
+
_c(
|
|
51976
|
+
"div",
|
|
51977
|
+
{
|
|
51978
|
+
staticClass: "es-simplicity-menus-box",
|
|
51979
|
+
style: { width: _vm.width + "px" },
|
|
51980
|
+
},
|
|
51981
|
+
[
|
|
51982
|
+
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
51983
|
+
!_vm.fold
|
|
51984
|
+
? _c(
|
|
51985
|
+
"span",
|
|
51986
|
+
{ staticClass: "es-simplicity-menus-title-text" },
|
|
51987
|
+
[_vm._v(_vm._s(_vm.title || _vm.text))]
|
|
51988
|
+
)
|
|
51989
|
+
: _vm._e(),
|
|
51990
|
+
_c("i", {
|
|
51991
|
+
directives: [
|
|
51992
|
+
{
|
|
51993
|
+
name: "show",
|
|
51994
|
+
rawName: "v-show",
|
|
51995
|
+
value: !_vm.fold,
|
|
51996
|
+
expression: "!fold",
|
|
52015
51997
|
},
|
|
52016
|
-
|
|
52017
|
-
|
|
52018
|
-
|
|
52019
|
-
|
|
52020
|
-
|
|
52021
|
-
|
|
52022
|
-
|
|
52023
|
-
|
|
52024
|
-
|
|
51998
|
+
],
|
|
51999
|
+
staticClass:
|
|
52000
|
+
"es-icon-shouqicaidan es-simplicity-menus-title-icon",
|
|
52001
|
+
on: {
|
|
52002
|
+
click: function ($event) {
|
|
52003
|
+
_vm.handleFold(true)
|
|
52004
|
+
},
|
|
52005
|
+
},
|
|
52006
|
+
}),
|
|
52007
|
+
_c("i", {
|
|
52008
|
+
directives: [
|
|
52009
|
+
{
|
|
52010
|
+
name: "show",
|
|
52011
|
+
rawName: "v-show",
|
|
52012
|
+
value: _vm.fold,
|
|
52013
|
+
expression: "fold",
|
|
52014
|
+
},
|
|
52015
|
+
],
|
|
52016
|
+
staticClass:
|
|
52017
|
+
"es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
|
|
52018
|
+
on: {
|
|
52019
|
+
click: function ($event) {
|
|
52020
|
+
_vm.handleFold(false)
|
|
52021
|
+
},
|
|
52022
|
+
},
|
|
52023
|
+
}),
|
|
52024
|
+
]),
|
|
52025
|
+
_c("menu-list", {
|
|
52026
|
+
ref: "menus",
|
|
52027
|
+
attrs: {
|
|
52028
|
+
active: _vm.active,
|
|
52029
|
+
data: _vm.menus,
|
|
52030
|
+
menuIcon: _vm.menuIcon,
|
|
52031
|
+
color: _vm.color,
|
|
52032
|
+
backgroundColor: _vm.backgroundColor,
|
|
52033
|
+
fold: _vm.fold,
|
|
52034
|
+
width: _vm.size,
|
|
52035
|
+
},
|
|
52036
|
+
on: { command: _vm.handleCommand },
|
|
52037
|
+
}),
|
|
52038
|
+
],
|
|
52039
|
+
1
|
|
52040
|
+
),
|
|
52041
|
+
]),
|
|
52042
|
+
]
|
|
52025
52043
|
)
|
|
52026
52044
|
}
|
|
52027
|
-
var
|
|
52028
|
-
|
|
52045
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns = []
|
|
52046
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
|
|
52029
52047
|
|
|
52030
52048
|
|
|
52031
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
52049
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
|
|
52032
52050
|
|
|
52033
|
-
// 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=
|
|
52034
|
-
var
|
|
52051
|
+
// 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=6e16cc62&scoped=true&
|
|
52052
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
|
|
52035
52053
|
var _vm = this
|
|
52036
52054
|
var _h = _vm.$createElement
|
|
52037
52055
|
var _c = _vm._self._c || _h
|
|
52038
52056
|
return _c(
|
|
52039
52057
|
"el-scrollbar",
|
|
52040
|
-
|
|
52041
|
-
|
|
52042
|
-
|
|
52043
|
-
|
|
52044
|
-
|
|
52045
|
-
|
|
52046
|
-
|
|
52047
|
-
|
|
52048
|
-
|
|
52049
|
-
|
|
52050
|
-
|
|
52051
|
-
|
|
52052
|
-
|
|
52053
|
-
|
|
52054
|
-
|
|
52055
|
-
|
|
52056
|
-
|
|
52057
|
-
|
|
52058
|
-
|
|
52059
|
-
|
|
52060
|
-
|
|
52061
|
-
|
|
52062
|
-
|
|
52063
|
-
|
|
52064
|
-
|
|
52065
|
-
|
|
52066
|
-
|
|
52067
|
-
|
|
52068
|
-
|
|
52069
|
-
|
|
52070
|
-
|
|
52071
|
-
|
|
52072
|
-
|
|
52073
|
-
|
|
52074
|
-
|
|
52075
|
-
|
|
52076
|
-
|
|
52077
|
-
}
|
|
52078
|
-
|
|
52079
|
-
|
|
52080
|
-
|
|
52081
|
-
|
|
52082
|
-
|
|
52083
|
-
|
|
52084
|
-
|
|
52085
|
-
|
|
52086
|
-
|
|
52087
|
-
|
|
52088
|
-
|
|
52089
|
-
|
|
52090
|
-
|
|
52091
|
-
|
|
52092
|
-
|
|
52093
|
-
|
|
52094
|
-
|
|
52095
|
-
|
|
52096
|
-
|
|
52097
|
-
|
|
52098
|
-
|
|
52099
|
-
|
|
52100
|
-
|
|
52101
|
-
|
|
52102
|
-
|
|
52103
|
-
|
|
52104
|
-
|
|
52105
|
-
|
|
52106
|
-
|
|
52107
|
-
|
|
52108
|
-
|
|
52109
|
-
|
|
52110
|
-
|
|
52111
|
-
|
|
52112
|
-
|
|
52113
|
-
|
|
52114
|
-
|
|
52115
|
-
|
|
52116
|
-
|
|
52117
|
-
|
|
52118
|
-
|
|
52119
|
-
|
|
52120
|
-
|
|
52121
|
-
|
|
52122
|
-
|
|
52123
|
-
|
|
52124
|
-
|
|
52125
|
-
|
|
52126
|
-
|
|
52127
|
-
|
|
52128
|
-
|
|
52129
|
-
|
|
52130
|
-
|
|
52131
|
-
|
|
52132
|
-
|
|
52133
|
-
|
|
52134
|
-
|
|
52135
|
-
|
|
52136
|
-
|
|
52137
|
-
|
|
52138
|
-
|
|
52139
|
-
|
|
52140
|
-
|
|
52141
|
-
|
|
52142
|
-
|
|
52143
|
-
|
|
52144
|
-
|
|
52145
|
-
|
|
52146
|
-
|
|
52147
|
-
|
|
52148
|
-
|
|
52149
|
-
|
|
52150
|
-
|
|
52151
|
-
|
|
52152
|
-
|
|
52153
|
-
|
|
52154
|
-
|
|
52155
|
-
|
|
52156
|
-
|
|
52157
|
-
|
|
52158
|
-
|
|
52159
|
-
|
|
52160
|
-
|
|
52161
|
-
|
|
52162
|
-
|
|
52163
|
-
|
|
52164
|
-
|
|
52165
|
-
|
|
52058
|
+
{ ref: "scrollbar", class: { "is-fold": _vm.fold } },
|
|
52059
|
+
[
|
|
52060
|
+
_vm._l(_vm.data, function (item, index) {
|
|
52061
|
+
return [
|
|
52062
|
+
(item.children && item.children.length) ||
|
|
52063
|
+
(item.fourthTabs, item.fourthTabs.length)
|
|
52064
|
+
? _c(
|
|
52065
|
+
"el-popover",
|
|
52066
|
+
{
|
|
52067
|
+
key: item.id,
|
|
52068
|
+
attrs: {
|
|
52069
|
+
placement: "right",
|
|
52070
|
+
trigger: "hover",
|
|
52071
|
+
"popper-class": "es-simplicity-menus-sub",
|
|
52072
|
+
width: _vm.width,
|
|
52073
|
+
},
|
|
52074
|
+
on: {
|
|
52075
|
+
show: function ($event) {
|
|
52076
|
+
_vm.show = true
|
|
52077
|
+
},
|
|
52078
|
+
hide: function ($event) {
|
|
52079
|
+
_vm.show = false
|
|
52080
|
+
},
|
|
52081
|
+
},
|
|
52082
|
+
},
|
|
52083
|
+
[
|
|
52084
|
+
_c("menu-list", {
|
|
52085
|
+
ref: "menus",
|
|
52086
|
+
refInFor: true,
|
|
52087
|
+
attrs: {
|
|
52088
|
+
active: _vm.active,
|
|
52089
|
+
popover: _vm.show,
|
|
52090
|
+
data: (item.children || []).concat(item.fourthTabs || []),
|
|
52091
|
+
menuIcon: _vm.menuIcon,
|
|
52092
|
+
color: _vm.color,
|
|
52093
|
+
backgroundColor: _vm.backgroundColor,
|
|
52094
|
+
width: _vm.width,
|
|
52095
|
+
},
|
|
52096
|
+
on: { command: _vm.handleClick },
|
|
52097
|
+
}),
|
|
52098
|
+
_c(
|
|
52099
|
+
"div",
|
|
52100
|
+
{
|
|
52101
|
+
key: item.id,
|
|
52102
|
+
staticClass: "es-simplicity-menus-item",
|
|
52103
|
+
class: {
|
|
52104
|
+
"is-active": _vm.defaultActive === item.id,
|
|
52105
|
+
"is-fold": _vm.fold,
|
|
52106
|
+
},
|
|
52107
|
+
attrs: {
|
|
52108
|
+
slot: "reference",
|
|
52109
|
+
title: _vm.fold ? item.text || item.name : "",
|
|
52110
|
+
},
|
|
52111
|
+
slot: "reference",
|
|
52112
|
+
},
|
|
52113
|
+
[
|
|
52114
|
+
_vm.fold
|
|
52115
|
+
? [
|
|
52116
|
+
_c(
|
|
52117
|
+
"el-badge",
|
|
52118
|
+
{ attrs: { "is-dot": "", hidden: !item.tips } },
|
|
52119
|
+
[
|
|
52120
|
+
_c("es-icon", {
|
|
52121
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52122
|
+
style: _vm.setStyle(index),
|
|
52123
|
+
attrs: {
|
|
52124
|
+
contents:
|
|
52125
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
52126
|
+
},
|
|
52127
|
+
}),
|
|
52128
|
+
],
|
|
52129
|
+
1
|
|
52130
|
+
),
|
|
52131
|
+
]
|
|
52132
|
+
: [
|
|
52133
|
+
_c("es-icon", {
|
|
52134
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52135
|
+
style: _vm.setStyle(index),
|
|
52136
|
+
attrs: {
|
|
52137
|
+
contents:
|
|
52138
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
52139
|
+
},
|
|
52140
|
+
}),
|
|
52141
|
+
item.tips
|
|
52142
|
+
? _c(
|
|
52143
|
+
"div",
|
|
52144
|
+
{ staticClass: "es-simplicity-menus-tips" },
|
|
52145
|
+
[
|
|
52146
|
+
_vm._v(
|
|
52147
|
+
"\n " +
|
|
52148
|
+
_vm._s(
|
|
52149
|
+
item.tips > 99 ? "99+" : item.tips
|
|
52150
|
+
) +
|
|
52151
|
+
"\n "
|
|
52152
|
+
),
|
|
52153
|
+
]
|
|
52154
|
+
)
|
|
52155
|
+
: _vm._e(),
|
|
52156
|
+
],
|
|
52157
|
+
_c(
|
|
52158
|
+
"div",
|
|
52159
|
+
{
|
|
52160
|
+
directives: [
|
|
52161
|
+
{
|
|
52162
|
+
name: "show",
|
|
52163
|
+
rawName: "v-show",
|
|
52164
|
+
value: !_vm.fold,
|
|
52165
|
+
expression: "!fold",
|
|
52166
|
+
},
|
|
52167
|
+
],
|
|
52168
|
+
staticClass: "es-simplicity_apps-text",
|
|
52169
|
+
},
|
|
52170
|
+
[
|
|
52171
|
+
_vm._v(
|
|
52172
|
+
"\n " +
|
|
52173
|
+
_vm._s(item.text || item.name) +
|
|
52174
|
+
"\n "
|
|
52175
|
+
),
|
|
52176
|
+
]
|
|
52177
|
+
),
|
|
52178
|
+
],
|
|
52179
|
+
2
|
|
52180
|
+
),
|
|
52181
|
+
],
|
|
52182
|
+
1
|
|
52183
|
+
)
|
|
52184
|
+
: _c(
|
|
52185
|
+
"div",
|
|
52186
|
+
{
|
|
52187
|
+
key: item.id,
|
|
52188
|
+
staticClass: "es-simplicity-menus-item",
|
|
52189
|
+
class: {
|
|
52190
|
+
"is-active": _vm.defaultActive === item.id,
|
|
52191
|
+
"is-fold": _vm.fold,
|
|
52192
|
+
},
|
|
52193
|
+
attrs: { title: _vm.fold ? item.text || item.name : "" },
|
|
52194
|
+
on: {
|
|
52195
|
+
click: function ($event) {
|
|
52196
|
+
_vm.handleClick(item)
|
|
52197
|
+
},
|
|
52198
|
+
},
|
|
52199
|
+
},
|
|
52200
|
+
[
|
|
52201
|
+
_vm.fold
|
|
52202
|
+
? [
|
|
52203
|
+
_c(
|
|
52204
|
+
"el-badge",
|
|
52205
|
+
{ attrs: { "is-dot": "", hidden: !item.tips } },
|
|
52206
|
+
[
|
|
52207
|
+
_c("es-icon", {
|
|
52208
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52209
|
+
style: _vm.setStyle(index),
|
|
52210
|
+
attrs: {
|
|
52211
|
+
contents:
|
|
52212
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
52213
|
+
},
|
|
52214
|
+
}),
|
|
52215
|
+
],
|
|
52216
|
+
1
|
|
52217
|
+
),
|
|
52218
|
+
]
|
|
52219
|
+
: [
|
|
52220
|
+
_c("es-icon", {
|
|
52221
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52222
|
+
style: _vm.setStyle(index),
|
|
52223
|
+
attrs: {
|
|
52224
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52225
|
+
},
|
|
52226
|
+
}),
|
|
52227
|
+
item.tips
|
|
52228
|
+
? _c(
|
|
52229
|
+
"div",
|
|
52230
|
+
{ staticClass: "es-simplicity-menus-tips" },
|
|
52231
|
+
[
|
|
52232
|
+
_vm._v(
|
|
52233
|
+
"\n " +
|
|
52234
|
+
_vm._s(item.tips > 99 ? "99+" : item.tips) +
|
|
52235
|
+
"\n "
|
|
52236
|
+
),
|
|
52237
|
+
]
|
|
52238
|
+
)
|
|
52239
|
+
: _vm._e(),
|
|
52240
|
+
],
|
|
52241
|
+
_c(
|
|
52242
|
+
"div",
|
|
52243
|
+
{
|
|
52244
|
+
directives: [
|
|
52245
|
+
{
|
|
52246
|
+
name: "show",
|
|
52247
|
+
rawName: "v-show",
|
|
52248
|
+
value: !_vm.fold,
|
|
52249
|
+
expression: "!fold",
|
|
52250
|
+
},
|
|
52251
|
+
],
|
|
52252
|
+
staticClass: "es-simplicity_apps-text",
|
|
52253
|
+
},
|
|
52254
|
+
[
|
|
52255
|
+
_vm._v(
|
|
52256
|
+
"\n " +
|
|
52257
|
+
_vm._s(item.text || item.name) +
|
|
52258
|
+
"\n "
|
|
52259
|
+
),
|
|
52260
|
+
]
|
|
52261
|
+
),
|
|
52262
|
+
],
|
|
52263
|
+
2
|
|
52264
|
+
),
|
|
52265
|
+
]
|
|
52266
|
+
}),
|
|
52267
|
+
],
|
|
52268
|
+
2
|
|
52269
|
+
)
|
|
52270
|
+
}
|
|
52271
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns = []
|
|
52272
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
|
|
52273
|
+
|
|
52274
|
+
|
|
52275
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e16cc62&scoped=true&
|
|
52276
|
+
|
|
52277
|
+
// 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&
|
|
52278
|
+
//
|
|
52279
|
+
//
|
|
52280
|
+
//
|
|
52281
|
+
//
|
|
52282
|
+
//
|
|
52283
|
+
//
|
|
52284
|
+
//
|
|
52285
|
+
//
|
|
52286
|
+
//
|
|
52287
|
+
//
|
|
52288
|
+
//
|
|
52289
|
+
//
|
|
52290
|
+
//
|
|
52291
|
+
//
|
|
52292
|
+
//
|
|
52293
|
+
//
|
|
52294
|
+
//
|
|
52295
|
+
//
|
|
52296
|
+
//
|
|
52297
|
+
//
|
|
52298
|
+
//
|
|
52299
|
+
//
|
|
52300
|
+
//
|
|
52301
|
+
//
|
|
52302
|
+
//
|
|
52303
|
+
//
|
|
52304
|
+
//
|
|
52305
|
+
//
|
|
52306
|
+
//
|
|
52307
|
+
//
|
|
52308
|
+
//
|
|
52309
|
+
//
|
|
52310
|
+
//
|
|
52311
|
+
//
|
|
52312
|
+
//
|
|
52313
|
+
//
|
|
52314
|
+
//
|
|
52315
|
+
//
|
|
52316
|
+
//
|
|
52317
|
+
//
|
|
52318
|
+
//
|
|
52319
|
+
//
|
|
52320
|
+
//
|
|
52321
|
+
//
|
|
52322
|
+
//
|
|
52323
|
+
//
|
|
52324
|
+
//
|
|
52325
|
+
//
|
|
52326
|
+
//
|
|
52327
|
+
//
|
|
52328
|
+
//
|
|
52329
|
+
//
|
|
52330
|
+
//
|
|
52331
|
+
//
|
|
52332
|
+
//
|
|
52333
|
+
//
|
|
52334
|
+
//
|
|
52335
|
+
//
|
|
52336
|
+
//
|
|
52337
|
+
//
|
|
52338
|
+
//
|
|
52339
|
+
//
|
|
52340
|
+
//
|
|
52341
|
+
//
|
|
52342
|
+
//
|
|
52343
|
+
//
|
|
52344
|
+
//
|
|
52345
|
+
//
|
|
52346
|
+
//
|
|
52347
|
+
//
|
|
52348
|
+
//
|
|
52349
|
+
//
|
|
52350
|
+
//
|
|
52351
|
+
//
|
|
52352
|
+
//
|
|
52353
|
+
//
|
|
52354
|
+
//
|
|
52355
|
+
//
|
|
52356
|
+
//
|
|
52357
|
+
//
|
|
52358
|
+
//
|
|
52359
|
+
//
|
|
52360
|
+
//
|
|
52361
|
+
//
|
|
52362
|
+
//
|
|
52363
|
+
//
|
|
52364
|
+
//
|
|
52365
|
+
//
|
|
52366
|
+
//
|
|
52367
|
+
//
|
|
52368
|
+
//
|
|
52369
|
+
//
|
|
52370
|
+
//
|
|
52371
|
+
|
|
52372
|
+
/* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
|
|
52373
|
+
name: 'MenuList',
|
|
52374
|
+
components: {},
|
|
52375
|
+
props: {
|
|
52376
|
+
active: String,
|
|
52377
|
+
menuIcon: String,
|
|
52378
|
+
color: [String, Array],
|
|
52379
|
+
backgroundColor: [String, Array],
|
|
52380
|
+
data: Array,
|
|
52381
|
+
fold: Boolean,
|
|
52382
|
+
width: Number,
|
|
52383
|
+
popover: Boolean
|
|
52384
|
+
},
|
|
52385
|
+
data: function data() {
|
|
52386
|
+
return {
|
|
52387
|
+
defaultActive: this.active,
|
|
52388
|
+
show: false,
|
|
52389
|
+
height: document.body.offsetHeight - 44
|
|
52390
|
+
};
|
|
52391
|
+
},
|
|
52392
|
+
|
|
52393
|
+
computed: {},
|
|
52394
|
+
watch: {
|
|
52395
|
+
popover: function popover() {
|
|
52396
|
+
if (this.$el.offsetHeight > this.height) {
|
|
52397
|
+
this.$el.style.height = this.height + 'px';
|
|
52398
|
+
this.$refs.scrollbar.update();
|
|
52399
|
+
} else {
|
|
52400
|
+
this.$el.style.height = '';
|
|
52401
|
+
}
|
|
52402
|
+
}
|
|
52403
|
+
},
|
|
52404
|
+
created: function created() {},
|
|
52405
|
+
mounted: function mounted() {},
|
|
52406
|
+
|
|
52407
|
+
methods: {
|
|
52408
|
+
setStyle: function setStyle(num) {
|
|
52409
|
+
var obj = {};
|
|
52410
|
+
if (this.color) {
|
|
52411
|
+
obj.color = this.color;
|
|
52412
|
+
if (Array.isArray(this.color)) {
|
|
52413
|
+
obj.color = this.color[num % this.color.length];
|
|
52414
|
+
} else {
|
|
52415
|
+
obj.color = this.color;
|
|
52416
|
+
}
|
|
52417
|
+
}
|
|
52418
|
+
if (this.backgroundColor) {
|
|
52419
|
+
if (Array.isArray(this.backgroundColor)) {
|
|
52420
|
+
obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
|
|
52421
|
+
} else {
|
|
52422
|
+
obj.backgroundColor = this.backgroundColor;
|
|
52423
|
+
}
|
|
52424
|
+
}
|
|
52425
|
+
return obj;
|
|
52426
|
+
},
|
|
52427
|
+
handleClick: function handleClick(res) {
|
|
52428
|
+
this.defaultActive = res.id;
|
|
52429
|
+
if (res.url) {
|
|
52430
|
+
if (res.urlopenmode == 1) {
|
|
52431
|
+
util.win.open(res.url);
|
|
52432
|
+
return;
|
|
52433
|
+
} else if (res.urlopenmode == 2) {
|
|
52434
|
+
util.win.location.href = res.url;
|
|
52435
|
+
return;
|
|
52436
|
+
}
|
|
52437
|
+
}
|
|
52438
|
+
this.$emit('command', res);
|
|
52439
|
+
}
|
|
52440
|
+
}
|
|
52441
|
+
});
|
|
52442
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
|
|
52443
|
+
/* harmony default export */ var simplicity_menu_listvue_type_script_lang_js_ = (menu_listvue_type_script_lang_js_);
|
|
52444
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue
|
|
52445
|
+
|
|
52446
|
+
|
|
52447
|
+
|
|
52166
52448
|
|
|
52167
52449
|
|
|
52168
52450
|
/* normalize component */
|
|
52169
52451
|
|
|
52170
52452
|
var menu_list_component = normalizeComponent(
|
|
52171
52453
|
simplicity_menu_listvue_type_script_lang_js_,
|
|
52172
|
-
|
|
52173
|
-
|
|
52454
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render,
|
|
52455
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns,
|
|
52174
52456
|
false,
|
|
52175
52457
|
null,
|
|
52176
|
-
"
|
|
52458
|
+
"6e16cc62",
|
|
52177
52459
|
null
|
|
52178
52460
|
|
|
52179
52461
|
)
|
|
52180
52462
|
|
|
52181
52463
|
/* harmony default export */ var menu_list = (menu_list_component.exports);
|
|
52182
52464
|
// 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&
|
|
52183
|
-
|
|
52184
|
-
|
|
52465
|
+
//
|
|
52466
|
+
//
|
|
52467
|
+
//
|
|
52468
|
+
//
|
|
52469
|
+
//
|
|
52470
|
+
//
|
|
52471
|
+
//
|
|
52472
|
+
//
|
|
52473
|
+
//
|
|
52474
|
+
//
|
|
52475
|
+
//
|
|
52476
|
+
//
|
|
52477
|
+
//
|
|
52478
|
+
//
|
|
52479
|
+
//
|
|
52480
|
+
//
|
|
52185
52481
|
//
|
|
52186
52482
|
//
|
|
52187
52483
|
//
|
|
@@ -52218,6 +52514,8 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52218
52514
|
name: 'SubMenu',
|
|
52219
52515
|
components: { MenuList: menu_list },
|
|
52220
52516
|
props: {
|
|
52517
|
+
title: String,
|
|
52518
|
+
active: String,
|
|
52221
52519
|
color: {
|
|
52222
52520
|
type: [String, Array],
|
|
52223
52521
|
default: '#fff'
|
|
@@ -52228,6 +52526,11 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52228
52526
|
return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
|
|
52229
52527
|
}
|
|
52230
52528
|
},
|
|
52529
|
+
size: {
|
|
52530
|
+
type: Number,
|
|
52531
|
+
default: 220
|
|
52532
|
+
},
|
|
52533
|
+
visible: Boolean,
|
|
52231
52534
|
text: String,
|
|
52232
52535
|
menuIcon: String,
|
|
52233
52536
|
children: {
|
|
@@ -52245,7 +52548,8 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52245
52548
|
},
|
|
52246
52549
|
data: function data() {
|
|
52247
52550
|
return {
|
|
52248
|
-
|
|
52551
|
+
fold: false,
|
|
52552
|
+
width: this.size,
|
|
52249
52553
|
subMenus: []
|
|
52250
52554
|
};
|
|
52251
52555
|
},
|
|
@@ -52253,6 +52557,16 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52253
52557
|
computed: {
|
|
52254
52558
|
menus: function menus() {
|
|
52255
52559
|
return [].concat(this.children, this.fourthTabs);
|
|
52560
|
+
},
|
|
52561
|
+
|
|
52562
|
+
show: {
|
|
52563
|
+
get: function get() {
|
|
52564
|
+
return this.visible;
|
|
52565
|
+
},
|
|
52566
|
+
set: function set(val) {
|
|
52567
|
+
this.$emit('update:visible', val);
|
|
52568
|
+
return val;
|
|
52569
|
+
}
|
|
52256
52570
|
}
|
|
52257
52571
|
},
|
|
52258
52572
|
watch: {},
|
|
@@ -52260,44 +52574,17 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52260
52574
|
mounted: function mounted() {},
|
|
52261
52575
|
|
|
52262
52576
|
methods: {
|
|
52263
|
-
|
|
52264
|
-
|
|
52265
|
-
|
|
52266
|
-
|
|
52267
|
-
} else if (res.urlopenmode == 2) {
|
|
52268
|
-
util.win.location.href = res.url;
|
|
52269
|
-
} else {
|
|
52270
|
-
this.$emit('command', res);
|
|
52271
|
-
}
|
|
52272
|
-
}
|
|
52273
|
-
var data = [].concat(res.children || [], res.fourthTabs || []);
|
|
52274
|
-
if (data.length) {
|
|
52275
|
-
if (num === undefined) {
|
|
52276
|
-
this.subMenus = [sub_menuvue_type_script_lang_js_extends({}, res, { data: data })];
|
|
52277
|
-
} else {
|
|
52278
|
-
var item = this.subMenus[num];
|
|
52279
|
-
if (item) {
|
|
52280
|
-
if (item.id !== res.id) {
|
|
52281
|
-
this.subMenus.splice(parseInt(num, 10), this.subMenus.length - 1, sub_menuvue_type_script_lang_js_extends({}, res, {
|
|
52282
|
-
data: data
|
|
52283
|
-
}));
|
|
52284
|
-
}
|
|
52285
|
-
} else {
|
|
52286
|
-
this.subMenus.push(sub_menuvue_type_script_lang_js_extends({}, res, {
|
|
52287
|
-
data: data
|
|
52288
|
-
}));
|
|
52289
|
-
}
|
|
52290
|
-
}
|
|
52291
|
-
this.$emit('command', num === undefined ? 2 : 2 + parseInt(num, 10));
|
|
52577
|
+
handleFold: function handleFold(res) {
|
|
52578
|
+
this.fold = res;
|
|
52579
|
+
if (res) {
|
|
52580
|
+
this.width = 48;
|
|
52292
52581
|
} else {
|
|
52293
|
-
|
|
52294
|
-
this.$emit('command', 1);
|
|
52295
|
-
this.subMenus = [];
|
|
52296
|
-
} else {
|
|
52297
|
-
this.subMenus.splice(parseInt(num, 10));
|
|
52298
|
-
this.$emit('command', 1 + parseInt(num, 10));
|
|
52299
|
-
}
|
|
52582
|
+
this.width = this.size;
|
|
52300
52583
|
}
|
|
52584
|
+
this.$emit('update:fold', res);
|
|
52585
|
+
},
|
|
52586
|
+
handleCommand: function handleCommand(res) {
|
|
52587
|
+
this.$emit('command', res);
|
|
52301
52588
|
},
|
|
52302
52589
|
clearSubmenu: function clearSubmenu() {
|
|
52303
52590
|
this.$refs.menus.clearActive();
|
|
@@ -52317,372 +52604,424 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
52317
52604
|
|
|
52318
52605
|
var sub_menu_component = normalizeComponent(
|
|
52319
52606
|
simplicity_sub_menuvue_type_script_lang_js_,
|
|
52320
|
-
|
|
52321
|
-
|
|
52607
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render,
|
|
52608
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns,
|
|
52322
52609
|
false,
|
|
52323
52610
|
null,
|
|
52324
|
-
"
|
|
52611
|
+
"427b4bf6",
|
|
52325
52612
|
null
|
|
52326
52613
|
|
|
52327
52614
|
)
|
|
52328
52615
|
|
|
52329
52616
|
/* harmony default export */ var sub_menu = (sub_menu_component.exports);
|
|
52330
|
-
// 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=
|
|
52331
|
-
var
|
|
52617
|
+
// 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&
|
|
52618
|
+
var appsvue_type_template_id_62050c35_scoped_true_render = function () {
|
|
52332
52619
|
var this$1 = this
|
|
52333
52620
|
var _vm = this
|
|
52334
52621
|
var _h = _vm.$createElement
|
|
52335
52622
|
var _c = _vm._self._c || _h
|
|
52336
|
-
return _c(
|
|
52337
|
-
|
|
52338
|
-
|
|
52339
|
-
|
|
52340
|
-
|
|
52623
|
+
return _c(
|
|
52624
|
+
"el-drawer",
|
|
52625
|
+
{
|
|
52626
|
+
staticClass: "es-simplicity-apps",
|
|
52627
|
+
attrs: {
|
|
52628
|
+
direction: "ltr",
|
|
52629
|
+
"modal-class": "es-simplicity-apps-modal",
|
|
52630
|
+
size: "90%",
|
|
52631
|
+
"modal-append-to-body": false,
|
|
52632
|
+
"with-header": false,
|
|
52633
|
+
visible: _vm.show,
|
|
52634
|
+
},
|
|
52635
|
+
on: {
|
|
52636
|
+
"update:visible": function ($event) {
|
|
52637
|
+
_vm.show = $event
|
|
52638
|
+
},
|
|
52639
|
+
},
|
|
52640
|
+
},
|
|
52641
|
+
[
|
|
52642
|
+
_c("div", { staticClass: "es-simplicity_apps" }, [
|
|
52341
52643
|
_c(
|
|
52342
52644
|
"div",
|
|
52343
|
-
{ staticClass: "es-simplicity_apps-
|
|
52645
|
+
{ staticClass: "es-simplicity_apps-all" },
|
|
52344
52646
|
[
|
|
52345
|
-
|
|
52346
|
-
|
|
52347
|
-
staticClass: "es-simplicity_apps-
|
|
52348
|
-
|
|
52349
|
-
|
|
52350
|
-
|
|
52351
|
-
|
|
52352
|
-
|
|
52353
|
-
|
|
52354
|
-
|
|
52355
|
-
|
|
52356
|
-
|
|
52357
|
-
|
|
52358
|
-
|
|
52647
|
+
_c(
|
|
52648
|
+
"div",
|
|
52649
|
+
{ staticClass: "es-simplicity_apps-title" },
|
|
52650
|
+
[
|
|
52651
|
+
_vm._v("\n 所有业务系统\n "),
|
|
52652
|
+
_c("el-input", {
|
|
52653
|
+
staticClass: "es-simplicity_apps-search",
|
|
52654
|
+
attrs: {
|
|
52655
|
+
size: "medium",
|
|
52656
|
+
placeholder: "请输入关键字",
|
|
52657
|
+
"prefix-icon": "el-icon-search",
|
|
52658
|
+
},
|
|
52659
|
+
model: {
|
|
52660
|
+
value: _vm.value,
|
|
52661
|
+
callback: function ($$v) {
|
|
52662
|
+
_vm.value = $$v
|
|
52663
|
+
},
|
|
52664
|
+
expression: "value",
|
|
52665
|
+
},
|
|
52666
|
+
}),
|
|
52667
|
+
],
|
|
52668
|
+
1
|
|
52669
|
+
),
|
|
52670
|
+
_c(
|
|
52671
|
+
"div",
|
|
52672
|
+
{
|
|
52673
|
+
staticClass: "es-simplicity_apps-box",
|
|
52674
|
+
on: { mousewheel: _vm.handleWheel },
|
|
52359
52675
|
},
|
|
52360
|
-
|
|
52361
|
-
|
|
52362
|
-
|
|
52363
|
-
|
|
52364
|
-
|
|
52365
|
-
|
|
52366
|
-
|
|
52367
|
-
|
|
52368
|
-
|
|
52369
|
-
|
|
52370
|
-
"li",
|
|
52371
|
-
{ key: item.id, staticClass: "es-simplicity_apps-list-item" },
|
|
52372
|
-
[
|
|
52373
|
-
_c(
|
|
52374
|
-
"div",
|
|
52375
|
-
{
|
|
52376
|
-
staticClass: "es-simplicity_apps-list-content",
|
|
52377
|
-
class: {
|
|
52378
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
52379
|
-
},
|
|
52380
|
-
on: {
|
|
52381
|
-
click: function ($event) {
|
|
52382
|
-
_vm.handleClick(item)
|
|
52383
|
-
},
|
|
52676
|
+
[
|
|
52677
|
+
_c(
|
|
52678
|
+
"ul",
|
|
52679
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
52680
|
+
_vm._l(_vm._applications, function (item) {
|
|
52681
|
+
return _c(
|
|
52682
|
+
"li",
|
|
52683
|
+
{
|
|
52684
|
+
key: item.id,
|
|
52685
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
52384
52686
|
},
|
|
52385
|
-
|
|
52386
|
-
|
|
52387
|
-
|
|
52388
|
-
|
|
52389
|
-
|
|
52390
|
-
|
|
52391
|
-
|
|
52392
|
-
staticClass: "es-simplicity_apps-icon",
|
|
52393
|
-
attrs: {
|
|
52394
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52687
|
+
[
|
|
52688
|
+
_c(
|
|
52689
|
+
"div",
|
|
52690
|
+
{
|
|
52691
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
52692
|
+
class: {
|
|
52693
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
52395
52694
|
},
|
|
52396
|
-
|
|
52397
|
-
|
|
52398
|
-
|
|
52399
|
-
|
|
52400
|
-
_c("div", { staticClass: "es-simplicity_apps-text" }, [
|
|
52401
|
-
_vm._v(
|
|
52402
|
-
"\n " +
|
|
52403
|
-
_vm._s(item.text || item.name) +
|
|
52404
|
-
"\n "
|
|
52405
|
-
),
|
|
52406
|
-
]),
|
|
52407
|
-
_c(
|
|
52408
|
-
"div",
|
|
52409
|
-
{ staticClass: "es-simplicity_apps-hover" },
|
|
52410
|
-
[
|
|
52411
|
-
_c("es-icon", {
|
|
52412
|
-
staticClass: "es-simplicity_apps-icon",
|
|
52413
|
-
attrs: {
|
|
52414
|
-
contents: item.permission
|
|
52415
|
-
? "es-icon-jiantou-next"
|
|
52416
|
-
: "es-icon-mm",
|
|
52695
|
+
on: {
|
|
52696
|
+
click: function ($event) {
|
|
52697
|
+
_vm.handleClick(item)
|
|
52698
|
+
},
|
|
52417
52699
|
},
|
|
52418
|
-
}
|
|
52419
|
-
|
|
52420
|
-
|
|
52421
|
-
|
|
52422
|
-
|
|
52423
|
-
|
|
52424
|
-
"
|
|
52425
|
-
|
|
52426
|
-
|
|
52427
|
-
|
|
52428
|
-
|
|
52429
|
-
|
|
52430
|
-
|
|
52431
|
-
|
|
52432
|
-
|
|
52433
|
-
|
|
52434
|
-
|
|
52435
|
-
|
|
52436
|
-
|
|
52437
|
-
|
|
52438
|
-
|
|
52439
|
-
|
|
52700
|
+
},
|
|
52701
|
+
[
|
|
52702
|
+
_c(
|
|
52703
|
+
"el-badge",
|
|
52704
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
52705
|
+
[
|
|
52706
|
+
_c("es-icon", {
|
|
52707
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52708
|
+
attrs: {
|
|
52709
|
+
contents:
|
|
52710
|
+
item.icons || item.icon || _vm.menuIcon,
|
|
52711
|
+
},
|
|
52712
|
+
}),
|
|
52713
|
+
],
|
|
52714
|
+
1
|
|
52715
|
+
),
|
|
52716
|
+
_c(
|
|
52717
|
+
"div",
|
|
52718
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52719
|
+
[
|
|
52720
|
+
_vm._v(
|
|
52721
|
+
"\n " +
|
|
52722
|
+
_vm._s(item.text || item.name) +
|
|
52723
|
+
"\n "
|
|
52724
|
+
),
|
|
52725
|
+
]
|
|
52726
|
+
),
|
|
52727
|
+
_c(
|
|
52728
|
+
"div",
|
|
52729
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
52730
|
+
[
|
|
52731
|
+
_c("es-icon", {
|
|
52732
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52733
|
+
attrs: {
|
|
52734
|
+
contents: item.permission
|
|
52735
|
+
? "es-icon-jiantou-next"
|
|
52736
|
+
: "es-icon-mm",
|
|
52737
|
+
},
|
|
52738
|
+
}),
|
|
52739
|
+
_c(
|
|
52740
|
+
"div",
|
|
52741
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52742
|
+
[
|
|
52743
|
+
_vm._v(
|
|
52744
|
+
"\n " +
|
|
52745
|
+
_vm._s(
|
|
52746
|
+
item.permission
|
|
52747
|
+
? "进入系统"
|
|
52748
|
+
: "暂无权限"
|
|
52749
|
+
) +
|
|
52750
|
+
"\n "
|
|
52751
|
+
),
|
|
52752
|
+
]
|
|
52753
|
+
),
|
|
52754
|
+
],
|
|
52755
|
+
1
|
|
52756
|
+
),
|
|
52757
|
+
],
|
|
52758
|
+
1
|
|
52759
|
+
),
|
|
52760
|
+
]
|
|
52761
|
+
)
|
|
52762
|
+
}),
|
|
52763
|
+
0
|
|
52764
|
+
),
|
|
52765
|
+
]
|
|
52766
|
+
),
|
|
52767
|
+
_c("el-pagination", {
|
|
52768
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
52769
|
+
attrs: {
|
|
52770
|
+
background: "",
|
|
52771
|
+
layout: "total,prev, pager, next",
|
|
52772
|
+
"total-text": "共 {total} 个业务系统",
|
|
52773
|
+
"page-size": _vm.appSize,
|
|
52774
|
+
total: _vm.apps.length,
|
|
52775
|
+
"current-page": _vm.appNum,
|
|
52776
|
+
},
|
|
52777
|
+
on: {
|
|
52778
|
+
"update:currentPage": function ($event) {
|
|
52779
|
+
_vm.appNum = $event
|
|
52780
|
+
},
|
|
52781
|
+
"current-change": function (res) {
|
|
52782
|
+
this$1.handleChange(res, 0)
|
|
52783
|
+
},
|
|
52784
|
+
},
|
|
52440
52785
|
}),
|
|
52441
|
-
|
|
52442
|
-
|
|
52443
|
-
|
|
52444
|
-
_c("
|
|
52445
|
-
staticClass: "es-simplicity_apps-pagination",
|
|
52446
|
-
attrs: {
|
|
52447
|
-
background: "",
|
|
52448
|
-
layout: "total,prev, pager, next",
|
|
52449
|
-
"total-text": "共 {total} 个业务系统",
|
|
52450
|
-
"page-size": _vm.appSize,
|
|
52451
|
-
total: _vm.apps.length,
|
|
52452
|
-
},
|
|
52453
|
-
on: {
|
|
52454
|
-
"current-change": function (res) {
|
|
52455
|
-
this$1.handleChange(res, 0)
|
|
52456
|
-
},
|
|
52457
|
-
},
|
|
52458
|
-
}),
|
|
52459
|
-
],
|
|
52460
|
-
1
|
|
52461
|
-
),
|
|
52462
|
-
_c("div", { staticClass: "es-simplicity_apps-other" }, [
|
|
52463
|
-
_c(
|
|
52464
|
-
"div",
|
|
52465
|
-
{ staticClass: "es-simplicity_apps-business" },
|
|
52466
|
-
[
|
|
52467
|
-
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
52468
|
-
_vm._v("专项业务系统"),
|
|
52469
|
-
]),
|
|
52786
|
+
],
|
|
52787
|
+
1
|
|
52788
|
+
),
|
|
52789
|
+
_c("div", { staticClass: "es-simplicity_apps-other" }, [
|
|
52470
52790
|
_c(
|
|
52471
|
-
"
|
|
52472
|
-
{ staticClass: "es-simplicity_apps-
|
|
52473
|
-
|
|
52474
|
-
|
|
52475
|
-
"
|
|
52476
|
-
|
|
52477
|
-
|
|
52478
|
-
|
|
52479
|
-
|
|
52791
|
+
"div",
|
|
52792
|
+
{ staticClass: "es-simplicity_apps-business" },
|
|
52793
|
+
[
|
|
52794
|
+
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
52795
|
+
_vm._v("专项业务系统"),
|
|
52796
|
+
]),
|
|
52797
|
+
_c(
|
|
52798
|
+
"ul",
|
|
52799
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
52800
|
+
_vm._l(_vm._business, function (item, index) {
|
|
52801
|
+
return _c(
|
|
52802
|
+
"li",
|
|
52480
52803
|
{
|
|
52481
|
-
|
|
52482
|
-
|
|
52483
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
52484
|
-
},
|
|
52485
|
-
on: {
|
|
52486
|
-
click: function ($event) {
|
|
52487
|
-
_vm.handleClick(item)
|
|
52488
|
-
},
|
|
52489
|
-
},
|
|
52804
|
+
key: item.id,
|
|
52805
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
52490
52806
|
},
|
|
52491
52807
|
[
|
|
52492
|
-
_c("es-icon", {
|
|
52493
|
-
staticClass: "es-simplicity_app-icon",
|
|
52494
|
-
style: _vm.setStyle(index),
|
|
52495
|
-
attrs: {
|
|
52496
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52497
|
-
},
|
|
52498
|
-
}),
|
|
52499
|
-
_c(
|
|
52500
|
-
"el-badge",
|
|
52501
|
-
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
52502
|
-
[
|
|
52503
|
-
_c(
|
|
52504
|
-
"div",
|
|
52505
|
-
{ staticClass: "es-simplicity_apps-text" },
|
|
52506
|
-
[
|
|
52507
|
-
_vm._v(
|
|
52508
|
-
"\n " +
|
|
52509
|
-
_vm._s(item.text || item.name) +
|
|
52510
|
-
"\n "
|
|
52511
|
-
),
|
|
52512
|
-
]
|
|
52513
|
-
),
|
|
52514
|
-
]
|
|
52515
|
-
),
|
|
52516
52808
|
_c(
|
|
52517
52809
|
"div",
|
|
52518
|
-
{
|
|
52810
|
+
{
|
|
52811
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
52812
|
+
class: {
|
|
52813
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
52814
|
+
},
|
|
52815
|
+
on: {
|
|
52816
|
+
click: function ($event) {
|
|
52817
|
+
_vm.handleClick(item)
|
|
52818
|
+
},
|
|
52819
|
+
},
|
|
52820
|
+
},
|
|
52519
52821
|
[
|
|
52520
52822
|
_c("es-icon", {
|
|
52521
|
-
staticClass: "es-
|
|
52823
|
+
staticClass: "es-simplicity_app-icon",
|
|
52824
|
+
style: _vm.setStyle(index),
|
|
52522
52825
|
attrs: {
|
|
52523
|
-
contents: item.
|
|
52524
|
-
? "es-icon-jiantou-next"
|
|
52525
|
-
: "es-icon-mm",
|
|
52826
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52526
52827
|
},
|
|
52527
52828
|
}),
|
|
52528
52829
|
_c(
|
|
52529
|
-
"
|
|
52530
|
-
{
|
|
52830
|
+
"el-badge",
|
|
52831
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
52531
52832
|
[
|
|
52532
|
-
|
|
52533
|
-
"
|
|
52534
|
-
|
|
52535
|
-
|
|
52536
|
-
|
|
52537
|
-
|
|
52833
|
+
_c(
|
|
52834
|
+
"div",
|
|
52835
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52836
|
+
[
|
|
52837
|
+
_vm._v(
|
|
52838
|
+
"\n " +
|
|
52839
|
+
_vm._s(item.text || item.name) +
|
|
52840
|
+
"\n "
|
|
52841
|
+
),
|
|
52842
|
+
]
|
|
52538
52843
|
),
|
|
52539
52844
|
]
|
|
52540
52845
|
),
|
|
52846
|
+
_c(
|
|
52847
|
+
"div",
|
|
52848
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
52849
|
+
[
|
|
52850
|
+
_c("es-icon", {
|
|
52851
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52852
|
+
attrs: {
|
|
52853
|
+
contents: item.permission
|
|
52854
|
+
? "es-icon-jiantou-next"
|
|
52855
|
+
: "es-icon-mm",
|
|
52856
|
+
},
|
|
52857
|
+
}),
|
|
52858
|
+
_c(
|
|
52859
|
+
"div",
|
|
52860
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52861
|
+
[
|
|
52862
|
+
_vm._v(
|
|
52863
|
+
"\n " +
|
|
52864
|
+
_vm._s(
|
|
52865
|
+
item.permission
|
|
52866
|
+
? "进入系统"
|
|
52867
|
+
: "暂无权限"
|
|
52868
|
+
) +
|
|
52869
|
+
"\n "
|
|
52870
|
+
),
|
|
52871
|
+
]
|
|
52872
|
+
),
|
|
52873
|
+
],
|
|
52874
|
+
1
|
|
52875
|
+
),
|
|
52541
52876
|
],
|
|
52542
52877
|
1
|
|
52543
52878
|
),
|
|
52544
|
-
]
|
|
52545
|
-
|
|
52546
|
-
|
|
52547
|
-
|
|
52548
|
-
)
|
|
52549
|
-
|
|
52550
|
-
|
|
52879
|
+
]
|
|
52880
|
+
)
|
|
52881
|
+
}),
|
|
52882
|
+
0
|
|
52883
|
+
),
|
|
52884
|
+
_c("el-pagination", {
|
|
52885
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
52886
|
+
attrs: {
|
|
52887
|
+
background: "",
|
|
52888
|
+
layout: "total,prev, pager, next",
|
|
52889
|
+
"total-text": "共 {total} 专项业务系统",
|
|
52890
|
+
"page-size": _vm.appSize,
|
|
52891
|
+
total: _vm.business.length,
|
|
52892
|
+
},
|
|
52893
|
+
on: {
|
|
52894
|
+
"current-change": function (res) {
|
|
52895
|
+
this$1.handleChange(res, 1)
|
|
52896
|
+
},
|
|
52897
|
+
},
|
|
52898
|
+
}),
|
|
52899
|
+
],
|
|
52900
|
+
1
|
|
52551
52901
|
),
|
|
52552
|
-
_c("el-pagination", {
|
|
52553
|
-
staticClass: "es-simplicity_apps-pagination",
|
|
52554
|
-
attrs: {
|
|
52555
|
-
background: "",
|
|
52556
|
-
layout: "total,prev, pager, next",
|
|
52557
|
-
"total-text": "共 {total} 专项业务系统",
|
|
52558
|
-
"page-size": _vm.appSize,
|
|
52559
|
-
total: _vm.business.length,
|
|
52560
|
-
},
|
|
52561
|
-
on: {
|
|
52562
|
-
"current-change": function (res) {
|
|
52563
|
-
this$1.handleChange(res, 1)
|
|
52564
|
-
},
|
|
52565
|
-
},
|
|
52566
|
-
}),
|
|
52567
|
-
],
|
|
52568
|
-
1
|
|
52569
|
-
),
|
|
52570
|
-
_c(
|
|
52571
|
-
"div",
|
|
52572
|
-
{ staticClass: "es-simplicity_apps-systems" },
|
|
52573
|
-
[
|
|
52574
|
-
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
52575
|
-
_vm._v("系统设置"),
|
|
52576
|
-
]),
|
|
52577
52902
|
_c(
|
|
52578
|
-
"
|
|
52579
|
-
{ staticClass: "es-simplicity_apps-
|
|
52580
|
-
|
|
52581
|
-
|
|
52582
|
-
"
|
|
52583
|
-
|
|
52584
|
-
|
|
52585
|
-
|
|
52586
|
-
|
|
52903
|
+
"div",
|
|
52904
|
+
{ staticClass: "es-simplicity_apps-systems" },
|
|
52905
|
+
[
|
|
52906
|
+
_c("div", { staticClass: "es-simplicity_apps-title" }, [
|
|
52907
|
+
_vm._v("系统设置"),
|
|
52908
|
+
]),
|
|
52909
|
+
_c(
|
|
52910
|
+
"ul",
|
|
52911
|
+
{ staticClass: "es-simplicity_apps-list" },
|
|
52912
|
+
_vm._l(_vm._systems, function (item, index) {
|
|
52913
|
+
return _c(
|
|
52914
|
+
"li",
|
|
52587
52915
|
{
|
|
52588
|
-
|
|
52589
|
-
|
|
52590
|
-
"es-simplicity_apps-disabled": !item.permission,
|
|
52591
|
-
},
|
|
52592
|
-
on: {
|
|
52593
|
-
click: function ($event) {
|
|
52594
|
-
_vm.handleClick(item)
|
|
52595
|
-
},
|
|
52596
|
-
},
|
|
52916
|
+
key: item.id,
|
|
52917
|
+
staticClass: "es-simplicity_apps-list-item",
|
|
52597
52918
|
},
|
|
52598
52919
|
[
|
|
52599
|
-
_c("es-icon", {
|
|
52600
|
-
staticClass: "es-simplicity_app-icon",
|
|
52601
|
-
style: _vm.setStyle(index),
|
|
52602
|
-
attrs: {
|
|
52603
|
-
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52604
|
-
},
|
|
52605
|
-
}),
|
|
52606
|
-
_c(
|
|
52607
|
-
"el-badge",
|
|
52608
|
-
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
52609
|
-
[
|
|
52610
|
-
_c(
|
|
52611
|
-
"div",
|
|
52612
|
-
{ staticClass: "es-simplicity_apps-text" },
|
|
52613
|
-
[
|
|
52614
|
-
_vm._v(
|
|
52615
|
-
"\n " +
|
|
52616
|
-
_vm._s(item.text || item.name) +
|
|
52617
|
-
"\n "
|
|
52618
|
-
),
|
|
52619
|
-
]
|
|
52620
|
-
),
|
|
52621
|
-
]
|
|
52622
|
-
),
|
|
52623
52920
|
_c(
|
|
52624
52921
|
"div",
|
|
52625
|
-
{
|
|
52922
|
+
{
|
|
52923
|
+
staticClass: "es-simplicity_apps-list-content",
|
|
52924
|
+
class: {
|
|
52925
|
+
"es-simplicity_apps-disabled": !item.permission,
|
|
52926
|
+
},
|
|
52927
|
+
on: {
|
|
52928
|
+
click: function ($event) {
|
|
52929
|
+
_vm.handleClick(item)
|
|
52930
|
+
},
|
|
52931
|
+
},
|
|
52932
|
+
},
|
|
52626
52933
|
[
|
|
52627
52934
|
_c("es-icon", {
|
|
52628
|
-
staticClass: "es-
|
|
52935
|
+
staticClass: "es-simplicity_app-icon",
|
|
52936
|
+
style: _vm.setStyle(index),
|
|
52629
52937
|
attrs: {
|
|
52630
|
-
contents: item.
|
|
52631
|
-
? "es-icon-jiantou-next"
|
|
52632
|
-
: "es-icon-mm",
|
|
52938
|
+
contents: item.icons || item.icon || _vm.menuIcon,
|
|
52633
52939
|
},
|
|
52634
52940
|
}),
|
|
52635
52941
|
_c(
|
|
52636
|
-
"
|
|
52637
|
-
{
|
|
52942
|
+
"el-badge",
|
|
52943
|
+
_vm._b({}, "el-badge", _vm.getBadge(item), false),
|
|
52638
52944
|
[
|
|
52639
|
-
|
|
52640
|
-
"
|
|
52641
|
-
|
|
52642
|
-
|
|
52643
|
-
|
|
52644
|
-
|
|
52945
|
+
_c(
|
|
52946
|
+
"div",
|
|
52947
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52948
|
+
[
|
|
52949
|
+
_vm._v(
|
|
52950
|
+
"\n " +
|
|
52951
|
+
_vm._s(item.text || item.name) +
|
|
52952
|
+
"\n "
|
|
52953
|
+
),
|
|
52954
|
+
]
|
|
52645
52955
|
),
|
|
52646
52956
|
]
|
|
52647
52957
|
),
|
|
52958
|
+
_c(
|
|
52959
|
+
"div",
|
|
52960
|
+
{ staticClass: "es-simplicity_apps-hover" },
|
|
52961
|
+
[
|
|
52962
|
+
_c("es-icon", {
|
|
52963
|
+
staticClass: "es-simplicity_apps-icon",
|
|
52964
|
+
attrs: {
|
|
52965
|
+
contents: item.permission
|
|
52966
|
+
? "es-icon-jiantou-next"
|
|
52967
|
+
: "es-icon-mm",
|
|
52968
|
+
},
|
|
52969
|
+
}),
|
|
52970
|
+
_c(
|
|
52971
|
+
"div",
|
|
52972
|
+
{ staticClass: "es-simplicity_apps-text" },
|
|
52973
|
+
[
|
|
52974
|
+
_vm._v(
|
|
52975
|
+
"\n " +
|
|
52976
|
+
_vm._s(
|
|
52977
|
+
item.permission
|
|
52978
|
+
? "进入系统"
|
|
52979
|
+
: "暂无权限"
|
|
52980
|
+
) +
|
|
52981
|
+
"\n "
|
|
52982
|
+
),
|
|
52983
|
+
]
|
|
52984
|
+
),
|
|
52985
|
+
],
|
|
52986
|
+
1
|
|
52987
|
+
),
|
|
52648
52988
|
],
|
|
52649
52989
|
1
|
|
52650
52990
|
),
|
|
52651
|
-
]
|
|
52652
|
-
|
|
52653
|
-
|
|
52654
|
-
|
|
52655
|
-
)
|
|
52656
|
-
|
|
52657
|
-
|
|
52991
|
+
]
|
|
52992
|
+
)
|
|
52993
|
+
}),
|
|
52994
|
+
0
|
|
52995
|
+
),
|
|
52996
|
+
_c("el-pagination", {
|
|
52997
|
+
staticClass: "es-simplicity_apps-pagination",
|
|
52998
|
+
attrs: {
|
|
52999
|
+
background: "",
|
|
53000
|
+
layout: "total,prev, pager, next",
|
|
53001
|
+
"total-text": "共 {total} 系统设置",
|
|
53002
|
+
"hide-on-single-page": "",
|
|
53003
|
+
"page-size": _vm.appSize,
|
|
53004
|
+
total: _vm.business.length,
|
|
53005
|
+
},
|
|
53006
|
+
on: {
|
|
53007
|
+
"current-change": function (res) {
|
|
53008
|
+
this$1.handleChange(res, 2)
|
|
53009
|
+
},
|
|
53010
|
+
},
|
|
53011
|
+
}),
|
|
53012
|
+
],
|
|
53013
|
+
1
|
|
52658
53014
|
),
|
|
52659
|
-
|
|
52660
|
-
|
|
52661
|
-
|
|
52662
|
-
|
|
52663
|
-
layout: "total,prev, pager, next",
|
|
52664
|
-
"total-text": "共 {total} 系统设置",
|
|
52665
|
-
"hide-on-single-page": "",
|
|
52666
|
-
"page-size": _vm.appSize,
|
|
52667
|
-
total: _vm.business.length,
|
|
52668
|
-
},
|
|
52669
|
-
on: {
|
|
52670
|
-
"current-change": function (res) {
|
|
52671
|
-
this$1.handleChange(res, 2)
|
|
52672
|
-
},
|
|
52673
|
-
},
|
|
52674
|
-
}),
|
|
52675
|
-
],
|
|
52676
|
-
1
|
|
52677
|
-
),
|
|
52678
|
-
]),
|
|
52679
|
-
])
|
|
53015
|
+
]),
|
|
53016
|
+
]),
|
|
53017
|
+
]
|
|
53018
|
+
)
|
|
52680
53019
|
}
|
|
52681
|
-
var
|
|
52682
|
-
|
|
53020
|
+
var appsvue_type_template_id_62050c35_scoped_true_staticRenderFns = []
|
|
53021
|
+
appsvue_type_template_id_62050c35_scoped_true_render._withStripped = true
|
|
52683
53022
|
|
|
52684
53023
|
|
|
52685
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=
|
|
53024
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=62050c35&scoped=true&
|
|
52686
53025
|
|
|
52687
53026
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/apps.vue?vue&type=script&lang=js&
|
|
52688
53027
|
//
|
|
@@ -52860,12 +53199,24 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
|
|
|
52860
53199
|
//
|
|
52861
53200
|
//
|
|
52862
53201
|
//
|
|
53202
|
+
//
|
|
53203
|
+
//
|
|
53204
|
+
//
|
|
53205
|
+
//
|
|
53206
|
+
//
|
|
53207
|
+
//
|
|
53208
|
+
//
|
|
53209
|
+
//
|
|
53210
|
+
//
|
|
53211
|
+
//
|
|
53212
|
+
//
|
|
52863
53213
|
|
|
52864
53214
|
|
|
52865
53215
|
/* harmony default export */ var appsvue_type_script_lang_js_ = ({
|
|
52866
53216
|
name: 'Apps',
|
|
52867
53217
|
components: {},
|
|
52868
53218
|
props: {
|
|
53219
|
+
visible: Boolean,
|
|
52869
53220
|
//菜单、应用默认图标
|
|
52870
53221
|
menuIcon: String,
|
|
52871
53222
|
color: {
|
|
@@ -52913,6 +53264,15 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
|
|
|
52913
53264
|
},
|
|
52914
53265
|
|
|
52915
53266
|
computed: {
|
|
53267
|
+
show: {
|
|
53268
|
+
get: function get() {
|
|
53269
|
+
return this.visible;
|
|
53270
|
+
},
|
|
53271
|
+
set: function set(val) {
|
|
53272
|
+
this.$emit('update:visible', val);
|
|
53273
|
+
return val;
|
|
53274
|
+
}
|
|
53275
|
+
},
|
|
52916
53276
|
_applications: function _applications() {
|
|
52917
53277
|
var _this = this;
|
|
52918
53278
|
|
|
@@ -52989,6 +53349,16 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
|
|
|
52989
53349
|
var name = ['appNum', 'bsNum', 'sysNum'];
|
|
52990
53350
|
this[name[index]] = res;
|
|
52991
53351
|
},
|
|
53352
|
+
handleWheel: function handleWheel(e) {
|
|
53353
|
+
var direction = e.deltaY > 0 ? 'down' : 'up'; //deltaY为正则滚轮向下,为负滚轮向上
|
|
53354
|
+
var total = Math.ceil(this.apps.length / this.appSize);
|
|
53355
|
+
if (direction == 'up' && this.appNum > 1) {
|
|
53356
|
+
this.appNum -= 1;
|
|
53357
|
+
}
|
|
53358
|
+
if (direction == 'down' && this.appNum < total) {
|
|
53359
|
+
this.appNum += 1;
|
|
53360
|
+
}
|
|
53361
|
+
},
|
|
52992
53362
|
handleClick: function handleClick(res) {
|
|
52993
53363
|
this.$emit('click', res);
|
|
52994
53364
|
},
|
|
@@ -53023,18 +53393,18 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
|
|
|
53023
53393
|
|
|
53024
53394
|
var apps_component = normalizeComponent(
|
|
53025
53395
|
simplicity_appsvue_type_script_lang_js_,
|
|
53026
|
-
|
|
53027
|
-
|
|
53396
|
+
appsvue_type_template_id_62050c35_scoped_true_render,
|
|
53397
|
+
appsvue_type_template_id_62050c35_scoped_true_staticRenderFns,
|
|
53028
53398
|
false,
|
|
53029
53399
|
null,
|
|
53030
|
-
"
|
|
53400
|
+
"62050c35",
|
|
53031
53401
|
null
|
|
53032
53402
|
|
|
53033
53403
|
)
|
|
53034
53404
|
|
|
53035
53405
|
/* harmony default export */ var simplicity_apps = (apps_component.exports);
|
|
53036
|
-
// 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=
|
|
53037
|
-
var
|
|
53406
|
+
// 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&
|
|
53407
|
+
var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
|
|
53038
53408
|
var _vm = this
|
|
53039
53409
|
var _h = _vm.$createElement
|
|
53040
53410
|
var _c = _vm._self._c || _h
|
|
@@ -53178,7 +53548,7 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
|
|
|
53178
53548
|
},
|
|
53179
53549
|
[
|
|
53180
53550
|
_vm.visible
|
|
53181
|
-
? _c("
|
|
53551
|
+
? _c("user-info", {
|
|
53182
53552
|
attrs: { contents: _vm.contents, value: _vm.userInfo },
|
|
53183
53553
|
})
|
|
53184
53554
|
: _vm._e(),
|
|
@@ -53189,14 +53559,14 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
|
|
|
53189
53559
|
1
|
|
53190
53560
|
)
|
|
53191
53561
|
}
|
|
53192
|
-
var
|
|
53193
|
-
|
|
53562
|
+
var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
|
|
53563
|
+
uservue_type_template_id_4f9acb61_scoped_true_render._withStripped = true
|
|
53194
53564
|
|
|
53195
53565
|
|
|
53196
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=
|
|
53566
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4f9acb61&scoped=true&
|
|
53197
53567
|
|
|
53198
|
-
// 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=
|
|
53199
|
-
var
|
|
53568
|
+
// 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&
|
|
53569
|
+
var userinfovue_type_template_id_0dbd4cc6_render = function () {
|
|
53200
53570
|
var _vm = this
|
|
53201
53571
|
var _h = _vm.$createElement
|
|
53202
53572
|
var _c = _vm._self._c || _h
|
|
@@ -53212,11 +53582,11 @@ var userinfovue_type_template_id_55233cdc_render = function () {
|
|
|
53212
53582
|
2
|
|
53213
53583
|
)
|
|
53214
53584
|
}
|
|
53215
|
-
var
|
|
53216
|
-
|
|
53585
|
+
var userinfovue_type_template_id_0dbd4cc6_staticRenderFns = []
|
|
53586
|
+
userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
|
|
53217
53587
|
|
|
53218
53588
|
|
|
53219
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=
|
|
53589
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=0dbd4cc6&
|
|
53220
53590
|
|
|
53221
53591
|
// 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&
|
|
53222
53592
|
//
|
|
@@ -53237,6 +53607,7 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
|
|
|
53237
53607
|
|
|
53238
53608
|
|
|
53239
53609
|
/* harmony default export */ var userinfovue_type_script_lang_js_ = ({
|
|
53610
|
+
name: 'UserInfo',
|
|
53240
53611
|
props: {
|
|
53241
53612
|
showNotify: {
|
|
53242
53613
|
type: Boolean,
|
|
@@ -53473,8 +53844,8 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
|
|
|
53473
53844
|
|
|
53474
53845
|
var userinfo_component = normalizeComponent(
|
|
53475
53846
|
simplicity_userinfovue_type_script_lang_js_,
|
|
53476
|
-
|
|
53477
|
-
|
|
53847
|
+
userinfovue_type_template_id_0dbd4cc6_render,
|
|
53848
|
+
userinfovue_type_template_id_0dbd4cc6_staticRenderFns,
|
|
53478
53849
|
false,
|
|
53479
53850
|
null,
|
|
53480
53851
|
null,
|
|
@@ -53558,7 +53929,7 @@ var userinfo_component = normalizeComponent(
|
|
|
53558
53929
|
|
|
53559
53930
|
/* harmony default export */ var uservue_type_script_lang_js_ = ({
|
|
53560
53931
|
name: 'User',
|
|
53561
|
-
components: { avatar: avatar,
|
|
53932
|
+
components: { avatar: avatar, userInfo: userinfo },
|
|
53562
53933
|
props: {
|
|
53563
53934
|
notify: String,
|
|
53564
53935
|
notifyList: Array,
|
|
@@ -53733,32 +54104,32 @@ var userinfo_component = normalizeComponent(
|
|
|
53733
54104
|
|
|
53734
54105
|
var user_component = normalizeComponent(
|
|
53735
54106
|
simplicity_uservue_type_script_lang_js_,
|
|
53736
|
-
|
|
53737
|
-
|
|
54107
|
+
uservue_type_template_id_4f9acb61_scoped_true_render,
|
|
54108
|
+
uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns,
|
|
53738
54109
|
false,
|
|
53739
54110
|
null,
|
|
53740
|
-
"
|
|
54111
|
+
"4f9acb61",
|
|
53741
54112
|
null
|
|
53742
54113
|
|
|
53743
54114
|
)
|
|
53744
54115
|
|
|
53745
54116
|
/* harmony default export */ var simplicity_user = (user_component.exports);
|
|
53746
|
-
// 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=
|
|
53747
|
-
var
|
|
54117
|
+
// 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&
|
|
54118
|
+
var messagevue_type_template_id_0ee7ab90_render = function () {
|
|
53748
54119
|
var _vm = this
|
|
53749
54120
|
var _h = _vm.$createElement
|
|
53750
54121
|
var _c = _vm._self._c || _h
|
|
53751
54122
|
return _c(
|
|
53752
54123
|
"el-drawer",
|
|
53753
54124
|
{
|
|
53754
|
-
staticClass: "es-
|
|
54125
|
+
staticClass: "es-simplicity-message",
|
|
53755
54126
|
attrs: {
|
|
53756
|
-
"
|
|
54127
|
+
"modal-class": "es-simplicity-message-modal",
|
|
53757
54128
|
direction: "rtl",
|
|
53758
|
-
size: "
|
|
53759
|
-
modal: false,
|
|
54129
|
+
size: "648px",
|
|
53760
54130
|
withHeader: false,
|
|
53761
54131
|
visible: _vm.show,
|
|
54132
|
+
"modal-append-to-body": false,
|
|
53762
54133
|
},
|
|
53763
54134
|
on: {
|
|
53764
54135
|
"update:visible": function ($event) {
|
|
@@ -53767,18 +54138,23 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
53767
54138
|
},
|
|
53768
54139
|
},
|
|
53769
54140
|
[
|
|
53770
|
-
_c("div", { staticClass: "es-
|
|
53771
|
-
_c("span", { staticClass: "es-
|
|
54141
|
+
_c("div", { staticClass: "es-simplicity-message-header" }, [
|
|
54142
|
+
_c("span", { staticClass: "es-simplicity-message-title" }, [
|
|
54143
|
+
_vm._v("消息提示"),
|
|
54144
|
+
]),
|
|
53772
54145
|
_c(
|
|
53773
54146
|
"span",
|
|
53774
|
-
{
|
|
54147
|
+
{
|
|
54148
|
+
staticClass: "es-simplicity-message-overlook",
|
|
54149
|
+
on: { click: _vm.handleIgnoreAll },
|
|
54150
|
+
},
|
|
53775
54151
|
[_vm._v("全部忽略")]
|
|
53776
54152
|
),
|
|
53777
54153
|
]),
|
|
53778
|
-
_c("div", { staticClass: "es-
|
|
54154
|
+
_c("div", { staticClass: "es-simplicity-message-lists-box" }, [
|
|
53779
54155
|
_c(
|
|
53780
54156
|
"div",
|
|
53781
|
-
{ staticClass: "es-
|
|
54157
|
+
{ staticClass: "es-simplicity-message-lists" },
|
|
53782
54158
|
[
|
|
53783
54159
|
_c("el-scrollbar", { staticClass: "es-scrollbar" }, [
|
|
53784
54160
|
_c(
|
|
@@ -53797,25 +54173,35 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
53797
54173
|
[
|
|
53798
54174
|
_vm._l(_vm.msgs, function (item, index) {
|
|
53799
54175
|
return _c(
|
|
53800
|
-
"
|
|
53801
|
-
{
|
|
54176
|
+
"div",
|
|
54177
|
+
{
|
|
54178
|
+
key: item.id,
|
|
54179
|
+
staticClass: "es-simplicity-message-item",
|
|
54180
|
+
},
|
|
53802
54181
|
[
|
|
53803
|
-
_c(
|
|
53804
|
-
|
|
53805
|
-
|
|
53806
|
-
|
|
53807
|
-
|
|
53808
|
-
|
|
53809
|
-
|
|
53810
|
-
|
|
53811
|
-
|
|
53812
|
-
|
|
53813
|
-
|
|
53814
|
-
]),
|
|
54182
|
+
_c(
|
|
54183
|
+
"div",
|
|
54184
|
+
{ staticClass: "es-simplicity-message-item-title" },
|
|
54185
|
+
[
|
|
54186
|
+
_vm._v(
|
|
54187
|
+
"\n " +
|
|
54188
|
+
_vm._s(item.title) +
|
|
54189
|
+
"\n "
|
|
54190
|
+
),
|
|
54191
|
+
]
|
|
54192
|
+
),
|
|
53815
54193
|
_c("div", [
|
|
53816
|
-
_c(
|
|
53817
|
-
|
|
53818
|
-
|
|
54194
|
+
_c(
|
|
54195
|
+
"span",
|
|
54196
|
+
{ staticClass: "es-simplicity-message-item-time" },
|
|
54197
|
+
[
|
|
54198
|
+
_vm._v(
|
|
54199
|
+
"\n " +
|
|
54200
|
+
_vm._s(item.time) +
|
|
54201
|
+
"\n "
|
|
54202
|
+
),
|
|
54203
|
+
]
|
|
54204
|
+
),
|
|
53819
54205
|
_c(
|
|
53820
54206
|
"span",
|
|
53821
54207
|
{
|
|
@@ -53827,27 +54213,39 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
53827
54213
|
expression: "item.handlerUrl",
|
|
53828
54214
|
},
|
|
53829
54215
|
],
|
|
53830
|
-
staticClass: "es-
|
|
54216
|
+
staticClass: "es-simplicity-message-handler",
|
|
53831
54217
|
on: {
|
|
53832
54218
|
click: function ($event) {
|
|
53833
54219
|
_vm.handleMessage(item, index)
|
|
53834
54220
|
},
|
|
53835
54221
|
},
|
|
53836
54222
|
},
|
|
53837
|
-
[_vm._v("
|
|
54223
|
+
[_vm._v("\n 处理\n ")]
|
|
54224
|
+
),
|
|
54225
|
+
_c(
|
|
54226
|
+
"span",
|
|
54227
|
+
{
|
|
54228
|
+
staticClass: "es-simplicity-message-overlook",
|
|
54229
|
+
on: {
|
|
54230
|
+
click: function ($event) {
|
|
54231
|
+
_vm.handleIgnore(item, index)
|
|
54232
|
+
},
|
|
54233
|
+
},
|
|
54234
|
+
},
|
|
54235
|
+
[_vm._v("\n 忽略\n ")]
|
|
53838
54236
|
),
|
|
53839
54237
|
]),
|
|
53840
54238
|
]
|
|
53841
54239
|
)
|
|
53842
54240
|
}),
|
|
53843
54241
|
_vm.loading
|
|
53844
|
-
? _c("p", { staticClass: "es-
|
|
54242
|
+
? _c("p", { staticClass: "es-simplicity-message-tips" }, [
|
|
53845
54243
|
_vm._v("加载中..."),
|
|
53846
54244
|
])
|
|
53847
54245
|
: _vm._e(),
|
|
53848
54246
|
_vm.noMore && _vm.count > 0
|
|
53849
|
-
? _c("p", { staticClass: "es-
|
|
53850
|
-
_vm._v("
|
|
54247
|
+
? _c("p", { staticClass: "es-simplicity-message-tips" }, [
|
|
54248
|
+
_vm._v("\n 没有更多了\n "),
|
|
53851
54249
|
])
|
|
53852
54250
|
: _vm._e(),
|
|
53853
54251
|
],
|
|
@@ -53858,8 +54256,8 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
53858
54256
|
1
|
|
53859
54257
|
),
|
|
53860
54258
|
]),
|
|
53861
|
-
_c("div", { staticClass: "es-
|
|
53862
|
-
_vm._v("
|
|
54259
|
+
_c("div", { staticClass: "es-simplicity-message-total" }, [
|
|
54260
|
+
_vm._v("共有 " + _vm._s(_vm.count) + " 条消息记录"),
|
|
53863
54261
|
]),
|
|
53864
54262
|
_c("es-dialog", {
|
|
53865
54263
|
attrs: {
|
|
@@ -53881,11 +54279,11 @@ var messagevue_type_template_id_4239f1c5_render = function () {
|
|
|
53881
54279
|
1
|
|
53882
54280
|
)
|
|
53883
54281
|
}
|
|
53884
|
-
var
|
|
53885
|
-
|
|
54282
|
+
var messagevue_type_template_id_0ee7ab90_staticRenderFns = []
|
|
54283
|
+
messagevue_type_template_id_0ee7ab90_render._withStripped = true
|
|
53886
54284
|
|
|
53887
54285
|
|
|
53888
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=
|
|
54286
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=0ee7ab90&
|
|
53889
54287
|
|
|
53890
54288
|
// 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&
|
|
53891
54289
|
//
|
|
@@ -53945,11 +54343,21 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
|
|
|
53945
54343
|
//
|
|
53946
54344
|
//
|
|
53947
54345
|
//
|
|
54346
|
+
//
|
|
54347
|
+
//
|
|
54348
|
+
//
|
|
54349
|
+
//
|
|
54350
|
+
//
|
|
54351
|
+
//
|
|
54352
|
+
//
|
|
54353
|
+
//
|
|
54354
|
+
//
|
|
54355
|
+
//
|
|
53948
54356
|
|
|
53949
54357
|
|
|
53950
54358
|
|
|
53951
54359
|
/* harmony default export */ var messagevue_type_script_lang_js_ = ({
|
|
53952
|
-
name: '
|
|
54360
|
+
name: 'Message',
|
|
53953
54361
|
provide: function provide() {
|
|
53954
54362
|
return {
|
|
53955
54363
|
deleteMessage: this.handleRemove
|
|
@@ -54135,8 +54543,8 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
|
|
|
54135
54543
|
|
|
54136
54544
|
var message_component = normalizeComponent(
|
|
54137
54545
|
simplicity_messagevue_type_script_lang_js_,
|
|
54138
|
-
|
|
54139
|
-
|
|
54546
|
+
messagevue_type_template_id_0ee7ab90_render,
|
|
54547
|
+
messagevue_type_template_id_0ee7ab90_staticRenderFns,
|
|
54140
54548
|
false,
|
|
54141
54549
|
null,
|
|
54142
54550
|
null,
|
|
@@ -54145,8 +54553,8 @@ var message_component = normalizeComponent(
|
|
|
54145
54553
|
)
|
|
54146
54554
|
|
|
54147
54555
|
/* harmony default export */ var simplicity_message = (message_component.exports);
|
|
54148
|
-
// 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=
|
|
54149
|
-
var
|
|
54556
|
+
// 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&
|
|
54557
|
+
var noticevue_type_template_id_1c74f5bb_render = function () {
|
|
54150
54558
|
var _vm = this
|
|
54151
54559
|
var _h = _vm.$createElement
|
|
54152
54560
|
var _c = _vm._self._c || _h
|
|
@@ -54168,11 +54576,12 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
54168
54576
|
{
|
|
54169
54577
|
name: "show",
|
|
54170
54578
|
rawName: "v-show",
|
|
54171
|
-
value: _vm.
|
|
54172
|
-
expression: "
|
|
54579
|
+
value: _vm.msgs.length,
|
|
54580
|
+
expression: "msgs.length",
|
|
54173
54581
|
},
|
|
54174
54582
|
],
|
|
54175
|
-
staticClass: "es-notice-box",
|
|
54583
|
+
staticClass: "es-simplicity-notice-box",
|
|
54584
|
+
class: { "es-in": _vm.msgs.length },
|
|
54176
54585
|
on: {
|
|
54177
54586
|
mouseover: function ($event) {
|
|
54178
54587
|
_vm.handleMouse(true)
|
|
@@ -54183,85 +54592,93 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
54183
54592
|
},
|
|
54184
54593
|
},
|
|
54185
54594
|
[
|
|
54595
|
+
_c("div", { staticClass: "es-simplicity-notice-header" }, [
|
|
54596
|
+
_c("span", { staticClass: "es-notice-title" }, [
|
|
54597
|
+
_vm._v("通知消息"),
|
|
54598
|
+
]),
|
|
54599
|
+
]),
|
|
54186
54600
|
_c(
|
|
54187
|
-
"
|
|
54188
|
-
{
|
|
54189
|
-
|
|
54190
|
-
|
|
54191
|
-
|
|
54192
|
-
|
|
54193
|
-
|
|
54194
|
-
]),
|
|
54195
|
-
_c("div", { staticClass: "es-msg-lists-box" }, [
|
|
54196
|
-
_c(
|
|
54197
|
-
"div",
|
|
54198
|
-
{ staticClass: "es-msg-lists" },
|
|
54199
|
-
[
|
|
54200
|
-
_c(
|
|
54201
|
-
"el-scrollbar",
|
|
54202
|
-
{ staticClass: "es-scrollbar" },
|
|
54203
|
-
_vm._l(_vm.data, function (item, index) {
|
|
54204
|
-
return _c(
|
|
54205
|
-
"el-card",
|
|
54206
|
-
{ key: item.id, staticClass: "es-msg-item" },
|
|
54207
|
-
[
|
|
54208
|
-
_c("div", { staticClass: "es-msg-item-title" }, [
|
|
54209
|
-
_vm._v(_vm._s(item.title)),
|
|
54210
|
-
]),
|
|
54211
|
-
_c("div", [
|
|
54212
|
-
_c("span", { staticClass: "es-msg-item-time" }, [
|
|
54213
|
-
_vm._v(_vm._s(item.time)),
|
|
54214
|
-
]),
|
|
54215
|
-
_c(
|
|
54216
|
-
"span",
|
|
54217
|
-
{
|
|
54218
|
-
directives: [
|
|
54219
|
-
{
|
|
54220
|
-
name: "show",
|
|
54221
|
-
rawName: "v-show",
|
|
54222
|
-
value: item.handlerUrl,
|
|
54223
|
-
expression: "item.handlerUrl",
|
|
54224
|
-
},
|
|
54225
|
-
],
|
|
54226
|
-
staticClass: "es-overlook",
|
|
54227
|
-
on: {
|
|
54228
|
-
click: function ($event) {
|
|
54229
|
-
_vm.handleMessage(item, index)
|
|
54230
|
-
},
|
|
54231
|
-
},
|
|
54232
|
-
},
|
|
54233
|
-
[_vm._v("处理")]
|
|
54234
|
-
),
|
|
54235
|
-
]),
|
|
54236
|
-
]
|
|
54237
|
-
)
|
|
54238
|
-
}),
|
|
54239
|
-
1
|
|
54240
|
-
),
|
|
54241
|
-
],
|
|
54242
|
-
1
|
|
54243
|
-
),
|
|
54244
|
-
]),
|
|
54245
|
-
_c(
|
|
54601
|
+
"el-scrollbar",
|
|
54602
|
+
{
|
|
54603
|
+
staticClass:
|
|
54604
|
+
"es-simplicity-notice-lists es-simplicity-message-lists",
|
|
54605
|
+
},
|
|
54606
|
+
_vm._l(_vm.msgs, function (item, index) {
|
|
54607
|
+
return _c(
|
|
54246
54608
|
"div",
|
|
54247
|
-
{
|
|
54248
|
-
staticClass: "es-notice-footer",
|
|
54249
|
-
staticStyle: {
|
|
54250
|
-
display: "flex",
|
|
54251
|
-
"justify-content": "space-between",
|
|
54252
|
-
},
|
|
54253
|
-
},
|
|
54609
|
+
{ key: item.id, staticClass: "es-simplicity-message-item" },
|
|
54254
54610
|
[
|
|
54255
|
-
_c(
|
|
54256
|
-
|
|
54257
|
-
|
|
54258
|
-
|
|
54259
|
-
|
|
54611
|
+
_c(
|
|
54612
|
+
"div",
|
|
54613
|
+
{ staticClass: "es-simplicity-message-item-title" },
|
|
54614
|
+
[_vm._v("\n " + _vm._s(item.title) + "\n ")]
|
|
54615
|
+
),
|
|
54616
|
+
_c("div", [
|
|
54617
|
+
_c(
|
|
54618
|
+
"span",
|
|
54619
|
+
{ staticClass: "es-simplicity-message-item-time" },
|
|
54620
|
+
[
|
|
54621
|
+
_vm._v(
|
|
54622
|
+
"\n " + _vm._s(item.time) + "\n "
|
|
54623
|
+
),
|
|
54624
|
+
]
|
|
54625
|
+
),
|
|
54626
|
+
_c(
|
|
54627
|
+
"span",
|
|
54628
|
+
{
|
|
54629
|
+
directives: [
|
|
54630
|
+
{
|
|
54631
|
+
name: "show",
|
|
54632
|
+
rawName: "v-show",
|
|
54633
|
+
value: item.handlerUrl,
|
|
54634
|
+
expression: "item.handlerUrl",
|
|
54635
|
+
},
|
|
54636
|
+
],
|
|
54637
|
+
staticClass: "es-simplicity-message-handler",
|
|
54638
|
+
on: {
|
|
54639
|
+
click: function ($event) {
|
|
54640
|
+
_vm.handleMessage(item, index)
|
|
54641
|
+
},
|
|
54642
|
+
},
|
|
54643
|
+
},
|
|
54644
|
+
[_vm._v("\n 处理\n ")]
|
|
54645
|
+
),
|
|
54646
|
+
_c(
|
|
54647
|
+
"span",
|
|
54648
|
+
{
|
|
54649
|
+
staticClass: "es-simplicity-message-overlook",
|
|
54650
|
+
on: {
|
|
54651
|
+
click: function ($event) {
|
|
54652
|
+
_vm.handleIgnore(item, index)
|
|
54653
|
+
},
|
|
54654
|
+
},
|
|
54655
|
+
},
|
|
54656
|
+
[_vm._v("\n 忽略\n ")]
|
|
54657
|
+
),
|
|
54260
54658
|
]),
|
|
54261
54659
|
]
|
|
54262
|
-
)
|
|
54263
|
-
|
|
54660
|
+
)
|
|
54661
|
+
}),
|
|
54662
|
+
0
|
|
54264
54663
|
),
|
|
54664
|
+
_c("div", { staticClass: "es-notice-footer" }, [
|
|
54665
|
+
_c(
|
|
54666
|
+
"span",
|
|
54667
|
+
{
|
|
54668
|
+
staticClass: "es-simplicity-message-overlook",
|
|
54669
|
+
on: { click: _vm.handleIgnoreAll },
|
|
54670
|
+
},
|
|
54671
|
+
[_vm._v("忽略全部")]
|
|
54672
|
+
),
|
|
54673
|
+
_c(
|
|
54674
|
+
"span",
|
|
54675
|
+
{
|
|
54676
|
+
staticClass: "es-simplicity-message-handler",
|
|
54677
|
+
on: { click: _vm.afterEnter },
|
|
54678
|
+
},
|
|
54679
|
+
[_vm._v("我知道了")]
|
|
54680
|
+
),
|
|
54681
|
+
]),
|
|
54265
54682
|
_c("es-dialog", {
|
|
54266
54683
|
attrs: {
|
|
54267
54684
|
title: "处理",
|
|
@@ -54284,11 +54701,11 @@ var noticevue_type_template_id_31787a15_render = function () {
|
|
|
54284
54701
|
]
|
|
54285
54702
|
)
|
|
54286
54703
|
}
|
|
54287
|
-
var
|
|
54288
|
-
|
|
54704
|
+
var noticevue_type_template_id_1c74f5bb_staticRenderFns = []
|
|
54705
|
+
noticevue_type_template_id_1c74f5bb_render._withStripped = true
|
|
54289
54706
|
|
|
54290
54707
|
|
|
54291
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=
|
|
54708
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=1c74f5bb&
|
|
54292
54709
|
|
|
54293
54710
|
// 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&
|
|
54294
54711
|
//
|
|
@@ -54345,11 +54762,20 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
54345
54762
|
//
|
|
54346
54763
|
//
|
|
54347
54764
|
//
|
|
54765
|
+
//
|
|
54766
|
+
//
|
|
54767
|
+
//
|
|
54768
|
+
//
|
|
54769
|
+
//
|
|
54770
|
+
//
|
|
54771
|
+
//
|
|
54772
|
+
//
|
|
54773
|
+
//
|
|
54348
54774
|
|
|
54349
54775
|
|
|
54350
54776
|
|
|
54351
54777
|
/* harmony default export */ var noticevue_type_script_lang_js_ = ({
|
|
54352
|
-
name: '
|
|
54778
|
+
name: 'Notice',
|
|
54353
54779
|
provide: function provide() {
|
|
54354
54780
|
return {
|
|
54355
54781
|
deleteNotice: this.handleRemove
|
|
@@ -54367,12 +54793,19 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
54367
54793
|
}
|
|
54368
54794
|
},
|
|
54369
54795
|
computed: {},
|
|
54796
|
+
watch: {
|
|
54797
|
+
data: {
|
|
54798
|
+
immediate: true,
|
|
54799
|
+
deep: true,
|
|
54800
|
+
handler: function handler(val) {
|
|
54801
|
+
this.msgs = val;
|
|
54802
|
+
}
|
|
54803
|
+
}
|
|
54804
|
+
},
|
|
54370
54805
|
data: function data() {
|
|
54371
54806
|
return {
|
|
54372
54807
|
//加载数据
|
|
54373
54808
|
loading: false,
|
|
54374
|
-
//消息页码
|
|
54375
|
-
pageNum: 1,
|
|
54376
54809
|
//消息数据,
|
|
54377
54810
|
msgs: [],
|
|
54378
54811
|
//即时消息
|
|
@@ -54394,20 +54827,38 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
54394
54827
|
this.$emit('opened', flag);
|
|
54395
54828
|
},
|
|
54396
54829
|
|
|
54830
|
+
//忽略
|
|
54831
|
+
handleIgnore: function handleIgnore(res, i) {
|
|
54832
|
+
var _this = this;
|
|
54833
|
+
|
|
54834
|
+
utils_util["a" /* default */].ajax({
|
|
54835
|
+
url: api["W" /* ignoreSysMsg */],
|
|
54836
|
+
params: {
|
|
54837
|
+
id: res.id
|
|
54838
|
+
}
|
|
54839
|
+
}).then(function (res) {
|
|
54840
|
+
if (res.rCode == 0) {
|
|
54841
|
+
_this.msgs.splice(i, 1);
|
|
54842
|
+
} else {
|
|
54843
|
+
var msg = res.msg || '系统错误,请联系管理员!';
|
|
54844
|
+
_this.$message.error(msg);
|
|
54845
|
+
}
|
|
54846
|
+
});
|
|
54847
|
+
},
|
|
54848
|
+
|
|
54397
54849
|
//全部忽略
|
|
54398
54850
|
handleIgnoreAll: function handleIgnoreAll() {
|
|
54399
|
-
var
|
|
54851
|
+
var _this2 = this;
|
|
54400
54852
|
|
|
54401
54853
|
utils_util["a" /* default */].ajax({
|
|
54402
54854
|
url: api["V" /* ignoreAllSysMsg */]
|
|
54403
|
-
}).then(function (res) {
|
|
54404
|
-
|
|
54405
|
-
|
|
54406
|
-
|
|
54407
|
-
_this.$emit('opened', false);
|
|
54855
|
+
}).then(function (res) {
|
|
54856
|
+
_this2.msgs = [];
|
|
54857
|
+
_this2.$emit('ignore', { type: 'ignore', value: 'all' });
|
|
54858
|
+
_this2.$emit('opened', false);
|
|
54408
54859
|
}).catch(function (err) {
|
|
54409
54860
|
if (err.message && err.message !== 'canceled') {
|
|
54410
|
-
|
|
54861
|
+
_this2.$message.error(err.message);
|
|
54411
54862
|
}
|
|
54412
54863
|
});
|
|
54413
54864
|
},
|
|
@@ -54450,8 +54901,8 @@ noticevue_type_template_id_31787a15_render._withStripped = true
|
|
|
54450
54901
|
|
|
54451
54902
|
var notice_component = normalizeComponent(
|
|
54452
54903
|
simplicity_noticevue_type_script_lang_js_,
|
|
54453
|
-
|
|
54454
|
-
|
|
54904
|
+
noticevue_type_template_id_1c74f5bb_render,
|
|
54905
|
+
noticevue_type_template_id_1c74f5bb_staticRenderFns,
|
|
54455
54906
|
false,
|
|
54456
54907
|
null,
|
|
54457
54908
|
null,
|
|
@@ -54460,8 +54911,8 @@ var notice_component = normalizeComponent(
|
|
|
54460
54911
|
)
|
|
54461
54912
|
|
|
54462
54913
|
/* harmony default export */ var notice = (notice_component.exports);
|
|
54463
|
-
// 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=
|
|
54464
|
-
var
|
|
54914
|
+
// 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&
|
|
54915
|
+
var settingsvue_type_template_id_48437ba0_render = function () {
|
|
54465
54916
|
var _vm = this
|
|
54466
54917
|
var _h = _vm.$createElement
|
|
54467
54918
|
var _c = _vm._self._c || _h
|
|
@@ -54542,11 +54993,11 @@ var settingsvue_type_template_id_8d47a100_render = function () {
|
|
|
54542
54993
|
]
|
|
54543
54994
|
)
|
|
54544
54995
|
}
|
|
54545
|
-
var
|
|
54546
|
-
|
|
54996
|
+
var settingsvue_type_template_id_48437ba0_staticRenderFns = []
|
|
54997
|
+
settingsvue_type_template_id_48437ba0_render._withStripped = true
|
|
54547
54998
|
|
|
54548
54999
|
|
|
54549
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=
|
|
55000
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
|
|
54550
55001
|
|
|
54551
55002
|
// 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&
|
|
54552
55003
|
//
|
|
@@ -54589,7 +55040,7 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
|
|
|
54589
55040
|
|
|
54590
55041
|
|
|
54591
55042
|
/* harmony default export */ var settingsvue_type_script_lang_js_ = ({
|
|
54592
|
-
name: '
|
|
55043
|
+
name: 'Message',
|
|
54593
55044
|
props: {
|
|
54594
55045
|
visible: Boolean,
|
|
54595
55046
|
//主题颜色选择颜色集合
|
|
@@ -54678,8 +55129,8 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
|
|
|
54678
55129
|
|
|
54679
55130
|
var settings_component = normalizeComponent(
|
|
54680
55131
|
simplicity_settingsvue_type_script_lang_js_,
|
|
54681
|
-
|
|
54682
|
-
|
|
55132
|
+
settingsvue_type_template_id_48437ba0_render,
|
|
55133
|
+
settingsvue_type_template_id_48437ba0_staticRenderFns,
|
|
54683
55134
|
false,
|
|
54684
55135
|
null,
|
|
54685
55136
|
null,
|
|
@@ -54688,10 +55139,25 @@ var settings_component = normalizeComponent(
|
|
|
54688
55139
|
)
|
|
54689
55140
|
|
|
54690
55141
|
/* harmony default export */ var settings = (settings_component.exports);
|
|
54691
|
-
// CONCATENATED MODULE: ./node_modules/
|
|
54692
|
-
var
|
|
55142
|
+
// 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&
|
|
55143
|
+
var router_pagevue_type_template_id_ec0c2718_scoped_true_render = function () {
|
|
55144
|
+
var _vm = this
|
|
55145
|
+
var _h = _vm.$createElement
|
|
55146
|
+
var _c = _vm._self._c || _h
|
|
55147
|
+
return _c(
|
|
55148
|
+
"keep-alive",
|
|
55149
|
+
[_c("router-view", { attrs: { name: _vm.appCode } })],
|
|
55150
|
+
1
|
|
55151
|
+
)
|
|
55152
|
+
}
|
|
55153
|
+
var router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns = []
|
|
55154
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_render._withStripped = true
|
|
54693
55155
|
|
|
54694
|
-
|
|
55156
|
+
|
|
55157
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=template&id=ec0c2718&scoped=true&
|
|
55158
|
+
|
|
55159
|
+
// 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&
|
|
55160
|
+
var router_pagevue_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; };
|
|
54695
55161
|
|
|
54696
55162
|
//
|
|
54697
55163
|
//
|
|
@@ -54699,6 +55165,77 @@ var simplicityvue_type_script_lang_js_this = undefined;
|
|
|
54699
55165
|
//
|
|
54700
55166
|
//
|
|
54701
55167
|
//
|
|
55168
|
+
|
|
55169
|
+
|
|
55170
|
+
/* harmony default export */ var router_pagevue_type_script_lang_js_ = ({
|
|
55171
|
+
name: 'RouterPage',
|
|
55172
|
+
components: {},
|
|
55173
|
+
props: {
|
|
55174
|
+
appCode: String,
|
|
55175
|
+
path: String,
|
|
55176
|
+
url: String,
|
|
55177
|
+
query: {
|
|
55178
|
+
type: Object,
|
|
55179
|
+
default: function _default() {
|
|
55180
|
+
return {};
|
|
55181
|
+
}
|
|
55182
|
+
},
|
|
55183
|
+
show: Boolean
|
|
55184
|
+
},
|
|
55185
|
+
data: function data() {
|
|
55186
|
+
return {
|
|
55187
|
+
params: {}
|
|
55188
|
+
};
|
|
55189
|
+
},
|
|
55190
|
+
|
|
55191
|
+
computed: {},
|
|
55192
|
+
watch: {
|
|
55193
|
+
show: function show(val) {
|
|
55194
|
+
if (val) {
|
|
55195
|
+
this.jump();
|
|
55196
|
+
}
|
|
55197
|
+
}
|
|
55198
|
+
},
|
|
55199
|
+
created: function created() {},
|
|
55200
|
+
mounted: function mounted() {
|
|
55201
|
+
this.params = utils_util["a" /* default */].getParams({ url: this.url });
|
|
55202
|
+
this.jump();
|
|
55203
|
+
},
|
|
55204
|
+
|
|
55205
|
+
methods: {
|
|
55206
|
+
jump: function jump() {
|
|
55207
|
+
this.$router.push({
|
|
55208
|
+
path: this.path,
|
|
55209
|
+
query: router_pagevue_type_script_lang_js_extends({}, this.query, this.params)
|
|
55210
|
+
});
|
|
55211
|
+
}
|
|
55212
|
+
}
|
|
55213
|
+
});
|
|
55214
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
|
|
55215
|
+
/* harmony default export */ var simplicity_router_pagevue_type_script_lang_js_ = (router_pagevue_type_script_lang_js_);
|
|
55216
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue
|
|
55217
|
+
|
|
55218
|
+
|
|
55219
|
+
|
|
55220
|
+
|
|
55221
|
+
|
|
55222
|
+
/* normalize component */
|
|
55223
|
+
|
|
55224
|
+
var router_page_component = normalizeComponent(
|
|
55225
|
+
simplicity_router_pagevue_type_script_lang_js_,
|
|
55226
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_render,
|
|
55227
|
+
router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns,
|
|
55228
|
+
false,
|
|
55229
|
+
null,
|
|
55230
|
+
"ec0c2718",
|
|
55231
|
+
null
|
|
55232
|
+
|
|
55233
|
+
)
|
|
55234
|
+
|
|
55235
|
+
/* harmony default export */ var router_page = (router_page_component.exports);
|
|
55236
|
+
// 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&
|
|
55237
|
+
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; };
|
|
55238
|
+
|
|
54702
55239
|
//
|
|
54703
55240
|
//
|
|
54704
55241
|
//
|
|
@@ -54978,16 +55515,7 @@ var simplicityvue_type_script_lang_js_this = undefined;
|
|
|
54978
55515
|
//
|
|
54979
55516
|
//
|
|
54980
55517
|
//
|
|
54981
|
-
|
|
54982
|
-
//
|
|
54983
|
-
//
|
|
54984
|
-
//
|
|
54985
|
-
//
|
|
54986
|
-
//
|
|
54987
|
-
//
|
|
54988
|
-
//
|
|
54989
|
-
//
|
|
54990
|
-
//
|
|
55518
|
+
|
|
54991
55519
|
|
|
54992
55520
|
|
|
54993
55521
|
|
|
@@ -55001,14 +55529,14 @@ var simplicityvue_type_script_lang_js_this = undefined;
|
|
|
55001
55529
|
|
|
55002
55530
|
|
|
55003
55531
|
var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
55004
|
-
var events = [function (tabs, index) {
|
|
55532
|
+
var events = [function (tabs, index, that) {
|
|
55005
55533
|
var tab = tabs[index];
|
|
55006
55534
|
|
|
55007
55535
|
if (tab.method == 'iframe') {
|
|
55008
55536
|
tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
55009
55537
|
} else {
|
|
55010
55538
|
tabs[index].refresh = false;
|
|
55011
|
-
|
|
55539
|
+
that.$nextTick(function () {
|
|
55012
55540
|
tabs[index].refresh = true;
|
|
55013
55541
|
});
|
|
55014
55542
|
}
|
|
@@ -55046,7 +55574,7 @@ var events = [function (tabs, index) {
|
|
|
55046
55574
|
return tabs;
|
|
55047
55575
|
}];
|
|
55048
55576
|
/* harmony default export */ var simplicityvue_type_script_lang_js_ = ({
|
|
55049
|
-
name: '
|
|
55577
|
+
name: 'Simplicity',
|
|
55050
55578
|
components: {
|
|
55051
55579
|
avatar: avatar,
|
|
55052
55580
|
handler: simplicity_handler,
|
|
@@ -55055,7 +55583,8 @@ var events = [function (tabs, index) {
|
|
|
55055
55583
|
user: simplicity_user,
|
|
55056
55584
|
message: simplicity_message,
|
|
55057
55585
|
notice: notice,
|
|
55058
|
-
settings: settings
|
|
55586
|
+
settings: settings,
|
|
55587
|
+
routerPage: router_page
|
|
55059
55588
|
},
|
|
55060
55589
|
props: {
|
|
55061
55590
|
appCode: String,
|
|
@@ -55137,10 +55666,13 @@ var events = [function (tabs, index) {
|
|
|
55137
55666
|
wjProps: Object,
|
|
55138
55667
|
//无界微前端Attrs属性
|
|
55139
55668
|
wjAttrs: Object,
|
|
55669
|
+
//菜单宽度
|
|
55140
55670
|
menuWidth: {
|
|
55141
55671
|
type: Number,
|
|
55142
55672
|
default: 220
|
|
55143
|
-
}
|
|
55673
|
+
},
|
|
55674
|
+
//路由方式
|
|
55675
|
+
routeType: String
|
|
55144
55676
|
},
|
|
55145
55677
|
data: function data() {
|
|
55146
55678
|
return {
|
|
@@ -55154,12 +55686,16 @@ var events = [function (tabs, index) {
|
|
|
55154
55686
|
userApps: [],
|
|
55155
55687
|
//所有菜单
|
|
55156
55688
|
menus: [],
|
|
55689
|
+
//菜单名称
|
|
55690
|
+
title: '',
|
|
55157
55691
|
//子菜单
|
|
55158
55692
|
subMenus: null,
|
|
55159
55693
|
//展示菜单导航
|
|
55160
55694
|
showMenu: false,
|
|
55161
|
-
|
|
55162
|
-
|
|
55695
|
+
//子菜单选中
|
|
55696
|
+
subActive: '',
|
|
55697
|
+
//折叠菜单
|
|
55698
|
+
fold: false,
|
|
55163
55699
|
//人工智能配置
|
|
55164
55700
|
aiConfig: null,
|
|
55165
55701
|
//公用窗口面板配置
|
|
@@ -55288,7 +55824,7 @@ var events = [function (tabs, index) {
|
|
|
55288
55824
|
utils_util["a" /* default */].win.refresh = this.handleRefresh;
|
|
55289
55825
|
utils_util["a" /* default */].win.jumpMenu = this.jumpMenu;
|
|
55290
55826
|
utils_util["a" /* default */].win.windowOpen = this.openPage;
|
|
55291
|
-
this.
|
|
55827
|
+
this.handleListener();
|
|
55292
55828
|
},
|
|
55293
55829
|
|
|
55294
55830
|
methods: {
|
|
@@ -55297,13 +55833,13 @@ var events = [function (tabs, index) {
|
|
|
55297
55833
|
* @author huangbo
|
|
55298
55834
|
* @date 2024年9月7日
|
|
55299
55835
|
**/
|
|
55300
|
-
hasRouter: function hasRouter(res, url, code
|
|
55836
|
+
hasRouter: function hasRouter(res, url, code) {
|
|
55301
55837
|
if (!url) {
|
|
55302
55838
|
return false;
|
|
55303
55839
|
}
|
|
55304
55840
|
if (Array.isArray(res)) {
|
|
55305
55841
|
for (var i in res) {
|
|
55306
|
-
var path = this.hasRouter(res[i], url, code
|
|
55842
|
+
var path = this.hasRouter(res[i], url, code);
|
|
55307
55843
|
if (path) {
|
|
55308
55844
|
return path;
|
|
55309
55845
|
}
|
|
@@ -55326,7 +55862,7 @@ var events = [function (tabs, index) {
|
|
|
55326
55862
|
return pathname;
|
|
55327
55863
|
}
|
|
55328
55864
|
if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
|
|
55329
|
-
var _path2 = this.hasRouter(res.children, url, code
|
|
55865
|
+
var _path2 = this.hasRouter(res.children, url, code);
|
|
55330
55866
|
if (_path2) {
|
|
55331
55867
|
return _path2;
|
|
55332
55868
|
}
|
|
@@ -55458,7 +55994,7 @@ var events = [function (tabs, index) {
|
|
|
55458
55994
|
* @date 2024年9月7日
|
|
55459
55995
|
**/
|
|
55460
55996
|
getApplications: function getApplications() {
|
|
55461
|
-
var
|
|
55997
|
+
var _this = this;
|
|
55462
55998
|
|
|
55463
55999
|
var loading = utils_util["a" /* default */].loading('', '加载中...');
|
|
55464
56000
|
utils_util["a" /* default */].ajax({
|
|
@@ -55473,29 +56009,29 @@ var events = [function (tabs, index) {
|
|
|
55473
56009
|
app_system = _res$results.app_system,
|
|
55474
56010
|
app_user = _res$results.app_user;
|
|
55475
56011
|
|
|
55476
|
-
|
|
56012
|
+
_this.userApps = app_user.filter(function (item) {
|
|
55477
56013
|
return item.permission !== false;
|
|
55478
56014
|
});
|
|
55479
|
-
|
|
55480
|
-
|
|
55481
|
-
|
|
55482
|
-
|
|
55483
|
-
|
|
55484
|
-
|
|
55485
|
-
|
|
56015
|
+
_this.applications = all;
|
|
56016
|
+
_this.business = app_special_business_system;
|
|
56017
|
+
_this.systems = app_system;
|
|
56018
|
+
_this.setTips(_this.userApps);
|
|
56019
|
+
_this.setTips(_this.applications);
|
|
56020
|
+
_this.setTips(_this.business);
|
|
56021
|
+
_this.setTips(_this.systems);
|
|
55486
56022
|
} else {
|
|
55487
|
-
|
|
56023
|
+
_this.$message.error('未分配应用菜单权限,请联系管理员!');
|
|
55488
56024
|
}
|
|
55489
|
-
|
|
56025
|
+
_this.getMenus(loading);
|
|
55490
56026
|
} else {
|
|
55491
56027
|
loading.close();
|
|
55492
56028
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
55493
|
-
|
|
56029
|
+
_this.$message.error(msg);
|
|
55494
56030
|
}
|
|
55495
56031
|
}).catch(function (err) {
|
|
55496
56032
|
loading.close();
|
|
55497
56033
|
if (err.message && err.message !== 'canceled') {
|
|
55498
|
-
|
|
56034
|
+
_this.$message.error(err.message);
|
|
55499
56035
|
}
|
|
55500
56036
|
});
|
|
55501
56037
|
},
|
|
@@ -55506,125 +56042,105 @@ var events = [function (tabs, index) {
|
|
|
55506
56042
|
* @date 2024年9月7日
|
|
55507
56043
|
**/
|
|
55508
56044
|
getMenus: function getMenus(loading) {
|
|
55509
|
-
var
|
|
56045
|
+
var _this2 = this;
|
|
55510
56046
|
|
|
55511
56047
|
utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
|
|
55512
56048
|
loading.close();
|
|
55513
56049
|
if (res.rCode === 0) {
|
|
55514
56050
|
if (res.results && res.results.length) {
|
|
55515
|
-
|
|
55516
|
-
|
|
55517
|
-
utils_store.set('nav',
|
|
55518
|
-
|
|
55519
|
-
|
|
55520
|
-
|
|
55521
|
-
return item.code === _this3.appCode;
|
|
56051
|
+
_this2.menus = res.results;
|
|
56052
|
+
_this2.setTips(_this2.menus);
|
|
56053
|
+
utils_store.set('nav', _this2.menus);
|
|
56054
|
+
if (_this2.appCode) {
|
|
56055
|
+
var app = _this2.userApps.filter(function (item) {
|
|
56056
|
+
return item.code === _this2.appCode;
|
|
55522
56057
|
})[0];
|
|
55523
56058
|
if (app) {
|
|
55524
|
-
|
|
56059
|
+
_this2.active = app.id;
|
|
55525
56060
|
if (app.url) {
|
|
55526
|
-
var
|
|
55527
|
-
if (
|
|
55528
|
-
var tab =
|
|
55529
|
-
|
|
55530
|
-
|
|
55531
|
-
if (tab.method == 'router') {
|
|
55532
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
55533
|
-
_this3.$router.push({
|
|
55534
|
-
path: tab.path,
|
|
55535
|
-
query: params
|
|
55536
|
-
});
|
|
55537
|
-
}
|
|
56061
|
+
var obj = _this2.getMenu(_this2.menus, app.url);
|
|
56062
|
+
if (obj) {
|
|
56063
|
+
var tab = _this2.setIframeType(obj);
|
|
56064
|
+
_this2.tabs = [tab];
|
|
56065
|
+
_this2.activeName = tab.id;
|
|
55538
56066
|
}
|
|
55539
56067
|
}
|
|
55540
56068
|
}
|
|
55541
|
-
|
|
55542
|
-
|
|
55543
|
-
if (
|
|
55544
|
-
|
|
55545
|
-
|
|
55546
|
-
|
|
55547
|
-
|
|
55548
|
-
|
|
55549
|
-
|
|
55550
|
-
|
|
55551
|
-
|
|
55552
|
-
var _params = utils_util["a" /* default */].getParams({ url: _tab.url });
|
|
55553
|
-
_this3.$router.push({
|
|
55554
|
-
path: _tab.path,
|
|
55555
|
-
query: _params
|
|
55556
|
-
});
|
|
55557
|
-
}
|
|
56069
|
+
var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
56070
|
+
if (subMenus) {
|
|
56071
|
+
if (_this2.tabs.length == 0) {
|
|
56072
|
+
var _obj = _this2.getFirst(subMenus);
|
|
56073
|
+
if (_obj) {
|
|
56074
|
+
_this2.subActive = _obj.id;
|
|
56075
|
+
var _tab = _this2.setIframeType(_obj);
|
|
56076
|
+
_this2.tabs = [_tab];
|
|
56077
|
+
_this2.activeName = _tab.id;
|
|
56078
|
+
} else {
|
|
56079
|
+
_this2.subActive = '';
|
|
55558
56080
|
}
|
|
55559
|
-
} else {
|
|
55560
|
-
_this3.subMenus = null;
|
|
55561
|
-
_this3.showMenu = false;
|
|
55562
56081
|
}
|
|
56082
|
+
_this2.subMenus = subMenus;
|
|
56083
|
+
_this2.showMenu = true;
|
|
56084
|
+
} else {
|
|
56085
|
+
_this2.subMenus = null;
|
|
56086
|
+
_this2.showMenu = false;
|
|
55563
56087
|
}
|
|
55564
|
-
|
|
55565
|
-
|
|
55566
|
-
|
|
55567
|
-
|
|
55568
|
-
|
|
55569
|
-
|
|
55570
|
-
|
|
55571
|
-
|
|
55572
|
-
_this3.tabs = [_tab2];
|
|
55573
|
-
_this3.activeName = _tab2.id;
|
|
55574
|
-
if (_tab2.method == 'router') {
|
|
55575
|
-
var _params2 = utils_util["a" /* default */].getParams({ url: _tab2.url });
|
|
55576
|
-
_this3.$router.push({
|
|
55577
|
-
path: _tab2.path,
|
|
55578
|
-
query: _params2
|
|
55579
|
-
});
|
|
56088
|
+
} else {
|
|
56089
|
+
if (_this2.indexUrl) {
|
|
56090
|
+
var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
|
|
56091
|
+
if (_obj2) {
|
|
56092
|
+
if (!_this2.appCode) {
|
|
56093
|
+
var _tab2 = _this2.setIframeType(_obj2);
|
|
56094
|
+
_this2.tabs = [_tab2];
|
|
56095
|
+
_this2.activeName = _tab2.id;
|
|
55580
56096
|
}
|
|
55581
|
-
|
|
55582
|
-
|
|
55583
|
-
|
|
55584
|
-
|
|
55585
|
-
|
|
55586
|
-
|
|
55587
|
-
|
|
55588
|
-
|
|
55589
|
-
|
|
55590
|
-
|
|
55591
|
-
|
|
55592
|
-
|
|
55593
|
-
|
|
55594
|
-
|
|
55595
|
-
|
|
55596
|
-
|
|
55597
|
-
|
|
55598
|
-
}
|
|
56097
|
+
_this2.homePage = _obj2;
|
|
56098
|
+
} else {
|
|
56099
|
+
_this2.homePage = _this2.setIframeType({
|
|
56100
|
+
url: _this2.indexUrl,
|
|
56101
|
+
text: '工作台',
|
|
56102
|
+
id: '0',
|
|
56103
|
+
appCode: 'indexUrl'
|
|
56104
|
+
});
|
|
56105
|
+
if (!_this2.appCode) {
|
|
56106
|
+
_this2.tabs = [_this2.homePage];
|
|
56107
|
+
_this2.activeName = '0';
|
|
56108
|
+
// if (this.homePage.method == 'router') {
|
|
56109
|
+
// let params = util.getParams({ url: this.homePage.url });
|
|
56110
|
+
// this.$router.push({
|
|
56111
|
+
// path: this.homePage.path,
|
|
56112
|
+
// query: { ...this.$parent.params, ...params }
|
|
56113
|
+
// });
|
|
56114
|
+
// }
|
|
55599
56115
|
}
|
|
55600
56116
|
}
|
|
55601
|
-
}
|
|
55602
|
-
|
|
55603
|
-
|
|
55604
|
-
|
|
55605
|
-
|
|
55606
|
-
|
|
55607
|
-
|
|
55608
|
-
|
|
55609
|
-
|
|
55610
|
-
|
|
55611
|
-
|
|
55612
|
-
|
|
55613
|
-
}
|
|
56117
|
+
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
56118
|
+
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
56119
|
+
if (_obj3) {
|
|
56120
|
+
var _tab3 = _this2.setIframeType(_obj3);
|
|
56121
|
+
_this2.tabs.push(_tab3);
|
|
56122
|
+
_this2.activeName = _tab3.id;
|
|
56123
|
+
// if (tab.method == 'router') {
|
|
56124
|
+
// let params = util.getParams({ url: tab.url });
|
|
56125
|
+
// this.$router.push({
|
|
56126
|
+
// path: tab.path,
|
|
56127
|
+
// query: { ...this.$parent.params, ...params }
|
|
56128
|
+
// });
|
|
56129
|
+
// }
|
|
55614
56130
|
}
|
|
55615
56131
|
}
|
|
55616
56132
|
}
|
|
55617
56133
|
} else {
|
|
55618
|
-
|
|
56134
|
+
_this2.$message.error('未分配菜单权限,请联系管理员!');
|
|
55619
56135
|
}
|
|
55620
56136
|
} else {
|
|
55621
56137
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
55622
|
-
|
|
56138
|
+
_this2.$message.error(msg);
|
|
55623
56139
|
}
|
|
55624
56140
|
}).catch(function (err) {
|
|
55625
56141
|
loading.close();
|
|
55626
56142
|
if (err.message && err.message !== 'canceled') {
|
|
55627
|
-
|
|
56143
|
+
_this2.$message.error(err.message);
|
|
55628
56144
|
}
|
|
55629
56145
|
});
|
|
55630
56146
|
},
|
|
@@ -55649,7 +56165,7 @@ var events = [function (tabs, index) {
|
|
|
55649
56165
|
var routes = this.$router.options.routes;
|
|
55650
56166
|
if (routes) {
|
|
55651
56167
|
var path = this.hasRouter(routes, urls[0], res.appCode);
|
|
55652
|
-
if (path) {
|
|
56168
|
+
if (path && this.routeType !== 'wujie') {
|
|
55653
56169
|
res.method = 'router';
|
|
55654
56170
|
res.path = path;
|
|
55655
56171
|
} else {
|
|
@@ -55691,14 +56207,14 @@ var events = [function (tabs, index) {
|
|
|
55691
56207
|
return item;
|
|
55692
56208
|
}
|
|
55693
56209
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
55694
|
-
var
|
|
55695
|
-
if (
|
|
55696
|
-
return
|
|
56210
|
+
var obj = this.getMenu(item.children, res, key);
|
|
56211
|
+
if (obj) {
|
|
56212
|
+
return obj;
|
|
55697
56213
|
}
|
|
55698
56214
|
} else if (Object.prototype.hasOwnProperty.call(item, 'fourthTabs') && item.fourthTabs.length) {
|
|
55699
|
-
var
|
|
55700
|
-
if (
|
|
55701
|
-
return
|
|
56215
|
+
var _obj4 = this.getMenu(item.fourthTabs, res, key);
|
|
56216
|
+
if (_obj4) {
|
|
56217
|
+
return _obj4;
|
|
55702
56218
|
}
|
|
55703
56219
|
}
|
|
55704
56220
|
}
|
|
@@ -55734,11 +56250,11 @@ var events = [function (tabs, index) {
|
|
|
55734
56250
|
* @date 2024年9月7日
|
|
55735
56251
|
**/
|
|
55736
56252
|
setTips: function setTips(obj) {
|
|
55737
|
-
var
|
|
56253
|
+
var _this3 = this;
|
|
55738
56254
|
|
|
55739
56255
|
if (Array.isArray(obj)) {
|
|
55740
56256
|
obj.forEach(function (item) {
|
|
55741
|
-
|
|
56257
|
+
_this3.setTips(item);
|
|
55742
56258
|
});
|
|
55743
56259
|
} else {
|
|
55744
56260
|
if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
|
|
@@ -55748,7 +56264,7 @@ var events = [function (tabs, index) {
|
|
|
55748
56264
|
var flag = 0;
|
|
55749
56265
|
if (obj.children && obj.children.length) {
|
|
55750
56266
|
obj.children.forEach(function (item) {
|
|
55751
|
-
var n =
|
|
56267
|
+
var n = _this3.setTips(item);
|
|
55752
56268
|
flag += n ? parseInt(n) : 0;
|
|
55753
56269
|
});
|
|
55754
56270
|
if (flag) {
|
|
@@ -55757,7 +56273,7 @@ var events = [function (tabs, index) {
|
|
|
55757
56273
|
}
|
|
55758
56274
|
} else if (obj.fourthTabs && obj.fourthTabs.length) {
|
|
55759
56275
|
obj.fourthTabs.forEach(function (item) {
|
|
55760
|
-
var n =
|
|
56276
|
+
var n = _this3.setTips(item);
|
|
55761
56277
|
flag += n ? parseInt(n) : 0;
|
|
55762
56278
|
});
|
|
55763
56279
|
if (flag) {
|
|
@@ -55765,8 +56281,9 @@ var events = [function (tabs, index) {
|
|
|
55765
56281
|
return flag;
|
|
55766
56282
|
}
|
|
55767
56283
|
} else {
|
|
55768
|
-
|
|
55769
|
-
|
|
56284
|
+
var num = this.menuTips[obj.id] || this.menuTips[obj.code];
|
|
56285
|
+
if (num && Number(num)) {
|
|
56286
|
+
this.$set(obj, 'tips', Number(num));
|
|
55770
56287
|
return this.menuTips[obj.id];
|
|
55771
56288
|
}
|
|
55772
56289
|
}
|
|
@@ -55797,7 +56314,7 @@ var events = [function (tabs, index) {
|
|
|
55797
56314
|
* @date 2024年9月7日
|
|
55798
56315
|
**/
|
|
55799
56316
|
initWebSocket: function initWebSocket() {
|
|
55800
|
-
var
|
|
56317
|
+
var _this4 = this;
|
|
55801
56318
|
|
|
55802
56319
|
this.webSocket = utils_util["a" /* default */].socket({
|
|
55803
56320
|
url: api["cc" /* wss */],
|
|
@@ -55807,32 +56324,32 @@ var events = [function (tabs, index) {
|
|
|
55807
56324
|
for (var i in data) {
|
|
55808
56325
|
if (data[i] !== null && data[i] !== undefined) {
|
|
55809
56326
|
if (i === 'onlineUserNums' && data[i] > 0) {
|
|
55810
|
-
|
|
56327
|
+
_this4.online = data[i];
|
|
55811
56328
|
}
|
|
55812
56329
|
if (i === 'sysMsgNums') {
|
|
55813
|
-
|
|
55814
|
-
if (
|
|
55815
|
-
|
|
56330
|
+
_this4.notice = data[i];
|
|
56331
|
+
if (_this4.showMsg) {
|
|
56332
|
+
_this4.$refs.message.getMsg(true);
|
|
55816
56333
|
}
|
|
55817
56334
|
}
|
|
55818
56335
|
if (i === 'menuTipsMap') {
|
|
55819
|
-
|
|
56336
|
+
_this4.menuTips = data[i];
|
|
55820
56337
|
}
|
|
55821
56338
|
if (i === 'sysMsgList') {
|
|
55822
|
-
|
|
56339
|
+
_this4.sysMsg = data[i];
|
|
55823
56340
|
}
|
|
55824
56341
|
if (i === 'extraData') {
|
|
55825
|
-
|
|
56342
|
+
_this4.extraData = data[i];
|
|
55826
56343
|
}
|
|
55827
56344
|
}
|
|
55828
56345
|
}
|
|
55829
|
-
if (
|
|
56346
|
+
if (_this4.$store) {
|
|
55830
56347
|
try {
|
|
55831
|
-
|
|
56348
|
+
_this4.$store.commit('websocket', data);
|
|
55832
56349
|
} catch (error) {}
|
|
55833
56350
|
}
|
|
55834
|
-
if (
|
|
55835
|
-
|
|
56351
|
+
if (_this4.$eventBus) {
|
|
56352
|
+
_this4.$eventBus.$emit('websocket', data);
|
|
55836
56353
|
}
|
|
55837
56354
|
if (utils_util["a" /* default */].win.eventBus) {
|
|
55838
56355
|
utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
|
|
@@ -55847,6 +56364,8 @@ var events = [function (tabs, index) {
|
|
|
55847
56364
|
* @date 2024年9月7日
|
|
55848
56365
|
**/
|
|
55849
56366
|
handlerClickApp: function handlerClickApp(res) {
|
|
56367
|
+
this.showMsg = false;
|
|
56368
|
+
this.showSet = false;
|
|
55850
56369
|
if (res) {
|
|
55851
56370
|
if (res.permission === false) {
|
|
55852
56371
|
return false;
|
|
@@ -55855,8 +56374,6 @@ var events = [function (tabs, index) {
|
|
|
55855
56374
|
this.subMenus = res;
|
|
55856
56375
|
this.showMenu = true;
|
|
55857
56376
|
this.showApps = false;
|
|
55858
|
-
this.width = this.menuWidth;
|
|
55859
|
-
this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
|
|
55860
56377
|
} else {
|
|
55861
56378
|
var set = true;
|
|
55862
56379
|
if (res.url) {
|
|
@@ -55871,25 +56388,16 @@ var events = [function (tabs, index) {
|
|
|
55871
56388
|
this.activeName = res.id;
|
|
55872
56389
|
if (i == -1) {
|
|
55873
56390
|
var tab = this.setIframeType(res);
|
|
55874
|
-
this.tabs.push(
|
|
55875
|
-
if (tab.method == 'router') {
|
|
55876
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
55877
|
-
this.$router.push({
|
|
55878
|
-
path: tab.path,
|
|
55879
|
-
query: params
|
|
55880
|
-
});
|
|
55881
|
-
}
|
|
56391
|
+
this.tabs.push(tab);
|
|
55882
56392
|
}
|
|
55883
56393
|
}
|
|
55884
56394
|
}
|
|
55885
56395
|
if (set && res.code) {
|
|
55886
56396
|
var subMenus = this.getMenu(this.menus, res.code, 'appCode');
|
|
55887
|
-
|
|
56397
|
+
this.title = res.text || res.name;
|
|
55888
56398
|
this.subMenus = subMenus ? subMenus : null;
|
|
55889
56399
|
this.showMenu = subMenus !== false;
|
|
55890
56400
|
this.showApps = false;
|
|
55891
|
-
this.width = this.menuWidth;
|
|
55892
|
-
this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
|
|
55893
56401
|
}
|
|
55894
56402
|
}
|
|
55895
56403
|
this.active = res.id;
|
|
@@ -55899,15 +56407,6 @@ var events = [function (tabs, index) {
|
|
|
55899
56407
|
}
|
|
55900
56408
|
},
|
|
55901
56409
|
|
|
55902
|
-
/**
|
|
55903
|
-
* @desc:显示菜单界面
|
|
55904
|
-
* @author huangbo
|
|
55905
|
-
* @date 2024年9月7日
|
|
55906
|
-
**/
|
|
55907
|
-
handleShowMenus: function handleShowMenus() {
|
|
55908
|
-
this.showMenu = true;
|
|
55909
|
-
},
|
|
55910
|
-
|
|
55911
56410
|
/**
|
|
55912
56411
|
* @desc:显示Drawer界面
|
|
55913
56412
|
* @author huangbo
|
|
@@ -55937,24 +56436,13 @@ var events = [function (tabs, index) {
|
|
|
55937
56436
|
* @date 2024年9月7日
|
|
55938
56437
|
**/
|
|
55939
56438
|
handlerClickMenu: function handlerClickMenu(res) {
|
|
55940
|
-
|
|
55941
|
-
|
|
55942
|
-
|
|
55943
|
-
|
|
55944
|
-
|
|
55945
|
-
|
|
55946
|
-
|
|
55947
|
-
var tab = this.setIframeType(res);
|
|
55948
|
-
this.tabs.push(tab);
|
|
55949
|
-
if (tab.method == 'router') {
|
|
55950
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
55951
|
-
this.$router.push({
|
|
55952
|
-
path: tab.path,
|
|
55953
|
-
query: params
|
|
55954
|
-
});
|
|
55955
|
-
}
|
|
55956
|
-
}
|
|
55957
|
-
this.showMenu = false;
|
|
56439
|
+
this.showMsg = false;
|
|
56440
|
+
this.showSet = false;
|
|
56441
|
+
var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
|
|
56442
|
+
this.activeName = res.id;
|
|
56443
|
+
if (i == -1) {
|
|
56444
|
+
var tab = this.setIframeType(res);
|
|
56445
|
+
this.tabs.push(tab);
|
|
55958
56446
|
}
|
|
55959
56447
|
},
|
|
55960
56448
|
|
|
@@ -55994,7 +56482,14 @@ var events = [function (tabs, index) {
|
|
|
55994
56482
|
* @date 2024年9月7日
|
|
55995
56483
|
**/
|
|
55996
56484
|
handleRefresh: function handleRefresh() {
|
|
55997
|
-
this.
|
|
56485
|
+
var tab = this.tabs[this.activeName];
|
|
56486
|
+
if (tab.method === 'iframe') {
|
|
56487
|
+
tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
56488
|
+
}
|
|
56489
|
+
tab.refresh = false;
|
|
56490
|
+
this.$nextTick(function () {
|
|
56491
|
+
tab.refresh = true;
|
|
56492
|
+
});
|
|
55998
56493
|
},
|
|
55999
56494
|
|
|
56000
56495
|
/**
|
|
@@ -56034,6 +56529,9 @@ var events = [function (tabs, index) {
|
|
|
56034
56529
|
if (this.tabs.length == 1) {
|
|
56035
56530
|
disabled.other = true;
|
|
56036
56531
|
}
|
|
56532
|
+
if (this.tabs[index].id != this.activeName) {
|
|
56533
|
+
disabled.refresh = true;
|
|
56534
|
+
}
|
|
56037
56535
|
this.isDisabled = disabled;
|
|
56038
56536
|
this.$refs.tabsHandler.$el.style.setProperty('left', e.x + 'px');
|
|
56039
56537
|
this.$refs.tabsHandler.$el.style.setProperty('top', e.y + 'px');
|
|
@@ -56086,6 +56584,8 @@ var events = [function (tabs, index) {
|
|
|
56086
56584
|
this.handleQuit();
|
|
56087
56585
|
break;
|
|
56088
56586
|
case 'online':
|
|
56587
|
+
this.showMsg = false;
|
|
56588
|
+
this.showSet = false;
|
|
56089
56589
|
if (this.onlineUrl) {
|
|
56090
56590
|
this.dialog = {
|
|
56091
56591
|
title: '查看在线人员',
|
|
@@ -56096,9 +56596,11 @@ var events = [function (tabs, index) {
|
|
|
56096
56596
|
break;
|
|
56097
56597
|
case 'notice':
|
|
56098
56598
|
this.showMsg = !this.showMsg;
|
|
56599
|
+
this.showSet = false;
|
|
56099
56600
|
break;
|
|
56100
56601
|
case 'set':
|
|
56101
56602
|
this.showSet = !this.showSet;
|
|
56603
|
+
this.showMsg = false;
|
|
56102
56604
|
break;
|
|
56103
56605
|
case 'home':
|
|
56104
56606
|
if (this.homePage.id !== this.activeName) {
|
|
@@ -56107,10 +56609,14 @@ var events = [function (tabs, index) {
|
|
|
56107
56609
|
this.tabs.unshift(this.homePage);
|
|
56108
56610
|
}
|
|
56109
56611
|
this.activeName = this.homePage.id;
|
|
56612
|
+
this.showMsg = false;
|
|
56613
|
+
this.showSet = false;
|
|
56110
56614
|
}
|
|
56111
56615
|
break;
|
|
56112
56616
|
case 'search':
|
|
56113
56617
|
this.handlerSetDrawer(res);
|
|
56618
|
+
this.showMsg = false;
|
|
56619
|
+
this.showSet = false;
|
|
56114
56620
|
break;
|
|
56115
56621
|
case 'goView':
|
|
56116
56622
|
utils_util["a" /* default */].win.open(res.path, '_blank');
|
|
@@ -56126,7 +56632,7 @@ var events = [function (tabs, index) {
|
|
|
56126
56632
|
* @date 2024年9月7日
|
|
56127
56633
|
**/
|
|
56128
56634
|
handleQuit: function handleQuit() {
|
|
56129
|
-
var
|
|
56635
|
+
var _this5 = this;
|
|
56130
56636
|
|
|
56131
56637
|
this.$confirm('确定注销吗?', '退出系统', {
|
|
56132
56638
|
confirmButtonText: '确定',
|
|
@@ -56136,8 +56642,8 @@ var events = [function (tabs, index) {
|
|
|
56136
56642
|
utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
56137
56643
|
if (res.rCode == 0) {
|
|
56138
56644
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
56139
|
-
if (
|
|
56140
|
-
|
|
56645
|
+
if (_this5.onQuit && typeof _this5.onQuit === 'function') {
|
|
56646
|
+
_this5.onQuit();
|
|
56141
56647
|
} else {
|
|
56142
56648
|
try {
|
|
56143
56649
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
@@ -56175,7 +56681,7 @@ var events = [function (tabs, index) {
|
|
|
56175
56681
|
}
|
|
56176
56682
|
}).catch(function (err) {
|
|
56177
56683
|
if (err.message && err.message !== 'canceled') {
|
|
56178
|
-
|
|
56684
|
+
_this5.$message.error(err.message);
|
|
56179
56685
|
}
|
|
56180
56686
|
});
|
|
56181
56687
|
}).catch(function (e) {});
|
|
@@ -56220,20 +56726,20 @@ var events = [function (tabs, index) {
|
|
|
56220
56726
|
* @date 2024年9月7日
|
|
56221
56727
|
**/
|
|
56222
56728
|
handleOpened: function handleOpened(res) {
|
|
56223
|
-
var
|
|
56729
|
+
var _this6 = this;
|
|
56224
56730
|
|
|
56225
56731
|
if (res === undefined) {
|
|
56226
56732
|
this.sysMsg = [];
|
|
56227
56733
|
} else if (res == false && this.sysMsg.length) {
|
|
56228
56734
|
this.sysMsgOut = setTimeout(function () {
|
|
56229
|
-
|
|
56735
|
+
_this6.sysMsg = [];
|
|
56230
56736
|
}, 3000);
|
|
56231
56737
|
} else if (this.sysMsgOut) {
|
|
56232
56738
|
clearTimeout(this.sysMsgOut);
|
|
56233
56739
|
}
|
|
56234
56740
|
},
|
|
56235
56741
|
handleReLogin: function handleReLogin(res) {
|
|
56236
|
-
var
|
|
56742
|
+
var _this7 = this;
|
|
56237
56743
|
|
|
56238
56744
|
if (res && typeof res == 'string') {
|
|
56239
56745
|
res = JSON.parse(res);
|
|
@@ -56263,7 +56769,7 @@ var events = [function (tabs, index) {
|
|
|
56263
56769
|
clearTimeout(this.timer);
|
|
56264
56770
|
this.timer = setTimeout(function () {
|
|
56265
56771
|
sessionStorage.setItem('remind', 1);
|
|
56266
|
-
|
|
56772
|
+
_this7.$confirm(msg, btn).then(function () {
|
|
56267
56773
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
56268
56774
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
56269
56775
|
try {
|
|
@@ -56330,7 +56836,10 @@ var events = [function (tabs, index) {
|
|
|
56330
56836
|
}
|
|
56331
56837
|
},
|
|
56332
56838
|
jumpMenu: function jumpMenu(res) {
|
|
56333
|
-
var apps = res
|
|
56839
|
+
var apps = res;
|
|
56840
|
+
if (typeof res === 'string') {
|
|
56841
|
+
apps = res.split(',');
|
|
56842
|
+
}
|
|
56334
56843
|
var obj = this.getMenu(this.menus, apps[apps.length - 1]);
|
|
56335
56844
|
if (obj) {
|
|
56336
56845
|
var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
|
|
@@ -56339,84 +56848,23 @@ var events = [function (tabs, index) {
|
|
|
56339
56848
|
if (i == -1) {
|
|
56340
56849
|
var tab = this.setIframeType(obj);
|
|
56341
56850
|
this.tabs.splice(n + 1, 0, tab);
|
|
56342
|
-
if (tab.method == 'router') {
|
|
56343
|
-
var params = utils_util["a" /* default */].getParams({ url: tab.url });
|
|
56344
|
-
this.$router.push({
|
|
56345
|
-
path: tab.path,
|
|
56346
|
-
query: params
|
|
56347
|
-
});
|
|
56348
|
-
}
|
|
56349
56851
|
}
|
|
56350
56852
|
} else {
|
|
56351
56853
|
this.$message.error('没有此菜单!');
|
|
56352
56854
|
}
|
|
56353
56855
|
},
|
|
56354
56856
|
|
|
56355
|
-
|
|
56356
|
-
|
|
56357
|
-
var
|
|
56358
|
-
|
|
56359
|
-
var area = this.$refs.area;
|
|
56360
|
-
var box = this.$refs.box;
|
|
56361
|
-
var sTime = 0,
|
|
56362
|
-
eTime = 0;
|
|
56363
|
-
|
|
56364
|
-
area.addEventListener('mousedown', function (e) {
|
|
56365
|
-
sTime = new Date().getTime();
|
|
56366
|
-
var downY = e.y,
|
|
56367
|
-
downX = e.x;
|
|
56368
|
-
|
|
56369
|
-
var _document$body$getBou = document.body.getBoundingClientRect(),
|
|
56370
|
-
winH = _document$body$getBou.height,
|
|
56371
|
-
winW = _document$body$getBou.width;
|
|
56372
|
-
//防止拖动期间选中和复制网页文本
|
|
56373
|
-
|
|
56374
|
-
|
|
56375
|
-
document.body.onselectstart = document.body.oncontextmenu = function () {
|
|
56376
|
-
return false;
|
|
56377
|
-
};
|
|
56378
|
-
document.onmousemove = function (eve) {
|
|
56379
|
-
var size = 40;
|
|
56380
|
-
var moveY = eve.y,
|
|
56381
|
-
moveX = eve.x;
|
|
56382
|
-
|
|
56383
|
-
var _box$getBoundingClien = box.getBoundingClientRect(),
|
|
56384
|
-
boxTop = _box$getBoundingClien.top,
|
|
56385
|
-
boxLeft = _box$getBoundingClien.left;
|
|
56857
|
+
//监听改变菜单
|
|
56858
|
+
handleListener: function handleListener() {
|
|
56859
|
+
var _this8 = this;
|
|
56386
56860
|
|
|
56387
|
-
|
|
56388
|
-
|
|
56389
|
-
|
|
56390
|
-
|
|
56391
|
-
|
|
56392
|
-
|
|
56393
|
-
|
|
56394
|
-
boxTop = 60;
|
|
56395
|
-
}
|
|
56396
|
-
if (boxLeft < 80) {
|
|
56397
|
-
boxLeft = 80;
|
|
56398
|
-
}
|
|
56399
|
-
box.style.top = boxTop + 'px';
|
|
56400
|
-
box.style.left = boxLeft + 'px';
|
|
56401
|
-
downY = moveY;
|
|
56402
|
-
downX = moveX;
|
|
56403
|
-
};
|
|
56404
|
-
document.onmouseup = function () {
|
|
56405
|
-
eTime = new Date().getTime();
|
|
56406
|
-
var isClick = eTime - sTime < 200;
|
|
56407
|
-
if (isClick) {
|
|
56408
|
-
var onArea = function onArea() {
|
|
56409
|
-
_this9.subMenu = [];
|
|
56410
|
-
area.removeEventListener('click', onArea);
|
|
56411
|
-
};
|
|
56412
|
-
area.addEventListener('click', onArea);
|
|
56413
|
-
}
|
|
56414
|
-
document.onmousemove = null;
|
|
56415
|
-
document.body.onselectstart = document.body.oncontextmenu = function () {
|
|
56416
|
-
return true;
|
|
56417
|
-
};
|
|
56418
|
-
};
|
|
56419
|
-
});
|
|
56861
|
+
utils_util["a" /* default */].win.addEventListener('message', function (e) {
|
|
56862
|
+
var msg = e.data;
|
|
56863
|
+
if (msg.key == 'jump_Menu') {
|
|
56864
|
+
var res = msg.data1;
|
|
56865
|
+
_this8.jumpMenu(res);
|
|
56866
|
+
}
|
|
56867
|
+
}, false);
|
|
56420
56868
|
}
|
|
56421
56869
|
},
|
|
56422
56870
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -56439,18 +56887,18 @@ var events = [function (tabs, index) {
|
|
|
56439
56887
|
|
|
56440
56888
|
var simplicity_component = normalizeComponent(
|
|
56441
56889
|
src_simplicityvue_type_script_lang_js_,
|
|
56442
|
-
|
|
56443
|
-
|
|
56890
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render,
|
|
56891
|
+
simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns,
|
|
56444
56892
|
false,
|
|
56445
56893
|
null,
|
|
56446
|
-
"
|
|
56894
|
+
"4a717394",
|
|
56447
56895
|
null
|
|
56448
56896
|
|
|
56449
56897
|
)
|
|
56450
56898
|
|
|
56451
56899
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
56452
|
-
// 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=
|
|
56453
|
-
var
|
|
56900
|
+
// 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=4cc95bd1&
|
|
56901
|
+
var defaultvue_type_template_id_4cc95bd1_render = function () {
|
|
56454
56902
|
var _vm = this
|
|
56455
56903
|
var _h = _vm.$createElement
|
|
56456
56904
|
var _c = _vm._self._c || _h
|
|
@@ -56830,11 +57278,11 @@ var defaultvue_type_template_id_1527d603_render = function () {
|
|
|
56830
57278
|
1
|
|
56831
57279
|
)
|
|
56832
57280
|
}
|
|
56833
|
-
var
|
|
56834
|
-
|
|
57281
|
+
var defaultvue_type_template_id_4cc95bd1_staticRenderFns = []
|
|
57282
|
+
defaultvue_type_template_id_4cc95bd1_render._withStripped = true
|
|
56835
57283
|
|
|
56836
57284
|
|
|
56837
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
57285
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
|
|
56838
57286
|
|
|
56839
57287
|
// 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&
|
|
56840
57288
|
var userinfovue_type_template_id_bd3da0e0_render = function () {
|
|
@@ -58751,7 +59199,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
|
|
|
58751
59199
|
var log = utils_util["a" /* default */].getParams('console');
|
|
58752
59200
|
var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
|
|
58753
59201
|
/* harmony default export */ var defaultvue_type_script_lang_js_ = ({
|
|
58754
|
-
name: '
|
|
59202
|
+
name: 'MainDefault',
|
|
58755
59203
|
inheritAttrs: false,
|
|
58756
59204
|
provide: function provide() {
|
|
58757
59205
|
return {
|
|
@@ -60559,8 +61007,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
60559
61007
|
|
|
60560
61008
|
var default_component = normalizeComponent(
|
|
60561
61009
|
src_defaultvue_type_script_lang_js_,
|
|
60562
|
-
|
|
60563
|
-
|
|
61010
|
+
defaultvue_type_template_id_4cc95bd1_render,
|
|
61011
|
+
defaultvue_type_template_id_4cc95bd1_staticRenderFns,
|
|
60564
61012
|
false,
|
|
60565
61013
|
null,
|
|
60566
61014
|
null,
|
|
@@ -60601,8 +61049,8 @@ var default_component = normalizeComponent(
|
|
|
60601
61049
|
},
|
|
60602
61050
|
|
|
60603
61051
|
components: {
|
|
60604
|
-
|
|
60605
|
-
|
|
61052
|
+
Simplicity: simplicity,
|
|
61053
|
+
MainDefault: src_default
|
|
60606
61054
|
},
|
|
60607
61055
|
props: {
|
|
60608
61056
|
type: String
|
|
@@ -60611,13 +61059,14 @@ var default_component = normalizeComponent(
|
|
|
60611
61059
|
watch: {},
|
|
60612
61060
|
data: function data() {
|
|
60613
61061
|
return {
|
|
60614
|
-
appCode: ''
|
|
61062
|
+
appCode: '',
|
|
61063
|
+
params: {}
|
|
60615
61064
|
};
|
|
60616
61065
|
},
|
|
60617
61066
|
created: function created() {
|
|
60618
|
-
|
|
60619
|
-
this.appCode = params.appCode;
|
|
60620
|
-
this.getConfig(params);
|
|
61067
|
+
this.params = utils_util["a" /* default */].getParams() || {};
|
|
61068
|
+
this.appCode = this.params.appCode;
|
|
61069
|
+
this.getConfig(this.params);
|
|
60621
61070
|
},
|
|
60622
61071
|
mounted: function mounted() {},
|
|
60623
61072
|
|
|
@@ -60655,8 +61104,8 @@ var default_component = normalizeComponent(
|
|
|
60655
61104
|
|
|
60656
61105
|
var main_src_main_component = normalizeComponent(
|
|
60657
61106
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
60658
|
-
|
|
60659
|
-
|
|
61107
|
+
mainvue_type_template_id_6aa3a502_render,
|
|
61108
|
+
mainvue_type_template_id_6aa3a502_staticRenderFns,
|
|
60660
61109
|
false,
|
|
60661
61110
|
null,
|
|
60662
61111
|
null,
|
|
@@ -65619,8 +66068,8 @@ select_ganged_src_main.install = function (Vue) {
|
|
|
65619
66068
|
};
|
|
65620
66069
|
|
|
65621
66070
|
/* harmony default export */ var select_ganged = (select_ganged_src_main);
|
|
65622
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
65623
|
-
var
|
|
66071
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=46b6892e&
|
|
66072
|
+
var mainvue_type_template_id_46b6892e_render = function () {
|
|
65624
66073
|
var _vm = this
|
|
65625
66074
|
var _h = _vm.$createElement
|
|
65626
66075
|
var _c = _vm._self._c || _h
|
|
@@ -65840,7 +66289,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
|
|
|
65840
66289
|
placeholder: _vm.currentPlaceholder,
|
|
65841
66290
|
size: _vm.selectorSize,
|
|
65842
66291
|
disabled: _vm.selectorDisabled,
|
|
65843
|
-
tabindex: _vm.
|
|
66292
|
+
tabindex: _vm.tabindex,
|
|
65844
66293
|
},
|
|
65845
66294
|
on: {
|
|
65846
66295
|
focus: _vm.handleFocus,
|
|
@@ -65936,7 +66385,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
|
|
|
65936
66385
|
placeholder: _vm.currentPlaceholder,
|
|
65937
66386
|
size: _vm.selectorSize,
|
|
65938
66387
|
disabled: _vm.selectorDisabled,
|
|
65939
|
-
tabindex: _vm.
|
|
66388
|
+
tabindex: _vm.tabindex,
|
|
65940
66389
|
},
|
|
65941
66390
|
on: { clear: _vm.handleClear },
|
|
65942
66391
|
nativeOn: {
|
|
@@ -66122,11 +66571,11 @@ var mainvue_type_template_id_3cff1a50_render = function () {
|
|
|
66122
66571
|
)
|
|
66123
66572
|
: _vm._e()
|
|
66124
66573
|
}
|
|
66125
|
-
var
|
|
66126
|
-
|
|
66574
|
+
var mainvue_type_template_id_46b6892e_staticRenderFns = []
|
|
66575
|
+
mainvue_type_template_id_46b6892e_render._withStripped = true
|
|
66127
66576
|
|
|
66128
66577
|
|
|
66129
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
66578
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=46b6892e&
|
|
66130
66579
|
|
|
66131
66580
|
// EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
|
|
66132
66581
|
var clickoutside_ = __webpack_require__(17);
|
|
@@ -66431,6 +66880,10 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
66431
66880
|
return ['enterprise', 'person'];
|
|
66432
66881
|
}
|
|
66433
66882
|
},
|
|
66883
|
+
tabindex: {
|
|
66884
|
+
type: [String, Number],
|
|
66885
|
+
default: -1
|
|
66886
|
+
},
|
|
66434
66887
|
filterable: {
|
|
66435
66888
|
type: Boolean,
|
|
66436
66889
|
default: false
|
|
@@ -66786,8 +67239,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
66786
67239
|
|
|
66787
67240
|
var selector_src_main_component = normalizeComponent(
|
|
66788
67241
|
packages_selector_src_mainvue_type_script_lang_js_,
|
|
66789
|
-
|
|
66790
|
-
|
|
67242
|
+
mainvue_type_template_id_46b6892e_render,
|
|
67243
|
+
mainvue_type_template_id_46b6892e_staticRenderFns,
|
|
66791
67244
|
false,
|
|
66792
67245
|
null,
|
|
66793
67246
|
null,
|
|
@@ -66804,8 +67257,8 @@ selector_src_main.install = function (Vue) {
|
|
|
66804
67257
|
};
|
|
66805
67258
|
|
|
66806
67259
|
/* harmony default export */ var selector = (selector_src_main);
|
|
66807
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
66808
|
-
var
|
|
67260
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=1709cc6f&
|
|
67261
|
+
var mainvue_type_template_id_1709cc6f_render = function () {
|
|
66809
67262
|
var _vm = this
|
|
66810
67263
|
var _h = _vm.$createElement
|
|
66811
67264
|
var _c = _vm._self._c || _h
|
|
@@ -66862,6 +67315,22 @@ var mainvue_type_template_id_b9200bd8_render = function () {
|
|
|
66862
67315
|
},
|
|
66863
67316
|
},
|
|
66864
67317
|
[
|
|
67318
|
+
_c(
|
|
67319
|
+
"el-form-item",
|
|
67320
|
+
[
|
|
67321
|
+
_c("es-switch", {
|
|
67322
|
+
attrs: { data: _vm.options },
|
|
67323
|
+
model: {
|
|
67324
|
+
value: _vm.showDisabled,
|
|
67325
|
+
callback: function ($$v) {
|
|
67326
|
+
_vm.showDisabled = $$v
|
|
67327
|
+
},
|
|
67328
|
+
expression: "showDisabled",
|
|
67329
|
+
},
|
|
67330
|
+
}),
|
|
67331
|
+
],
|
|
67332
|
+
1
|
|
67333
|
+
),
|
|
66865
67334
|
_c(
|
|
66866
67335
|
"el-form-item",
|
|
66867
67336
|
[
|
|
@@ -66987,6 +67456,7 @@ var mainvue_type_template_id_b9200bd8_render = function () {
|
|
|
66987
67456
|
"label-key": _vm.labelKey,
|
|
66988
67457
|
multiple: _vm.mix ? _vm.mix : _vm.multiple,
|
|
66989
67458
|
max: _vm.max,
|
|
67459
|
+
showDisabled: _vm.showDisabled,
|
|
66990
67460
|
},
|
|
66991
67461
|
model: {
|
|
66992
67462
|
value: _vm.checkeds,
|
|
@@ -67050,11 +67520,11 @@ var mainvue_type_template_id_b9200bd8_render = function () {
|
|
|
67050
67520
|
1
|
|
67051
67521
|
)
|
|
67052
67522
|
}
|
|
67053
|
-
var
|
|
67054
|
-
|
|
67523
|
+
var mainvue_type_template_id_1709cc6f_staticRenderFns = []
|
|
67524
|
+
mainvue_type_template_id_1709cc6f_render._withStripped = true
|
|
67055
67525
|
|
|
67056
67526
|
|
|
67057
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
67527
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=1709cc6f&
|
|
67058
67528
|
|
|
67059
67529
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
67060
67530
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -67349,8 +67819,8 @@ var tree_component = normalizeComponent(
|
|
|
67349
67819
|
)
|
|
67350
67820
|
|
|
67351
67821
|
/* harmony default export */ var tree = (tree_component.exports);
|
|
67352
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
67353
|
-
var
|
|
67822
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=45aba2c9&
|
|
67823
|
+
var selectionvue_type_template_id_45aba2c9_render = function () {
|
|
67354
67824
|
var _vm = this
|
|
67355
67825
|
var _h = _vm.$createElement
|
|
67356
67826
|
var _c = _vm._self._c || _h
|
|
@@ -67388,6 +67858,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
|
|
|
67388
67858
|
"el-radio",
|
|
67389
67859
|
_vm._b(
|
|
67390
67860
|
{
|
|
67861
|
+
directives: [
|
|
67862
|
+
{
|
|
67863
|
+
name: "show",
|
|
67864
|
+
rawName: "v-show",
|
|
67865
|
+
value: item.disabled ? _vm.showDisabled : true,
|
|
67866
|
+
expression: "item.disabled ? showDisabled : true",
|
|
67867
|
+
},
|
|
67868
|
+
],
|
|
67391
67869
|
key: index,
|
|
67392
67870
|
class: { "es-radio-delete": _vm.genre === "delete" },
|
|
67393
67871
|
attrs: {
|
|
@@ -67443,6 +67921,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
|
|
|
67443
67921
|
"el-checkbox",
|
|
67444
67922
|
_vm._b(
|
|
67445
67923
|
{
|
|
67924
|
+
directives: [
|
|
67925
|
+
{
|
|
67926
|
+
name: "show",
|
|
67927
|
+
rawName: "v-show",
|
|
67928
|
+
value: item.disabled ? _vm.showDisabled : true,
|
|
67929
|
+
expression: "item.disabled ? showDisabled : true",
|
|
67930
|
+
},
|
|
67931
|
+
],
|
|
67446
67932
|
key: index,
|
|
67447
67933
|
class: { "es-checkbox-delete": _vm.genre === "delete" },
|
|
67448
67934
|
attrs: {
|
|
@@ -67491,11 +67977,11 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
|
|
|
67491
67977
|
1
|
|
67492
67978
|
)
|
|
67493
67979
|
}
|
|
67494
|
-
var
|
|
67495
|
-
|
|
67980
|
+
var selectionvue_type_template_id_45aba2c9_staticRenderFns = []
|
|
67981
|
+
selectionvue_type_template_id_45aba2c9_render._withStripped = true
|
|
67496
67982
|
|
|
67497
67983
|
|
|
67498
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
67984
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=45aba2c9&
|
|
67499
67985
|
|
|
67500
67986
|
// EXTERNAL MODULE: external "sortablejs"
|
|
67501
67987
|
var external_sortablejs_ = __webpack_require__(18);
|
|
@@ -67553,6 +68039,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
67553
68039
|
//
|
|
67554
68040
|
//
|
|
67555
68041
|
//
|
|
68042
|
+
//
|
|
68043
|
+
//
|
|
67556
68044
|
|
|
67557
68045
|
|
|
67558
68046
|
|
|
@@ -67560,6 +68048,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
67560
68048
|
name: 'Selection',
|
|
67561
68049
|
props: {
|
|
67562
68050
|
value: [String, Array, Object],
|
|
68051
|
+
showDisabled: {
|
|
68052
|
+
type: Boolean,
|
|
68053
|
+
default: true
|
|
68054
|
+
},
|
|
67563
68055
|
genre: String,
|
|
67564
68056
|
valueKey: {
|
|
67565
68057
|
type: String,
|
|
@@ -67662,8 +68154,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
67662
68154
|
|
|
67663
68155
|
var selection_component = normalizeComponent(
|
|
67664
68156
|
src_selectionvue_type_script_lang_js_,
|
|
67665
|
-
|
|
67666
|
-
|
|
68157
|
+
selectionvue_type_template_id_45aba2c9_render,
|
|
68158
|
+
selectionvue_type_template_id_45aba2c9_staticRenderFns,
|
|
67667
68159
|
false,
|
|
67668
68160
|
null,
|
|
67669
68161
|
null,
|
|
@@ -67779,6 +68271,10 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
67779
68271
|
//
|
|
67780
68272
|
//
|
|
67781
68273
|
//
|
|
68274
|
+
//
|
|
68275
|
+
//
|
|
68276
|
+
//
|
|
68277
|
+
//
|
|
67782
68278
|
|
|
67783
68279
|
|
|
67784
68280
|
|
|
@@ -67894,7 +68390,15 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
67894
68390
|
activeName: '',
|
|
67895
68391
|
selections: [],
|
|
67896
68392
|
checkboxs: [],
|
|
67897
|
-
checkeds: null
|
|
68393
|
+
checkeds: null,
|
|
68394
|
+
showDisabled: true,
|
|
68395
|
+
options: [{
|
|
68396
|
+
value: true,
|
|
68397
|
+
name: '展示'
|
|
68398
|
+
}, {
|
|
68399
|
+
value: false,
|
|
68400
|
+
name: '过滤'
|
|
68401
|
+
}]
|
|
67898
68402
|
};
|
|
67899
68403
|
},
|
|
67900
68404
|
|
|
@@ -68433,7 +68937,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
68433
68937
|
if (res) {
|
|
68434
68938
|
if (this.isShowTree) {
|
|
68435
68939
|
this.nodeData.checkAll = true;
|
|
68436
|
-
var checkeds = this.checkeds.concat(this.checkboxs)
|
|
68940
|
+
var checkeds = this.checkeds.concat(this.checkboxs.filter(function (item) {
|
|
68941
|
+
return item.disabled !== true;
|
|
68942
|
+
}));
|
|
68437
68943
|
if (checkeds.length > 0) {
|
|
68438
68944
|
this.checkeds = utils_util["a" /* default */].arrUnique(checkeds, isObject ? this.valueKey : undefined);
|
|
68439
68945
|
}
|
|
@@ -68611,8 +69117,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
68611
69117
|
|
|
68612
69118
|
var selector_panel_src_main_component = normalizeComponent(
|
|
68613
69119
|
packages_selector_panel_src_mainvue_type_script_lang_js_,
|
|
68614
|
-
|
|
68615
|
-
|
|
69120
|
+
mainvue_type_template_id_1709cc6f_render,
|
|
69121
|
+
mainvue_type_template_id_1709cc6f_staticRenderFns,
|
|
68616
69122
|
false,
|
|
68617
69123
|
null,
|
|
68618
69124
|
null,
|
|
@@ -80838,7 +81344,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
80838
81344
|
}
|
|
80839
81345
|
|
|
80840
81346
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
80841
|
-
version: '0.5.81-
|
|
81347
|
+
version: '0.5.81-beta6',
|
|
80842
81348
|
install: install,
|
|
80843
81349
|
Button: packages_button,
|
|
80844
81350
|
ButtonGroup: button_group,
|