eoss-ui 0.5.96 → 0.5.98
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/button-group.js +6 -2
- package/lib/button.js +6 -2
- package/lib/checkbox-group.js +6 -2
- package/lib/data-table-form.js +6 -2
- package/lib/data-table.js +28 -16
- package/lib/date-picker.js +6 -2
- package/lib/dialog.js +6 -2
- package/lib/eoss-ui.common.js +342 -266
- package/lib/flow-group.js +6 -2
- package/lib/flow-list.js +6 -2
- package/lib/flow.js +6 -2
- package/lib/form.js +6 -2
- package/lib/handle-user.js +6 -2
- package/lib/handler.js +17 -9
- package/lib/icon.js +6 -2
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +6 -2
- package/lib/input.js +6 -2
- package/lib/login.js +9 -5
- package/lib/main.js +284 -220
- package/lib/nav.js +6 -2
- package/lib/page.js +6 -2
- package/lib/pagination.js +6 -2
- package/lib/player.js +6 -2
- package/lib/qr-code.js +6 -2
- package/lib/radio-group.js +6 -2
- package/lib/retrial-auth.js +6 -2
- package/lib/select-ganged.js +6 -2
- package/lib/select.js +6 -2
- package/lib/selector-panel.js +6 -2
- package/lib/selector.js +6 -2
- package/lib/sizer.js +6 -2
- package/lib/steps.js +6 -2
- package/lib/switch.js +6 -2
- package/lib/table-form.js +6 -2
- package/lib/tabs.js +6 -2
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +6 -2
- package/lib/tree-group.js +6 -2
- package/lib/tree.js +6 -2
- package/lib/upload.js +6 -2
- package/lib/utils/util.js +6 -2
- package/lib/wujie.js +6 -2
- package/lib/wxlogin.js +6 -2
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +18 -12
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +11 -6
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +19 -3
- package/packages/main/src/default/settings.vue +2 -2
- package/packages/main/src/main.vue +25 -4
- package/packages/main/src/simplicity/handler.vue +32 -28
- package/packages/main/src/simplicity/index.vue +46 -39
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +8 -0
- package/packages/theme-chalk/src/mixins/util.scss +0 -0
- package/packages/theme-chalk/src/simplicity.scss +160 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +6 -2
package/lib/main.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3979,87 +3983,105 @@ module.exports = require("wujie-vue2");
|
|
|
3979
3983
|
// ESM COMPAT FLAG
|
|
3980
3984
|
__webpack_require__.r(__webpack_exports__);
|
|
3981
3985
|
|
|
3982
|
-
// 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=
|
|
3986
|
+
// 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=6f2b9926&
|
|
3983
3987
|
var render = function () {
|
|
3984
3988
|
var _vm = this
|
|
3985
3989
|
var _h = _vm.$createElement
|
|
3986
3990
|
var _c = _vm._self._c || _h
|
|
3987
|
-
return
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
_vm._g(
|
|
3995
|
-
_vm._b(
|
|
3996
|
-
{ ref: "main", attrs: { appCode: _vm.appCode } },
|
|
3991
|
+
return _vm.isLogin
|
|
3992
|
+
? _c(
|
|
3993
|
+
"div",
|
|
3994
|
+
{ staticClass: "es-main-box" },
|
|
3995
|
+
[
|
|
3996
|
+
_vm.layout == "simplicity"
|
|
3997
|
+
? _c(
|
|
3997
3998
|
"simplicity",
|
|
3998
|
-
_vm
|
|
3999
|
+
_vm._g(
|
|
4000
|
+
_vm._b(
|
|
4001
|
+
{
|
|
4002
|
+
ref: "main",
|
|
4003
|
+
attrs: {
|
|
4004
|
+
appCode: _vm.appCode,
|
|
4005
|
+
"old-version": _vm.multiple,
|
|
4006
|
+
},
|
|
4007
|
+
on: { "chang-layout": _vm.changLayout },
|
|
4008
|
+
},
|
|
4009
|
+
"simplicity",
|
|
4010
|
+
_vm.$attrs,
|
|
4011
|
+
false
|
|
4012
|
+
),
|
|
4013
|
+
_vm.$listeners
|
|
4014
|
+
)
|
|
4015
|
+
)
|
|
4016
|
+
: _c(
|
|
4017
|
+
"main-default",
|
|
4018
|
+
_vm._g(
|
|
4019
|
+
_vm._b(
|
|
4020
|
+
{
|
|
4021
|
+
ref: "main",
|
|
4022
|
+
attrs: { "new-version": _vm.multiple },
|
|
4023
|
+
on: { "chang-layout": _vm.changLayout },
|
|
4024
|
+
},
|
|
4025
|
+
"main-default",
|
|
4026
|
+
_vm.$attrs,
|
|
4027
|
+
false
|
|
4028
|
+
),
|
|
4029
|
+
_vm.$listeners
|
|
4030
|
+
)
|
|
4031
|
+
),
|
|
4032
|
+
_vm._l(_vm.dialogs, function (item, index) {
|
|
4033
|
+
return _c(
|
|
4034
|
+
"es-dialog",
|
|
4035
|
+
_vm._b(
|
|
4036
|
+
{
|
|
4037
|
+
key: item.id || item.name || index,
|
|
4038
|
+
attrs: { visible: _vm.visibles[index], size: "md" },
|
|
4039
|
+
on: {
|
|
4040
|
+
"update:visible": function ($event) {
|
|
4041
|
+
_vm.$set(_vm.visibles, index, $event)
|
|
4042
|
+
},
|
|
4043
|
+
closed: function ($event) {
|
|
4044
|
+
_vm.handleClosed(item, index)
|
|
4045
|
+
},
|
|
4046
|
+
},
|
|
4047
|
+
},
|
|
4048
|
+
"es-dialog",
|
|
4049
|
+
_vm.exclAttribute({
|
|
4050
|
+
data: item,
|
|
4051
|
+
attrs: ["visible", "url"],
|
|
4052
|
+
}),
|
|
3999
4053
|
false
|
|
4000
4054
|
),
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4055
|
+
[
|
|
4056
|
+
_vm.visibles[index]
|
|
4057
|
+
? _c("iframe", {
|
|
4058
|
+
attrs: {
|
|
4059
|
+
width: "100%",
|
|
4060
|
+
height: "100%",
|
|
4061
|
+
frameborder: "0",
|
|
4062
|
+
src: item.url,
|
|
4063
|
+
},
|
|
4064
|
+
})
|
|
4065
|
+
: _vm._e(),
|
|
4066
|
+
]
|
|
4009
4067
|
)
|
|
4010
|
-
),
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
{
|
|
4016
|
-
key: item.id || item.name || index,
|
|
4017
|
-
attrs: { visible: _vm.visibles[index], size: "md" },
|
|
4018
|
-
on: {
|
|
4019
|
-
"update:visible": function ($event) {
|
|
4020
|
-
_vm.$set(_vm.visibles, index, $event)
|
|
4021
|
-
},
|
|
4022
|
-
closed: function ($event) {
|
|
4023
|
-
_vm.handleClosed(item, index)
|
|
4024
|
-
},
|
|
4025
|
-
},
|
|
4026
|
-
},
|
|
4027
|
-
"es-dialog",
|
|
4028
|
-
_vm.exclAttribute({
|
|
4029
|
-
data: item,
|
|
4030
|
-
attrs: ["visible", "url"],
|
|
4031
|
-
}),
|
|
4032
|
-
false
|
|
4033
|
-
),
|
|
4034
|
-
[
|
|
4035
|
-
_vm.visibles[index]
|
|
4036
|
-
? _c("iframe", {
|
|
4037
|
-
attrs: {
|
|
4038
|
-
width: "100%",
|
|
4039
|
-
height: "100%",
|
|
4040
|
-
frameborder: "0",
|
|
4041
|
-
src: item.url,
|
|
4042
|
-
},
|
|
4043
|
-
})
|
|
4044
|
-
: _vm._e(),
|
|
4045
|
-
]
|
|
4046
|
-
)
|
|
4047
|
-
}),
|
|
4048
|
-
],
|
|
4049
|
-
2
|
|
4050
|
-
)
|
|
4068
|
+
}),
|
|
4069
|
+
],
|
|
4070
|
+
2
|
|
4071
|
+
)
|
|
4072
|
+
: _vm._e()
|
|
4051
4073
|
}
|
|
4052
4074
|
var staticRenderFns = []
|
|
4053
4075
|
render._withStripped = true
|
|
4054
4076
|
|
|
4055
4077
|
|
|
4056
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
4078
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6f2b9926&
|
|
4057
4079
|
|
|
4058
4080
|
// EXTERNAL MODULE: ./src/config/image.js
|
|
4059
4081
|
var config_image = __webpack_require__(18);
|
|
4060
4082
|
|
|
4061
|
-
// 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=
|
|
4062
|
-
var
|
|
4083
|
+
// 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=38f18b0d&scoped=true&
|
|
4084
|
+
var simplicityvue_type_template_id_38f18b0d_scoped_true_render = function () {
|
|
4063
4085
|
var _vm = this
|
|
4064
4086
|
var _h = _vm.$createElement
|
|
4065
4087
|
var _c = _vm._self._c || _h
|
|
@@ -4686,11 +4708,11 @@ var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
|
|
|
4686
4708
|
),
|
|
4687
4709
|
])
|
|
4688
4710
|
}
|
|
4689
|
-
var
|
|
4690
|
-
|
|
4711
|
+
var simplicityvue_type_template_id_38f18b0d_scoped_true_staticRenderFns = []
|
|
4712
|
+
simplicityvue_type_template_id_38f18b0d_scoped_true_render._withStripped = true
|
|
4691
4713
|
|
|
4692
4714
|
|
|
4693
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4715
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=38f18b0d&scoped=true&
|
|
4694
4716
|
|
|
4695
4717
|
// 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=1560e8bf&scoped=true&
|
|
4696
4718
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -4848,8 +4870,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4848
4870
|
)
|
|
4849
4871
|
|
|
4850
4872
|
/* harmony default export */ var avatar = (component.exports);
|
|
4851
|
-
// 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/handler.vue?vue&type=template&id=
|
|
4852
|
-
var
|
|
4873
|
+
// 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/handler.vue?vue&type=template&id=d8a0cc36&scoped=true&
|
|
4874
|
+
var handlervue_type_template_id_d8a0cc36_scoped_true_render = function () {
|
|
4853
4875
|
var _vm = this
|
|
4854
4876
|
var _h = _vm.$createElement
|
|
4855
4877
|
var _c = _vm._self._c || _h
|
|
@@ -4882,58 +4904,54 @@ var handlervue_type_template_id_7eac3976_scoped_true_render = function () {
|
|
|
4882
4904
|
]),
|
|
4883
4905
|
_vm._l(_vm.lists, function (item) {
|
|
4884
4906
|
return [
|
|
4885
|
-
|
|
4886
|
-
?
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
click: function ($event) {
|
|
4906
|
-
_vm.handleClick(item)
|
|
4907
|
-
},
|
|
4908
|
-
},
|
|
4909
|
-
}),
|
|
4910
|
-
]
|
|
4911
|
-
)
|
|
4912
|
-
: _c("div", {
|
|
4913
|
-
key: item.type,
|
|
4914
|
-
staticClass:
|
|
4915
|
-
"es-simplicity-handler-item es-simplicity-handler-icon",
|
|
4916
|
-
class: item.icon,
|
|
4917
|
-
attrs: { title: item.title },
|
|
4918
|
-
on: {
|
|
4919
|
-
click: function ($event) {
|
|
4920
|
-
_vm.handleClick(item)
|
|
4921
|
-
},
|
|
4907
|
+
item.type === "notice"
|
|
4908
|
+
? _c(
|
|
4909
|
+
"el-badge",
|
|
4910
|
+
{
|
|
4911
|
+
key: item.type,
|
|
4912
|
+
staticClass: "es-simplicity-handler-item",
|
|
4913
|
+
attrs: {
|
|
4914
|
+
value: _vm.noticeNum,
|
|
4915
|
+
max: 99,
|
|
4916
|
+
hidden: _vm.noticeNum === 0,
|
|
4917
|
+
},
|
|
4918
|
+
},
|
|
4919
|
+
[
|
|
4920
|
+
_c("div", {
|
|
4921
|
+
staticClass: "es-simplicity-handler-icon",
|
|
4922
|
+
class: item.icon,
|
|
4923
|
+
attrs: { title: item.title },
|
|
4924
|
+
on: {
|
|
4925
|
+
click: function ($event) {
|
|
4926
|
+
_vm.handleClick(item)
|
|
4922
4927
|
},
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
|
-
|
|
4928
|
+
},
|
|
4929
|
+
}),
|
|
4930
|
+
]
|
|
4931
|
+
)
|
|
4932
|
+
: _c("div", {
|
|
4933
|
+
key: item.type,
|
|
4934
|
+
staticClass:
|
|
4935
|
+
"es-simplicity-handler-item es-simplicity-handler-icon",
|
|
4936
|
+
class: item.icon,
|
|
4937
|
+
attrs: { title: item.title },
|
|
4938
|
+
on: {
|
|
4939
|
+
click: function ($event) {
|
|
4940
|
+
_vm.handleClick(item)
|
|
4941
|
+
},
|
|
4942
|
+
},
|
|
4943
|
+
}),
|
|
4926
4944
|
]
|
|
4927
4945
|
}),
|
|
4928
4946
|
],
|
|
4929
4947
|
2
|
|
4930
4948
|
)
|
|
4931
4949
|
}
|
|
4932
|
-
var
|
|
4933
|
-
|
|
4950
|
+
var handlervue_type_template_id_d8a0cc36_scoped_true_staticRenderFns = []
|
|
4951
|
+
handlervue_type_template_id_d8a0cc36_scoped_true_render._withStripped = true
|
|
4934
4952
|
|
|
4935
4953
|
|
|
4936
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=
|
|
4954
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=d8a0cc36&scoped=true&
|
|
4937
4955
|
|
|
4938
4956
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=script&lang=js&
|
|
4939
4957
|
//
|
|
@@ -4981,8 +4999,6 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
4981
4999
|
//
|
|
4982
5000
|
//
|
|
4983
5001
|
//
|
|
4984
|
-
//
|
|
4985
|
-
//
|
|
4986
5002
|
|
|
4987
5003
|
|
|
4988
5004
|
/* harmony default export */ var handlervue_type_script_lang_js_ = ({
|
|
@@ -5019,6 +5035,16 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
5019
5035
|
};
|
|
5020
5036
|
}
|
|
5021
5037
|
},
|
|
5038
|
+
old: {
|
|
5039
|
+
type: Object,
|
|
5040
|
+
default: function _default() {
|
|
5041
|
+
return {
|
|
5042
|
+
type: 'old',
|
|
5043
|
+
icon: 'es-icon-shiyongjiuban',
|
|
5044
|
+
title: '使用旧版'
|
|
5045
|
+
};
|
|
5046
|
+
}
|
|
5047
|
+
},
|
|
5022
5048
|
notice: {
|
|
5023
5049
|
type: Object,
|
|
5024
5050
|
default: function _default() {
|
|
@@ -5053,7 +5079,9 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
5053
5079
|
hide: {
|
|
5054
5080
|
type: Object,
|
|
5055
5081
|
default: function _default() {
|
|
5056
|
-
return {
|
|
5082
|
+
return {
|
|
5083
|
+
old: true
|
|
5084
|
+
};
|
|
5057
5085
|
}
|
|
5058
5086
|
},
|
|
5059
5087
|
noticeNum: {
|
|
@@ -5077,7 +5105,7 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
5077
5105
|
lists: function lists() {
|
|
5078
5106
|
var _this = this;
|
|
5079
5107
|
|
|
5080
|
-
var data = this.data ? this.data : [this.search, this.index, this.home, this.notice, this.quit, this.set];
|
|
5108
|
+
var data = this.data ? this.data : [this.search, this.index, this.home, this.old, this.notice, this.quit, this.set];
|
|
5081
5109
|
return data.filter(function (item) {
|
|
5082
5110
|
return !_this.hide[item.type];
|
|
5083
5111
|
});
|
|
@@ -5105,13 +5133,6 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
5105
5133
|
_this2.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
|
|
5106
5134
|
});
|
|
5107
5135
|
},
|
|
5108
|
-
isShow: function isShow(res) {
|
|
5109
|
-
if (Array.isArray(this.hide)) {
|
|
5110
|
-
return !this.hide.includes(res);
|
|
5111
|
-
} else {
|
|
5112
|
-
return !this.hide[res];
|
|
5113
|
-
}
|
|
5114
|
-
},
|
|
5115
5136
|
handleClick: function handleClick(res) {
|
|
5116
5137
|
this.$emit('click', res);
|
|
5117
5138
|
}
|
|
@@ -5132,11 +5153,11 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
|
|
|
5132
5153
|
|
|
5133
5154
|
var handler_component = Object(componentNormalizer["a" /* default */])(
|
|
5134
5155
|
simplicity_handlervue_type_script_lang_js_,
|
|
5135
|
-
|
|
5136
|
-
|
|
5156
|
+
handlervue_type_template_id_d8a0cc36_scoped_true_render,
|
|
5157
|
+
handlervue_type_template_id_d8a0cc36_scoped_true_staticRenderFns,
|
|
5137
5158
|
false,
|
|
5138
5159
|
null,
|
|
5139
|
-
"
|
|
5160
|
+
"d8a0cc36",
|
|
5140
5161
|
null
|
|
5141
5162
|
|
|
5142
5163
|
)
|
|
@@ -9992,7 +10013,9 @@ var events = [function (tabs, index, that) {
|
|
|
9992
10013
|
default: function _default() {
|
|
9993
10014
|
return sessionStorage.getItem('host') || '';
|
|
9994
10015
|
}
|
|
9995
|
-
}
|
|
10016
|
+
},
|
|
10017
|
+
//切换旧版样式
|
|
10018
|
+
oldVersion: Boolean
|
|
9996
10019
|
},
|
|
9997
10020
|
data: function data() {
|
|
9998
10021
|
return {
|
|
@@ -10086,7 +10109,8 @@ var events = [function (tabs, index, that) {
|
|
|
10086
10109
|
active: '',
|
|
10087
10110
|
//单位名称
|
|
10088
10111
|
simpleUserInfo: {},
|
|
10089
|
-
topRightToolHide: ''
|
|
10112
|
+
topRightToolHide: '',
|
|
10113
|
+
showOld: this.oldVersion
|
|
10090
10114
|
};
|
|
10091
10115
|
},
|
|
10092
10116
|
|
|
@@ -10137,7 +10161,8 @@ var events = [function (tabs, index, that) {
|
|
|
10137
10161
|
}
|
|
10138
10162
|
var hides = {
|
|
10139
10163
|
home: this.indexUrl ? false : true,
|
|
10140
|
-
index: this.doorIndex ? false : true
|
|
10164
|
+
index: this.doorIndex ? false : true,
|
|
10165
|
+
old: this.showOld ? false : true
|
|
10141
10166
|
};
|
|
10142
10167
|
|
|
10143
10168
|
if (this.layout === 'subsystem' || this.application) {
|
|
@@ -10323,6 +10348,9 @@ var events = [function (tabs, index, that) {
|
|
|
10323
10348
|
if (results[i].portalPage || results[i].portalpage) {
|
|
10324
10349
|
this.doorIndex = results[i].portalPage || results[i].portalpage;
|
|
10325
10350
|
}
|
|
10351
|
+
if (results[i].multipleVersion || results[i].oldVersion) {
|
|
10352
|
+
this.showOld = results[i].oldVersion ? results[i].oldVersion : true;
|
|
10353
|
+
}
|
|
10326
10354
|
if (results[i].topRightToolHide) {
|
|
10327
10355
|
this.topRightToolHide = results[i].topRightToolHide;
|
|
10328
10356
|
}
|
|
@@ -10408,6 +10436,20 @@ var events = [function (tabs, index, that) {
|
|
|
10408
10436
|
_this2.menus = res.results;
|
|
10409
10437
|
_this2.setTips(_this2.menus);
|
|
10410
10438
|
store["a" /* default */].set('nav', _this2.menus);
|
|
10439
|
+
if (_this2.indexUrl) {
|
|
10440
|
+
var obj = _this2.getMenu(_this2.menus, _this2.indexUrl);
|
|
10441
|
+
obj = obj ? obj : {
|
|
10442
|
+
url: _this2.indexUrl,
|
|
10443
|
+
text: '工作台',
|
|
10444
|
+
id: '0',
|
|
10445
|
+
appCode: 'indexUrl'
|
|
10446
|
+
};
|
|
10447
|
+
_this2.homePage = _this2.setIframeType(obj);
|
|
10448
|
+
if (!_this2.appCode) {
|
|
10449
|
+
_this2.tabs = [_this2.homePage];
|
|
10450
|
+
_this2.activeName = _this2.homePage.id;
|
|
10451
|
+
}
|
|
10452
|
+
}
|
|
10411
10453
|
if (_this2.appCode) {
|
|
10412
10454
|
var code = _this2.sysCode || _this2.appCode;
|
|
10413
10455
|
var app = _this2.userApps.filter(function (item) {
|
|
@@ -10416,9 +10458,9 @@ var events = [function (tabs, index, that) {
|
|
|
10416
10458
|
if (app) {
|
|
10417
10459
|
_this2.active = app.id;
|
|
10418
10460
|
if (app.url) {
|
|
10419
|
-
var
|
|
10420
|
-
if (
|
|
10421
|
-
var tab = _this2.setIframeType(
|
|
10461
|
+
var _obj = _this2.getMenu(_this2.menus, app.url);
|
|
10462
|
+
if (_obj) {
|
|
10463
|
+
var tab = _this2.setIframeType(_obj);
|
|
10422
10464
|
_this2.tabs = [tab];
|
|
10423
10465
|
_this2.activeName = tab.id;
|
|
10424
10466
|
} else {
|
|
@@ -10429,13 +10471,13 @@ var events = [function (tabs, index, that) {
|
|
|
10429
10471
|
if (_this2.sysCode) {
|
|
10430
10472
|
var subMenus = _this2.getMenu(_this2.menus, _this2.sysCode, 'appCode');
|
|
10431
10473
|
if (subMenus) {
|
|
10432
|
-
var
|
|
10433
|
-
if (
|
|
10434
|
-
if (!
|
|
10435
|
-
|
|
10474
|
+
var _obj2 = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
10475
|
+
if (_obj2) {
|
|
10476
|
+
if (!_obj2.url) {
|
|
10477
|
+
_obj2 = _this2.getFirst(_obj2);
|
|
10436
10478
|
}
|
|
10437
|
-
_this2.subActive =
|
|
10438
|
-
var _tab = _this2.setIframeType(
|
|
10479
|
+
_this2.subActive = _obj2.id;
|
|
10480
|
+
var _tab = _this2.setIframeType(_obj2);
|
|
10439
10481
|
_this2.tabs = [_tab];
|
|
10440
10482
|
_this2.activeName = _tab.id;
|
|
10441
10483
|
} else {
|
|
@@ -10451,10 +10493,10 @@ var events = [function (tabs, index, that) {
|
|
|
10451
10493
|
var _subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
10452
10494
|
if (_subMenus) {
|
|
10453
10495
|
if (_this2.tabs.length == 0) {
|
|
10454
|
-
var
|
|
10455
|
-
if (
|
|
10456
|
-
_this2.subActive =
|
|
10457
|
-
var _tab2 = _this2.setIframeType(
|
|
10496
|
+
var _obj3 = _this2.getFirst(_subMenus);
|
|
10497
|
+
if (_obj3) {
|
|
10498
|
+
_this2.subActive = _obj3.id;
|
|
10499
|
+
var _tab2 = _this2.setIframeType(_obj3);
|
|
10458
10500
|
_this2.tabs = [_tab2];
|
|
10459
10501
|
_this2.activeName = _tab2.id;
|
|
10460
10502
|
} else {
|
|
@@ -10468,35 +10510,12 @@ var events = [function (tabs, index, that) {
|
|
|
10468
10510
|
_this2.showMenu = false;
|
|
10469
10511
|
}
|
|
10470
10512
|
}
|
|
10471
|
-
} else {
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
_this2.tabs = [_tab3];
|
|
10478
|
-
_this2.activeName = _tab3.id;
|
|
10479
|
-
}
|
|
10480
|
-
_this2.homePage = _obj3;
|
|
10481
|
-
} else {
|
|
10482
|
-
_this2.homePage = _this2.setIframeType({
|
|
10483
|
-
url: _this2.indexUrl,
|
|
10484
|
-
text: '工作台',
|
|
10485
|
-
id: '0',
|
|
10486
|
-
appCode: 'indexUrl'
|
|
10487
|
-
});
|
|
10488
|
-
if (!_this2.appCode) {
|
|
10489
|
-
_this2.tabs = [_this2.homePage];
|
|
10490
|
-
_this2.activeName = '0';
|
|
10491
|
-
}
|
|
10492
|
-
}
|
|
10493
|
-
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
10494
|
-
var _obj4 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
10495
|
-
if (_obj4) {
|
|
10496
|
-
var _tab4 = _this2.setIframeType(_obj4);
|
|
10497
|
-
_this2.tabs.push(_tab4);
|
|
10498
|
-
_this2.activeName = _tab4.id;
|
|
10499
|
-
}
|
|
10513
|
+
} else if (_this2.initApps && _this2.initApps.length && !_this2.indexUrl) {
|
|
10514
|
+
var _obj4 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
10515
|
+
if (_obj4) {
|
|
10516
|
+
var _tab3 = _this2.setIframeType(_obj4);
|
|
10517
|
+
_this2.tabs.push(_tab3);
|
|
10518
|
+
_this2.activeName = _tab3.id;
|
|
10500
10519
|
}
|
|
10501
10520
|
}
|
|
10502
10521
|
} else {
|
|
@@ -10815,9 +10834,9 @@ var events = [function (tabs, index, that) {
|
|
|
10815
10834
|
}
|
|
10816
10835
|
}
|
|
10817
10836
|
} else {
|
|
10818
|
-
var
|
|
10819
|
-
this.tabs.push(
|
|
10820
|
-
this.activeName =
|
|
10837
|
+
var _tab4 = this.setIframeType(res);
|
|
10838
|
+
this.tabs.push(_tab4);
|
|
10839
|
+
this.activeName = _tab4.id;
|
|
10821
10840
|
}
|
|
10822
10841
|
} else {
|
|
10823
10842
|
if (res.method == 'iframe') {
|
|
@@ -10842,8 +10861,8 @@ var events = [function (tabs, index, that) {
|
|
|
10842
10861
|
var _i = util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
|
|
10843
10862
|
this.activeName = subMenus.id;
|
|
10844
10863
|
if (_i == -1) {
|
|
10845
|
-
var
|
|
10846
|
-
this.tabs.push(
|
|
10864
|
+
var _tab5 = this.setIframeType(subMenus);
|
|
10865
|
+
this.tabs.push(_tab5);
|
|
10847
10866
|
} else {
|
|
10848
10867
|
if (subMenus.method == 'iframe') {
|
|
10849
10868
|
subMenus.url = util["a" /* default */].handlerUrl(subMenus.url);
|
|
@@ -10902,15 +10921,15 @@ var events = [function (tabs, index, that) {
|
|
|
10902
10921
|
this.tabs.push(tab);
|
|
10903
10922
|
this.activeName = res.id;
|
|
10904
10923
|
} else {
|
|
10905
|
-
var
|
|
10906
|
-
if (
|
|
10924
|
+
var _tab6 = this.tabs[i];
|
|
10925
|
+
if (_tab6.method === 'iframe') {
|
|
10907
10926
|
this.activeName = res.id;
|
|
10908
|
-
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(
|
|
10927
|
+
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab6.url));
|
|
10909
10928
|
} else {
|
|
10910
|
-
if (
|
|
10911
|
-
window.document.querySelector('iframe[name=' +
|
|
10929
|
+
if (_tab6.method === 'wujie' && _tab6.appCode) {
|
|
10930
|
+
window.document.querySelector('iframe[name=' + _tab6.appCode + ']').contentWindow.location.reload(true);
|
|
10912
10931
|
}
|
|
10913
|
-
if (
|
|
10932
|
+
if (_tab6.method === 'router') {
|
|
10914
10933
|
this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
|
|
10915
10934
|
}
|
|
10916
10935
|
this.activeName = res.id;
|
|
@@ -10969,14 +10988,14 @@ var events = [function (tabs, index, that) {
|
|
|
10969
10988
|
if (tab.method === 'iframe') {
|
|
10970
10989
|
tab.url = util["a" /* default */].handlerUrl(tab.url);
|
|
10971
10990
|
} else {
|
|
10972
|
-
var
|
|
10973
|
-
if (
|
|
10974
|
-
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(
|
|
10991
|
+
var _tab7 = this.tabs[i];
|
|
10992
|
+
if (_tab7.method === 'iframe') {
|
|
10993
|
+
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url));
|
|
10975
10994
|
}
|
|
10976
|
-
if (
|
|
10977
|
-
window.document.querySelector('iframe[name=' +
|
|
10995
|
+
if (_tab7.method === 'wujie' && _tab7.appCode) {
|
|
10996
|
+
window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.reload(true);
|
|
10978
10997
|
}
|
|
10979
|
-
if (
|
|
10998
|
+
if (_tab7.method === 'router') {
|
|
10980
10999
|
this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
|
|
10981
11000
|
}
|
|
10982
11001
|
}
|
|
@@ -11089,6 +11108,13 @@ var events = [function (tabs, index, that) {
|
|
|
11089
11108
|
case 'index':
|
|
11090
11109
|
util["a" /* default */].win.open(this.doorIndex, '_self');
|
|
11091
11110
|
break;
|
|
11111
|
+
case 'old':
|
|
11112
|
+
if (typeof this.showOld === 'string') {
|
|
11113
|
+
window.location.href = this.showOld;
|
|
11114
|
+
} else {
|
|
11115
|
+
this.$emit('chang-layout', 'default');
|
|
11116
|
+
}
|
|
11117
|
+
break;
|
|
11092
11118
|
case 'set':
|
|
11093
11119
|
this.showSet = !this.showSet;
|
|
11094
11120
|
this.showMsg = false;
|
|
@@ -11257,14 +11283,14 @@ var events = [function (tabs, index, that) {
|
|
|
11257
11283
|
var tab = this.setIframeType(obj);
|
|
11258
11284
|
this.tabs.splice(n + 1, 0, tab);
|
|
11259
11285
|
} else {
|
|
11260
|
-
var
|
|
11261
|
-
if (
|
|
11262
|
-
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(
|
|
11286
|
+
var _tab8 = this.tabs[i];
|
|
11287
|
+
if (_tab8.method === 'iframe') {
|
|
11288
|
+
this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab8.url));
|
|
11263
11289
|
}
|
|
11264
|
-
if (
|
|
11265
|
-
window.document.querySelector('iframe[name=' +
|
|
11290
|
+
if (_tab8.method === 'wujie' && _tab8.appCode) {
|
|
11291
|
+
window.document.querySelector('iframe[name=' + _tab8.appCode + ']').contentWindow.location.reload(true);
|
|
11266
11292
|
}
|
|
11267
|
-
if (
|
|
11293
|
+
if (_tab8.method === 'router') {
|
|
11268
11294
|
this.$set(this.tabs[i], 'keys', util["a" /* default */].uuid());
|
|
11269
11295
|
}
|
|
11270
11296
|
}
|
|
@@ -11325,18 +11351,18 @@ var events = [function (tabs, index, that) {
|
|
|
11325
11351
|
|
|
11326
11352
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
11327
11353
|
src_simplicityvue_type_script_lang_js_,
|
|
11328
|
-
|
|
11329
|
-
|
|
11354
|
+
simplicityvue_type_template_id_38f18b0d_scoped_true_render,
|
|
11355
|
+
simplicityvue_type_template_id_38f18b0d_scoped_true_staticRenderFns,
|
|
11330
11356
|
false,
|
|
11331
11357
|
null,
|
|
11332
|
-
"
|
|
11358
|
+
"38f18b0d",
|
|
11333
11359
|
null
|
|
11334
11360
|
|
|
11335
11361
|
)
|
|
11336
11362
|
|
|
11337
11363
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
11338
|
-
// 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=
|
|
11339
|
-
var
|
|
11364
|
+
// 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=149ff0da&
|
|
11365
|
+
var defaultvue_type_template_id_149ff0da_render = function () {
|
|
11340
11366
|
var _vm = this
|
|
11341
11367
|
var _h = _vm.$createElement
|
|
11342
11368
|
var _c = _vm._self._c || _h
|
|
@@ -11723,11 +11749,11 @@ var defaultvue_type_template_id_3c855b6a_render = function () {
|
|
|
11723
11749
|
1
|
|
11724
11750
|
)
|
|
11725
11751
|
}
|
|
11726
|
-
var
|
|
11727
|
-
|
|
11752
|
+
var defaultvue_type_template_id_149ff0da_staticRenderFns = []
|
|
11753
|
+
defaultvue_type_template_id_149ff0da_render._withStripped = true
|
|
11728
11754
|
|
|
11729
11755
|
|
|
11730
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
11756
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=149ff0da&
|
|
11731
11757
|
|
|
11732
11758
|
// 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=d207c2e8&
|
|
11733
11759
|
var userinfovue_type_template_id_d207c2e8_render = function () {
|
|
@@ -12209,8 +12235,8 @@ var default_userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
12209
12235
|
)
|
|
12210
12236
|
|
|
12211
12237
|
/* harmony default export */ var default_userinfo = (default_userinfo_component.exports);
|
|
12212
|
-
// 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/settings.vue?vue&type=template&id=
|
|
12213
|
-
var
|
|
12238
|
+
// 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/settings.vue?vue&type=template&id=52aa078c&
|
|
12239
|
+
var settingsvue_type_template_id_52aa078c_render = function () {
|
|
12214
12240
|
var _vm = this
|
|
12215
12241
|
var _h = _vm.$createElement
|
|
12216
12242
|
var _c = _vm._self._c || _h
|
|
@@ -12289,7 +12315,7 @@ var settingsvue_type_template_id_2d7a058d_render = function () {
|
|
|
12289
12315
|
1
|
|
12290
12316
|
),
|
|
12291
12317
|
_c("div", { staticClass: "es-setting-item" }, [
|
|
12292
|
-
_c("div", { staticClass: "es-setting-title" }, [_vm._v("
|
|
12318
|
+
_c("div", { staticClass: "es-setting-title" }, [_vm._v("菜单风格")]),
|
|
12293
12319
|
_c(
|
|
12294
12320
|
"div",
|
|
12295
12321
|
{ staticClass: "es-setting-navs-box" },
|
|
@@ -12453,7 +12479,7 @@ var settingsvue_type_template_id_2d7a058d_render = function () {
|
|
|
12453
12479
|
staticClass: "es-setting-navs-item",
|
|
12454
12480
|
attrs: {
|
|
12455
12481
|
effect: "dark",
|
|
12456
|
-
content: "
|
|
12482
|
+
content: "侧边+按钮菜单布局",
|
|
12457
12483
|
placement: "bottom",
|
|
12458
12484
|
},
|
|
12459
12485
|
},
|
|
@@ -12492,11 +12518,11 @@ var settingsvue_type_template_id_2d7a058d_render = function () {
|
|
|
12492
12518
|
]
|
|
12493
12519
|
)
|
|
12494
12520
|
}
|
|
12495
|
-
var
|
|
12496
|
-
|
|
12521
|
+
var settingsvue_type_template_id_52aa078c_staticRenderFns = []
|
|
12522
|
+
settingsvue_type_template_id_52aa078c_render._withStripped = true
|
|
12497
12523
|
|
|
12498
12524
|
|
|
12499
|
-
// CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=template&id=
|
|
12525
|
+
// CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=template&id=52aa078c&
|
|
12500
12526
|
|
|
12501
12527
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/settings.vue?vue&type=script&lang=js&
|
|
12502
12528
|
//
|
|
@@ -12699,8 +12725,8 @@ settingsvue_type_template_id_2d7a058d_render._withStripped = true
|
|
|
12699
12725
|
|
|
12700
12726
|
var default_settings_component = Object(componentNormalizer["a" /* default */])(
|
|
12701
12727
|
src_default_settingsvue_type_script_lang_js_,
|
|
12702
|
-
|
|
12703
|
-
|
|
12728
|
+
settingsvue_type_template_id_52aa078c_render,
|
|
12729
|
+
settingsvue_type_template_id_52aa078c_staticRenderFns,
|
|
12704
12730
|
false,
|
|
12705
12731
|
null,
|
|
12706
12732
|
null,
|
|
@@ -13824,7 +13850,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
13824
13850
|
onlineView: {
|
|
13825
13851
|
type: [String, Boolean],
|
|
13826
13852
|
default: true
|
|
13827
|
-
}
|
|
13853
|
+
},
|
|
13854
|
+
newVersion: Boolean
|
|
13828
13855
|
},
|
|
13829
13856
|
computed: {
|
|
13830
13857
|
showHeader: function showHeader() {
|
|
@@ -13896,7 +13923,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
13896
13923
|
set: !this.set,
|
|
13897
13924
|
index: this.doorIndex ? false : true,
|
|
13898
13925
|
system: true,
|
|
13899
|
-
home: this.homePage ? false : true
|
|
13926
|
+
home: this.homePage ? false : true,
|
|
13927
|
+
new: this.showNew ? false : true
|
|
13900
13928
|
};
|
|
13901
13929
|
|
|
13902
13930
|
if (this.layout === 'subsystem' || this.application) {
|
|
@@ -14046,10 +14074,13 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
14046
14074
|
dialog: {},
|
|
14047
14075
|
hideSubMenu: false,
|
|
14048
14076
|
doorIndex: '',
|
|
14049
|
-
topRightToolHide: ''
|
|
14077
|
+
topRightToolHide: '',
|
|
14078
|
+
showNew: this.newVersion
|
|
14050
14079
|
};
|
|
14051
14080
|
},
|
|
14052
14081
|
created: function created() {
|
|
14082
|
+
var layout = localStorage.getItem('layout');
|
|
14083
|
+
layout && (this.layout = layout);
|
|
14053
14084
|
var params = util["a" /* default */].getParams() || {};
|
|
14054
14085
|
if (params.homePage == 0) {
|
|
14055
14086
|
this.isLoadHomePage = false;
|
|
@@ -14291,6 +14322,9 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
14291
14322
|
if (results[i].portalPage || results[i].portalpage) {
|
|
14292
14323
|
this.doorIndex = results[i].portalPage || results[i].portalpage;
|
|
14293
14324
|
}
|
|
14325
|
+
if (results[i].multipleVersion || results[i].newVersion) {
|
|
14326
|
+
this.showNew = results[i].newVersion ? results[i].newVersion : true;
|
|
14327
|
+
}
|
|
14294
14328
|
if (results[i].topRightToolHide) {
|
|
14295
14329
|
this.topRightToolHide = results[i].topRightToolHide;
|
|
14296
14330
|
}
|
|
@@ -15052,6 +15086,13 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15052
15086
|
case 'set':
|
|
15053
15087
|
this.handleSet();
|
|
15054
15088
|
break;
|
|
15089
|
+
case 'new':
|
|
15090
|
+
if (typeof this.showNew === 'string') {
|
|
15091
|
+
window.location.href = this.showNew;
|
|
15092
|
+
} else {
|
|
15093
|
+
this.$emit('chang-layout', 'simplicity');
|
|
15094
|
+
}
|
|
15095
|
+
break;
|
|
15055
15096
|
case 'goView':
|
|
15056
15097
|
util["a" /* default */].win.open(res.path, '_blank');
|
|
15057
15098
|
break;
|
|
@@ -15217,6 +15258,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15217
15258
|
return;
|
|
15218
15259
|
}
|
|
15219
15260
|
this.layout = res;
|
|
15261
|
+
localStorage.setItem('layout', res);
|
|
15220
15262
|
switch (res) {
|
|
15221
15263
|
case 'topnav':
|
|
15222
15264
|
this.navs = this.menus;
|
|
@@ -15391,8 +15433,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15391
15433
|
|
|
15392
15434
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
15393
15435
|
src_defaultvue_type_script_lang_js_,
|
|
15394
|
-
|
|
15395
|
-
|
|
15436
|
+
defaultvue_type_template_id_149ff0da_render,
|
|
15437
|
+
defaultvue_type_template_id_149ff0da_staticRenderFns,
|
|
15396
15438
|
false,
|
|
15397
15439
|
null,
|
|
15398
15440
|
null,
|
|
@@ -15447,6 +15489,10 @@ var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wu
|
|
|
15447
15489
|
//
|
|
15448
15490
|
//
|
|
15449
15491
|
//
|
|
15492
|
+
//
|
|
15493
|
+
//
|
|
15494
|
+
//
|
|
15495
|
+
//
|
|
15450
15496
|
|
|
15451
15497
|
|
|
15452
15498
|
|
|
@@ -15483,7 +15529,8 @@ var bus = external_wujie_vue2_default.a.bus;
|
|
|
15483
15529
|
launchTime: {
|
|
15484
15530
|
type: Number,
|
|
15485
15531
|
default: 3000
|
|
15486
|
-
}
|
|
15532
|
+
},
|
|
15533
|
+
multiple: Boolean
|
|
15487
15534
|
},
|
|
15488
15535
|
computed: {
|
|
15489
15536
|
_launchImage: function _launchImage() {
|
|
@@ -15498,10 +15545,16 @@ var bus = external_wujie_vue2_default.a.bus;
|
|
|
15498
15545
|
appCode: '',
|
|
15499
15546
|
params: {},
|
|
15500
15547
|
dialogs: [],
|
|
15501
|
-
visibles: []
|
|
15548
|
+
visibles: [],
|
|
15549
|
+
isLogin: false,
|
|
15550
|
+
layout: this.type
|
|
15502
15551
|
};
|
|
15503
15552
|
},
|
|
15504
15553
|
created: function created() {
|
|
15554
|
+
var layoutType = localStorage.getItem('layoutType');
|
|
15555
|
+
if (layoutType) {
|
|
15556
|
+
this.layout = layoutType;
|
|
15557
|
+
}
|
|
15505
15558
|
this.params = util["a" /* default */].getParams() || {};
|
|
15506
15559
|
this.sysCode = this.params.sysCode;
|
|
15507
15560
|
this.appCode = this.params.appCode;
|
|
@@ -15565,6 +15618,16 @@ var bus = external_wujie_vue2_default.a.bus;
|
|
|
15565
15618
|
},
|
|
15566
15619
|
|
|
15567
15620
|
methods: {
|
|
15621
|
+
/**
|
|
15622
|
+
* @desc: 切换布局风格
|
|
15623
|
+
* @author huangbo
|
|
15624
|
+
* @date 2024年9月7日
|
|
15625
|
+
**/
|
|
15626
|
+
changLayout: function changLayout(res) {
|
|
15627
|
+
this.layout = res;
|
|
15628
|
+
localStorage.setItem('layoutType', res);
|
|
15629
|
+
},
|
|
15630
|
+
|
|
15568
15631
|
/**
|
|
15569
15632
|
* @desc:重新登录
|
|
15570
15633
|
* @author huangbo
|
|
@@ -15652,6 +15715,7 @@ var bus = external_wujie_vue2_default.a.bus;
|
|
|
15652
15715
|
var _this3 = this;
|
|
15653
15716
|
|
|
15654
15717
|
var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
|
|
15718
|
+
this.isLogin = token ? true : false;
|
|
15655
15719
|
if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
|
|
15656
15720
|
return false;
|
|
15657
15721
|
}
|