eoss-ui 0.6.74 → 0.6.76
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 +153 -145
- package/lib/index.js +1 -1
- package/lib/main.js +138 -131
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/upload.js +7 -6
- package/package.json +2 -2
- package/packages/login/src/IcpItem.vue +66 -0
- package/packages/main/src/default/index.vue +39 -35
- package/packages/main/src/main.vue +1 -2
- package/packages/main/src/simplicity/index.vue +3 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/upload.scss +6 -2
- package/packages/upload/src/main.vue +2 -1
- package/src/index.js +1 -1
package/lib/main.js
CHANGED
|
@@ -4316,7 +4316,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
|
|
|
4316
4316
|
// ESM COMPAT FLAG
|
|
4317
4317
|
__webpack_require__.r(__webpack_exports__);
|
|
4318
4318
|
|
|
4319
|
-
// 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=
|
|
4319
|
+
// 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=7d366933&
|
|
4320
4320
|
var render = function () {
|
|
4321
4321
|
var _vm = this
|
|
4322
4322
|
var _h = _vm.$createElement
|
|
@@ -4414,13 +4414,13 @@ var staticRenderFns = []
|
|
|
4414
4414
|
render._withStripped = true
|
|
4415
4415
|
|
|
4416
4416
|
|
|
4417
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
4417
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=7d366933&
|
|
4418
4418
|
|
|
4419
4419
|
// EXTERNAL MODULE: ./src/config/image.js
|
|
4420
4420
|
var config_image = __webpack_require__(20);
|
|
4421
4421
|
|
|
4422
|
-
// 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=
|
|
4423
|
-
var
|
|
4422
|
+
// 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=532a2b35&scoped=true&
|
|
4423
|
+
var simplicityvue_type_template_id_532a2b35_scoped_true_render = function () {
|
|
4424
4424
|
var _vm = this
|
|
4425
4425
|
var _h = _vm.$createElement
|
|
4426
4426
|
var _c = _vm._self._c || _h
|
|
@@ -5086,11 +5086,11 @@ var simplicityvue_type_template_id_7ecd2ea0_scoped_true_render = function () {
|
|
|
5086
5086
|
),
|
|
5087
5087
|
])
|
|
5088
5088
|
}
|
|
5089
|
-
var
|
|
5090
|
-
|
|
5089
|
+
var simplicityvue_type_template_id_532a2b35_scoped_true_staticRenderFns = []
|
|
5090
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_render._withStripped = true
|
|
5091
5091
|
|
|
5092
5092
|
|
|
5093
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
5093
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=532a2b35&scoped=true&
|
|
5094
5094
|
|
|
5095
5095
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
|
|
5096
5096
|
var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
|
|
@@ -11316,6 +11316,9 @@ var events = [function (tabs, index, that) {
|
|
|
11316
11316
|
this.themeColor = color;
|
|
11317
11317
|
}
|
|
11318
11318
|
}
|
|
11319
|
+
if (results[i].indexUrl) {
|
|
11320
|
+
this.indexUrl = results[i].indexUrl;
|
|
11321
|
+
}
|
|
11319
11322
|
this.userStyle = results[i];
|
|
11320
11323
|
this.notify = results[i].notify || '';
|
|
11321
11324
|
}
|
|
@@ -12505,18 +12508,18 @@ var events = [function (tabs, index, that) {
|
|
|
12505
12508
|
|
|
12506
12509
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
12507
12510
|
src_simplicityvue_type_script_lang_js_,
|
|
12508
|
-
|
|
12509
|
-
|
|
12511
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_render,
|
|
12512
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_staticRenderFns,
|
|
12510
12513
|
false,
|
|
12511
12514
|
null,
|
|
12512
|
-
"
|
|
12515
|
+
"532a2b35",
|
|
12513
12516
|
null
|
|
12514
12517
|
|
|
12515
12518
|
)
|
|
12516
12519
|
|
|
12517
12520
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
12518
|
-
// 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=
|
|
12519
|
-
var
|
|
12521
|
+
// 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=0d60331a&
|
|
12522
|
+
var defaultvue_type_template_id_0d60331a_render = function () {
|
|
12520
12523
|
var _vm = this
|
|
12521
12524
|
var _h = _vm.$createElement
|
|
12522
12525
|
var _c = _vm._self._c || _h
|
|
@@ -13067,11 +13070,11 @@ var defaultvue_type_template_id_51c8d794_render = function () {
|
|
|
13067
13070
|
1
|
|
13068
13071
|
)
|
|
13069
13072
|
}
|
|
13070
|
-
var
|
|
13071
|
-
|
|
13073
|
+
var defaultvue_type_template_id_0d60331a_staticRenderFns = []
|
|
13074
|
+
defaultvue_type_template_id_0d60331a_render._withStripped = true
|
|
13072
13075
|
|
|
13073
13076
|
|
|
13074
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
13077
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0d60331a&
|
|
13075
13078
|
|
|
13076
13079
|
// 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=516cb128&
|
|
13077
13080
|
var userinfovue_type_template_id_516cb128_render = function () {
|
|
@@ -15109,8 +15112,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15109
15112
|
},
|
|
15110
15113
|
setTitle: function setTitle(id) {
|
|
15111
15114
|
var node = void 0;
|
|
15112
|
-
for (var
|
|
15113
|
-
var item = this.menus[
|
|
15115
|
+
for (var _i = 0; _i < this.menus.length; _i++) {
|
|
15116
|
+
var item = this.menus[_i];
|
|
15114
15117
|
if (item.id == id) {
|
|
15115
15118
|
this.title = item.text;
|
|
15116
15119
|
node = item;
|
|
@@ -15220,106 +15223,88 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15220
15223
|
useCaseCodes: results.resourceCodes || results.userModel.resourceCodes
|
|
15221
15224
|
}
|
|
15222
15225
|
});
|
|
15223
|
-
for (var
|
|
15224
|
-
if (
|
|
15225
|
-
this.mainLogo = results[
|
|
15226
|
+
for (var _i2 in results) {
|
|
15227
|
+
if (_i2 === 'mainLogoUrl' && results[_i2]) {
|
|
15228
|
+
this.mainLogo = results[_i2];
|
|
15226
15229
|
}
|
|
15227
|
-
if (
|
|
15228
|
-
this.headerImg = results[
|
|
15230
|
+
if (_i2 === 'mainBannerUrl' && results[_i2] && this.headerImage === undefined) {
|
|
15231
|
+
this.headerImg = results[_i2];
|
|
15229
15232
|
}
|
|
15230
|
-
if (
|
|
15231
|
-
this.results[
|
|
15233
|
+
if (_i2 === 'initApplication' && results[_i2]) {
|
|
15234
|
+
this.results[_i2] = results[_i2].split(',');
|
|
15232
15235
|
}
|
|
15233
|
-
if (
|
|
15234
|
-
this.homePage = results[
|
|
15235
|
-
if (this.isLoadHomePage) {
|
|
15236
|
-
var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
|
|
15237
|
-
var hash = util["a" /* default */].win.location.hash;
|
|
15238
|
-
if (hash) {
|
|
15239
|
-
hash = hash.split('?')[0];
|
|
15240
|
-
}
|
|
15241
|
-
var jump = sessionStorage.getItem('jump');
|
|
15242
|
-
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
15243
|
-
if (this.isHomePage) {
|
|
15244
|
-
if (this.menus && this.menus.length) {
|
|
15245
|
-
var ids = ids = this.getId(this.menus, this.homePage);
|
|
15246
|
-
if (ids) {
|
|
15247
|
-
this.defaultActive = ids;
|
|
15248
|
-
} else {
|
|
15249
|
-
this.handleJump(this.homePage);
|
|
15250
|
-
}
|
|
15251
|
-
this.setMenu(this.menus);
|
|
15252
|
-
}
|
|
15253
|
-
}
|
|
15254
|
-
} else if (this.menus && this.menus.length) {
|
|
15255
|
-
this.setMenu(this.menus);
|
|
15256
|
-
}
|
|
15257
|
-
}
|
|
15236
|
+
if (_i2 === 'indexUrl' && results[_i2]) {
|
|
15237
|
+
this.homePage = results[_i2];
|
|
15258
15238
|
}
|
|
15259
|
-
if (
|
|
15260
|
-
window.open(results[
|
|
15261
|
-
this.doorIndex = results[
|
|
15239
|
+
if (_i2 === 'doorIndex' && results[_i2]) {
|
|
15240
|
+
window.open(results[_i2]);
|
|
15241
|
+
this.doorIndex = results[_i2];
|
|
15262
15242
|
}
|
|
15263
|
-
if (
|
|
15264
|
-
document.title = results[
|
|
15243
|
+
if (_i2 === 'subsystemName' && results[_i2]) {
|
|
15244
|
+
document.title = results[_i2];
|
|
15265
15245
|
}
|
|
15266
|
-
if (
|
|
15267
|
-
util["a" /* default */].setStorage('loginPage', results[
|
|
15246
|
+
if (_i2 === 'loginPage' && results[_i2]) {
|
|
15247
|
+
util["a" /* default */].setStorage('loginPage', results[_i2]);
|
|
15268
15248
|
}
|
|
15269
|
-
if (
|
|
15270
|
-
localStorage.setItem('sysLogoIco', results[
|
|
15271
|
-
util["a" /* default */].setFavicon(results[
|
|
15249
|
+
if (_i2 === 'sysLogoIco' && results[_i2]) {
|
|
15250
|
+
localStorage.setItem('sysLogoIco', results[_i2]);
|
|
15251
|
+
util["a" /* default */].setFavicon(results[_i2]);
|
|
15272
15252
|
}
|
|
15273
|
-
if (
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15253
|
+
if (_i2 === 'userStyle' && results[_i2]) {
|
|
15254
|
+
if (results[_i2].color) {
|
|
15255
|
+
var color = unescape(results[_i2].color).toLowerCase();
|
|
15256
|
+
if (util["a" /* default */].startWith(color, '#')) {
|
|
15257
|
+
this.color = color;
|
|
15258
|
+
}
|
|
15259
|
+
}
|
|
15260
|
+
if (results[_i2].indexUrl) {
|
|
15261
|
+
this.homePage = results[_i2].indexUrl;
|
|
15277
15262
|
}
|
|
15278
15263
|
}
|
|
15279
|
-
if (
|
|
15280
|
-
if (results[
|
|
15281
|
-
this.singleLogout = results[
|
|
15264
|
+
if (_i2 === 'subsystemExtend' && results[_i2]) {
|
|
15265
|
+
if (results[_i2].singleLogout) {
|
|
15266
|
+
this.singleLogout = results[_i2].singleLogout.split(',');
|
|
15282
15267
|
}
|
|
15283
|
-
if (results[
|
|
15284
|
-
this.color = unescape(results[
|
|
15268
|
+
if (results[_i2].themeColor) {
|
|
15269
|
+
this.color = unescape(results[_i2].themeColor).toLowerCase();
|
|
15285
15270
|
}
|
|
15286
|
-
if (results[
|
|
15287
|
-
this.userInfoContents = results[
|
|
15271
|
+
if (results[_i2].userInfoContents) {
|
|
15272
|
+
this.userInfoContents = results[_i2].userInfoContents;
|
|
15288
15273
|
}
|
|
15289
|
-
if (results[
|
|
15274
|
+
if (results[_i2].webPageWatermark) {
|
|
15290
15275
|
try {
|
|
15291
|
-
util["a" /* default */].win.webPageWatermark = results[
|
|
15292
|
-
util["a" /* default */].watermark(results[
|
|
15276
|
+
util["a" /* default */].win.webPageWatermark = results[_i2].webPageWatermark;
|
|
15277
|
+
util["a" /* default */].watermark(results[_i2].webPageWatermark);
|
|
15293
15278
|
} catch (error) {}
|
|
15294
15279
|
}
|
|
15295
|
-
if (results[
|
|
15296
|
-
util["a" /* default */].setStorage('loginPage', results[
|
|
15280
|
+
if (results[_i2].loginPage) {
|
|
15281
|
+
util["a" /* default */].setStorage('loginPage', results[_i2].loginPage);
|
|
15297
15282
|
}
|
|
15298
|
-
if (results[
|
|
15299
|
-
this.doorIndex = results[
|
|
15283
|
+
if (results[_i2].portalPage || results[_i2].portalpage) {
|
|
15284
|
+
this.doorIndex = results[_i2].portalPage || results[_i2].portalpage;
|
|
15300
15285
|
}
|
|
15301
|
-
if (results[
|
|
15286
|
+
if (results[_i2].multipleVersion) {
|
|
15302
15287
|
this.showSet = true;
|
|
15303
15288
|
}
|
|
15304
|
-
if (results[
|
|
15305
|
-
this.topRightToolHide = results[
|
|
15289
|
+
if (results[_i2].topRightToolHide) {
|
|
15290
|
+
this.topRightToolHide = results[_i2].topRightToolHide;
|
|
15306
15291
|
}
|
|
15307
|
-
if (results[
|
|
15308
|
-
var contact = JSON.parse(results[
|
|
15292
|
+
if (results[_i2].contact) {
|
|
15293
|
+
var contact = JSON.parse(results[_i2].contact);
|
|
15309
15294
|
var content = contact.content.split(',');
|
|
15310
15295
|
this.contact = defaultvue_type_script_lang_js_extends({}, contact, {
|
|
15311
15296
|
content: content
|
|
15312
15297
|
});
|
|
15313
15298
|
}
|
|
15314
|
-
if (results[
|
|
15315
|
-
if (typeof results[
|
|
15299
|
+
if (results[_i2].aiConfig) {
|
|
15300
|
+
if (typeof results[_i2].aiConfig == 'string') {
|
|
15316
15301
|
try {
|
|
15317
|
-
this.aiConfig = JSON.parse(results[
|
|
15302
|
+
this.aiConfig = JSON.parse(results[_i2].aiConfig);
|
|
15318
15303
|
} catch (error) {
|
|
15319
|
-
this.aiConfig = { url: results[
|
|
15304
|
+
this.aiConfig = { url: results[_i2].aiConfig };
|
|
15320
15305
|
}
|
|
15321
15306
|
} else {
|
|
15322
|
-
this.aiConfig = results[
|
|
15307
|
+
this.aiConfig = results[_i2].aiConfig;
|
|
15323
15308
|
}
|
|
15324
15309
|
this.$nextTick(function () {
|
|
15325
15310
|
// util.draggableMove({
|
|
@@ -15329,19 +15314,42 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15329
15314
|
// });
|
|
15330
15315
|
});
|
|
15331
15316
|
}
|
|
15332
|
-
if (results[
|
|
15333
|
-
if (typeof results[
|
|
15317
|
+
if (results[_i2].imConfig) {
|
|
15318
|
+
if (typeof results[_i2].imConfig == 'string') {
|
|
15334
15319
|
try {
|
|
15335
|
-
this.imConfig = JSON.parse(results[
|
|
15320
|
+
this.imConfig = JSON.parse(results[_i2].imConfig);
|
|
15336
15321
|
} catch (error) {
|
|
15337
|
-
this.imConfig = { url: results[
|
|
15322
|
+
this.imConfig = { url: results[_i2].imConfig };
|
|
15338
15323
|
}
|
|
15339
15324
|
} else {
|
|
15340
|
-
this.imConfig = results[
|
|
15325
|
+
this.imConfig = results[_i2].imConfig;
|
|
15341
15326
|
}
|
|
15342
15327
|
}
|
|
15343
15328
|
}
|
|
15344
|
-
store["a" /* default */].set(
|
|
15329
|
+
store["a" /* default */].set(_i2, results[_i2]);
|
|
15330
|
+
}
|
|
15331
|
+
if (this.isLoadHomePage && this.homePage) {
|
|
15332
|
+
var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
|
|
15333
|
+
var hash = util["a" /* default */].win.location.hash;
|
|
15334
|
+
if (hash) {
|
|
15335
|
+
hash = hash.split('?')[0];
|
|
15336
|
+
}
|
|
15337
|
+
var jump = sessionStorage.getItem('jump');
|
|
15338
|
+
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
15339
|
+
if (this.isHomePage) {
|
|
15340
|
+
if (this.menus && this.menus.length) {
|
|
15341
|
+
var ids = ids = this.getId(this.menus, this.homePage);
|
|
15342
|
+
if (ids) {
|
|
15343
|
+
this.defaultActive = ids;
|
|
15344
|
+
} else {
|
|
15345
|
+
this.handleJump(this.homePage);
|
|
15346
|
+
}
|
|
15347
|
+
this.setMenu(this.menus);
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
} else if (this.menus && this.menus.length) {
|
|
15351
|
+
this.setMenu(this.menus);
|
|
15352
|
+
}
|
|
15345
15353
|
}
|
|
15346
15354
|
this.userModel = results.userModel;
|
|
15347
15355
|
},
|
|
@@ -15461,8 +15469,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15461
15469
|
if (!url) {
|
|
15462
15470
|
return false;
|
|
15463
15471
|
}
|
|
15464
|
-
for (var
|
|
15465
|
-
var item = menus[
|
|
15472
|
+
for (var _i3 = 0; _i3 < menus.length; _i3++) {
|
|
15473
|
+
var item = menus[_i3];
|
|
15466
15474
|
if (item.id === url || item.appCode && item.appCode === url) {
|
|
15467
15475
|
if (item.url) {
|
|
15468
15476
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
@@ -15649,10 +15657,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15649
15657
|
}
|
|
15650
15658
|
}
|
|
15651
15659
|
if (this.application) {
|
|
15652
|
-
for (var
|
|
15653
|
-
if (res[
|
|
15654
|
-
this.menu = res[
|
|
15655
|
-
this.title = res[
|
|
15660
|
+
for (var _i4 = 0; _i4 < res.length; _i4++) {
|
|
15661
|
+
if (res[_i4].hasPermission) {
|
|
15662
|
+
this.menu = res[_i4].children;
|
|
15663
|
+
this.title = res[_i4].text;
|
|
15656
15664
|
break;
|
|
15657
15665
|
}
|
|
15658
15666
|
}
|
|
@@ -15815,10 +15823,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15815
15823
|
} else {
|
|
15816
15824
|
this.active = active.slice(1);
|
|
15817
15825
|
}
|
|
15818
|
-
for (var
|
|
15819
|
-
if (res[
|
|
15820
|
-
this.menu = res[
|
|
15821
|
-
this.title = res[
|
|
15826
|
+
for (var _i5 = 0; _i5 < res.length; _i5++) {
|
|
15827
|
+
if (res[_i5].id === active[0]) {
|
|
15828
|
+
this.menu = res[_i5].children;
|
|
15829
|
+
this.title = res[_i5].text;
|
|
15822
15830
|
break;
|
|
15823
15831
|
}
|
|
15824
15832
|
}
|
|
@@ -15838,8 +15846,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15838
15846
|
|
|
15839
15847
|
//获取页面类型及地址
|
|
15840
15848
|
getUrl: function getUrl(res, active, param) {
|
|
15841
|
-
for (var
|
|
15842
|
-
var item = res[
|
|
15849
|
+
for (var _i6 = 0; _i6 < res.length; _i6++) {
|
|
15850
|
+
var item = res[_i6];
|
|
15843
15851
|
if (item.id === active) {
|
|
15844
15852
|
if (item.url) {
|
|
15845
15853
|
this.handleJump(item.url, item.urlopenmode, item, param);
|
|
@@ -15867,9 +15875,9 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15867
15875
|
setUrl: function setUrl(url, param) {
|
|
15868
15876
|
var obj = param ? param : {};
|
|
15869
15877
|
var params = util["a" /* default */].getParams({ url: url }, true);
|
|
15870
|
-
for (var
|
|
15871
|
-
if (
|
|
15872
|
-
obj[
|
|
15878
|
+
for (var _i7 in params) {
|
|
15879
|
+
if (_i7 != 'model' && _i7 != 'view' && _i7 != '_baseUrl') {
|
|
15880
|
+
obj[_i7] = params[_i7];
|
|
15873
15881
|
}
|
|
15874
15882
|
}
|
|
15875
15883
|
var _url = params._baseUrl ? params._baseUrl : './primary.html';
|
|
@@ -16045,8 +16053,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
16045
16053
|
return false;
|
|
16046
16054
|
}
|
|
16047
16055
|
if (Array.isArray(res)) {
|
|
16048
|
-
for (var
|
|
16049
|
-
var path = this.hasRouter(res[
|
|
16056
|
+
for (var _i8 in res) {
|
|
16057
|
+
var path = this.hasRouter(res[_i8], url);
|
|
16050
16058
|
if (path) {
|
|
16051
16059
|
return path;
|
|
16052
16060
|
}
|
|
@@ -16265,8 +16273,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
16265
16273
|
},
|
|
16266
16274
|
getFourthTabs: function getFourthTabs(menus, id) {
|
|
16267
16275
|
if (Array.isArray(menus)) {
|
|
16268
|
-
for (var
|
|
16269
|
-
var fourth = this.getFourthTabs(menus[
|
|
16276
|
+
for (var _i9 = 0; _i9 < menus.length; _i9++) {
|
|
16277
|
+
var fourth = this.getFourthTabs(menus[_i9], id);
|
|
16270
16278
|
if (fourth) {
|
|
16271
16279
|
return fourth;
|
|
16272
16280
|
}
|
|
@@ -16276,8 +16284,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
16276
16284
|
return menus;
|
|
16277
16285
|
}
|
|
16278
16286
|
if (menus.children && menus.children.length) {
|
|
16279
|
-
for (var
|
|
16280
|
-
var _fourth = this.getFourthTabs(menus.children[
|
|
16287
|
+
for (var _i10 = 0; _i10 < menus.children.length; _i10++) {
|
|
16288
|
+
var _fourth = this.getFourthTabs(menus.children[_i10], id);
|
|
16281
16289
|
if (_fourth) {
|
|
16282
16290
|
return _fourth;
|
|
16283
16291
|
}
|
|
@@ -16382,26 +16390,26 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
16382
16390
|
take: api["oc" /* topic */],
|
|
16383
16391
|
success: function success(res) {
|
|
16384
16392
|
var data = res.data || {};
|
|
16385
|
-
for (var
|
|
16386
|
-
if (data[
|
|
16387
|
-
if (
|
|
16388
|
-
_this11.online = data[
|
|
16393
|
+
for (var _i11 in data) {
|
|
16394
|
+
if (data[_i11] !== null && data[_i11] !== undefined) {
|
|
16395
|
+
if (_i11 === 'onlineUserNums' && data[_i11] > 0) {
|
|
16396
|
+
_this11.online = data[_i11];
|
|
16389
16397
|
}
|
|
16390
|
-
if (
|
|
16391
|
-
_this11.notice = data[
|
|
16398
|
+
if (_i11 === 'sysMsgNums' && data[_i11] !== null) {
|
|
16399
|
+
_this11.notice = data[_i11];
|
|
16392
16400
|
if (_this11.showMsg) {
|
|
16393
16401
|
_this11.$refs.message.getMsg(true);
|
|
16394
16402
|
}
|
|
16395
16403
|
}
|
|
16396
|
-
if (
|
|
16397
|
-
_this11.menuTips = data[
|
|
16404
|
+
if (_i11 === 'menuTipsMap' && data[_i11] !== null) {
|
|
16405
|
+
_this11.menuTips = data[_i11];
|
|
16398
16406
|
}
|
|
16399
|
-
if (
|
|
16400
|
-
_this11.sysMsg = data[
|
|
16401
|
-
data[
|
|
16407
|
+
if (_i11 === 'sysMsgList' && data[_i11] !== null) {
|
|
16408
|
+
_this11.sysMsg = data[_i11];
|
|
16409
|
+
data[_i11] && data[_i11].length && _this11.$emit('bus-emit', 'waitdone');
|
|
16402
16410
|
}
|
|
16403
|
-
if (
|
|
16404
|
-
_this11.extraData = data[
|
|
16411
|
+
if (_i11 === 'extraData' && data[_i11] !== null) {
|
|
16412
|
+
_this11.extraData = data[_i11];
|
|
16405
16413
|
}
|
|
16406
16414
|
}
|
|
16407
16415
|
}
|
|
@@ -16508,8 +16516,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
16508
16516
|
|
|
16509
16517
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
16510
16518
|
src_defaultvue_type_script_lang_js_,
|
|
16511
|
-
|
|
16512
|
-
|
|
16519
|
+
defaultvue_type_template_id_0d60331a_render,
|
|
16520
|
+
defaultvue_type_template_id_0d60331a_staticRenderFns,
|
|
16513
16521
|
false,
|
|
16514
16522
|
null,
|
|
16515
16523
|
null,
|
|
@@ -16645,12 +16653,11 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
16645
16653
|
if (this.params.cookie && (this.params.cookie == true || this.params.cookie == 1)) {
|
|
16646
16654
|
this.isLogin = true;
|
|
16647
16655
|
}
|
|
16648
|
-
this.getConfig(this.params);
|
|
16649
|
-
// 主应用监听事件
|
|
16650
16656
|
},
|
|
16651
16657
|
mounted: function mounted() {
|
|
16652
16658
|
var _this = this;
|
|
16653
16659
|
|
|
16660
|
+
this.getConfig(this.params);
|
|
16654
16661
|
if (this.isLogin) {
|
|
16655
16662
|
if (util["a" /* default */].win.$wujie) {
|
|
16656
16663
|
util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
|