eoss-ui 0.5.83 → 0.5.85

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +146 -66
  3. package/lib/button.js +118 -69
  4. package/lib/checkbox-group.js +64 -46
  5. package/lib/config/api.js +5 -1
  6. package/lib/data-table-form.js +64 -46
  7. package/lib/data-table.js +468 -295
  8. package/lib/date-picker.js +64 -46
  9. package/lib/dialog.js +71 -48
  10. package/lib/eoss-ui.common.js +9188 -15746
  11. package/lib/flow-group.js +64 -46
  12. package/lib/flow-list.js +65 -47
  13. package/lib/flow.js +113 -77
  14. package/lib/form.js +5708 -13486
  15. package/lib/handle-user.js +65 -47
  16. package/lib/handler.js +70 -48
  17. package/lib/icon.js +64 -46
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +64 -46
  20. package/lib/input.js +64 -46
  21. package/lib/login.js +86 -57
  22. package/lib/main.js +1435 -483
  23. package/lib/nav.js +64 -46
  24. package/lib/notify.js +51 -46
  25. package/lib/page.js +64 -46
  26. package/lib/pagination.js +64 -46
  27. package/lib/player.js +64 -46
  28. package/lib/qr-code.js +64 -46
  29. package/lib/radio-group.js +64 -46
  30. package/lib/retrial-auth.js +64 -46
  31. package/lib/select-ganged.js +64 -46
  32. package/lib/select.js +65 -47
  33. package/lib/selector-panel.js +64 -46
  34. package/lib/selector.js +64 -46
  35. package/lib/sizer.js +64 -46
  36. package/lib/steps.js +64 -46
  37. package/lib/switch.js +64 -46
  38. package/lib/table-form.js +64 -46
  39. package/lib/tabs.js +64 -46
  40. package/lib/theme-chalk/calendar.css +1 -1
  41. package/lib/theme-chalk/data-table.css +1 -1
  42. package/lib/theme-chalk/dialog.css +1 -1
  43. package/lib/theme-chalk/form.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/theme-chalk/main.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/tips.js +64 -46
  48. package/lib/tree-group.js +64 -46
  49. package/lib/tree.js +64 -46
  50. package/lib/upload.js +78 -60
  51. package/lib/utils/util.js +18 -5
  52. package/lib/wujie.js +64 -46
  53. package/lib/wxlogin.js +64 -46
  54. package/package.json +2 -2
  55. package/packages/button/src/main.vue +88 -55
  56. package/packages/button-group/src/main.vue +56 -13
  57. package/packages/data-table/src/children.vue +3 -2
  58. package/packages/data-table/src/column.vue +6 -4
  59. package/packages/data-table/src/main.vue +150 -69
  60. package/packages/data-table/src/sizer.vue +51 -22
  61. package/packages/dialog/src/main.vue +5 -1
  62. package/packages/flow/src/main.vue +26 -17
  63. package/packages/form/src/main.vue +129 -2103
  64. package/packages/handler/src/main.vue +5 -0
  65. package/packages/login/src/main.vue +12 -1
  66. package/packages/login/src/resetPassword.vue +4 -2
  67. package/packages/main/src/default/index.vue +35 -54
  68. package/packages/main/src/default/userinfo.vue +2 -1
  69. package/packages/main/src/public/search.vue +444 -0
  70. package/packages/main/src/simplicity/apps.vue +20 -2
  71. package/packages/main/src/simplicity/handler.vue +0 -2
  72. package/packages/main/src/simplicity/index.vue +97 -32
  73. package/packages/main/src/simplicity/userinfo.vue +1 -0
  74. package/packages/select/src/main.vue +1 -1
  75. package/packages/theme-chalk/lib/calendar.css +1 -1
  76. package/packages/theme-chalk/lib/data-table.css +1 -1
  77. package/packages/theme-chalk/lib/dialog.css +1 -1
  78. package/packages/theme-chalk/lib/form.css +1 -1
  79. package/packages/theme-chalk/lib/index.css +1 -1
  80. package/packages/theme-chalk/lib/main.css +1 -1
  81. package/packages/theme-chalk/lib/simplicity.css +1 -1
  82. package/packages/theme-chalk/src/calendar.scss +3 -3
  83. package/packages/theme-chalk/src/data-table.scss +12 -0
  84. package/packages/theme-chalk/src/dialog.scss +15 -0
  85. package/packages/theme-chalk/src/form.scss +6 -0
  86. package/packages/theme-chalk/src/main.scss +2 -1
  87. package/packages/theme-chalk/src/simplicity.scss +172 -4
  88. package/packages/upload/src/main.vue +16 -12
  89. package/src/config/api.js +5 -1
  90. package/src/index.js +157 -157
  91. package/src/utils/util.js +18 -5
package/lib/main.js CHANGED
@@ -2020,11 +2020,24 @@ var identical = function identical(_ref7) {
2020
2020
  var indexOfObj = function indexOfObj(arry, target, key) {
2021
2021
  for (var i = 0; i < arry.length; i++) {
2022
2022
  if (key) {
2023
- if (typeof target === 'string' && arry[i][key] === target) {
2024
- return i;
2025
- }
2026
- if (target[key] === arry[i][key]) {
2027
- return i;
2023
+ if (key.indexOf(',') > -1) {
2024
+ var keys = key.split(',');
2025
+ for (var n = 0; n < keys.length; n++) {
2026
+ var k = keys[n];
2027
+ if (typeof target === 'string' && arry[i][k] === target) {
2028
+ return i;
2029
+ }
2030
+ if (target[k] === arry[i][k]) {
2031
+ return i;
2032
+ }
2033
+ }
2034
+ } else {
2035
+ if (typeof target === 'string' && arry[i][key] === target) {
2036
+ return i;
2037
+ }
2038
+ if (target[key] === arry[i][key]) {
2039
+ return i;
2040
+ }
2028
2041
  }
2029
2042
  } else {
2030
2043
  if (JSON.stringify(target) === JSON.stringify(arry[i])) {
@@ -3253,7 +3266,7 @@ var watermark = function watermark(option) {
3253
3266
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3254
3267
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
3255
3268
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initLogin; });
3256
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return switchUserTo; });
3269
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return switchUserTo; });
3257
3270
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3258
3271
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
3259
3272
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
@@ -3271,12 +3284,12 @@ var watermark = function watermark(option) {
3271
3284
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return scanCodeRetrialAuth; });
3272
3285
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3273
3286
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3274
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return userOnline; });
3287
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return userOnline; });
3275
3288
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3276
3289
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return recordUserApp; });
3277
3290
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
3278
3291
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initUserSet; });
3279
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserInfo; });
3292
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return updateUserInfo; });
3280
3293
  /* unused harmony export getUserImgUrl */
3281
3294
  /* unused harmony export getDoorIndex */
3282
3295
  /* unused harmony export refreshOnlineUsers */
@@ -3285,17 +3298,18 @@ var watermark = function watermark(option) {
3285
3298
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3286
3299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
3287
3300
  /* unused harmony export getUserCustomInfo */
3288
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserCustomInfo; });
3289
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sysMsgPage; });
3301
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserCustomInfo; });
3302
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return sysMsgPage; });
3290
3303
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
3291
3304
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
3305
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return searchType; });
3292
3306
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
3293
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploads; });
3294
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadOnlyOne; });
3307
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return uploads; });
3308
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadOnlyOne; });
3295
3309
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
3296
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadSort; });
3310
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploadSort; });
3297
3311
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
3298
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadDownloads; });
3312
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadDownloads; });
3299
3313
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
3300
3314
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
3301
3315
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
@@ -3313,13 +3327,13 @@ var watermark = function watermark(option) {
3313
3327
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
3314
3328
  /* unused harmony export getCurrentuser */
3315
3329
  /* unused harmony export mainDetail */
3316
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartFlow; });
3317
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return tempSave; });
3330
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartFlow; });
3331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return tempSave; });
3318
3332
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3319
3333
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3320
3334
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
3321
3335
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return saveCommonOpinion; });
3322
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateCommonOpinion; });
3336
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateCommonOpinion; });
3323
3337
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3324
3338
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
3325
3339
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
@@ -3328,52 +3342,52 @@ var watermark = function watermark(option) {
3328
3342
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3329
3343
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
3330
3344
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getHandleInfoHtml; });
3331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskHandleHtml; });
3345
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskHandleHtml; });
3332
3346
  /* unused harmony export getView */
3333
3347
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return register; });
3334
3348
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryList; });
3335
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskRejectHtml; });
3336
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskRejectHtml; });
3337
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskRead; });
3338
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskReadIndex; });
3339
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReadHtml; });
3349
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskRejectHtml; });
3350
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskRejectHtml; });
3351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskRead; });
3352
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toStartTaskReadIndex; });
3353
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskReadHtml; });
3340
3354
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return rejectAndEnd; });
3341
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toSendMsg; });
3342
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendMsg; });
3355
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toSendMsg; });
3356
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sendMsg; });
3343
3357
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3344
3358
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
3345
3359
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
3346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return wss; });
3347
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return topic; });
3360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return wss; });
3361
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return topic; });
3348
3362
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
3349
3363
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getPresetNodeInfo; });
3350
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTransferIndex; });
3351
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTransfer; });
3352
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toPresetInfoListIndex; });
3364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskTransferIndex; });
3365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskTransfer; });
3366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toPresetInfoListIndex; });
3353
3367
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3354
3368
  /* unused harmony export historyListJson */
3355
3369
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
3356
3370
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
3357
3371
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3358
3372
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return isCanStartSubFlow; });
3359
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionExamine; });
3360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionExamine; });
3361
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTakeAdvice; });
3362
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTakeAdvice; });
3363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskStartDraft; });
3364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskStartDraft; });
3365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskReview; });
3366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskReview; });
3367
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionSeal; });
3368
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionSeal; });
3369
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTwoOfficesDispatch; });
3370
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return twoOfficesDispatch; });
3371
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendList; });
3372
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendInfo; });
3373
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionExamine; });
3374
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionExamine; });
3375
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTakeAdvice; });
3376
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTakeAdvice; });
3377
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskStartDraft; });
3378
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskStartDraft; });
3379
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskReview; });
3380
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskReview; });
3381
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTaskUnionSeal; });
3382
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return taskUnionSeal; });
3383
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return toTwoOfficesDispatch; });
3384
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return twoOfficesDispatch; });
3385
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendList; });
3386
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendInfo; });
3373
3387
  /* unused harmony export sendSave */
3374
3388
  /* unused harmony export sendUpdate */
3375
3389
  /* unused harmony export sendDelete */
3376
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendBatch; });
3390
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendBatch; });
3377
3391
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3378
3392
  // 登录
3379
3393
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -3420,6 +3434,9 @@ var updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更新主题
3420
3434
  var sysMsgPage = '/main2/notify/sysMsgPage'; // 获取系统消息
3421
3435
  var ignoreSysMsg = '/main2/notify/ignoreSysMsg'; // 忽略系统消息
3422
3436
  var ignoreAllSysMsg = '/main2/notify/ignoreAllSysMsg'; // 忽略全部系统消息
3437
+ // 框架 - 搜索
3438
+ var searchType = '/oceansearch/v2/search/catalog'; // 搜索分类类型
3439
+
3423
3440
  // 附件相关
3424
3441
  var getAdjunctProperties = '/main2/mecpfileManagement/getAdjunctProperties'; // 获取附件扩展类型大小
3425
3442
  var uploads = '/main2/mecpfileManagement/upload'; // 上传接口
@@ -3594,7 +3611,8 @@ var sendDelete = '/notify2/notifySendRecord/deleteById';
3594
3611
  var sendBatch = '/notify2/sendRecord/reSendNotifyMessageBatch';
3595
3612
 
3596
3613
  // 表单结构
3597
- var formContents = '/config/admin/online/onlineForm/render';
3614
+
3615
+ var formContents = '/lowcode/admin/online/onlineForm/getOnlineFormFromCache';
3598
3616
 
3599
3617
  /***/ }),
3600
3618
  /* 2 */
@@ -4021,8 +4039,8 @@ render._withStripped = true
4021
4039
 
4022
4040
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a3c25372&
4023
4041
 
4024
- // 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=62dac392&scoped=true&
4025
- var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4042
+ // 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=7b4d5e88&scoped=true&
4043
+ var simplicityvue_type_template_id_7b4d5e88_scoped_true_render = function () {
4026
4044
  var _vm = this
4027
4045
  var _h = _vm.$createElement
4028
4046
  var _c = _vm._self._c || _h
@@ -4037,38 +4055,45 @@ var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4037
4055
  attrs: { src: _vm.mainLogo },
4038
4056
  })
4039
4057
  : _vm._e(),
4040
- _c("div", { staticClass: "es-simplicity-org-name" }, [
4041
- _vm._v(
4042
- "\n " +
4043
- _vm._s(
4044
- _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName
4045
- ) +
4046
- "\n "
4047
- ),
4048
- ]),
4058
+ _c(
4059
+ "div",
4060
+ {
4061
+ staticClass: "es-simplicity-org-name es-text-ellipsis-row2",
4062
+ attrs: {
4063
+ title:
4064
+ _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName,
4065
+ },
4066
+ },
4067
+ [
4068
+ _vm._v(
4069
+ "\n " +
4070
+ _vm._s(
4071
+ _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName
4072
+ ) +
4073
+ "\n "
4074
+ ),
4075
+ ]
4076
+ ),
4049
4077
  _c(
4050
4078
  "el-popover",
4051
4079
  {
4052
4080
  staticClass: "es-simplicity-user-popover",
4053
4081
  attrs: { placement: "right-start", width: "360", trigger: "click" },
4054
- on: { show: _vm.showUserInfo },
4055
4082
  },
4056
4083
  [
4057
- _vm.showUser
4058
- ? _c("user", {
4059
- attrs: {
4060
- user: _vm.user,
4061
- notifyList: _vm.notifyList,
4062
- notify: _vm.notify,
4063
- contents: _vm.userInfoContents,
4064
- },
4065
- on: {
4066
- success: _vm.handleSuccess,
4067
- change: _vm.handleChangeConfig,
4068
- close: _vm.handlerClose,
4069
- },
4070
- })
4071
- : _vm._e(),
4084
+ _c("user", {
4085
+ attrs: {
4086
+ user: _vm.user,
4087
+ notifyList: _vm.notifyList,
4088
+ notify: _vm.notify,
4089
+ contents: _vm.userInfoContents,
4090
+ },
4091
+ on: {
4092
+ success: _vm.handleSuccess,
4093
+ change: _vm.handleChangeConfig,
4094
+ close: _vm.handlerClose,
4095
+ },
4096
+ }),
4072
4097
  _c("avatar", {
4073
4098
  attrs: { slot: "reference", user: _vm.user, size: 56 },
4074
4099
  slot: "reference",
@@ -4278,6 +4303,7 @@ var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4278
4303
  applications: _vm.applications,
4279
4304
  business: _vm.business,
4280
4305
  systems: _vm.systems,
4306
+ user: _vm.user,
4281
4307
  },
4282
4308
  on: {
4283
4309
  "update:visible": function ($event) {
@@ -4447,14 +4473,7 @@ var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4447
4473
  attrs: {
4448
4474
  slot: "append",
4449
4475
  data: _vm.handleData,
4450
- hide: Object.assign(
4451
- {},
4452
- {
4453
- home: _vm.indexUrl ? false : true,
4454
- index: _vm.doorIndex ? false : true,
4455
- },
4456
- _vm.hides
4457
- ),
4476
+ hide: _vm.hide,
4458
4477
  online: _vm.userNums,
4459
4478
  "notice-num": _vm.notice,
4460
4479
  },
@@ -4589,6 +4608,28 @@ var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4589
4608
  attrs: { data: _vm.sysMsg, winopen: _vm.winopen },
4590
4609
  on: { opened: _vm.handleOpened },
4591
4610
  }),
4611
+ _c(
4612
+ "es-dialog",
4613
+ {
4614
+ attrs: { visible: _vm.showSearch, size: "lg" },
4615
+ on: {
4616
+ "update:visible": function ($event) {
4617
+ _vm.showSearch = $event
4618
+ },
4619
+ },
4620
+ },
4621
+ [
4622
+ _c("search", {
4623
+ attrs: {
4624
+ apps: _vm.applications,
4625
+ menus: _vm.menus,
4626
+ menuIcon: _vm.menuIcon,
4627
+ },
4628
+ on: { select: _vm.handleSelect },
4629
+ }),
4630
+ ],
4631
+ 1
4632
+ ),
4592
4633
  _c(
4593
4634
  "es-dialog",
4594
4635
  {
@@ -4624,11 +4665,11 @@ var simplicityvue_type_template_id_62dac392_scoped_true_render = function () {
4624
4665
  ),
4625
4666
  ])
4626
4667
  }
4627
- var simplicityvue_type_template_id_62dac392_scoped_true_staticRenderFns = []
4628
- simplicityvue_type_template_id_62dac392_scoped_true_render._withStripped = true
4668
+ var simplicityvue_type_template_id_7b4d5e88_scoped_true_staticRenderFns = []
4669
+ simplicityvue_type_template_id_7b4d5e88_scoped_true_render._withStripped = true
4629
4670
 
4630
4671
 
4631
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=62dac392&scoped=true&
4672
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7b4d5e88&scoped=true&
4632
4673
 
4633
4674
  // 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&
4634
4675
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -4678,7 +4719,7 @@ avatarvue_type_template_id_1560e8bf_scoped_true_render._withStripped = true
4678
4719
  // CONCATENATED MODULE: ./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
4679
4720
 
4680
4721
  // EXTERNAL MODULE: ./src/utils/util.js
4681
- var util = __webpack_require__(0);
4722
+ var utils_util = __webpack_require__(0);
4682
4723
 
4683
4724
  // EXTERNAL MODULE: ./src/config/api.js
4684
4725
  var api = __webpack_require__(1);
@@ -4752,7 +4793,7 @@ var api = __webpack_require__(1);
4752
4793
  methods: {
4753
4794
  handleSuccess: function handleSuccess(response, file) {
4754
4795
  var res = file.response;
4755
- if (res.url && util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4796
+ if (res.url && utils_util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4756
4797
  this.userHead = res.url;
4757
4798
  } else {
4758
4799
  this.userHead = api["r" /* downloadByAdjunctId */] + '?adjunctId=' + res.adjunctId;
@@ -4786,8 +4827,8 @@ var component = Object(componentNormalizer["a" /* default */])(
4786
4827
  )
4787
4828
 
4788
4829
  /* harmony default export */ var avatar = (component.exports);
4789
- // 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=36a30d46&scoped=true&
4790
- var handlervue_type_template_id_36a30d46_scoped_true_render = function () {
4830
+ // 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=7eac3976&scoped=true&
4831
+ var handlervue_type_template_id_7eac3976_scoped_true_render = function () {
4791
4832
  var _vm = this
4792
4833
  var _h = _vm.$createElement
4793
4834
  var _c = _vm._self._c || _h
@@ -4867,11 +4908,11 @@ var handlervue_type_template_id_36a30d46_scoped_true_render = function () {
4867
4908
  2
4868
4909
  )
4869
4910
  }
4870
- var handlervue_type_template_id_36a30d46_scoped_true_staticRenderFns = []
4871
- handlervue_type_template_id_36a30d46_scoped_true_render._withStripped = true
4911
+ var handlervue_type_template_id_7eac3976_scoped_true_staticRenderFns = []
4912
+ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
4872
4913
 
4873
4914
 
4874
- // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=36a30d46&scoped=true&
4915
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=7eac3976&scoped=true&
4875
4916
 
4876
4917
  // 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&
4877
4918
  //
@@ -4923,7 +4964,6 @@ handlervue_type_template_id_36a30d46_scoped_true_render._withStripped = true
4923
4964
  //
4924
4965
 
4925
4966
 
4926
- var doorIndex = sessionStorage.getItem('doorIndex');
4927
4967
  /* harmony default export */ var handlervue_type_script_lang_js_ = ({
4928
4968
  name: 'Handler',
4929
4969
  components: {},
@@ -4943,7 +4983,6 @@ var doorIndex = sessionStorage.getItem('doorIndex');
4943
4983
  default: function _default() {
4944
4984
  return {
4945
4985
  type: 'index',
4946
- link: doorIndex,
4947
4986
  icon: 'es-icon-home',
4948
4987
  title: '门户'
4949
4988
  };
@@ -5023,14 +5062,14 @@ var doorIndex = sessionStorage.getItem('doorIndex');
5023
5062
  });
5024
5063
  },
5025
5064
  isClick: function isClick() {
5026
- var useCaseCodes = util["a" /* default */].getStorage('useCaseCodes');
5065
+ var useCaseCodes = utils_util["a" /* default */].getStorage('useCaseCodes');
5027
5066
  return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
5028
5067
  }
5029
5068
  },
5030
5069
  watch: {},
5031
5070
  created: function created() {
5032
5071
  //this.time = util.timeCycle() + '好!';
5033
- this.date = util["a" /* default */].formatDate('', 'yyyy年M月d日');
5072
+ this.date = utils_util["a" /* default */].formatDate('', 'yyyy年M月d日');
5034
5073
  },
5035
5074
  mounted: function mounted() {
5036
5075
  this.getTime();
@@ -5042,7 +5081,7 @@ var doorIndex = sessionStorage.getItem('doorIndex');
5042
5081
 
5043
5082
  this.timer && clearInterval(this.timer);
5044
5083
  this.timer = setInterval(function () {
5045
- _this2.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
5084
+ _this2.time = utils_util["a" /* default */].formatDate('', 'HH:mm:ss');
5046
5085
  });
5047
5086
  },
5048
5087
  isShow: function isShow(res) {
@@ -5072,11 +5111,11 @@ var doorIndex = sessionStorage.getItem('doorIndex');
5072
5111
 
5073
5112
  var handler_component = Object(componentNormalizer["a" /* default */])(
5074
5113
  simplicity_handlervue_type_script_lang_js_,
5075
- handlervue_type_template_id_36a30d46_scoped_true_render,
5076
- handlervue_type_template_id_36a30d46_scoped_true_staticRenderFns,
5114
+ handlervue_type_template_id_7eac3976_scoped_true_render,
5115
+ handlervue_type_template_id_7eac3976_scoped_true_staticRenderFns,
5077
5116
  false,
5078
5117
  null,
5079
- "36a30d46",
5118
+ "7eac3976",
5080
5119
  null
5081
5120
 
5082
5121
  )
@@ -5469,10 +5508,10 @@ menu_listvue_type_template_id_43b0ff18_scoped_true_render._withStripped = true
5469
5508
  this.defaultActive = res.id;
5470
5509
  if (res.url) {
5471
5510
  if (res.urlopenmode == 1) {
5472
- util["a" /* default */].win.open(res.url);
5511
+ utils_util["a" /* default */].win.open(res.url);
5473
5512
  return;
5474
5513
  } else if (res.urlopenmode == 2) {
5475
- util["a" /* default */].win.open(res.url, '_self');
5514
+ utils_util["a" /* default */].win.open(res.url, '_self');
5476
5515
  return;
5477
5516
  }
5478
5517
  this.$emit('command', res);
@@ -5769,8 +5808,8 @@ var sub_menu_component = Object(componentNormalizer["a" /* default */])(
5769
5808
  )
5770
5809
 
5771
5810
  /* harmony default export */ var sub_menu = (sub_menu_component.exports);
5772
- // 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=1bb0ddc3&scoped=true&
5773
- var appsvue_type_template_id_1bb0ddc3_scoped_true_render = function () {
5811
+ // 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=37754599&scoped=true&
5812
+ var appsvue_type_template_id_37754599_scoped_true_render = function () {
5774
5813
  var this$1 = this
5775
5814
  var _vm = this
5776
5815
  var _h = _vm.$createElement
@@ -5983,7 +6022,12 @@ var appsvue_type_template_id_1bb0ddc3_scoped_true_render = function () {
5983
6022
  }),
5984
6023
  _c(
5985
6024
  "el-badge",
5986
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
6025
+ _vm._b(
6026
+ { staticClass: "es-simplicity_apps-texts" },
6027
+ "el-badge",
6028
+ _vm.getBadge(item),
6029
+ false
6030
+ ),
5987
6031
  [
5988
6032
  _c(
5989
6033
  "div",
@@ -6095,7 +6139,12 @@ var appsvue_type_template_id_1bb0ddc3_scoped_true_render = function () {
6095
6139
  }),
6096
6140
  _c(
6097
6141
  "el-badge",
6098
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
6142
+ _vm._b(
6143
+ { staticClass: "es-simplicity_apps-texts" },
6144
+ "el-badge",
6145
+ _vm.getBadge(item),
6146
+ false
6147
+ ),
6099
6148
  [
6100
6149
  _c(
6101
6150
  "div",
@@ -6172,11 +6221,11 @@ var appsvue_type_template_id_1bb0ddc3_scoped_true_render = function () {
6172
6221
  ]
6173
6222
  )
6174
6223
  }
6175
- var appsvue_type_template_id_1bb0ddc3_scoped_true_staticRenderFns = []
6176
- appsvue_type_template_id_1bb0ddc3_scoped_true_render._withStripped = true
6224
+ var appsvue_type_template_id_37754599_scoped_true_staticRenderFns = []
6225
+ appsvue_type_template_id_37754599_scoped_true_render._withStripped = true
6177
6226
 
6178
6227
 
6179
- // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=1bb0ddc3&scoped=true&
6228
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=37754599&scoped=true&
6180
6229
 
6181
6230
  // EXTERNAL MODULE: external "throttle-debounce"
6182
6231
  var external_throttle_debounce_ = __webpack_require__(11);
@@ -6368,12 +6417,20 @@ var external_throttle_debounce_ = __webpack_require__(11);
6368
6417
  //
6369
6418
  //
6370
6419
  //
6420
+ //
6421
+ //
6422
+ //
6423
+ //
6424
+ //
6425
+ //
6426
+
6371
6427
 
6372
6428
 
6373
6429
  /* harmony default export */ var appsvue_type_script_lang_js_ = ({
6374
6430
  name: 'Apps',
6375
6431
  components: {},
6376
6432
  props: {
6433
+ user: Object,
6377
6434
  visible: Boolean,
6378
6435
  //菜单、应用默认图标
6379
6436
  menuIcon: String,
@@ -6518,6 +6575,13 @@ var external_throttle_debounce_ = __webpack_require__(11);
6518
6575
  }
6519
6576
  },
6520
6577
  handleClick: function handleClick(res) {
6578
+ util.ajax({
6579
+ url: api["mb" /* recordUserApp */],
6580
+ params: {
6581
+ userId: this.user.userId,
6582
+ appId: res.id
6583
+ }
6584
+ }).then(function () {}).catch(function () {});
6521
6585
  this.$emit('click', res);
6522
6586
  },
6523
6587
 
@@ -6551,11 +6615,11 @@ var external_throttle_debounce_ = __webpack_require__(11);
6551
6615
 
6552
6616
  var apps_component = Object(componentNormalizer["a" /* default */])(
6553
6617
  simplicity_appsvue_type_script_lang_js_,
6554
- appsvue_type_template_id_1bb0ddc3_scoped_true_render,
6555
- appsvue_type_template_id_1bb0ddc3_scoped_true_staticRenderFns,
6618
+ appsvue_type_template_id_37754599_scoped_true_render,
6619
+ appsvue_type_template_id_37754599_scoped_true_staticRenderFns,
6556
6620
  false,
6557
6621
  null,
6558
- "1bb0ddc3",
6622
+ "37754599",
6559
6623
  null
6560
6624
 
6561
6625
  )
@@ -6728,8 +6792,8 @@ uservue_type_template_id_edaa0dc4_scoped_true_render._withStripped = true
6728
6792
 
6729
6793
  // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=edaa0dc4&scoped=true&
6730
6794
 
6731
- // 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&
6732
- var userinfovue_type_template_id_0dbd4cc6_render = function () {
6795
+ // 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=9a76ed7c&
6796
+ var userinfovue_type_template_id_9a76ed7c_render = function () {
6733
6797
  var _vm = this
6734
6798
  var _h = _vm.$createElement
6735
6799
  var _c = _vm._self._c || _h
@@ -6738,18 +6802,18 @@ var userinfovue_type_template_id_0dbd4cc6_render = function () {
6738
6802
  {
6739
6803
  ref: "form",
6740
6804
  staticClass: "es-user-info",
6741
- attrs: { model: _vm.model, contents: _vm.forms },
6805
+ attrs: { model: _vm.model, contents: _vm.forms, autocomplete: false },
6742
6806
  on: { submit: _vm.handleFormSubmit },
6743
6807
  },
6744
6808
  [_c("template", { slot: "other" }, [_vm._t("default")], 2)],
6745
6809
  2
6746
6810
  )
6747
6811
  }
6748
- var userinfovue_type_template_id_0dbd4cc6_staticRenderFns = []
6749
- userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6812
+ var userinfovue_type_template_id_9a76ed7c_staticRenderFns = []
6813
+ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
6750
6814
 
6751
6815
 
6752
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=0dbd4cc6&
6816
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=9a76ed7c&
6753
6817
 
6754
6818
  // 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&
6755
6819
  //
@@ -6765,6 +6829,7 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6765
6829
  //
6766
6830
  //
6767
6831
  //
6832
+ //
6768
6833
 
6769
6834
 
6770
6835
 
@@ -6919,19 +6984,19 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6919
6984
  handleFormSubmit: function handleFormSubmit() {
6920
6985
  var _this2 = this;
6921
6986
 
6922
- var initLogin = util["a" /* default */].getStorage('initLogin');
6987
+ var initLogin = utils_util["a" /* default */].getStorage('initLogin');
6923
6988
  initLogin && (initLogin = JSON.parse(initLogin));
6924
- util["a" /* default */].ajax({
6925
- url: api["Yb" /* updateUserInfo */],
6989
+ utils_util["a" /* default */].ajax({
6990
+ url: api["Zb" /* updateUserInfo */],
6926
6991
  params: {
6927
6992
  email: this.model.email,
6928
6993
  officeTel: this.model.officeTel,
6929
6994
  phone: this.model.phone,
6930
- oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? util["a" /* default */].esmEncrypt({
6995
+ oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? utils_util["a" /* default */].esmEncrypt({
6931
6996
  data: this.model.oldpassword,
6932
6997
  key: initLogin.secret
6933
6998
  }) : this.model.oldpassword,
6934
- password: this.secret && initLogin && initLogin.secret && this.model.password ? util["a" /* default */].esmEncrypt({
6999
+ password: this.secret && initLogin && initLogin.secret && this.model.password ? utils_util["a" /* default */].esmEncrypt({
6935
7000
  data: this.model.password,
6936
7001
  key: initLogin.secret
6937
7002
  }) : this.model.password
@@ -6945,12 +7010,12 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6945
7010
  closeOnClickModal: false,
6946
7011
  type: 'warning'
6947
7012
  }).then(function () {
6948
- var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
7013
+ var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
6949
7014
  try {
6950
7015
  if (loginPage) {
6951
7016
  var src = void 0;
6952
- if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
6953
- var pathname = util["a" /* default */].win.top.location.pathname;
7017
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
7018
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
6954
7019
  if (pathname !== '/') {
6955
7020
  pathname = pathname.split('/');
6956
7021
  pathname.splice(pathname.length - 1);
@@ -6962,20 +7027,20 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6962
7027
  } else {
6963
7028
  src = loginPage;
6964
7029
  }
6965
- util["a" /* default */].win.top.location.href = src;
6966
- } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
6967
- util["a" /* default */].win.top.location.href = './login.html';
7030
+ utils_util["a" /* default */].win.top.location.href = src;
7031
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
7032
+ utils_util["a" /* default */].win.top.location.href = './login.html';
6968
7033
  } else {
6969
- var hash = util["a" /* default */].win.top.location.hash;
7034
+ var hash = utils_util["a" /* default */].win.top.location.hash;
6970
7035
  if (hash) {
6971
- var len = util["a" /* default */].win.top.location.href.indexOf(hash);
6972
- util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
7036
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
7037
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
6973
7038
  } else {
6974
- util["a" /* default */].win.top.location.href = '/login.html';
7039
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
6975
7040
  }
6976
7041
  }
6977
7042
  } catch (error) {
6978
- util["a" /* default */].win.postMessage({ type: 1 }, '*');
7043
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
6979
7044
  }
6980
7045
  }).catch(function (e) {});
6981
7046
  }
@@ -6987,7 +7052,7 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6987
7052
  },
6988
7053
  repassword: function repassword(rule, value, callback) {
6989
7054
  if (this.model.oldpassword && this.model.password && value) {
6990
- util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
7055
+ utils_util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
6991
7056
  } else {
6992
7057
  callback();
6993
7058
  return true;
@@ -7007,8 +7072,8 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
7007
7072
 
7008
7073
  var userinfo_component = Object(componentNormalizer["a" /* default */])(
7009
7074
  simplicity_userinfovue_type_script_lang_js_,
7010
- userinfovue_type_template_id_0dbd4cc6_render,
7011
- userinfovue_type_template_id_0dbd4cc6_staticRenderFns,
7075
+ userinfovue_type_template_id_9a76ed7c_render,
7076
+ userinfovue_type_template_id_9a76ed7c_staticRenderFns,
7012
7077
  false,
7013
7078
  null,
7014
7079
  null,
@@ -7144,7 +7209,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7144
7209
  getData: function getData() {
7145
7210
  var _this2 = this;
7146
7211
 
7147
- util["a" /* default */].ajax({
7212
+ utils_util["a" /* default */].ajax({
7148
7213
  url: api["ab" /* initUserSet */]
7149
7214
  }).then(function (res) {
7150
7215
  if (res.rCode === 0) {
@@ -7184,9 +7249,9 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7184
7249
  var _this3 = this;
7185
7250
 
7186
7251
  var notify = this.checked.join(',');
7187
- util["a" /* default */].ajax({
7252
+ utils_util["a" /* default */].ajax({
7188
7253
  method: 'post',
7189
- url: api["Xb" /* updateUserCustomInfo */],
7254
+ url: api["Yb" /* updateUserCustomInfo */],
7190
7255
  data: {
7191
7256
  notify: notify
7192
7257
  }
@@ -7214,25 +7279,25 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7214
7279
  var _this4 = this;
7215
7280
 
7216
7281
  if (this.user.identityId !== res.id) {
7217
- util["a" /* default */].ajax({
7282
+ utils_util["a" /* default */].ajax({
7218
7283
  method: 'post',
7219
- url: api["vb" /* switchUserTo */],
7284
+ url: api["wb" /* switchUserTo */],
7220
7285
  data: { userId: res.value }
7221
7286
  }).then(function (res) {
7222
7287
  if (res.rCode == 0) {
7223
7288
  _this4.$emit('close');
7224
- util["a" /* default */].setStorage({
7289
+ utils_util["a" /* default */].setStorage({
7225
7290
  type: _this4.storage,
7226
7291
  key: 'userId',
7227
7292
  value: res.value
7228
7293
  });
7229
- util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7294
+ utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7230
7295
  _this4.$message({
7231
7296
  message: res.msg,
7232
7297
  type: 'success',
7233
7298
  duration: 500,
7234
7299
  onClose: function onClose() {
7235
- if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7300
+ if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7236
7301
  location.reload();
7237
7302
  } else {
7238
7303
  _this4.$router.replace('/main');
@@ -7591,7 +7656,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7591
7656
  };
7592
7657
  },
7593
7658
  mounted: function mounted() {
7594
- util["a" /* default */].win.deleteMsg = this.handleRemove;
7659
+ utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
7595
7660
  },
7596
7661
 
7597
7662
  methods: {
@@ -7601,8 +7666,8 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7601
7666
 
7602
7667
  if (this.pageNum <= this.pageCount) {
7603
7668
  this.loading = true;
7604
- util["a" /* default */].ajax({
7605
- url: api["wb" /* sysMsgPage */],
7669
+ utils_util["a" /* default */].ajax({
7670
+ url: api["xb" /* sysMsgPage */],
7606
7671
  params: {
7607
7672
  pageNum: reload ? 1 : this.pageNum,
7608
7673
  pageSize: this.pageSize
@@ -7634,7 +7699,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7634
7699
  handleIgnore: function handleIgnore(res, i) {
7635
7700
  var _this2 = this;
7636
7701
 
7637
- util["a" /* default */].ajax({
7702
+ utils_util["a" /* default */].ajax({
7638
7703
  url: api["W" /* ignoreSysMsg */],
7639
7704
  params: {
7640
7705
  id: res.id
@@ -7654,7 +7719,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7654
7719
  handleIgnoreAll: function handleIgnoreAll() {
7655
7720
  var _this3 = this;
7656
7721
 
7657
- util["a" /* default */].ajax({
7722
+ utils_util["a" /* default */].ajax({
7658
7723
  url: api["V" /* ignoreAllSysMsg */]
7659
7724
  }).then(function (res) {
7660
7725
  _this3.count = 0;
@@ -7672,7 +7737,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7672
7737
  this.count -= 1;
7673
7738
  this.msgs.splice(index, 1);
7674
7739
  if (this.winopen) {
7675
- util["a" /* default */].win.open(item.handlerUrl);
7740
+ utils_util["a" /* default */].win.open(item.handlerUrl);
7676
7741
  } else {
7677
7742
  this.dialog = {
7678
7743
  show: true,
@@ -7999,7 +8064,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
7999
8064
  handleIgnore: function handleIgnore(res, i) {
8000
8065
  var _this = this;
8001
8066
 
8002
- util["a" /* default */].ajax({
8067
+ utils_util["a" /* default */].ajax({
8003
8068
  url: api["W" /* ignoreSysMsg */],
8004
8069
  params: {
8005
8070
  id: res.id
@@ -8018,7 +8083,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
8018
8083
  handleIgnoreAll: function handleIgnoreAll() {
8019
8084
  var _this2 = this;
8020
8085
 
8021
- util["a" /* default */].ajax({
8086
+ utils_util["a" /* default */].ajax({
8022
8087
  url: api["V" /* ignoreAllSysMsg */]
8023
8088
  }).then(function (res) {
8024
8089
  _this2.msgs = [];
@@ -8034,7 +8099,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
8034
8099
  //处理消息
8035
8100
  handleMessage: function handleMessage(item, index) {
8036
8101
  if (item.urlopenmode === 1 || this.winopen) {
8037
- util["a" /* default */].win.open(item.handlerUrl);
8102
+ utils_util["a" /* default */].win.open(item.handlerUrl);
8038
8103
  } else {
8039
8104
  this.dialog = {
8040
8105
  show: true,
@@ -8270,7 +8335,7 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
8270
8335
  res = res.toLowerCase();
8271
8336
  // const rgb = util.getRgb(res);
8272
8337
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
8273
- util["a" /* default */].updateTheme(res);
8338
+ utils_util["a" /* default */].updateTheme(res);
8274
8339
  this.color = res;
8275
8340
  this.$emit('change', { type: 'theme', value: res });
8276
8341
  //this.setTheme(res);
@@ -8362,7 +8427,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
8362
8427
 
8363
8428
  methods: {
8364
8429
  jump: function jump() {
8365
- var params = util["a" /* default */].getParams({ url: this.url });
8430
+ var params = utils_util["a" /* default */].getParams({ url: this.url });
8366
8431
  this.$router.push({
8367
8432
  path: this.path,
8368
8433
  query: _extends({}, this.query, params)
@@ -8425,7 +8490,7 @@ onlinevue_type_template_id_63844b4e_scoped_true_render._withStripped = true
8425
8490
  props: {
8426
8491
  sysuseronline: {
8427
8492
  type: String,
8428
- default: api["dc" /* userOnline */]
8493
+ default: api["ec" /* userOnline */]
8429
8494
  }
8430
8495
  },
8431
8496
  data: function data() {
@@ -8508,11 +8573,390 @@ var online_component = Object(componentNormalizer["a" /* default */])(
8508
8573
  )
8509
8574
 
8510
8575
  /* harmony default export */ var online = (online_component.exports);
8511
- // EXTERNAL MODULE: ./src/utils/store.js
8512
- var store = __webpack_require__(12);
8576
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=13661892&
8577
+ var searchvue_type_template_id_13661892_render = function () {
8578
+ var _vm = this
8579
+ var _h = _vm.$createElement
8580
+ var _c = _vm._self._c || _h
8581
+ return _c(
8582
+ "div",
8583
+ { staticClass: "es-public-search-box" },
8584
+ [
8585
+ _c("el-input", {
8586
+ staticClass: "es-public-search-input",
8587
+ attrs: {
8588
+ placeholder: "请输入关键字",
8589
+ clearable: "",
8590
+ "prefix-icon": "el-icon-search",
8591
+ round: "",
8592
+ },
8593
+ model: {
8594
+ value: _vm.keyWords,
8595
+ callback: function ($$v) {
8596
+ _vm.keyWords = $$v
8597
+ },
8598
+ expression: "keyWords",
8599
+ },
8600
+ }),
8601
+ _c(
8602
+ "el-tabs",
8603
+ {
8604
+ staticClass: "es-public-search-tabs",
8605
+ model: {
8606
+ value: _vm.active,
8607
+ callback: function ($$v) {
8608
+ _vm.active = $$v
8609
+ },
8610
+ expression: "active",
8611
+ },
8612
+ },
8613
+ [
8614
+ _c(
8615
+ "el-tab-pane",
8616
+ {
8617
+ directives: [
8618
+ {
8619
+ name: "loading",
8620
+ rawName: "v-loading",
8621
+ value: _vm.loading,
8622
+ expression: "loading",
8623
+ },
8624
+ ],
8625
+ attrs: {
8626
+ label: "综合",
8627
+ name: "0",
8628
+ "element-loading-background": "rgba(0, 0, 0, 0.01)",
8629
+ "element-loading-text": "加载中...",
8630
+ },
8631
+ },
8632
+ [
8633
+ _c(
8634
+ "el-scrollbar",
8635
+ { staticClass: "es-scrollbar" },
8636
+ [
8637
+ _vm._l(_vm.types, function (item, index) {
8638
+ return [
8639
+ item.records && item.records.length
8640
+ ? _c(
8641
+ "div",
8642
+ {
8643
+ key: item.id,
8644
+ staticClass: "es-public-search-content",
8645
+ },
8646
+ [
8647
+ _c(
8648
+ "div",
8649
+ { staticClass: "es-public-search-title" },
8650
+ [_vm._v(_vm._s(item.name))]
8651
+ ),
8652
+ _c(
8653
+ "ul",
8654
+ { staticClass: "es-public-search-list" },
8655
+ _vm._l(
8656
+ item.records.slice(0, 3),
8657
+ function (ele) {
8658
+ return _c(
8659
+ "li",
8660
+ {
8661
+ key: ele.id,
8662
+ staticClass:
8663
+ "es-public-search-list-item",
8664
+ on: {
8665
+ click: function ($event) {
8666
+ _vm.handleClick(ele, item)
8667
+ },
8668
+ },
8669
+ },
8670
+ [
8671
+ _c(
8672
+ "es-icon",
8673
+ _vm._b(
8674
+ {
8675
+ staticClass:
8676
+ "es-public-search-item-icon",
8677
+ style: _vm.setStyle(ele, index),
8678
+ },
8679
+ "es-icon",
8680
+ _vm.getIcon(ele, item),
8681
+ false
8682
+ )
8683
+ ),
8684
+ _c(
8685
+ "div",
8686
+ {
8687
+ staticClass:
8688
+ "es-public-search-item-name",
8689
+ },
8690
+ [
8691
+ _vm._v(
8692
+ "\n " +
8693
+ _vm._s(
8694
+ ele.name ||
8695
+ ele.title ||
8696
+ ele.text
8697
+ ) +
8698
+ "\n "
8699
+ ),
8700
+ ]
8701
+ ),
8702
+ ele.summary
8703
+ ? _c(
8704
+ "div",
8705
+ {
8706
+ staticClass:
8707
+ "es-public-search-item-texts",
8708
+ },
8709
+ [
8710
+ _vm._v(
8711
+ "\n " +
8712
+ _vm._s(ele.summary) +
8713
+ "\n "
8714
+ ),
8715
+ ]
8716
+ )
8717
+ : _vm._e(),
8718
+ _c(
8719
+ "div",
8720
+ {
8721
+ staticClass:
8722
+ "es-public-search-item-texts",
8723
+ },
8724
+ [
8725
+ Array.isArray(
8726
+ ele.infos || ele.footer
8727
+ )
8728
+ ? _vm._l(
8729
+ ele.infos || ele.footer,
8730
+ function (text, idx) {
8731
+ return _c(
8732
+ "span",
8733
+ {
8734
+ key: idx,
8735
+ staticClass:
8736
+ "es-public-search-item-text",
8737
+ },
8738
+ [_vm._v(_vm._s(text))]
8739
+ )
8740
+ }
8741
+ )
8742
+ : [
8743
+ _vm._v(
8744
+ _vm._s(
8745
+ ele.infos || ele.footer
8746
+ )
8747
+ ),
8748
+ ],
8749
+ ],
8750
+ 2
8751
+ ),
8752
+ ],
8753
+ 1
8754
+ )
8755
+ }
8756
+ ),
8757
+ 0
8758
+ ),
8759
+ _c(
8760
+ "div",
8761
+ { staticClass: "es-public-search-more" },
8762
+ [
8763
+ _c(
8764
+ "span",
8765
+ {
8766
+ staticClass: "es-public-search-more-text",
8767
+ on: {
8768
+ click: function ($event) {
8769
+ _vm.handleTabs(item, index)
8770
+ },
8771
+ },
8772
+ },
8773
+ [
8774
+ _vm._v("在"),
8775
+ _c(
8776
+ "span",
8777
+ {
8778
+ staticClass:
8779
+ "es-public-search-more-quote",
8780
+ },
8781
+ [_vm._v(_vm._s(item.name))]
8782
+ ),
8783
+ _vm._v("中搜索全部"),
8784
+ ]
8785
+ ),
8786
+ ]
8787
+ ),
8788
+ ]
8789
+ )
8790
+ : _vm._e(),
8791
+ ]
8792
+ }),
8793
+ ],
8794
+ 2
8795
+ ),
8796
+ ],
8797
+ 1
8798
+ ),
8799
+ _vm._l(_vm.types, function (item, index) {
8800
+ return _c(
8801
+ "el-tab-pane",
8802
+ {
8803
+ directives: [
8804
+ {
8805
+ name: "loading",
8806
+ rawName: "v-loading",
8807
+ value: _vm.loadings[item.id || String(index)],
8808
+ expression: "loadings[item.id || String(index)]",
8809
+ },
8810
+ {
8811
+ name: "show",
8812
+ rawName: "v-show",
8813
+ value: _vm.hides.includes(item.name),
8814
+ expression: "hides.includes(item.name)",
8815
+ },
8816
+ ],
8817
+ key: item.id,
8818
+ attrs: {
8819
+ lazy: "",
8820
+ label: item.name,
8821
+ name: item.id || String(index + 1),
8822
+ "element-loading-background": "rgba(0, 0, 0, 0.01)",
8823
+ "element-loading-text": "加载中...",
8824
+ },
8825
+ },
8826
+ [
8827
+ _c(
8828
+ "el-scrollbar",
8829
+ {
8830
+ staticClass: "es-scrollbar es-public-search-scrollbar",
8831
+ attrs: {
8832
+ "infinite-scroll": function () {
8833
+ _vm.handleSearchd(item, index)
8834
+ },
8835
+ "infinite-scroll-disabled": _vm.disabled,
8836
+ "infinite-scroll-immediate": false,
8837
+ },
8838
+ },
8839
+ [
8840
+ _c("div", { staticClass: "es-public-search-info" }, [
8841
+ _vm._v(
8842
+ "\n " + _vm._s(item.totalCount) + '条与"'
8843
+ ),
8844
+ _c(
8845
+ "span",
8846
+ { staticClass: "es-public-search-more-quote" },
8847
+ [_vm._v(_vm._s(_vm.keyWords))]
8848
+ ),
8849
+ _vm._v('"相关的搜索结果\n '),
8850
+ ]),
8851
+ _c(
8852
+ "ul",
8853
+ { staticClass: "es-public-search-lists" },
8854
+ _vm._l(item.records, function (ele) {
8855
+ return _c(
8856
+ "li",
8857
+ {
8858
+ key: ele.id,
8859
+ staticClass: "es-public-search-list-item",
8860
+ on: {
8861
+ click: function ($event) {
8862
+ _vm.handleClick(ele, item)
8863
+ },
8864
+ },
8865
+ },
8866
+ [
8867
+ _c(
8868
+ "es-icon",
8869
+ _vm._b(
8870
+ {
8871
+ staticClass: "es-public-search-item-icon",
8872
+ style: _vm.setStyle(ele, index),
8873
+ },
8874
+ "es-icon",
8875
+ _vm.getIcon(ele, item),
8876
+ false
8877
+ )
8878
+ ),
8879
+ _c(
8880
+ "div",
8881
+ { staticClass: "es-public-search-item-name" },
8882
+ [
8883
+ _vm._v(
8884
+ "\n " +
8885
+ _vm._s(ele.name || ele.title || ele.text) +
8886
+ "\n "
8887
+ ),
8888
+ ]
8889
+ ),
8890
+ ele.summary
8891
+ ? _c(
8892
+ "div",
8893
+ {
8894
+ staticClass: "es-public-search-item-texts",
8895
+ },
8896
+ [
8897
+ _vm._v(
8898
+ "\n " +
8899
+ _vm._s(ele.summary) +
8900
+ "\n "
8901
+ ),
8902
+ ]
8903
+ )
8904
+ : _vm._e(),
8905
+ _c(
8906
+ "div",
8907
+ { staticClass: "es-public-search-item-texts" },
8908
+ [
8909
+ Array.isArray(ele.infos || ele.footer)
8910
+ ? _vm._l(
8911
+ ele.infos || ele.footer,
8912
+ function (text, idx) {
8913
+ return _c(
8914
+ "span",
8915
+ {
8916
+ key: idx,
8917
+ staticClass:
8918
+ "es-public-search-item-text",
8919
+ },
8920
+ [_vm._v(_vm._s(text))]
8921
+ )
8922
+ }
8923
+ )
8924
+ : [_vm._v(_vm._s(ele.infos || ele.footer))],
8925
+ ],
8926
+ 2
8927
+ ),
8928
+ ],
8929
+ 1
8930
+ )
8931
+ }),
8932
+ 0
8933
+ ),
8934
+ _vm.noMore[item.id || String(index)]
8935
+ ? _c("p", { staticClass: "es-public-search-no-more" }, [
8936
+ _vm._v("\n 没有更多了\n "),
8937
+ ])
8938
+ : _vm._e(),
8939
+ ]
8940
+ ),
8941
+ ],
8942
+ 1
8943
+ )
8944
+ }),
8945
+ ],
8946
+ 2
8947
+ ),
8948
+ ],
8949
+ 1
8950
+ )
8951
+ }
8952
+ var searchvue_type_template_id_13661892_staticRenderFns = []
8953
+ searchvue_type_template_id_13661892_render._withStripped = true
8513
8954
 
8514
- // 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&
8515
- 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; };
8955
+
8956
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=13661892&
8957
+
8958
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
8959
+ var searchvue_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; };
8516
8960
 
8517
8961
  //
8518
8962
  //
@@ -8655,6 +9099,520 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
8655
9099
  //
8656
9100
  //
8657
9101
  //
9102
+
9103
+
9104
+
9105
+
9106
+ /* harmony default export */ var searchvue_type_script_lang_js_ = ({
9107
+ name: 'Search',
9108
+ components: {},
9109
+ props: {
9110
+ menuIcon: {
9111
+ type: String,
9112
+ default: 'es-icon-application'
9113
+ },
9114
+ menus: {
9115
+ type: Array,
9116
+ default: function _default() {
9117
+ return [];
9118
+ }
9119
+ },
9120
+ apps: {
9121
+ type: Array,
9122
+ default: function _default() {
9123
+ return [];
9124
+ }
9125
+ },
9126
+ searchType: {
9127
+ type: String,
9128
+ default: api["rb" /* searchType */]
9129
+ },
9130
+ pageSize: {
9131
+ type: Number,
9132
+ default: 10
9133
+ },
9134
+ hides: {
9135
+ type: Array,
9136
+ default: function _default() {
9137
+ return [];
9138
+ }
9139
+ }
9140
+ },
9141
+ data: function data() {
9142
+ return {
9143
+ icons: {
9144
+ ppt: 'es-icon-ppt',
9145
+ png: 'es-icon-picture',
9146
+ gif: 'es-icon-picture',
9147
+ jpg: 'es-icon-picture',
9148
+ xls: 'es-icon-excel',
9149
+ xlsx: 'es-icon-excel',
9150
+ docx: 'es-icon-word',
9151
+ doc: 'es-icon-word',
9152
+ rar: 'es-icon-zip',
9153
+ zip: 'es-icon-zip',
9154
+ txt: 'es-icon-txt',
9155
+ ipa: 'es-icon-ios',
9156
+ apk: 'es-icon-android',
9157
+ mp4: 'es-icon-video',
9158
+ avi: 'es-icon-video',
9159
+ mp3: 'es-icon-audioo',
9160
+ wma: 'es-icon-audioo',
9161
+ pdf: 'es-icon-pdf'
9162
+ },
9163
+ colors: ['#46D3BA', '#2591F7', '#40C274', '#E34D59', '#FF9C52', '#17C27B'],
9164
+ keyWords: '',
9165
+ active: '0',
9166
+ types: [],
9167
+ lists: [],
9168
+ loadings: {},
9169
+ noMore: {},
9170
+ isLoading: false
9171
+ };
9172
+ },
9173
+
9174
+ computed: {
9175
+ loading: function loading() {
9176
+ return this.active == '0' && this.isLoading;
9177
+ },
9178
+ disabled: function disabled() {
9179
+ return this.loadings[this.active] || this.noMore[this.active];
9180
+ }
9181
+ },
9182
+ watch: {
9183
+ keyWords: function keyWords(val) {
9184
+ this.handleSearchAll(val);
9185
+ }
9186
+ },
9187
+ beforeCreate: function beforeCreate() {
9188
+ var _this = this;
9189
+
9190
+ this.handleSearchAll = Object(external_throttle_debounce_["debounce"])(500, function (res) {
9191
+ _this.searchAll(res);
9192
+ });
9193
+ this.handleSearchd = Object(external_throttle_debounce_["debounce"])(500, function (obj, index) {
9194
+ _this.handleSearch(obj, index);
9195
+ });
9196
+ },
9197
+ created: function created() {
9198
+ this.getTypes();
9199
+ },
9200
+ mounted: function mounted() {},
9201
+
9202
+ methods: {
9203
+ getIcon: function getIcon(res, item) {
9204
+ var icon = void 0;
9205
+ var cls = void 0;
9206
+ if (res.icon || res.icons) {
9207
+ icon = this.icons[(res.icon || res.icons).toLowerCase()];
9208
+ if (!icon) {
9209
+ if (res.icon == '#last' || res.icons == '#last') {
9210
+ var title = res.title || res.name || res.text;
9211
+ icon = title.substr(-1, 1);
9212
+ cls = 'es-public-search-item-icon-text';
9213
+ } else {
9214
+ cls = 'es-public-search-item-icons';
9215
+ icon = res.icon || res.icons;
9216
+ }
9217
+ }
9218
+ } else {
9219
+ var _title = res.title || res.name || res.text;
9220
+ var key = _title.split('.')[1];
9221
+ icon = key ? this.icons[key.toLowerCase()] : '';
9222
+ if (!icon) {
9223
+ icon = item.name == '菜单' || item.name == '应用' ? this.menuIcon : _title.substr(-1, 1);
9224
+ cls = 'es-public-search-item-icon-text';
9225
+ }
9226
+ }
9227
+ return { class: cls, contents: icon };
9228
+ },
9229
+ setStyle: function setStyle(res, index) {
9230
+ if (res.icon || res.icons) {
9231
+ var icon = this.icons[(res.icon || res.icons).toLowerCase()];
9232
+ if (!icon && res.icon != '#last') {
9233
+ return { backgroundColor: this.colors[index % this.colors.length] };
9234
+ }
9235
+ } else {
9236
+ return { backgroundColor: this.colors[index % this.colors.length] };
9237
+ }
9238
+ return {};
9239
+ },
9240
+ getTypes: function getTypes() {
9241
+ var _this2 = this;
9242
+
9243
+ utils_util["a" /* default */].ajax({
9244
+ url: this.searchType,
9245
+ method: 'post',
9246
+ format: false,
9247
+ data: {
9248
+ terminalType: 'web'
9249
+ }
9250
+ }).then(function (res) {
9251
+ if (res.rCode == 0) {
9252
+ var results = res.results;
9253
+
9254
+ var loadings = {};
9255
+ var noMore = {};
9256
+ var types = results.catalog.map(function (item, index) {
9257
+ loadings[item.id || String(index)] = false;
9258
+ noMore[item.id || String(index)] = false;
9259
+ return searchvue_type_script_lang_js_extends({}, item, { pageNum: 0, pageCount: 1, records: [] });
9260
+ });
9261
+ _this2.types = types;
9262
+ _this2.loadings = loadings;
9263
+ _this2.noMore = noMore;
9264
+ }
9265
+ });
9266
+ },
9267
+ searchAll: function searchAll(keyWords) {
9268
+ for (var i = 0; i < this.types.length; i++) {
9269
+ if (keyWords) {
9270
+ var _item = this.types[i];
9271
+ if (_item.name == '菜单' && this.menus.length) {
9272
+ this.isLoading = false;
9273
+ this.types[i].records = this.searchData(this.menus, keyWords);
9274
+ this.types[i].totalCount = this.types[i].records.length;
9275
+ this.types[i].pageCount = Math.ceil(this.types[i].records.length / this.pageSize);
9276
+ this.types[i].pageNum = 0;
9277
+ this.$set(this.loadings, _item.id || String(i), false);
9278
+ this.$set(this.noMore, _item.id || String(i), true);
9279
+ } else if (_item.name == '应用' && this.apps.length) {
9280
+ this.isLoading = false;
9281
+ this.types[i].records = this.searchData(this.apps, keyWords);
9282
+ this.types[i].totalCount = this.types[i].records.length;
9283
+ this.types[i].pageCount = Math.ceil(this.types[i].records.length / this.pageSize);
9284
+ this.types[i].pageNum = 0;
9285
+ this.$set(this.loadings, _item.id || String(i), false);
9286
+ this.$set(this.noMore, _item.id || String(i), true);
9287
+ } else if (_item.dataRequestUrl) {
9288
+ this.isLoading = true;
9289
+ this.handleSearch(_item, i);
9290
+ } else {
9291
+ this.types[i].records = [];
9292
+ this.types[i].totalCount = 0;
9293
+ this.types[i].pageCount = 1;
9294
+ this.types[i].pageNum = 0;
9295
+ this.$set(this.loadings, _item.id || String(i), false);
9296
+ this.$set(this.noMore, _item.id || String(i), true);
9297
+ }
9298
+ } else {
9299
+ this.isLoading = false;
9300
+ this.types[i].records = [];
9301
+ this.types[i].totalCount = 0;
9302
+ this.types[i].pageCount = 1;
9303
+ this.types[i].pageNum = 0;
9304
+ this.$set(this.loadings, item.id || String(i), false);
9305
+ this.$set(this.noMore, item.id || String(i), true);
9306
+ }
9307
+ }
9308
+ },
9309
+ searchData: function searchData(data, name) {
9310
+ var _this3 = this;
9311
+
9312
+ var records = [];
9313
+ data.forEach(function (item) {
9314
+ var words = item.name || item.text;
9315
+ if (words.indexOf(name) > -1 && item.permission !== false) {
9316
+ records.push(item);
9317
+ }
9318
+ if (item.children && item.children.length) {
9319
+ records = records.concat(_this3.searchData(item.children, name));
9320
+ }
9321
+ if (item.fourthTabs && item.fourthTabs.length) {
9322
+ records = records.concat(_this3.searchData(item.fourthTabs, name));
9323
+ }
9324
+ });
9325
+ return records;
9326
+ },
9327
+ handleSearch: function handleSearch(obj, index) {
9328
+ var _this4 = this;
9329
+
9330
+ if (obj.pageNum < obj.pageCount && this.keyWords) {
9331
+ this.$set(this.loadings, obj.id || String(index), true);
9332
+ if (this.active == '0') {
9333
+ this.isLoading = true;
9334
+ }
9335
+ utils_util["a" /* default */].ajax({
9336
+ url: obj.dataRequestUrl,
9337
+ method: 'post',
9338
+ data: {
9339
+ pageNum: obj.pageNum + 1,
9340
+ pageSize: this.pageSize,
9341
+ keyWords: this.keyWords
9342
+ }
9343
+ }).then(function (res) {
9344
+ _this4.$set(_this4.loadings, obj.id || String(index), false);
9345
+ var flag = false;
9346
+ for (var i in _this4.loadings) {
9347
+ if (_this4.loadings[i]) {
9348
+ flag = true;
9349
+ break;
9350
+ }
9351
+ }
9352
+ if (!flag) {
9353
+ _this4.isLoading = false;
9354
+ }
9355
+ if (res.rCode == 0) {
9356
+ var results = res.results;
9357
+
9358
+ obj.totalCount = results.totalCount;
9359
+ obj.pageCount = results.pageCount;
9360
+ obj.pageNum = results.pageNum;
9361
+ obj.records = obj.records.concat(results.records);
9362
+ _this4.$set(_this4.noMore, obj.id || String(index), results.pageNum >= results.pageCount);
9363
+ } else {
9364
+ _this4.types[index].records = [];
9365
+ _this4.types[index].totalCount = 0;
9366
+ _this4.types[index].pageCount = 1;
9367
+ _this4.types[index].pageNum = 0;
9368
+ _this4.$set(_this4.loadings, obj.id || String(index), false);
9369
+ _this4.$set(_this4.noMore, obj.id || String(index), true);
9370
+ }
9371
+ }).catch(function (err) {
9372
+ _this4.isLoading = false;
9373
+ _this4.types[index].records = [];
9374
+ _this4.types[index].totalCount = 0;
9375
+ _this4.types[index].pageCount = 1;
9376
+ _this4.types[index].pageNum = 0;
9377
+ _this4.$set(_this4.loadings, obj.id || String(index), false);
9378
+ _this4.$set(_this4.noMore, obj.id || String(index), true);
9379
+ if (err.message && err.message !== 'canceled') {
9380
+ _this4.$message.error(err.message);
9381
+ }
9382
+ });
9383
+ }
9384
+ },
9385
+ handleTabs: function handleTabs(res, index) {
9386
+ this.active = res.id || String(index + 1);
9387
+ },
9388
+ handleClick: function handleClick(res, parent) {
9389
+ this.$emit('select', res, parent);
9390
+ }
9391
+ }
9392
+ });
9393
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=script&lang=js&
9394
+ /* harmony default export */ var public_searchvue_type_script_lang_js_ = (searchvue_type_script_lang_js_);
9395
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue
9396
+
9397
+
9398
+
9399
+
9400
+
9401
+ /* normalize component */
9402
+
9403
+ var search_component = Object(componentNormalizer["a" /* default */])(
9404
+ public_searchvue_type_script_lang_js_,
9405
+ searchvue_type_template_id_13661892_render,
9406
+ searchvue_type_template_id_13661892_staticRenderFns,
9407
+ false,
9408
+ null,
9409
+ null,
9410
+ null
9411
+
9412
+ )
9413
+
9414
+ /* harmony default export */ var search = (search_component.exports);
9415
+ // EXTERNAL MODULE: ./src/utils/store.js
9416
+ var store = __webpack_require__(12);
9417
+
9418
+ // 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&
9419
+ 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; };
9420
+
9421
+ //
9422
+ //
9423
+ //
9424
+ //
9425
+ //
9426
+ //
9427
+ //
9428
+ //
9429
+ //
9430
+ //
9431
+ //
9432
+ //
9433
+ //
9434
+ //
9435
+ //
9436
+ //
9437
+ //
9438
+ //
9439
+ //
9440
+ //
9441
+ //
9442
+ //
9443
+ //
9444
+ //
9445
+ //
9446
+ //
9447
+ //
9448
+ //
9449
+ //
9450
+ //
9451
+ //
9452
+ //
9453
+ //
9454
+ //
9455
+ //
9456
+ //
9457
+ //
9458
+ //
9459
+ //
9460
+ //
9461
+ //
9462
+ //
9463
+ //
9464
+ //
9465
+ //
9466
+ //
9467
+ //
9468
+ //
9469
+ //
9470
+ //
9471
+ //
9472
+ //
9473
+ //
9474
+ //
9475
+ //
9476
+ //
9477
+ //
9478
+ //
9479
+ //
9480
+ //
9481
+ //
9482
+ //
9483
+ //
9484
+ //
9485
+ //
9486
+ //
9487
+ //
9488
+ //
9489
+ //
9490
+ //
9491
+ //
9492
+ //
9493
+ //
9494
+ //
9495
+ //
9496
+ //
9497
+ //
9498
+ //
9499
+ //
9500
+ //
9501
+ //
9502
+ //
9503
+ //
9504
+ //
9505
+ //
9506
+ //
9507
+ //
9508
+ //
9509
+ //
9510
+ //
9511
+ //
9512
+ //
9513
+ //
9514
+ //
9515
+ //
9516
+ //
9517
+ //
9518
+ //
9519
+ //
9520
+ //
9521
+ //
9522
+ //
9523
+ //
9524
+ //
9525
+ //
9526
+ //
9527
+ //
9528
+ //
9529
+ //
9530
+ //
9531
+ //
9532
+ //
9533
+ //
9534
+ //
9535
+ //
9536
+ //
9537
+ //
9538
+ //
9539
+ //
9540
+ //
9541
+ //
9542
+ //
9543
+ //
9544
+ //
9545
+ //
9546
+ //
9547
+ //
9548
+ //
9549
+ //
9550
+ //
9551
+ //
9552
+ //
9553
+ //
9554
+ //
9555
+ //
9556
+ //
9557
+ //
9558
+ //
9559
+ //
9560
+ //
9561
+ //
9562
+ //
9563
+ //
9564
+ //
9565
+ //
9566
+ //
9567
+ //
9568
+ //
9569
+ //
9570
+ //
9571
+ //
9572
+ //
9573
+ //
9574
+ //
9575
+ //
9576
+ //
9577
+ //
9578
+ //
9579
+ //
9580
+ //
9581
+ //
9582
+ //
9583
+ //
9584
+ //
9585
+ //
9586
+ //
9587
+ //
9588
+ //
9589
+ //
9590
+ //
9591
+ //
9592
+ //
9593
+ //
9594
+ //
9595
+ //
9596
+ //
9597
+ //
9598
+ //
9599
+ //
9600
+ //
9601
+ //
9602
+ //
9603
+ //
9604
+ //
9605
+ //
9606
+ //
9607
+ //
9608
+ //
9609
+ //
9610
+ //
9611
+ //
9612
+ //
9613
+ //
9614
+ //
9615
+ //
8658
9616
  //
8659
9617
  //
8660
9618
  //
@@ -8773,54 +9731,7 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
8773
9731
  //
8774
9732
  //
8775
9733
  //
8776
- //
8777
- //
8778
- //
8779
- //
8780
- //
8781
- //
8782
- //
8783
- //
8784
- //
8785
- //
8786
- //
8787
- //
8788
- //
8789
- //
8790
- //
8791
- //
8792
- //
8793
- //
8794
- //
8795
- //
8796
- //
8797
- //
8798
- //
8799
- //
8800
- //
8801
- //
8802
- //
8803
- //
8804
- //
8805
- //
8806
- //
8807
- //
8808
- //
8809
- //
8810
- //
8811
- //
8812
- //
8813
- //
8814
- //
8815
- //
8816
- //
8817
- //
8818
- //
8819
- //
8820
- //
8821
- //
8822
- //
8823
- //
9734
+
8824
9735
 
8825
9736
 
8826
9737
 
@@ -8836,12 +9747,12 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
8836
9747
 
8837
9748
 
8838
9749
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
8839
- var systemMode = util["a" /* default */].win.systemMode || 'default';
9750
+ var systemMode = utils_util["a" /* default */].win.systemMode || 'default';
8840
9751
  var events = [function (tabs, index, that) {
8841
9752
  var tab = tabs[index];
8842
9753
 
8843
9754
  if (tab.method == 'iframe') {
8844
- tabs[index].url = util["a" /* default */].handlerUrl(tab.url);
9755
+ tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
8845
9756
  } else {
8846
9757
  tabs[index].refresh = false;
8847
9758
  that.$nextTick(function () {
@@ -8850,7 +9761,7 @@ var events = [function (tabs, index, that) {
8850
9761
  }
8851
9762
  return tabs;
8852
9763
  }, function (tabs, index, that) {
8853
- var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9764
+ var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8854
9765
  if (tabs.length == 1) {
8855
9766
  that.activeName = '';
8856
9767
  } else if (i == index) {
@@ -8867,14 +9778,14 @@ var events = [function (tabs, index, that) {
8867
9778
  that.activeName = tab[0].id;
8868
9779
  return tab;
8869
9780
  }, function (tabs, index, that) {
8870
- var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9781
+ var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8871
9782
  if (i < index) {
8872
9783
  that.activeName = tabs[index].id;
8873
9784
  }
8874
9785
  tabs.splice(0, index);
8875
9786
  return tabs;
8876
9787
  }, function (tabs, index, that) {
8877
- var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9788
+ var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8878
9789
  if (i > index) {
8879
9790
  that.activeName = tabs[index].id;
8880
9791
  }
@@ -8901,7 +9812,8 @@ var events = [function (tabs, index, that) {
8901
9812
  notice: notice,
8902
9813
  settings: settings,
8903
9814
  routerPage: router_page,
8904
- online: online
9815
+ online: online,
9816
+ search: search
8905
9817
  },
8906
9818
  props: {
8907
9819
  //模式
@@ -8909,11 +9821,6 @@ var events = [function (tabs, index, that) {
8909
9821
  type: String,
8910
9822
  default: systemMode
8911
9823
  },
8912
- //记录菜单点击率作为工作台常用应用数据
8913
- recordApp: {
8914
- type: Boolean,
8915
- default: true
8916
- },
8917
9824
  sysCode: String,
8918
9825
  appCode: String,
8919
9826
  //logo
@@ -9072,6 +9979,8 @@ var events = [function (tabs, index, that) {
9072
9979
  userNums: 1,
9073
9980
  //消息列表展示状态
9074
9981
  showMsg: false,
9982
+ //搜索
9983
+ showSearch: false,
9075
9984
  //消息数
9076
9985
  notice: 0,
9077
9986
  //即时消息
@@ -9091,7 +10000,8 @@ var events = [function (tabs, index, that) {
9091
10000
  //选中菜单
9092
10001
  active: '',
9093
10002
  //单位名称
9094
- simpleUserInfo: {}
10003
+ simpleUserInfo: {},
10004
+ topRightToolHide: ''
9095
10005
  };
9096
10006
  },
9097
10007
 
@@ -9132,6 +10042,26 @@ var events = [function (tabs, index, that) {
9132
10042
  return typeof this.onlineView == 'string' ? this.onlineView : '';
9133
10043
  }
9134
10044
  return false;
10045
+ },
10046
+
10047
+ //隐藏操作按键
10048
+ hide: function hide() {
10049
+ var topRightToolHide = {};
10050
+ if (this.topRightToolHide) {
10051
+ topRightToolHide = JSON.parse(this.topRightToolHide.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '"$2":'));
10052
+ }
10053
+ var hides = {
10054
+ home: this.indexUrl ? false : true,
10055
+ index: this.doorIndex ? false : true
10056
+ };
10057
+
10058
+ if (this.layout === 'subsystem' || this.application) {
10059
+ hides.system = false;
10060
+ }
10061
+ if (this.layout === 'topside' || this.layout === 'side') {
10062
+ hides.user = true;
10063
+ }
10064
+ return simplicityvue_type_script_lang_js_extends({}, hides, this.hides, topRightToolHide);
9135
10065
  }
9136
10066
  },
9137
10067
  watch: {
@@ -9147,7 +10077,7 @@ var events = [function (tabs, index, that) {
9147
10077
  }
9148
10078
  },
9149
10079
  created: function created() {
9150
- var mainConfig = util["a" /* default */].getStorage('mainConfig');
10080
+ var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
9151
10081
  if (mainConfig) {
9152
10082
  var results = JSON.parse(mainConfig);
9153
10083
  if (Object.keys(results).length) {
@@ -9226,7 +10156,7 @@ var events = [function (tabs, index, that) {
9226
10156
  this.initWebSocket();
9227
10157
  }
9228
10158
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
9229
- util["a" /* default */].setStorage({
10159
+ utils_util["a" /* default */].setStorage({
9230
10160
  type: this.storage,
9231
10161
  key: {
9232
10162
  depId: results.userModel.depId,
@@ -9250,22 +10180,23 @@ var events = [function (tabs, index, that) {
9250
10180
  this.indexUrl = results[i];
9251
10181
  }
9252
10182
  if (i === 'doorIndex' && results[i]) {
9253
- util["a" /* default */].win.open(results[i]);
10183
+ utils_util["a" /* default */].win.open(results[i]);
10184
+ this.doorIndex = results[i];
9254
10185
  }
9255
10186
  if (i === 'subsystemName' && results[i]) {
9256
10187
  document.title = results[i];
9257
10188
  }
9258
10189
  if (i === 'loginPage' && results[i]) {
9259
- util["a" /* default */].setStorage('loginPage', results[i]);
10190
+ utils_util["a" /* default */].setStorage('loginPage', results[i]);
9260
10191
  }
9261
10192
  if (i === 'sysLogoIco' && results[i]) {
9262
10193
  sessionStorage.setItem('sysLogoIco', results[i]);
9263
- util["a" /* default */].setFavicon(results[i]);
10194
+ utils_util["a" /* default */].setFavicon(results[i]);
9264
10195
  }
9265
10196
  if (i === 'userStyle' && results[i]) {
9266
10197
  if (results[i].color) {
9267
10198
  var color = unescape(results[i].color).toLowerCase();
9268
- if (util["a" /* default */].startWith(color, '#')) {
10199
+ if (utils_util["a" /* default */].startWith(color, '#')) {
9269
10200
  this.themeColor = color;
9270
10201
  }
9271
10202
  }
@@ -9275,7 +10206,7 @@ var events = [function (tabs, index, that) {
9275
10206
  if (i === 'subsystemExtend' && results[i]) {
9276
10207
  if (results[i].themeColor) {
9277
10208
  var _color = unescape(results[i].themeColor).toLowerCase();
9278
- if (util["a" /* default */].startWith(_color, '#')) {
10209
+ if (utils_util["a" /* default */].startWith(_color, '#')) {
9279
10210
  this.themeColor = _color;
9280
10211
  }
9281
10212
  }
@@ -9284,14 +10215,14 @@ var events = [function (tabs, index, that) {
9284
10215
  }
9285
10216
  if (results[i].webPageWatermark) {
9286
10217
  try {
9287
- util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
9288
- util["a" /* default */].watermark(results[i].webPageWatermark);
10218
+ utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
10219
+ utils_util["a" /* default */].watermark(results[i].webPageWatermark);
9289
10220
  } catch (error) {
9290
- util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
10221
+ utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
9291
10222
  }
9292
10223
  }
9293
10224
  if (results[i].loginPage) {
9294
- util["a" /* default */].setStorage('loginPage', results[i].loginPage);
10225
+ utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
9295
10226
  }
9296
10227
  if (results[i].aiConfig) {
9297
10228
  if (typeof results[i].aiConfig == 'string') {
@@ -9304,10 +10235,16 @@ var events = [function (tabs, index, that) {
9304
10235
  this.aiConfig = results[i].aiConfig;
9305
10236
  }
9306
10237
  }
10238
+ if (results[i].portalPage || results[i].portalpage) {
10239
+ this.doorIndex = results[i].portalPage || results[i].portalpage;
10240
+ }
10241
+ if (results[i].topRightToolHide) {
10242
+ this.topRightToolHide = results[i].topRightToolHide;
10243
+ }
9307
10244
  }
9308
10245
  if (i === 'userModel' && results[i]) {
9309
10246
  if (results[i].userHeadUrl) {
9310
- results[i].userHeadUrl = util["a" /* default */].jointUrl({
10247
+ results[i].userHeadUrl = utils_util["a" /* default */].jointUrl({
9311
10248
  url: results[i].userHeadUrl,
9312
10249
  reg: '/main2'
9313
10250
  });
@@ -9331,8 +10268,8 @@ var events = [function (tabs, index, that) {
9331
10268
  getApplications: function getApplications() {
9332
10269
  var _this = this;
9333
10270
 
9334
- var loading = util["a" /* default */].loading('', '加载中...');
9335
- util["a" /* default */].ajax({
10271
+ var loading = utils_util["a" /* default */].loading('', '加载中...');
10272
+ utils_util["a" /* default */].ajax({
9336
10273
  url: this.appsUrl,
9337
10274
  defaults: true
9338
10275
  }).then(function (res) {
@@ -9379,7 +10316,7 @@ var events = [function (tabs, index, that) {
9379
10316
  getMenus: function getMenus(loading) {
9380
10317
  var _this2 = this;
9381
10318
 
9382
- util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
10319
+ utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
9383
10320
  loading.close();
9384
10321
  if (res.rCode === 0) {
9385
10322
  if (res.results && res.results.length) {
@@ -9519,7 +10456,7 @@ var events = [function (tabs, index, that) {
9519
10456
  res.method = 'router';
9520
10457
  res.path = path;
9521
10458
  } else {
9522
- var urlopenmode = util["a" /* default */].getParams({
10459
+ var urlopenmode = utils_util["a" /* default */].getParams({
9523
10460
  url: url,
9524
10461
  name: 'urlopenmode'
9525
10462
  });
@@ -9633,7 +10570,7 @@ var events = [function (tabs, index, that) {
9633
10570
  return flag;
9634
10571
  }
9635
10572
  } else {
9636
- var num = this.menuTips[obj.id] || this.menuTips[obj.code];
10573
+ var num = this.menuTips[obj.id] || this.menuTips[obj.code] || this.menuTips[obj.appCode];
9637
10574
  if (num && Number(num)) {
9638
10575
  this.$set(obj, 'tips', Number(num));
9639
10576
  return this.menuTips[obj.id];
@@ -9668,9 +10605,9 @@ var events = [function (tabs, index, that) {
9668
10605
  initWebSocket: function initWebSocket() {
9669
10606
  var _this4 = this;
9670
10607
 
9671
- this.webSocket = util["a" /* default */].socket({
9672
- url: api["ec" /* wss */],
9673
- take: api["Ub" /* topic */],
10608
+ this.webSocket = utils_util["a" /* default */].socket({
10609
+ url: api["fc" /* wss */],
10610
+ take: api["Vb" /* topic */],
9674
10611
  success: function success(res) {
9675
10612
  var data = res.data || {};
9676
10613
  for (var i in data) {
@@ -9703,8 +10640,8 @@ var events = [function (tabs, index, that) {
9703
10640
  if (_this4.$eventBus) {
9704
10641
  _this4.$eventBus.$emit('websocket', data);
9705
10642
  }
9706
- if (util["a" /* default */].win.eventBus) {
9707
- util["a" /* default */].win.eventBus.$emit('websocket', data);
10643
+ if (utils_util["a" /* default */].win.eventBus) {
10644
+ utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
9708
10645
  }
9709
10646
  }
9710
10647
  });
@@ -9739,7 +10676,7 @@ var events = [function (tabs, index, that) {
9739
10676
  if (res.permission === false) {
9740
10677
  return false;
9741
10678
  }
9742
- var i = util["a" /* default */].indexOfObj(this.newApps, res, 'id');
10679
+ var i = utils_util["a" /* default */].indexOfObj(this.newApps, res, 'id');
9743
10680
  if (i == -1) {
9744
10681
  this.newApps.push(res);
9745
10682
  }
@@ -9768,24 +10705,24 @@ var events = [function (tabs, index, that) {
9768
10705
  if (res.url) {
9769
10706
  if (res.urlopenmode == 1 || res.openModel == 1) {
9770
10707
  set = false;
9771
- util["a" /* default */].win.open(res.url);
10708
+ utils_util["a" /* default */].win.open(res.url);
9772
10709
  } else if (res.urlopenmode == 2 || res.openModel == 2) {
9773
10710
  set = false;
9774
- util["a" /* default */].win.open(res.url, '_self');
10711
+ utils_util["a" /* default */].win.open(res.url, '_self');
9775
10712
  } else {
9776
- var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10713
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9777
10714
  this.activeName = res.id;
9778
10715
  if (i == -1) {
9779
10716
  var obj = this.getMenu(this.menus, res.url);
9780
10717
  if (obj) {
9781
- var n = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10718
+ var n = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
9782
10719
  if (n == -1) {
9783
10720
  var tab = this.setIframeType(obj);
9784
10721
  this.tabs.push(tab);
9785
10722
  this.activeName = tab.id;
9786
10723
  } else {
9787
10724
  if (obj.method == 'iframe') {
9788
- obj.url = util["a" /* default */].handlerUrl(obj.url);
10725
+ obj.url = utils_util["a" /* default */].handlerUrl(obj.url);
9789
10726
  }
9790
10727
  }
9791
10728
  } else {
@@ -9795,7 +10732,7 @@ var events = [function (tabs, index, that) {
9795
10732
  }
9796
10733
  } else {
9797
10734
  if (res.method == 'iframe') {
9798
- res.url = util["a" /* default */].handlerUrl(res.url);
10735
+ res.url = utils_util["a" /* default */].handlerUrl(res.url);
9799
10736
  }
9800
10737
  }
9801
10738
  }
@@ -9813,14 +10750,14 @@ var events = [function (tabs, index, that) {
9813
10750
  this.showMenu = subMenus !== false;
9814
10751
  this.showApps = false;
9815
10752
  if (subMenus && subMenus.url) {
9816
- var _i = util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
10753
+ var _i = utils_util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
9817
10754
  this.activeName = subMenus.id;
9818
10755
  if (_i == -1) {
9819
10756
  var _tab6 = this.setIframeType(subMenus);
9820
10757
  this.tabs.push(_tab6);
9821
10758
  } else {
9822
10759
  if (subMenus.method == 'iframe') {
9823
- subMenus.url = util["a" /* default */].handlerUrl(subMenus.url);
10760
+ subMenus.url = utils_util["a" /* default */].handlerUrl(subMenus.url);
9824
10761
  }
9825
10762
  }
9826
10763
  }
@@ -9842,7 +10779,7 @@ var events = [function (tabs, index, that) {
9842
10779
  this.drawer.mounted = res.mounted;
9843
10780
  this.drawer.url = res.url;
9844
10781
  if (res.mounted === 'wujie') {
9845
- this.drawer.name = res.name || util["a" /* default */].uuid();
10782
+ this.drawer.name = res.name || utils_util["a" /* default */].uuid();
9846
10783
  }
9847
10784
  },
9848
10785
 
@@ -9863,18 +10800,16 @@ var events = [function (tabs, index, that) {
9863
10800
  handlerClickMenu: function handlerClickMenu(res) {
9864
10801
  var _this5 = this;
9865
10802
 
9866
- if (this.recordApp) {
9867
- util["a" /* default */].ajax({
9868
- url: api["mb" /* recordUserApp */],
9869
- params: {
9870
- userId: this.user.userId,
9871
- appId: res.id
9872
- }
9873
- }).then(function () {}).catch(function () {});
9874
- }
10803
+ utils_util["a" /* default */].ajax({
10804
+ url: api["mb" /* recordUserApp */],
10805
+ params: {
10806
+ userId: this.user.userId,
10807
+ appId: res.id
10808
+ }
10809
+ }).then(function () {}).catch(function () {});
9875
10810
  this.showMsg = false;
9876
10811
  this.showSet = false;
9877
- var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10812
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9878
10813
  if (i == -1) {
9879
10814
  var tab = this.setIframeType(res);
9880
10815
  this.tabs.push(tab);
@@ -9883,7 +10818,7 @@ var events = [function (tabs, index, that) {
9883
10818
  var _tab7 = this.tabs[i];
9884
10819
  if (_tab7.method === 'iframe') {
9885
10820
  this.activeName = res.id;
9886
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url));
10821
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
9887
10822
  } else {
9888
10823
  this.$set(this.tabs[i], 'refresh', false);
9889
10824
  if (_tab7.method === 'wujie') {
@@ -9945,14 +10880,14 @@ var events = [function (tabs, index, that) {
9945
10880
  handleRefresh: function handleRefresh() {
9946
10881
  var _this6 = this;
9947
10882
 
9948
- var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
10883
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
9949
10884
  var tab = this.tabs[i];
9950
10885
  if (tab.method === 'iframe') {
9951
- tab.url = util["a" /* default */].handlerUrl(tab.url);
10886
+ tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
9952
10887
  } else {
9953
10888
  var _tab8 = this.tabs[i];
9954
10889
  if (_tab8.method === 'iframe') {
9955
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab8.url));
10890
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
9956
10891
  } else {
9957
10892
  this.$set(this.tabs[i], 'refresh', false);
9958
10893
  this.$nextTick(function () {
@@ -9969,7 +10904,7 @@ var events = [function (tabs, index, that) {
9969
10904
  **/
9970
10905
  handleRemove: function handleRemove(name) {
9971
10906
  var len = this.tabs.length - 1;
9972
- var i = util["a" /* default */].indexOfObj(this.tabs, name, 'id');
10907
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, name, 'id,code,appCode');
9973
10908
  if (i > -1) {
9974
10909
  this.tabs.splice(i, 1);
9975
10910
  if (this.tabs.length == 0) {
@@ -10047,9 +10982,9 @@ var events = [function (tabs, index, that) {
10047
10982
  if (event) {
10048
10983
  event();
10049
10984
  } else if (open) {
10050
- util["a" /* default */].win.open(open);
10985
+ utils_util["a" /* default */].win.open(open);
10051
10986
  } else if (link) {
10052
- util["a" /* default */].win.open(link, '_self');
10987
+ utils_util["a" /* default */].win.open(link, '_self');
10053
10988
  } else {
10054
10989
  switch (type) {
10055
10990
  case 'quit':
@@ -10068,18 +11003,21 @@ var events = [function (tabs, index, that) {
10068
11003
  this.showMsg = !this.showMsg;
10069
11004
  this.showSet = false;
10070
11005
  break;
11006
+ case 'index':
11007
+ utils_util["a" /* default */].win.open(this.doorIndex, '_self');
11008
+ break;
10071
11009
  case 'set':
10072
11010
  this.showSet = !this.showSet;
10073
11011
  this.showMsg = false;
10074
11012
  break;
10075
11013
  case 'home':
10076
- var i = util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
11014
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
10077
11015
  if (i == -1) {
10078
11016
  this.tabs.unshift(this.homePage);
10079
11017
  } else {
10080
11018
  var tab = this.tabs[i];
10081
11019
  if (tab.method === 'iframe') {
10082
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(tab.url));
11020
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(tab.url));
10083
11021
  } else {
10084
11022
  this.$set(this.tabs[i], 'refresh', false);
10085
11023
  this.$nextTick(function () {
@@ -10092,12 +11030,16 @@ var events = [function (tabs, index, that) {
10092
11030
  this.showSet = false;
10093
11031
  break;
10094
11032
  case 'search':
10095
- this.handlerSetDrawer(res);
11033
+ if (res.url) {
11034
+ this.handlerSetDrawer(res);
11035
+ } else {
11036
+ this.showSearch = true;
11037
+ }
10096
11038
  this.showMsg = false;
10097
11039
  this.showSet = false;
10098
11040
  break;
10099
11041
  case 'goView':
10100
- util["a" /* default */].win.open(res.path, '_blank');
11042
+ utils_util["a" /* default */].win.open(res.path, '_blank');
10101
11043
  break;
10102
11044
  }
10103
11045
  }
@@ -10117,18 +11059,18 @@ var events = [function (tabs, index, that) {
10117
11059
  cancelButtonText: '取消',
10118
11060
  type: 'warning'
10119
11061
  }).then(function () {
10120
- util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
11062
+ utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
10121
11063
  if (res.rCode == 0) {
10122
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
11064
+ utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
10123
11065
  if (_this8.onQuit && typeof _this8.onQuit === 'function') {
10124
11066
  _this8.onQuit();
10125
11067
  } else {
10126
11068
  try {
10127
- var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
11069
+ var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
10128
11070
  if (loginPage) {
10129
11071
  var src = void 0;
10130
- if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
10131
- var pathname = util["a" /* default */].win.top.location.pathname;
11072
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
11073
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
10132
11074
  if (pathname !== '/') {
10133
11075
  pathname = pathname.split('/');
10134
11076
  pathname.splice(pathname.length - 1);
@@ -10140,20 +11082,20 @@ var events = [function (tabs, index, that) {
10140
11082
  } else {
10141
11083
  src = loginPage;
10142
11084
  }
10143
- util["a" /* default */].win.top.location.href = src;
10144
- } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
10145
- util["a" /* default */].win.top.location.href = './login.html';
11085
+ utils_util["a" /* default */].win.top.location.href = src;
11086
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
11087
+ utils_util["a" /* default */].win.top.location.href = './login.html';
10146
11088
  } else {
10147
- var hash = util["a" /* default */].win.top.location.hash;
11089
+ var hash = utils_util["a" /* default */].win.top.location.hash;
10148
11090
  if (hash) {
10149
- var len = util["a" /* default */].win.top.location.href.indexOf(hash);
10150
- util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11091
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
11092
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
10151
11093
  } else {
10152
- util["a" /* default */].win.top.location.href = '/login.html';
11094
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
10153
11095
  }
10154
11096
  }
10155
11097
  } catch (error) {
10156
- util["a" /* default */].win.postMessage({ type: 1 }, '*');
11098
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
10157
11099
  }
10158
11100
  }
10159
11101
  }
@@ -10216,7 +11158,7 @@ var events = [function (tabs, index, that) {
10216
11158
  clearTimeout(this.sysMsgOut);
10217
11159
  }
10218
11160
  },
10219
- jumpMenu: function jumpMenu(res) {
11161
+ jumpMenu: function jumpMenu(res, close) {
10220
11162
  var _this10 = this;
10221
11163
 
10222
11164
  var apps = res;
@@ -10225,8 +11167,9 @@ var events = [function (tabs, index, that) {
10225
11167
  }
10226
11168
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
10227
11169
  if (obj) {
10228
- var i = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10229
- var n = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
11170
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id,code,appCode');
11171
+ var n = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
11172
+ var old = this.activeName;
10230
11173
  this.activeName = obj.id;
10231
11174
  if (i == -1) {
10232
11175
  var tab = this.setIframeType(obj);
@@ -10234,7 +11177,7 @@ var events = [function (tabs, index, that) {
10234
11177
  } else {
10235
11178
  var _tab9 = this.tabs[i];
10236
11179
  if (_tab9.method === 'iframe') {
10237
- this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab9.url));
11180
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab9.url));
10238
11181
  } else {
10239
11182
  this.$set(this.tabs[i], 'refresh', false);
10240
11183
  this.$nextTick(function () {
@@ -10242,6 +11185,16 @@ var events = [function (tabs, index, that) {
10242
11185
  });
10243
11186
  }
10244
11187
  }
11188
+ if (close) {
11189
+ if (close === old) {
11190
+ this.tabs.splice(n, 0);
11191
+ } else {
11192
+ var d = utils_util["a" /* default */].indexOfObj(this.tabs, close, 'id,code,appCode');
11193
+ if (d > -1) {
11194
+ this.tabs.splice(d, 0);
11195
+ }
11196
+ }
11197
+ }
10245
11198
  } else {
10246
11199
  this.$message.error('没有此菜单!');
10247
11200
  }
@@ -10251,13 +11204,22 @@ var events = [function (tabs, index, that) {
10251
11204
  handleListener: function handleListener() {
10252
11205
  var _this11 = this;
10253
11206
 
10254
- util["a" /* default */].win.addEventListener('message', function (e) {
11207
+ utils_util["a" /* default */].win.addEventListener('message', function (e) {
10255
11208
  var msg = e.data;
10256
11209
  if (msg.key == 'jump_Menu') {
10257
11210
  var res = msg.data1;
10258
11211
  _this11.jumpMenu(res);
10259
11212
  }
10260
11213
  }, false);
11214
+ },
11215
+ handleSelect: function handleSelect(res, parent) {
11216
+ this.showSearch = false;
11217
+ if (parent.name === '应用') {
11218
+ this.handlerClickApps(res);
11219
+ }
11220
+ if (parent.name === '菜单') {
11221
+ this.handlerClickApp(res);
11222
+ }
10261
11223
  }
10262
11224
  },
10263
11225
  beforeDestroy: function beforeDestroy() {
@@ -10280,18 +11242,18 @@ var events = [function (tabs, index, that) {
10280
11242
 
10281
11243
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
10282
11244
  src_simplicityvue_type_script_lang_js_,
10283
- simplicityvue_type_template_id_62dac392_scoped_true_render,
10284
- simplicityvue_type_template_id_62dac392_scoped_true_staticRenderFns,
11245
+ simplicityvue_type_template_id_7b4d5e88_scoped_true_render,
11246
+ simplicityvue_type_template_id_7b4d5e88_scoped_true_staticRenderFns,
10285
11247
  false,
10286
11248
  null,
10287
- "62dac392",
11249
+ "7b4d5e88",
10288
11250
  null
10289
11251
 
10290
11252
  )
10291
11253
 
10292
11254
  /* harmony default export */ var simplicity = (simplicity_component.exports);
10293
- // 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=576bd3b4&
10294
- var defaultvue_type_template_id_576bd3b4_render = function () {
11255
+ // 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=1867755c&
11256
+ var defaultvue_type_template_id_1867755c_render = function () {
10295
11257
  var _vm = this
10296
11258
  var _h = _vm.$createElement
10297
11259
  var _c = _vm._self._c || _h
@@ -10678,14 +11640,14 @@ var defaultvue_type_template_id_576bd3b4_render = function () {
10678
11640
  1
10679
11641
  )
10680
11642
  }
10681
- var defaultvue_type_template_id_576bd3b4_staticRenderFns = []
10682
- defaultvue_type_template_id_576bd3b4_render._withStripped = true
11643
+ var defaultvue_type_template_id_1867755c_staticRenderFns = []
11644
+ defaultvue_type_template_id_1867755c_render._withStripped = true
10683
11645
 
10684
11646
 
10685
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=576bd3b4&
11647
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1867755c&
10686
11648
 
10687
- // 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&
10688
- var userinfovue_type_template_id_bd3da0e0_render = function () {
11649
+ // 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&
11650
+ var userinfovue_type_template_id_d207c2e8_render = function () {
10689
11651
  var _vm = this
10690
11652
  var _h = _vm.$createElement
10691
11653
  var _c = _vm._self._c || _h
@@ -10694,18 +11656,18 @@ var userinfovue_type_template_id_bd3da0e0_render = function () {
10694
11656
  {
10695
11657
  ref: "form",
10696
11658
  staticClass: "es-user-info",
10697
- attrs: { model: _vm.values, contents: _vm.forms },
11659
+ attrs: { model: _vm.values, contents: _vm.forms, autocomplete: false },
10698
11660
  on: { change: _vm.handleFormChange, submit: _vm.handleFormSubmit },
10699
11661
  },
10700
11662
  [_c("template", { slot: "other" }, [_vm._t("default")], 2)],
10701
11663
  2
10702
11664
  )
10703
11665
  }
10704
- var userinfovue_type_template_id_bd3da0e0_staticRenderFns = []
10705
- userinfovue_type_template_id_bd3da0e0_render._withStripped = true
11666
+ var userinfovue_type_template_id_d207c2e8_staticRenderFns = []
11667
+ userinfovue_type_template_id_d207c2e8_render._withStripped = true
10706
11668
 
10707
11669
 
10708
- // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=bd3da0e0&
11670
+ // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=d207c2e8&
10709
11671
 
10710
11672
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=script&lang=js&
10711
11673
  var userinfovue_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; };
@@ -10724,6 +11686,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10724
11686
  //
10725
11687
  //
10726
11688
  //
11689
+ //
10727
11690
 
10728
11691
 
10729
11692
 
@@ -10948,12 +11911,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10948
11911
 
10949
11912
  methods: {
10950
11913
  getQrcode: function getQrcode() {
10951
- this.qrcode = util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
11914
+ this.qrcode = utils_util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
10952
11915
  },
10953
11916
  getData: function getData() {
10954
11917
  var _this2 = this;
10955
11918
 
10956
- util["a" /* default */].ajax({
11919
+ utils_util["a" /* default */].ajax({
10957
11920
  url: api["ab" /* initUserSet */]
10958
11921
  }).then(function (res) {
10959
11922
  if (res.rCode === 0) {
@@ -10974,7 +11937,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10974
11937
  // this.values.officeTel = results.simpleUserInfo.officeTel;
10975
11938
  if (results.userScanBindImgUrl) {
10976
11939
  _this2.userScanBindImgUrl = results.userScanBindImgUrl;
10977
- _this2.qrcode = util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
11940
+ _this2.qrcode = utils_util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
10978
11941
  } else {
10979
11942
  _this2.qrcode = '';
10980
11943
  }
@@ -11003,20 +11966,20 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11003
11966
 
11004
11967
  switch (type) {
11005
11968
  case 'job':
11006
- util["a" /* default */].ajax({ url: api["vb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
11969
+ utils_util["a" /* default */].ajax({ url: api["wb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
11007
11970
  if (res.rCode == 0) {
11008
- util["a" /* default */].setStorage({
11971
+ utils_util["a" /* default */].setStorage({
11009
11972
  type: _this3.storage,
11010
11973
  key: 'userId',
11011
11974
  value: value.value
11012
11975
  });
11013
- util["a" /* default */].removeStorage(['mainConfig', 'jump']);
11976
+ utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
11014
11977
  _this3.$message({
11015
11978
  message: res.msg,
11016
11979
  type: 'success',
11017
11980
  duration: 500,
11018
11981
  onClose: function onClose() {
11019
- if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
11982
+ if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
11020
11983
  location.reload();
11021
11984
  } else {
11022
11985
  _this3.$router.replace('/main');
@@ -11041,19 +12004,19 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11041
12004
  handleFormSubmit: function handleFormSubmit() {
11042
12005
  var _this4 = this;
11043
12006
 
11044
- var initLogin = util["a" /* default */].getStorage('initLogin');
12007
+ var initLogin = utils_util["a" /* default */].getStorage('initLogin');
11045
12008
  initLogin && (initLogin = JSON.parse(initLogin));
11046
- util["a" /* default */].ajax({
11047
- url: api["Yb" /* updateUserInfo */],
12009
+ utils_util["a" /* default */].ajax({
12010
+ url: api["Zb" /* updateUserInfo */],
11048
12011
  params: {
11049
12012
  email: this.values.email,
11050
12013
  officeTel: this.values.officeTel,
11051
12014
  phone: this.values.phone,
11052
- oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? util["a" /* default */].esmEncrypt({
12015
+ oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
11053
12016
  data: this.values.oldpassword,
11054
12017
  key: initLogin.secret
11055
12018
  }) : this.values.oldpassword,
11056
- password: this.secret && initLogin && initLogin.secret && this.values.password ? util["a" /* default */].esmEncrypt({
12019
+ password: this.secret && initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
11057
12020
  data: this.values.password,
11058
12021
  key: initLogin.secret
11059
12022
  }) : this.values.password
@@ -11067,12 +12030,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11067
12030
  closeOnClickModal: false,
11068
12031
  type: 'warning'
11069
12032
  }).then(function () {
11070
- var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
12033
+ var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
11071
12034
  try {
11072
12035
  if (loginPage) {
11073
12036
  var src = void 0;
11074
- if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
11075
- var pathname = util["a" /* default */].win.top.location.pathname;
12037
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
12038
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
11076
12039
  if (pathname !== '/') {
11077
12040
  pathname = pathname.split('/');
11078
12041
  pathname.splice(pathname.length - 1);
@@ -11084,28 +12047,28 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11084
12047
  } else {
11085
12048
  src = loginPage;
11086
12049
  }
11087
- util["a" /* default */].win.top.location.href = src;
11088
- } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
11089
- util["a" /* default */].win.top.location.href = './login.html';
12050
+ utils_util["a" /* default */].win.top.location.href = src;
12051
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
12052
+ utils_util["a" /* default */].win.top.location.href = './login.html';
11090
12053
  } else {
11091
- var hash = util["a" /* default */].win.top.location.hash;
12054
+ var hash = utils_util["a" /* default */].win.top.location.hash;
11092
12055
  if (hash) {
11093
- var len = util["a" /* default */].win.top.location.href.indexOf(hash);
11094
- util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
12056
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
12057
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11095
12058
  } else {
11096
- util["a" /* default */].win.top.location.href = '/login.html';
12059
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
11097
12060
  }
11098
12061
  }
11099
12062
  } catch (error) {
11100
- util["a" /* default */].win.postMessage({ type: 1 }, '*');
12063
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
11101
12064
  }
11102
12065
  }).catch(function (e) {});
11103
12066
  } else {
11104
12067
  _this4.$emit('reGetConfig');
11105
12068
  var notify = _this4.values.notify.sort().join(',');
11106
12069
  if (notify != _this4.notify.split(',').sort().join(',')) {
11107
- util["a" /* default */].ajax({
11108
- url: api["Xb" /* updateUserCustomInfo */],
12070
+ utils_util["a" /* default */].ajax({
12071
+ url: api["Yb" /* updateUserCustomInfo */],
11109
12072
  params: {
11110
12073
  notify: notify
11111
12074
  }
@@ -11133,7 +12096,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11133
12096
  },
11134
12097
  repassword: function repassword(rule, value, callback) {
11135
12098
  if (this.values.oldpassword && this.values.password && value) {
11136
- util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
12099
+ utils_util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
11137
12100
  } else {
11138
12101
  callback();
11139
12102
  return true;
@@ -11153,8 +12116,8 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11153
12116
 
11154
12117
  var default_userinfo_component = Object(componentNormalizer["a" /* default */])(
11155
12118
  src_default_userinfovue_type_script_lang_js_,
11156
- userinfovue_type_template_id_bd3da0e0_render,
11157
- userinfovue_type_template_id_bd3da0e0_staticRenderFns,
12119
+ userinfovue_type_template_id_d207c2e8_render,
12120
+ userinfovue_type_template_id_d207c2e8_staticRenderFns,
11158
12121
  false,
11159
12122
  null,
11160
12123
  null,
@@ -11626,7 +12589,7 @@ settingsvue_type_template_id_2d7a058d_render._withStripped = true
11626
12589
  res = res.toLowerCase();
11627
12590
  // const rgb = util.getRgb(res);
11628
12591
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
11629
- util["a" /* default */].updateTheme(res);
12592
+ utils_util["a" /* default */].updateTheme(res);
11630
12593
  this.color = res;
11631
12594
  this.$emit('change', { type: 'theme', value: res });
11632
12595
  //this.setTheme(res);
@@ -11935,7 +12898,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11935
12898
  };
11936
12899
  },
11937
12900
  mounted: function mounted() {
11938
- util["a" /* default */].win.deleteMsg = this.handleRemove;
12901
+ utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
11939
12902
  },
11940
12903
 
11941
12904
  methods: {
@@ -11945,8 +12908,8 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11945
12908
 
11946
12909
  if (this.pageNum <= this.pageCount) {
11947
12910
  this.loading = true;
11948
- util["a" /* default */].ajax({
11949
- url: api["wb" /* sysMsgPage */],
12911
+ utils_util["a" /* default */].ajax({
12912
+ url: api["xb" /* sysMsgPage */],
11950
12913
  params: {
11951
12914
  pageNum: reload ? 1 : this.pageNum,
11952
12915
  pageSize: this.pageSize
@@ -11978,7 +12941,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11978
12941
  handleIgnore: function handleIgnore(res, i) {
11979
12942
  var _this2 = this;
11980
12943
 
11981
- util["a" /* default */].ajax({
12944
+ utils_util["a" /* default */].ajax({
11982
12945
  url: api["W" /* ignoreSysMsg */],
11983
12946
  params: {
11984
12947
  id: res.id
@@ -11998,7 +12961,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11998
12961
  handleIgnoreAll: function handleIgnoreAll() {
11999
12962
  var _this3 = this;
12000
12963
 
12001
- util["a" /* default */].ajax({
12964
+ utils_util["a" /* default */].ajax({
12002
12965
  url: api["V" /* ignoreAllSysMsg */]
12003
12966
  }).then(function (res) {
12004
12967
  _this3.count = 0;
@@ -12016,7 +12979,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12016
12979
  this.count -= 1;
12017
12980
  this.msgs.splice(index, 1);
12018
12981
  if (this.winopen) {
12019
- util["a" /* default */].win.open(item.handlerUrl);
12982
+ utils_util["a" /* default */].win.open(item.handlerUrl);
12020
12983
  } else {
12021
12984
  this.dialog = {
12022
12985
  show: true,
@@ -12318,7 +13281,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
12318
13281
  handleIgnoreAll: function handleIgnoreAll() {
12319
13282
  var _this = this;
12320
13283
 
12321
- util["a" /* default */].ajax({
13284
+ utils_util["a" /* default */].ajax({
12322
13285
  url: api["V" /* ignoreAllSysMsg */]
12323
13286
  }).then(function (res) {
12324
13287
  _this.count = 0;
@@ -12335,7 +13298,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
12335
13298
  //处理消息
12336
13299
  handleMessage: function handleMessage(item, index) {
12337
13300
  if (item.urlopenmode === 1 || this.winopen) {
12338
- util["a" /* default */].win.open(item.handlerUrl);
13301
+ utils_util["a" /* default */].win.open(item.handlerUrl);
12339
13302
  } else {
12340
13303
  this.dialog = {
12341
13304
  show: true,
@@ -12601,8 +13564,8 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
12601
13564
 
12602
13565
 
12603
13566
  var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') != -1;
12604
- var log = util["a" /* default */].getParams('console');
12605
- var appCode = util["a" /* default */].getParams('appCode') || util["a" /* default */].getParams('appcode');
13567
+ var log = utils_util["a" /* default */].getParams('console');
13568
+ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
12606
13569
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
12607
13570
  name: 'MainDefault',
12608
13571
  inheritAttrs: false,
@@ -12675,12 +13638,17 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
12675
13638
  //主题颜色选择颜色集合
12676
13639
  themes: Array,
12677
13640
  //需要隐藏的头部功能
12678
- hides: Object,
13641
+ hides: {
13642
+ type: Object,
13643
+ default: function _default() {
13644
+ return {};
13645
+ }
13646
+ },
12679
13647
  //储存数据
12680
13648
  storage: {
12681
13649
  type: String,
12682
13650
  default: function _default() {
12683
- return util["a" /* default */].getStorage('storage');
13651
+ return utils_util["a" /* default */].getStorage('storage');
12684
13652
  }
12685
13653
  },
12686
13654
  //是否启用子应用菜单接口
@@ -12789,11 +13757,11 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
12789
13757
  return this.isSide !== null ? this.isSide : this.sideNav;
12790
13758
  },
12791
13759
  isHomePage: function isHomePage() {
12792
- if (util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId')) {
13760
+ if (utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId')) {
12793
13761
  return false;
12794
13762
  }
12795
- if (util["a" /* default */].getStorage('mainConfig')) {
12796
- var hash = util["a" /* default */].win.location.hash;
13763
+ if (utils_util["a" /* default */].getStorage('mainConfig')) {
13764
+ var hash = utils_util["a" /* default */].win.location.hash;
12797
13765
  if (hash && hash.split('?')[0] !== '#/' && hash.split('?')[0] !== '#/main') {
12798
13766
  return false;
12799
13767
  }
@@ -12837,53 +13805,24 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
12837
13805
 
12838
13806
  //隐藏操作按键
12839
13807
  hide: function hide() {
12840
- var mainConfig = util["a" /* default */].getStorage('mainConfig');
12841
- mainConfig = mainConfig ? JSON.parse(mainConfig) : mainConfig;
12842
- var topRightToolHide = '';
12843
- if (mainConfig && mainConfig.subsystemExtend && mainConfig.subsystemExtend.topRightToolHide) {
12844
- topRightToolHide = JSON.parse(mainConfig.subsystemExtend.topRightToolHide.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '"$2":'));
12845
- }
13808
+ var topRightToolHide = {};
13809
+ if (this.topRightToolHide) {
13810
+ topRightToolHide = JSON.parse(this.topRightToolHide.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '"$2":'));
13811
+ }
13812
+ var hides = {
13813
+ set: !this.set,
13814
+ index: this.doorIndex ? false : true,
13815
+ system: true,
13816
+ home: this.homePage ? false : true
13817
+ };
13818
+
12846
13819
  if (this.layout === 'subsystem' || this.application) {
12847
- if (this.hides && Object.keys(this.hides).length) {
12848
- return defaultvue_type_script_lang_js_extends({}, this.hides, { set: !this.set, system: false });
12849
- } else if (topRightToolHide && Object.keys(topRightToolHide).length) {
12850
- return defaultvue_type_script_lang_js_extends({}, topRightToolHide, { set: !this.set, system: false });
12851
- } else {
12852
- return { set: !this.set, system: false };
12853
- }
12854
- } else if (this.layout === 'topside' || this.layout === 'side') {
12855
- if (this.hides && Object.keys(this.hides).length) {
12856
- return defaultvue_type_script_lang_js_extends({}, this.hides, {
12857
- set: !this.set,
12858
- system: true,
12859
- user: true
12860
- });
12861
- } else if (topRightToolHide && Object.keys(topRightToolHide).length) {
12862
- return defaultvue_type_script_lang_js_extends({}, topRightToolHide, {
12863
- set: !this.set,
12864
- system: true,
12865
- user: true
12866
- });
12867
- } else {
12868
- return { set: !this.set, system: true, user: true };
12869
- }
12870
- } else {
12871
- if (this.hides && Object.keys(this.hides).length) {
12872
- return defaultvue_type_script_lang_js_extends({}, this.hides, {
12873
- set: !this.set,
12874
- system: true,
12875
- user: true
12876
- });
12877
- } else if (topRightToolHide && Object.keys(topRightToolHide).length) {
12878
- return defaultvue_type_script_lang_js_extends({}, topRightToolHide, {
12879
- set: !this.set,
12880
- system: true,
12881
- user: true
12882
- });
12883
- } else {
12884
- return { set: !this.set, system: true };
12885
- }
13820
+ hides.system = false;
12886
13821
  }
13822
+ if (this.layout === 'topside' || this.layout === 'side') {
13823
+ hides.user = true;
13824
+ }
13825
+ return defaultvue_type_script_lang_js_extends({}, hides, this.hides, topRightToolHide);
12887
13826
  },
12888
13827
  logoUrl: function logoUrl() {
12889
13828
  if (this.mainLogo) {
@@ -12925,7 +13864,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
12925
13864
  handler: function handler(val) {
12926
13865
  if (this.set) {
12927
13866
  localStorage.setItem('theme', val);
12928
- util["a" /* default */].updateTheme(val);
13867
+ utils_util["a" /* default */].updateTheme(val);
12929
13868
  }
12930
13869
  }
12931
13870
  }
@@ -12997,7 +13936,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
12997
13936
  //显示设置面板
12998
13937
  showSet: false,
12999
13938
  //当前设置的主题
13000
- color: util["a" /* default */].getStorage('theme') ? util["a" /* default */].getStorage('theme') : this.theme,
13939
+ color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
13001
13940
  //显示用户信息
13002
13941
  showUserInfo: false,
13003
13942
  userInfoContents: undefined,
@@ -13021,34 +13960,37 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13021
13960
  showPage: false,
13022
13961
  webSocket: null,
13023
13962
  dialog: {},
13024
- hideSubMenu: false
13963
+ hideSubMenu: false,
13964
+ doorIndex: '',
13965
+ topRightToolHide: ''
13025
13966
  };
13026
13967
  },
13027
13968
  created: function created() {
13028
- var params = util["a" /* default */].getParams() || {};
13969
+ var params = utils_util["a" /* default */].getParams() || {};
13029
13970
  if (typeof this.loadHomePage === 'string') {
13030
13971
  this.homePage = this.loadHomePage;
13031
13972
  }
13032
13973
  this.isHeader = params.header;
13033
13974
  var sysLogoIco = sessionStorage.getItem('sysLogoIco');
13034
- sysLogoIco && util["a" /* default */].setFavicon(sysLogoIco);
13975
+ sysLogoIco && utils_util["a" /* default */].setFavicon(sysLogoIco);
13035
13976
 
13036
- var mainConfig = util["a" /* default */].getStorage('mainConfig');
13977
+ var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
13037
13978
  if (mainConfig) {
13038
13979
  var results = JSON.parse(mainConfig);
13039
13980
  if (Object.keys(results).length) {
13040
13981
  this.init(results);
13041
13982
  }
13042
13983
  }
13984
+ this.doorIndex = sessionStorage.getItem('doorIndex');
13043
13985
  },
13044
13986
  mounted: function mounted() {
13045
13987
  this.handleListener();
13046
- util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
13988
+ utils_util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
13047
13989
  },
13048
13990
 
13049
13991
  methods: {
13050
13992
  stateHandle: function stateHandle() {
13051
- util["a" /* default */].win.location.reload();
13993
+ utils_util["a" /* default */].win.location.reload();
13052
13994
  },
13053
13995
  menuSuccess: function menuSuccess(res) {
13054
13996
  this.menuType = 'custom';
@@ -13087,7 +14029,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13087
14029
  renderMenu: function renderMenu() {
13088
14030
  if (this.data !== undefined && this.data.length) {
13089
14031
  this.menus = JSON.parse(JSON.stringify(this.data));
13090
- var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
14032
+ var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
13091
14033
  if (applicationid) {
13092
14034
  var ids = this.getId(this.menus, applicationid);
13093
14035
  if (ids) {
@@ -13102,13 +14044,13 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13102
14044
  //this.navIds = ids;
13103
14045
  this.setTitle(_ids[0]);
13104
14046
  }
13105
- } else if (util["a" /* default */].win.location.hash) {
13106
- var hash = util["a" /* default */].win.location.hash;
14047
+ } else if (utils_util["a" /* default */].win.location.hash) {
14048
+ var hash = utils_util["a" /* default */].win.location.hash;
13107
14049
  if (hash) {
13108
14050
  hash = hash.split('?')[0];
13109
14051
  }
13110
14052
  if (hash !== '#/' && hash !== '#/main') {
13111
- var _ids2 = this.getId(this.menus, util["a" /* default */].win.location.hash);
14053
+ var _ids2 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
13112
14054
  if (_ids2) {
13113
14055
  this.defaultActive = _ids2;
13114
14056
  //this.navIds = ids;
@@ -13134,15 +14076,15 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13134
14076
  if (!color) {
13135
14077
  return;
13136
14078
  }
13137
- util["a" /* default */].ajax({
13138
- url: api["Xb" /* updateUserCustomInfo */],
14079
+ utils_util["a" /* default */].ajax({
14080
+ url: api["Yb" /* updateUserCustomInfo */],
13139
14081
  params: { color: escape(color.toLowerCase()) },
13140
14082
  data: { color: escape(color.toLowerCase()) }
13141
14083
  }).then(function (res) {
13142
14084
  if (res.rCode === 0) {
13143
14085
  _this.color = color;
13144
14086
  localStorage.setItem('theme', color);
13145
- var _mainConfig = JSON.parse(util["a" /* default */].getStorage('mainConfig'));
14087
+ var _mainConfig = JSON.parse(utils_util["a" /* default */].getStorage('mainConfig'));
13146
14088
  _mainConfig.userStyle.color = _this.color;
13147
14089
  sessionStorage.setItem('mainConfig', JSON.stringify(_mainConfig));
13148
14090
  _this.$emit('setting', 'theme', _this.color);
@@ -13178,7 +14120,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13178
14120
  this.initWebSocket();
13179
14121
  }
13180
14122
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
13181
- util["a" /* default */].setStorage({
14123
+ utils_util["a" /* default */].setStorage({
13182
14124
  type: this.storage,
13183
14125
  key: {
13184
14126
  depId: results.userModel.depId,
@@ -13199,8 +14141,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13199
14141
  this.results[i] = results[i].split(',');
13200
14142
  }
13201
14143
  if (i === 'indexUrl' && results[i] && this.loadHomePage) {
13202
- var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
13203
- var hash = util["a" /* default */].win.location.hash;
14144
+ var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
14145
+ var hash = utils_util["a" /* default */].win.location.hash;
13204
14146
  if (hash) {
13205
14147
  hash = hash.split('?')[0];
13206
14148
  }
@@ -13225,20 +14167,21 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13225
14167
  }
13226
14168
  if (i === 'doorIndex' && results[i]) {
13227
14169
  window.open(results[i]);
14170
+ this.doorIndex = results[i];
13228
14171
  }
13229
14172
  if (i === 'subsystemName' && results[i]) {
13230
14173
  document.title = results[i];
13231
14174
  }
13232
14175
  if (i === 'loginPage' && results[i]) {
13233
- util["a" /* default */].setStorage('loginPage', results[i]);
14176
+ utils_util["a" /* default */].setStorage('loginPage', results[i]);
13234
14177
  }
13235
14178
  if (i === 'sysLogoIco' && results[i]) {
13236
14179
  sessionStorage.setItem('sysLogoIco', results[i]);
13237
- util["a" /* default */].setFavicon(results[i]);
14180
+ utils_util["a" /* default */].setFavicon(results[i]);
13238
14181
  }
13239
14182
  if (i === 'userStyle' && results[i] && results[i].color) {
13240
14183
  var color = unescape(results[i].color).toLowerCase();
13241
- if (util["a" /* default */].startWith(color, '#')) {
14184
+ if (utils_util["a" /* default */].startWith(color, '#')) {
13242
14185
  this.color = color;
13243
14186
  }
13244
14187
  }
@@ -13251,14 +14194,20 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13251
14194
  }
13252
14195
  if (results[i].webPageWatermark) {
13253
14196
  try {
13254
- util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
13255
- util["a" /* default */].watermark(results[i].webPageWatermark);
14197
+ utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
14198
+ utils_util["a" /* default */].watermark(results[i].webPageWatermark);
13256
14199
  } catch (error) {
13257
- util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
14200
+ utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
13258
14201
  }
13259
14202
  }
13260
14203
  if (results[i].loginPage) {
13261
- util["a" /* default */].setStorage('loginPage', results[i].loginPage);
14204
+ utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
14205
+ }
14206
+ if (results[i].portalPage || results[i].portalpage) {
14207
+ this.doorIndex = results[i].portalPage || results[i].portalpage;
14208
+ }
14209
+ if (results[i].topRightToolHide) {
14210
+ this.topRightToolHide = results[i].topRightToolHide;
13262
14211
  }
13263
14212
  }
13264
14213
  store["a" /* default */].set(i, results[i]);
@@ -13278,7 +14227,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13278
14227
  reGetConfig: function reGetConfig() {
13279
14228
  var _this2 = this;
13280
14229
 
13281
- util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
14230
+ utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
13282
14231
  if (res && res.rCode === 0) {
13283
14232
  var results = JSON.parse(JSON.stringify(res.results));
13284
14233
  _this2.setConfig(results, 1);
@@ -13309,9 +14258,9 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13309
14258
  this.hideSubMenu = hide;
13310
14259
  }
13311
14260
  var option = { url: res, isUrl: isUrl, param: param };
13312
- if (util["a" /* default */].isObject(res)) {
14261
+ if (utils_util["a" /* default */].isObject(res)) {
13313
14262
  if (res.urlopenmode == 1) {
13314
- util["a" /* default */].win.open(res.url);
14263
+ utils_util["a" /* default */].win.open(res.url);
13315
14264
  return;
13316
14265
  } else if (res.urlopenmode == 2) {
13317
14266
  location.href = res.url;
@@ -13336,7 +14285,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13336
14285
  if (routes) {
13337
14286
  var path = this.hasRouter(routes, option.url);
13338
14287
  if (path) {
13339
- var params = util["a" /* default */].getParams({ url: option.url });
14288
+ var params = utils_util["a" /* default */].getParams({ url: option.url });
13340
14289
  this.$router.push({
13341
14290
  path: path,
13342
14291
  query: params
@@ -13467,7 +14416,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13467
14416
 
13468
14417
  var param = this.menuCode ? { menuCode: this.menuCode } : {};
13469
14418
  var params = defaultvue_type_script_lang_js_extends({}, this.param, param);
13470
- util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
14419
+ utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
13471
14420
  if (res.rCode === 0) {
13472
14421
  if (res.results && res.results.length) {
13473
14422
  _this4.menus = JSON.parse(JSON.stringify(res.results));
@@ -13490,19 +14439,19 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13490
14439
 
13491
14440
  //设置默认左侧导航
13492
14441
  setMenu: function setMenu(res) {
13493
- var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
14442
+ var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
13494
14443
  if (applicationid) {
13495
14444
  var ids = this.getId(this.menus, applicationid);
13496
14445
  if (ids) {
13497
14446
  this.defaultActive = ids;
13498
14447
  }
13499
- } else if (util["a" /* default */].win.location.hash) {
13500
- var hash = util["a" /* default */].win.location.hash;
14448
+ } else if (utils_util["a" /* default */].win.location.hash) {
14449
+ var hash = utils_util["a" /* default */].win.location.hash;
13501
14450
  if (hash) {
13502
14451
  hash = hash.split('?')[0];
13503
14452
  }
13504
14453
  if (hash !== '#/' && hash !== '#/main') {
13505
- var _ids4 = this.getId(this.menus, util["a" /* default */].win.location.hash);
14454
+ var _ids4 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
13506
14455
  if (_ids4) {
13507
14456
  this.defaultActive = _ids4;
13508
14457
  //this.navIds = ids;
@@ -13521,7 +14470,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13521
14470
  this.isDefault = false;
13522
14471
  this.setDefault(res, this.defaultActive);
13523
14472
  } else {
13524
- if (this.homePage || !util["a" /* default */].getStorage('mainConfig')) {
14473
+ if (this.homePage || !utils_util["a" /* default */].getStorage('mainConfig')) {
13525
14474
  this.isDefault = true;
13526
14475
  if (this.homePage && (!this.defaultActive || !this.defaultActive.length)) {
13527
14476
  var _ids6 = this.getId(this.menus, this.homePage);
@@ -13588,7 +14537,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13588
14537
  if (id && this.menu[0].id !== id) {
13589
14538
  this.active.push(id);
13590
14539
  } else {
13591
- var _hash = util["a" /* default */].win.location.hash;
14540
+ var _hash = utils_util["a" /* default */].win.location.hash;
13592
14541
  if (_hash) {
13593
14542
  _hash = _hash.split('?')[0];
13594
14543
  if (_hash !== '#/' && _hash !== '#/main') {
@@ -13772,14 +14721,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13772
14721
  },
13773
14722
  setUrl: function setUrl(url, param) {
13774
14723
  var obj = param ? param : {};
13775
- var params = util["a" /* default */].getParams({ url: url }, true);
14724
+ var params = utils_util["a" /* default */].getParams({ url: url }, true);
13776
14725
  for (var i in params) {
13777
14726
  if (i != 'model' && i != 'view' && i != '_baseUrl') {
13778
14727
  obj[i] = params[i];
13779
14728
  }
13780
14729
  }
13781
14730
  var _url = params._baseUrl ? params._baseUrl : './primary.html';
13782
- return util["a" /* default */].urlJoinParams({ url: _url, param: obj });
14731
+ return utils_util["a" /* default */].urlJoinParams({ url: _url, param: obj });
13783
14732
  },
13784
14733
  handleVisibleChange: function handleVisibleChange(res) {
13785
14734
  this.showJobs = res;
@@ -13999,6 +14948,9 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
13999
14948
  _this7.reset = true;
14000
14949
  });
14001
14950
  break;
14951
+ case 'index':
14952
+ utils_util["a" /* default */].win.open(this.doorIndex, '_self');
14953
+ break;
14002
14954
  case 'user':
14003
14955
  this.showUserInfo = true;
14004
14956
  break;
@@ -14016,7 +14968,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14016
14968
  this.handleSet();
14017
14969
  break;
14018
14970
  case 'goView':
14019
- util["a" /* default */].win.open(res.path, '_blank');
14971
+ utils_util["a" /* default */].win.open(res.path, '_blank');
14020
14972
  break;
14021
14973
  }
14022
14974
  this.$emit('handler-click', res);
@@ -14027,7 +14979,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14027
14979
  var _this8 = this;
14028
14980
 
14029
14981
  if (this.method === 'iframe') {
14030
- this.page = util["a" /* default */].handlerUrl(this.page);
14982
+ this.page = utils_util["a" /* default */].handlerUrl(this.page);
14031
14983
  } else {
14032
14984
  this.refresh = false;
14033
14985
  this.$nextTick(function () {
@@ -14051,18 +15003,18 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14051
15003
  this.pid = res.pid;
14052
15004
  }
14053
15005
  }
14054
- if (util["a" /* default */].win.location.hash === page && prevPage === page) {
15006
+ if (utils_util["a" /* default */].win.location.hash === page && prevPage === page) {
14055
15007
  this.refresh = true;
14056
15008
  return;
14057
15009
  }
14058
15010
  if (type == 1) {
14059
- util["a" /* default */].win.open(page);
15011
+ utils_util["a" /* default */].win.open(page);
14060
15012
  } else if (type == 2) {
14061
15013
  location.href = page;
14062
15014
  } else if (type == 3 || this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE) {
14063
15015
  this.method = 'iframe';
14064
15016
  this.refresh = false;
14065
- this.page = util["a" /* default */].handlerUrl(page, param);
15017
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
14066
15018
  } else if (page) {
14067
15019
  var urls = page.split('?');
14068
15020
  if (urls[0].indexOf('.js') > 1) {
@@ -14075,19 +15027,19 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14075
15027
  } else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
14076
15028
  this.method = 'iframe';
14077
15029
  this.refresh = false;
14078
- this.page = util["a" /* default */].handlerUrl(page, param);
15030
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
14079
15031
  } else {
14080
15032
  if (urls[0].indexOf('.html') === -1 && urls[0].indexOf('#/') === -1) {
14081
15033
  this.method = 'iframe';
14082
15034
  this.refresh = false;
14083
- this.page = util["a" /* default */].handlerUrl(page, param);
15035
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
14084
15036
  } else {
14085
15037
  this.method = 'router';
14086
15038
  var routes = this.$router.options.routes;
14087
15039
  if (routes) {
14088
15040
  var path = this.hasRouter(routes, urls[0]);
14089
15041
  if (path) {
14090
- var params = util["a" /* default */].getParams({ url: page });
15042
+ var params = utils_util["a" /* default */].getParams({ url: page });
14091
15043
  if (param) {
14092
15044
  params = defaultvue_type_script_lang_js_extends({}, params, param);
14093
15045
  }
@@ -14105,14 +15057,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14105
15057
  _this9.refresh = true;
14106
15058
  });
14107
15059
  } else {
14108
- var urlopenmode = util["a" /* default */].getParams({
15060
+ var urlopenmode = utils_util["a" /* default */].getParams({
14109
15061
  url: page,
14110
15062
  name: 'urlopenmode'
14111
15063
  });
14112
15064
  if (this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE || urlopenmode == 3) {
14113
15065
  this.method = 'iframe';
14114
15066
  this.refresh = false;
14115
- this.page = util["a" /* default */].handlerUrl(page, param);
15067
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
14116
15068
  } else {
14117
15069
  this.method = 'wujie';
14118
15070
  this.wjName = res && res.appCode ? res.appCode : 'application';
@@ -14125,7 +15077,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14125
15077
  } else {
14126
15078
  this.method = 'iframe';
14127
15079
  this.refresh = false;
14128
- this.page = util["a" /* default */].handlerUrl(page, param);
15080
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
14129
15081
  this.$nextTick(function () {
14130
15082
  _this9.refresh = true;
14131
15083
  });
@@ -14248,7 +15200,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14248
15200
  handleListener: function handleListener() {
14249
15201
  var _this10 = this;
14250
15202
 
14251
- util["a" /* default */].win.addEventListener('message', function (e) {
15203
+ utils_util["a" /* default */].win.addEventListener('message', function (e) {
14252
15204
  var msg = e.data;
14253
15205
  if (msg.key == 'jump_Menu') {
14254
15206
  var res = msg.data1;
@@ -14264,9 +15216,9 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14264
15216
  initWebSocket: function initWebSocket() {
14265
15217
  var _this11 = this;
14266
15218
 
14267
- this.webSocket = util["a" /* default */].socket({
14268
- url: api["ec" /* wss */],
14269
- take: api["Ub" /* topic */],
15219
+ this.webSocket = utils_util["a" /* default */].socket({
15220
+ url: api["fc" /* wss */],
15221
+ take: api["Vb" /* topic */],
14270
15222
  success: function success(res) {
14271
15223
  var data = res.data || {};
14272
15224
  for (var i in data) {
@@ -14299,8 +15251,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14299
15251
  if (_this11.$eventBus) {
14300
15252
  _this11.$eventBus.$emit('websocket', data);
14301
15253
  }
14302
- if (util["a" /* default */].win.eventBus) {
14303
- util["a" /* default */].win.eventBus.$emit('websocket', data);
15254
+ if (utils_util["a" /* default */].win.eventBus) {
15255
+ utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
14304
15256
  }
14305
15257
  }
14306
15258
  });
@@ -14339,7 +15291,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14339
15291
  if (this.webSocket) {
14340
15292
  this.webSocket.destroy();
14341
15293
  }
14342
- util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
15294
+ utils_util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
14343
15295
  }
14344
15296
  });
14345
15297
  // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=script&lang=js&
@@ -14354,8 +15306,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14354
15306
 
14355
15307
  var default_component = Object(componentNormalizer["a" /* default */])(
14356
15308
  src_defaultvue_type_script_lang_js_,
14357
- defaultvue_type_template_id_576bd3b4_render,
14358
- defaultvue_type_template_id_576bd3b4_staticRenderFns,
15309
+ defaultvue_type_template_id_1867755c_render,
15310
+ defaultvue_type_template_id_1867755c_staticRenderFns,
14359
15311
  false,
14360
15312
  null,
14361
15313
  null,
@@ -14445,7 +15397,7 @@ var bus = external_wujie_vue2_default.a.bus;
14445
15397
  };
14446
15398
  },
14447
15399
  created: function created() {
14448
- this.params = util["a" /* default */].getParams() || {};
15400
+ this.params = utils_util["a" /* default */].getParams() || {};
14449
15401
  this.sysCode = this.params.sysCode;
14450
15402
  this.appCode = this.params.appCode;
14451
15403
  this.getConfig(this.params);
@@ -14454,16 +15406,16 @@ var bus = external_wujie_vue2_default.a.bus;
14454
15406
  mounted: function mounted() {
14455
15407
  var _this = this;
14456
15408
 
14457
- if (util["a" /* default */].win.$wujie) {
14458
- util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
14459
- util["a" /* default */].updateTheme(res);
15409
+ if (utils_util["a" /* default */].win.$wujie) {
15410
+ utils_util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
15411
+ utils_util["a" /* default */].updateTheme(res);
14460
15412
  });
14461
15413
  }
14462
15414
 
14463
- util["a" /* default */].win.reLogin = this.handleReLogin;
14464
- util["a" /* default */].win.windowOpen = this.openPage;
14465
- util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
14466
- util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
15415
+ utils_util["a" /* default */].win.reLogin = this.handleReLogin;
15416
+ utils_util["a" /* default */].win.windowOpen = this.openPage;
15417
+ utils_util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
15418
+ utils_util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
14467
15419
  bus.$on('reLogin', this.handleReLogin);
14468
15420
  bus.$on('refresh', this.$refs.main.handleRefresh);
14469
15421
  bus.$on('jumpMenu', this.$refs.main.jumpMenu);
@@ -14546,13 +15498,13 @@ var bus = external_wujie_vue2_default.a.bus;
14546
15498
  console.log('handleReLogin');
14547
15499
  sessionStorage.setItem('remind', 1);
14548
15500
  _this2.$confirm(msg, btn).then(function () {
14549
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
14550
- var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
15501
+ utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
15502
+ var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
14551
15503
  try {
14552
15504
  if (loginPage) {
14553
15505
  var src = void 0;
14554
- if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
14555
- var pathname = util["a" /* default */].win.top.location.pathname;
15506
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
15507
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
14556
15508
  if (pathname !== '/') {
14557
15509
  pathname = pathname.split('/');
14558
15510
  pathname.splice(pathname.length - 1);
@@ -14564,20 +15516,20 @@ var bus = external_wujie_vue2_default.a.bus;
14564
15516
  } else {
14565
15517
  src = loginPage;
14566
15518
  }
14567
- util["a" /* default */].win.top.location.href = src;
14568
- } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
14569
- util["a" /* default */].win.top.location.href = './login.html';
15519
+ utils_util["a" /* default */].win.top.location.href = src;
15520
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
15521
+ utils_util["a" /* default */].win.top.location.href = './login.html';
14570
15522
  } else {
14571
- var hash = util["a" /* default */].win.top.location.hash;
15523
+ var hash = utils_util["a" /* default */].win.top.location.hash;
14572
15524
  if (hash) {
14573
- var len = util["a" /* default */].win.top.location.href.indexOf(hash);
14574
- util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
15525
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
15526
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
14575
15527
  } else {
14576
- util["a" /* default */].win.top.location.href = '/login.html';
15528
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
14577
15529
  }
14578
15530
  }
14579
15531
  } catch (error) {
14580
- util["a" /* default */].win.postMessage({ type: 1 }, '*');
15532
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
14581
15533
  }
14582
15534
  }).catch(function (e) {
14583
15535
  sessionStorage.removeItem('remind');
@@ -14594,13 +15546,13 @@ var bus = external_wujie_vue2_default.a.bus;
14594
15546
  getConfig: function getConfig(query) {
14595
15547
  var _this3 = this;
14596
15548
 
14597
- var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
15549
+ var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
14598
15550
  if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
14599
15551
  return false;
14600
15552
  }
14601
- var mainConfig = util["a" /* default */].getStorage('mainConfig');
15553
+ var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
14602
15554
  if (!mainConfig || mainConfig == '{}') {
14603
- util["a" /* default */].getMainConfig(function (res) {
15555
+ utils_util["a" /* default */].getMainConfig(function (res) {
14604
15556
  _this3.$refs.main.init(res);
14605
15557
  });
14606
15558
  }
@@ -14613,7 +15565,7 @@ var bus = external_wujie_vue2_default.a.bus;
14613
15565
  **/
14614
15566
  openPage: function openPage(url, name, width, height) {
14615
15567
  var src = url;
14616
- if (!util["a" /* default */].startWith(url, ['http', '/'], true)) {
15568
+ if (!utils_util["a" /* default */].startWith(url, ['http', '/'], true)) {
14617
15569
  var pathname = window.location.pathname;
14618
15570
  if (pathname !== '/') {
14619
15571
  pathname = pathname.split('/');
@@ -14626,15 +15578,15 @@ var bus = external_wujie_vue2_default.a.bus;
14626
15578
  var w = 0;
14627
15579
  var h = 0;
14628
15580
  try {
14629
- w = width ? width : util["a" /* default */].win.top.screen.availWidth - 10;
14630
- h = height ? height : util["a" /* default */].win.top.screen.availHeight - 60;
15581
+ w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
15582
+ h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
14631
15583
  } catch (error) {
14632
- w = width ? width : util["a" /* default */].win.screen.availWidth - 10;
14633
- h = height ? height : util["a" /* default */].win.screen.availHeight - 60;
15584
+ w = width ? width : utils_util["a" /* default */].win.screen.availWidth - 10;
15585
+ h = height ? height : utils_util["a" /* default */].win.screen.availHeight - 60;
14634
15586
  }
14635
- return util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
15587
+ return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
14636
15588
  } else {
14637
- return util["a" /* default */].win.open(src);
15589
+ return utils_util["a" /* default */].win.open(src);
14638
15590
  }
14639
15591
  },
14640
15592
 
@@ -14647,7 +15599,7 @@ var bus = external_wujie_vue2_default.a.bus;
14647
15599
  var data = _ref.data,
14648
15600
  attrs = _ref.attrs;
14649
15601
 
14650
- return util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
15602
+ return utils_util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
14651
15603
  },
14652
15604
 
14653
15605
  /**