eoss-ui 0.5.97 → 0.5.99

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 (103) hide show
  1. package/lib/button-group.js +8 -4
  2. package/lib/button.js +8 -4
  3. package/lib/calendar.js +2 -2
  4. package/lib/card.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/checkbox-group.js +9 -4
  7. package/lib/clients.js +2 -2
  8. package/lib/data-table-form.js +9 -4
  9. package/lib/data-table.js +31 -18
  10. package/lib/date-picker.js +8 -4
  11. package/lib/dialog.js +12 -7
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +767 -797
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +8 -4
  16. package/lib/flow-list.js +8 -4
  17. package/lib/flow.js +9 -4
  18. package/lib/form.js +9 -4
  19. package/lib/handle-user.js +8 -4
  20. package/lib/handler.js +22 -18
  21. package/lib/icon.js +8 -4
  22. package/lib/icons.js +3 -3
  23. package/lib/index.js +1 -1
  24. package/lib/input-number.js +8 -4
  25. package/lib/input.js +8 -4
  26. package/lib/label.js +2 -2
  27. package/lib/layout.js +2 -2
  28. package/lib/login.js +13 -7
  29. package/lib/main.js +2720 -2759
  30. package/lib/menu.js +2 -2
  31. package/lib/nav.js +8 -4
  32. package/lib/notify.js +2 -2
  33. package/lib/page.js +8 -4
  34. package/lib/pagination.js +8 -4
  35. package/lib/player.js +10 -6
  36. package/lib/qr-code.js +10 -6
  37. package/lib/radio-group.js +8 -4
  38. package/lib/retrial-auth.js +15 -11
  39. package/lib/select-ganged.js +15 -11
  40. package/lib/select.js +8 -4
  41. package/lib/selector-panel.js +9 -4
  42. package/lib/selector.js +8 -4
  43. package/lib/sizer.js +8 -4
  44. package/lib/steps.js +8 -4
  45. package/lib/switch.js +8 -4
  46. package/lib/table-form.js +8 -4
  47. package/lib/tabs-panel.js +2 -2
  48. package/lib/tabs.js +8 -4
  49. package/lib/theme-chalk/base.css +1 -1
  50. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  51. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  52. package/lib/theme-chalk/icon.css +1 -1
  53. package/lib/theme-chalk/index.css +1 -1
  54. package/lib/theme-chalk/main.css +1 -1
  55. package/lib/theme-chalk/menu.css +1 -1
  56. package/lib/theme-chalk/simplicity.css +1 -1
  57. package/lib/theme-chalk/sizer.css +1 -1
  58. package/lib/theme-chalk/upload.css +1 -1
  59. package/lib/tips.js +8 -4
  60. package/lib/toolbar.js +2 -2
  61. package/lib/tree-group.js +8 -4
  62. package/lib/tree.js +8 -4
  63. package/lib/upload.js +9 -4
  64. package/lib/utils/util.js +6 -2
  65. package/lib/wujie.js +151 -147
  66. package/lib/wxlogin.js +8 -4
  67. package/package.json +1 -1
  68. package/packages/.DS_Store +0 -0
  69. package/packages/data-table/src/main.vue +18 -12
  70. package/packages/dialog/src/main.vue +1 -1
  71. package/packages/handler/.DS_Store +0 -0
  72. package/packages/handler/src/main.vue +6 -6
  73. package/packages/icons/src/icon.json +1 -1
  74. package/packages/login/.DS_Store +0 -0
  75. package/packages/login/src/main.vue +2 -1
  76. package/packages/main/.DS_Store +0 -0
  77. package/packages/main/src/.DS_Store +0 -0
  78. package/packages/main/src/default/index.vue +34 -12
  79. package/packages/main/src/main.vue +28 -3
  80. package/packages/main/src/{default → public}/settings.vue +53 -21
  81. package/packages/main/src/simplicity/handler.vue +21 -28
  82. package/packages/main/src/simplicity/index.vue +132 -114
  83. package/packages/theme-chalk/lib/base.css +1 -1
  84. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  85. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  86. package/packages/theme-chalk/lib/icon.css +1 -1
  87. package/packages/theme-chalk/lib/index.css +1 -1
  88. package/packages/theme-chalk/lib/main.css +1 -1
  89. package/packages/theme-chalk/lib/menu.css +1 -1
  90. package/packages/theme-chalk/lib/simplicity.css +1 -1
  91. package/packages/theme-chalk/lib/sizer.css +1 -1
  92. package/packages/theme-chalk/lib/upload.css +1 -1
  93. package/packages/theme-chalk/src/.DS_Store +0 -0
  94. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  95. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  96. package/packages/theme-chalk/src/icon.scss +8 -0
  97. package/packages/theme-chalk/src/main.scss +16 -0
  98. package/packages/theme-chalk/src/mixins/util.scss +0 -0
  99. package/packages/theme-chalk/src/simplicity.scss +197 -0
  100. package/src/.DS_Store +0 -0
  101. package/src/index.js +1 -1
  102. package/src/utils/util.js +6 -2
  103. package/packages/main/src/simplicity/settings.vue +0 -119
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
@@ -3838,7 +3842,7 @@ module.exports = require("vue");
3838
3842
  /* 15 */
3839
3843
  /***/ (function(module) {
3840
3844
 
3841
- module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\",\"wenjianjiadakai\",\"yingyonglan\",\"home\"]");
3845
+ module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\",\"wenjianjiadakai\",\"yingyonglan\",\"home\",\"tiyanxinban\",\"shiyongjiuban\"]");
3842
3846
 
3843
3847
  /***/ }),
3844
3848
  /* 16 */
@@ -3868,7 +3872,7 @@ module.exports = require("js-base64");
3868
3872
  /* 20 */
3869
3873
  /***/ (function(module, exports, __webpack_require__) {
3870
3874
 
3871
- module.exports = __webpack_require__(24);
3875
+ module.exports = __webpack_require__(25);
3872
3876
 
3873
3877
 
3874
3878
  /***/ }),
@@ -3881,16 +3885,22 @@ module.exports = require("sm-crypto");
3881
3885
  /* 22 */
3882
3886
  /***/ (function(module, exports) {
3883
3887
 
3884
- module.exports = require("video.js/dist/video-js.css");
3888
+ module.exports = require("slate");
3885
3889
 
3886
3890
  /***/ }),
3887
3891
  /* 23 */
3888
3892
  /***/ (function(module, exports) {
3889
3893
 
3890
- module.exports = require("qrcode");
3894
+ module.exports = require("video.js/dist/video-js.css");
3891
3895
 
3892
3896
  /***/ }),
3893
3897
  /* 24 */
3898
+ /***/ (function(module, exports) {
3899
+
3900
+ module.exports = require("qrcode");
3901
+
3902
+ /***/ }),
3903
+ /* 25 */
3894
3904
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3895
3905
 
3896
3906
  "use strict";
@@ -7025,8 +7035,8 @@ clients_src_main.install = function (Vue) {
7025
7035
  };
7026
7036
 
7027
7037
  /* harmony default export */ var clients = (clients_src_main);
7028
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=24d19c7c&
7029
- var mainvue_type_template_id_24d19c7c_render = function () {
7038
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
7039
+ var mainvue_type_template_id_260d7f48_render = function () {
7030
7040
  var _vm = this
7031
7041
  var _h = _vm.$createElement
7032
7042
  var _c = _vm._self._c || _h
@@ -7424,11 +7434,11 @@ var mainvue_type_template_id_24d19c7c_render = function () {
7424
7434
  1
7425
7435
  )
7426
7436
  }
7427
- var mainvue_type_template_id_24d19c7c_staticRenderFns = []
7428
- mainvue_type_template_id_24d19c7c_render._withStripped = true
7437
+ var mainvue_type_template_id_260d7f48_staticRenderFns = []
7438
+ mainvue_type_template_id_260d7f48_render._withStripped = true
7429
7439
 
7430
7440
 
7431
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=24d19c7c&
7441
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
7432
7442
 
7433
7443
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=271bb842&
7434
7444
  var childrenvue_type_template_id_271bb842_render = function () {
@@ -10042,9 +10052,13 @@ var pageView = utils_util["a" /* default */].getParams('pageView');
10042
10052
  default: true
10043
10053
  },
10044
10054
  index: {
10045
- type: [Boolean, Number],
10055
+ type: [Number, Function],
10046
10056
  default: 1
10047
10057
  },
10058
+ accumulated: {
10059
+ type: Boolean,
10060
+ default: true
10061
+ },
10048
10062
  immediate: {
10049
10063
  type: Boolean,
10050
10064
  default: true
@@ -10172,14 +10186,18 @@ var pageView = utils_util["a" /* default */].getParams('pageView');
10172
10186
  }
10173
10187
  if (this.numbers && !types.includes('index')) {
10174
10188
  var index = 1;
10175
- if (this.orders == 'desc') {
10176
- index = function index(num) {
10177
- return _this.config.totalCount - num;
10178
- };
10179
- } else if (this.infiniteScroll) {
10180
- index = typeof this.index == 'boolean' ? 1 : this.index;
10181
- } else if (this.index || this.index === 0) {
10182
- index = this.index === true ? (this.config.pageNum - 1) * this.config.pageSize + 1 : this.index;
10189
+ if (typeof this.index === 'function') {
10190
+ index = this.index;
10191
+ } else {
10192
+ if (this.orders == 'desc') {
10193
+ index = function index(num) {
10194
+ return _this.config.totalCount - num;
10195
+ };
10196
+ } else if (this.accumulated) {
10197
+ index = (this.config.pageNum - 1) * this.config.pageSize + this.index;
10198
+ } else {
10199
+ index = this.index;
10200
+ }
10183
10201
  }
10184
10202
  thead.push({
10185
10203
  type: 'index',
@@ -11265,8 +11283,8 @@ var pageView = utils_util["a" /* default */].getParams('pageView');
11265
11283
 
11266
11284
  var data_table_src_main_component = normalizeComponent(
11267
11285
  packages_data_table_src_mainvue_type_script_lang_js_,
11268
- mainvue_type_template_id_24d19c7c_render,
11269
- mainvue_type_template_id_24d19c7c_staticRenderFns,
11286
+ mainvue_type_template_id_260d7f48_render,
11287
+ mainvue_type_template_id_260d7f48_staticRenderFns,
11270
11288
  false,
11271
11289
  null,
11272
11290
  null,
@@ -13403,8 +13421,8 @@ date_picker_src_main.install = function (Vue) {
13403
13421
  };
13404
13422
 
13405
13423
  /* harmony default export */ var date_picker = (date_picker_src_main);
13406
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
13407
- var mainvue_type_template_id_8647525a_render = function () {
13424
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
13425
+ var mainvue_type_template_id_11ebf026_render = function () {
13408
13426
  var _vm = this
13409
13427
  var _h = _vm.$createElement
13410
13428
  var _c = _vm._self._c || _h
@@ -13918,11 +13936,11 @@ var mainvue_type_template_id_8647525a_render = function () {
13918
13936
  2
13919
13937
  )
13920
13938
  }
13921
- var mainvue_type_template_id_8647525a_staticRenderFns = []
13922
- mainvue_type_template_id_8647525a_render._withStripped = true
13939
+ var mainvue_type_template_id_11ebf026_staticRenderFns = []
13940
+ mainvue_type_template_id_11ebf026_render._withStripped = true
13923
13941
 
13924
13942
 
13925
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
13943
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
13926
13944
 
13927
13945
  // EXTERNAL MODULE: external "wujie-vue2"
13928
13946
  var external_wujie_vue2_ = __webpack_require__(7);
@@ -14324,7 +14342,7 @@ var mainvue_type_script_lang_js_systemMode = utils_util["a" /* default */].win.t
14324
14342
  mini: { width: '800px', height: '400px' },
14325
14343
  sm: { width: '960px', height: '500px' },
14326
14344
  md: { width: '1060px', height: '600px' },
14327
- lg: { width: '1200px', height: '800px' },
14345
+ lg: { width: '1200px', height: availHeight < 800 ? '560px' : '800px' },
14328
14346
  max: { width: availWidth + 'px', height: availHeight + 'px' },
14329
14347
  full: { width: '100%', height: '100%' }
14330
14348
  },
@@ -14485,8 +14503,8 @@ var mainvue_type_script_lang_js_systemMode = utils_util["a" /* default */].win.t
14485
14503
 
14486
14504
  var dialog_src_main_component = normalizeComponent(
14487
14505
  packages_dialog_src_mainvue_type_script_lang_js_,
14488
- mainvue_type_template_id_8647525a_render,
14489
- mainvue_type_template_id_8647525a_staticRenderFns,
14506
+ mainvue_type_template_id_11ebf026_render,
14507
+ mainvue_type_template_id_11ebf026_staticRenderFns,
14490
14508
  false,
14491
14509
  null,
14492
14510
  null,
@@ -39176,8 +39194,8 @@ handle_user_src_main.install = function (Vue) {
39176
39194
  };
39177
39195
 
39178
39196
  /* harmony default export */ var handle_user = (handle_user_src_main);
39179
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=25b75938&
39180
- var mainvue_type_template_id_25b75938_render = function () {
39197
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=0bf8fbcc&
39198
+ var mainvue_type_template_id_0bf8fbcc_render = function () {
39181
39199
  var _vm = this
39182
39200
  var _h = _vm.$createElement
39183
39201
  var _c = _vm._self._c || _h
@@ -39400,11 +39418,11 @@ var mainvue_type_template_id_25b75938_render = function () {
39400
39418
  2
39401
39419
  )
39402
39420
  }
39403
- var mainvue_type_template_id_25b75938_staticRenderFns = []
39404
- mainvue_type_template_id_25b75938_render._withStripped = true
39421
+ var mainvue_type_template_id_0bf8fbcc_staticRenderFns = []
39422
+ mainvue_type_template_id_0bf8fbcc_render._withStripped = true
39405
39423
 
39406
39424
 
39407
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25b75938&
39425
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=0bf8fbcc&
39408
39426
 
39409
39427
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
39410
39428
  //
@@ -39544,7 +39562,7 @@ mainvue_type_template_id_25b75938_render._withStripped = true
39544
39562
  hide: {
39545
39563
  type: Object,
39546
39564
  default: function _default() {
39547
- return { system: true };
39565
+ return { system: true, new: true };
39548
39566
  }
39549
39567
  },
39550
39568
  online: {
@@ -39621,14 +39639,14 @@ mainvue_type_template_id_25b75938_render._withStripped = true
39621
39639
  type: 'home',
39622
39640
  icon: 'es-icon-zuomian',
39623
39641
  title: '个人工作台'
39624
- }, {
39625
- type: 'notice',
39626
- icon: 'es-icon-tongzhi',
39627
- title: '通知消息'
39628
39642
  }, {
39629
39643
  type: 'index',
39630
39644
  icon: 'es-icon-home',
39631
39645
  title: '门户'
39646
+ }, {
39647
+ type: 'notice',
39648
+ icon: 'es-icon-tongzhi',
39649
+ title: '通知消息'
39632
39650
  }, {
39633
39651
  type: 'refresh',
39634
39652
  icon: 'es-icon-shuaxin',
@@ -39761,8 +39779,8 @@ mainvue_type_template_id_25b75938_render._withStripped = true
39761
39779
 
39762
39780
  var handler_src_main_component = normalizeComponent(
39763
39781
  packages_handler_src_mainvue_type_script_lang_js_,
39764
- mainvue_type_template_id_25b75938_render,
39765
- mainvue_type_template_id_25b75938_staticRenderFns,
39782
+ mainvue_type_template_id_0bf8fbcc_render,
39783
+ mainvue_type_template_id_0bf8fbcc_staticRenderFns,
39766
39784
  false,
39767
39785
  null,
39768
39786
  null,
@@ -41309,9 +41327,9 @@ layout_src_main.install = function (Vue) {
41309
41327
  return Vue.component(layout_src_main.name, layout_src_main);
41310
41328
  };
41311
41329
 
41312
- /* harmony default export */ var layout = (layout_src_main);
41313
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=1151d028&
41314
- var mainvue_type_template_id_1151d028_render = function () {
41330
+ /* harmony default export */ var packages_layout = (layout_src_main);
41331
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=7a4efc38&
41332
+ var mainvue_type_template_id_7a4efc38_render = function () {
41315
41333
  var _vm = this
41316
41334
  var _h = _vm.$createElement
41317
41335
  var _c = _vm._self._c || _h
@@ -42298,11 +42316,11 @@ var mainvue_type_template_id_1151d028_render = function () {
42298
42316
  )
42299
42317
  : _vm._e()
42300
42318
  }
42301
- var mainvue_type_template_id_1151d028_staticRenderFns = []
42302
- mainvue_type_template_id_1151d028_render._withStripped = true
42319
+ var mainvue_type_template_id_7a4efc38_staticRenderFns = []
42320
+ mainvue_type_template_id_7a4efc38_render._withStripped = true
42303
42321
 
42304
42322
 
42305
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=1151d028&
42323
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=7a4efc38&
42306
42324
 
42307
42325
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=cab38660&
42308
42326
  var resetPasswordvue_type_template_id_cab38660_render = function () {
@@ -43714,7 +43732,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
43714
43732
  if (ceshi == 'true' || ceshi == true) {
43715
43733
  this.loginModel = '0';
43716
43734
  }
43717
- if (this.isScale) {
43735
+ if (this.isScale || utils_util["a" /* default */].getParams('scale')) {
43718
43736
  utils_util["a" /* default */].setScale();
43719
43737
  window.addEventListener('resize', this.setScale);
43720
43738
  }
@@ -44062,6 +44080,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44062
44080
  this.wechatScope = res.wechatScope;
44063
44081
  this.download = login_src_mainvue_type_script_lang_js_extends({}, this.downLoadUrls, downloads);
44064
44082
  if (res.sysLogoIco) {
44083
+ localStorage.setItem('sysLogoIco', res.sysLogoIco);
44065
44084
  utils_util["a" /* default */].setFavicon(res.sysLogoIco);
44066
44085
  }
44067
44086
  },
@@ -44532,8 +44551,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44532
44551
 
44533
44552
  var login_src_main_component = normalizeComponent(
44534
44553
  packages_login_src_mainvue_type_script_lang_js_,
44535
- mainvue_type_template_id_1151d028_render,
44536
- mainvue_type_template_id_1151d028_staticRenderFns,
44554
+ mainvue_type_template_id_7a4efc38_render,
44555
+ mainvue_type_template_id_7a4efc38_staticRenderFns,
44537
44556
  false,
44538
44557
  null,
44539
44558
  null,
@@ -44550,8 +44569,8 @@ login_src_main.install = function (Vue) {
44550
44569
  };
44551
44570
 
44552
44571
  /* harmony default export */ var login = (login_src_main);
44553
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=c342434c&
44554
- var mainvue_type_template_id_c342434c_render = function () {
44572
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=72ff8660&
44573
+ var mainvue_type_template_id_72ff8660_render = function () {
44555
44574
  var _vm = this
44556
44575
  var _h = _vm.$createElement
44557
44576
  var _c = _vm._self._c || _h
@@ -44560,12 +44579,19 @@ var mainvue_type_template_id_c342434c_render = function () {
44560
44579
  "div",
44561
44580
  { staticClass: "es-main-box" },
44562
44581
  [
44563
- _vm.type == "simplicity"
44582
+ _vm.layoutType == "simplicity"
44564
44583
  ? _c(
44565
44584
  "simplicity",
44566
44585
  _vm._g(
44567
44586
  _vm._b(
44568
- { ref: "main", attrs: { appCode: _vm.appCode } },
44587
+ {
44588
+ ref: "main",
44589
+ attrs: {
44590
+ appCode: _vm.appCode,
44591
+ "old-version": _vm.multiple,
44592
+ },
44593
+ on: { "chang-layout": _vm.changLayout },
44594
+ },
44569
44595
  "simplicity",
44570
44596
  _vm.$attrs,
44571
44597
  false
@@ -44576,7 +44602,16 @@ var mainvue_type_template_id_c342434c_render = function () {
44576
44602
  : _c(
44577
44603
  "main-default",
44578
44604
  _vm._g(
44579
- _vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
44605
+ _vm._b(
44606
+ {
44607
+ ref: "main",
44608
+ attrs: { "new-version": _vm.multiple, scene: _vm.layout },
44609
+ on: { "chang-layout": _vm.changLayout },
44610
+ },
44611
+ "main-default",
44612
+ _vm.$attrs,
44613
+ false
44614
+ ),
44580
44615
  _vm.$listeners
44581
44616
  )
44582
44617
  ),
@@ -44622,14 +44657,14 @@ var mainvue_type_template_id_c342434c_render = function () {
44622
44657
  )
44623
44658
  : _vm._e()
44624
44659
  }
44625
- var mainvue_type_template_id_c342434c_staticRenderFns = []
44626
- mainvue_type_template_id_c342434c_render._withStripped = true
44660
+ var mainvue_type_template_id_72ff8660_staticRenderFns = []
44661
+ mainvue_type_template_id_72ff8660_render._withStripped = true
44627
44662
 
44628
44663
 
44629
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=c342434c&
44664
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=72ff8660&
44630
44665
 
44631
- // 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=03f1f7f2&scoped=true&
44632
- var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
44666
+ // 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=e9f89944&scoped=true&
44667
+ var simplicityvue_type_template_id_e9f89944_scoped_true_render = function () {
44633
44668
  var _vm = this
44634
44669
  var _h = _vm.$createElement
44635
44670
  var _c = _vm._self._c || _h
@@ -45178,6 +45213,8 @@ var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
45178
45213
  _vm._b(
45179
45214
  {
45180
45215
  attrs: {
45216
+ "layout-type": "simplicity",
45217
+ active: "simplicity",
45181
45218
  theme: _vm.themeColor,
45182
45219
  predefine: _vm.themes,
45183
45220
  visible: _vm.showSet,
@@ -45187,6 +45224,7 @@ var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
45187
45224
  _vm.showSet = $event
45188
45225
  },
45189
45226
  change: _vm.handleChange,
45227
+ layout: _vm.handleLayout,
45190
45228
  },
45191
45229
  },
45192
45230
  "settings",
@@ -45256,11 +45294,11 @@ var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
45256
45294
  ),
45257
45295
  ])
45258
45296
  }
45259
- var simplicityvue_type_template_id_03f1f7f2_scoped_true_staticRenderFns = []
45260
- simplicityvue_type_template_id_03f1f7f2_scoped_true_render._withStripped = true
45297
+ var simplicityvue_type_template_id_e9f89944_scoped_true_staticRenderFns = []
45298
+ simplicityvue_type_template_id_e9f89944_scoped_true_render._withStripped = true
45261
45299
 
45262
45300
 
45263
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=03f1f7f2&scoped=true&
45301
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=e9f89944&scoped=true&
45264
45302
 
45265
45303
  // 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&
45266
45304
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -45409,8 +45447,8 @@ var avatar_component = normalizeComponent(
45409
45447
  )
45410
45448
 
45411
45449
  /* harmony default export */ var avatar = (avatar_component.exports);
45412
- // 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&
45413
- var handlervue_type_template_id_7eac3976_scoped_true_render = function () {
45450
+ // 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=bfe50be8&scoped=true&
45451
+ var handlervue_type_template_id_bfe50be8_scoped_true_render = function () {
45414
45452
  var _vm = this
45415
45453
  var _h = _vm.$createElement
45416
45454
  var _c = _vm._self._c || _h
@@ -45443,58 +45481,54 @@ var handlervue_type_template_id_7eac3976_scoped_true_render = function () {
45443
45481
  ]),
45444
45482
  _vm._l(_vm.lists, function (item) {
45445
45483
  return [
45446
- _vm.isShow(item.type)
45447
- ? [
45448
- item.type === "notice"
45449
- ? _c(
45450
- "el-badge",
45451
- {
45452
- key: item.type,
45453
- staticClass: "es-simplicity-handler-item",
45454
- attrs: {
45455
- value: _vm.noticeNum,
45456
- max: 99,
45457
- hidden: _vm.noticeNum === 0,
45458
- },
45459
- },
45460
- [
45461
- _c("div", {
45462
- staticClass: "es-simplicity-handler-icon",
45463
- class: item.icon,
45464
- attrs: { title: item.title },
45465
- on: {
45466
- click: function ($event) {
45467
- _vm.handleClick(item)
45468
- },
45469
- },
45470
- }),
45471
- ]
45472
- )
45473
- : _c("div", {
45474
- key: item.type,
45475
- staticClass:
45476
- "es-simplicity-handler-item es-simplicity-handler-icon",
45477
- class: item.icon,
45478
- attrs: { title: item.title },
45479
- on: {
45480
- click: function ($event) {
45481
- _vm.handleClick(item)
45482
- },
45484
+ item.type === "notice"
45485
+ ? _c(
45486
+ "el-badge",
45487
+ {
45488
+ key: item.type,
45489
+ staticClass: "es-simplicity-handler-item",
45490
+ attrs: {
45491
+ value: _vm.noticeNum,
45492
+ max: 99,
45493
+ hidden: _vm.noticeNum === 0,
45494
+ },
45495
+ },
45496
+ [
45497
+ _c("div", {
45498
+ staticClass: "es-simplicity-handler-icon",
45499
+ class: item.icon,
45500
+ attrs: { title: item.title },
45501
+ on: {
45502
+ click: function ($event) {
45503
+ _vm.handleClick(item)
45483
45504
  },
45484
- }),
45485
- ]
45486
- : _vm._e(),
45505
+ },
45506
+ }),
45507
+ ]
45508
+ )
45509
+ : _c("div", {
45510
+ key: item.type,
45511
+ staticClass:
45512
+ "es-simplicity-handler-item es-simplicity-handler-icon",
45513
+ class: item.icon,
45514
+ attrs: { title: item.title },
45515
+ on: {
45516
+ click: function ($event) {
45517
+ _vm.handleClick(item)
45518
+ },
45519
+ },
45520
+ }),
45487
45521
  ]
45488
45522
  }),
45489
45523
  ],
45490
45524
  2
45491
45525
  )
45492
45526
  }
45493
- var handlervue_type_template_id_7eac3976_scoped_true_staticRenderFns = []
45494
- handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
45527
+ var handlervue_type_template_id_bfe50be8_scoped_true_staticRenderFns = []
45528
+ handlervue_type_template_id_bfe50be8_scoped_true_render._withStripped = true
45495
45529
 
45496
45530
 
45497
- // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=7eac3976&scoped=true&
45531
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=bfe50be8&scoped=true&
45498
45532
 
45499
45533
  // 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&
45500
45534
  //
@@ -45542,8 +45576,6 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
45542
45576
  //
45543
45577
  //
45544
45578
  //
45545
- //
45546
- //
45547
45579
 
45548
45580
 
45549
45581
  /* harmony default export */ var handlervue_type_script_lang_js_ = ({
@@ -45614,7 +45646,9 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
45614
45646
  hide: {
45615
45647
  type: Object,
45616
45648
  default: function _default() {
45617
- return {};
45649
+ return {
45650
+ old: true
45651
+ };
45618
45652
  }
45619
45653
  },
45620
45654
  noticeNum: {
@@ -45666,13 +45700,6 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
45666
45700
  _this2.time = utils_util["a" /* default */].formatDate('', 'HH:mm:ss');
45667
45701
  });
45668
45702
  },
45669
- isShow: function isShow(res) {
45670
- if (Array.isArray(this.hide)) {
45671
- return !this.hide.includes(res);
45672
- } else {
45673
- return !this.hide[res];
45674
- }
45675
- },
45676
45703
  handleClick: function handleClick(res) {
45677
45704
  this.$emit('click', res);
45678
45705
  }
@@ -45693,11 +45720,11 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
45693
45720
 
45694
45721
  var handler_component = normalizeComponent(
45695
45722
  simplicity_handlervue_type_script_lang_js_,
45696
- handlervue_type_template_id_7eac3976_scoped_true_render,
45697
- handlervue_type_template_id_7eac3976_scoped_true_staticRenderFns,
45723
+ handlervue_type_template_id_bfe50be8_scoped_true_render,
45724
+ handlervue_type_template_id_bfe50be8_scoped_true_staticRenderFns,
45698
45725
  false,
45699
45726
  null,
45700
- "7eac3976",
45727
+ "bfe50be8",
45701
45728
  null
45702
45729
 
45703
45730
  )
@@ -48724,8 +48751,8 @@ var notice_component = normalizeComponent(
48724
48751
  )
48725
48752
 
48726
48753
  /* harmony default export */ var notice = (notice_component.exports);
48727
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
48728
- var settingsvue_type_template_id_48437ba0_render = function () {
48754
+ // 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/settings.vue?vue&type=template&id=47a98925&
48755
+ var settingsvue_type_template_id_47a98925_render = function () {
48729
48756
  var _vm = this
48730
48757
  var _h = _vm.$createElement
48731
48758
  var _c = _vm._self._c || _h
@@ -48803,16 +48830,277 @@ var settingsvue_type_template_id_48437ba0_render = function () {
48803
48830
  ],
48804
48831
  1
48805
48832
  ),
48833
+ _c("div", { staticClass: "es-setting-item" }, [
48834
+ _c("div", { staticClass: "es-setting-title" }, [_vm._v("菜单风格")]),
48835
+ _c(
48836
+ "div",
48837
+ { staticClass: "es-setting-navs-box" },
48838
+ [
48839
+ _c(
48840
+ "el-tooltip",
48841
+ {
48842
+ staticClass: "es-setting-navs-item",
48843
+ attrs: {
48844
+ effect: "dark",
48845
+ content: "顶部菜单布局",
48846
+ placement: "bottom",
48847
+ },
48848
+ },
48849
+ [
48850
+ _c(
48851
+ "div",
48852
+ {
48853
+ staticClass: "es-setting-navs es-setting-top-nav",
48854
+ on: {
48855
+ click: function ($event) {
48856
+ $event.stopPropagation()
48857
+ _vm.handleLayout("default", "topnav")
48858
+ },
48859
+ },
48860
+ },
48861
+ [
48862
+ _c("i", {
48863
+ directives: [
48864
+ {
48865
+ name: "show",
48866
+ rawName: "v-show",
48867
+ value:
48868
+ _vm.layoutType == "default" &&
48869
+ _vm.activeName == "topnav",
48870
+ expression:
48871
+ "layoutType == 'default' && activeName == 'topnav'",
48872
+ },
48873
+ ],
48874
+ staticClass: "es-icon-gou",
48875
+ }),
48876
+ ]
48877
+ ),
48878
+ ]
48879
+ ),
48880
+ _c(
48881
+ "el-tooltip",
48882
+ {
48883
+ staticClass: "es-setting-navs-item",
48884
+ attrs: {
48885
+ effect: "dark",
48886
+ content: "侧边双列菜单布局",
48887
+ placement: "bottom",
48888
+ },
48889
+ },
48890
+ [
48891
+ _c(
48892
+ "div",
48893
+ {
48894
+ staticClass: "es-setting-navs es-setting-side-nav",
48895
+ on: {
48896
+ click: function ($event) {
48897
+ $event.stopPropagation()
48898
+ _vm.handleLayout("default", "default")
48899
+ },
48900
+ },
48901
+ },
48902
+ [
48903
+ _c("div", { staticClass: "es-setting-side-sub-nav" }),
48904
+ _c("i", {
48905
+ directives: [
48906
+ {
48907
+ name: "show",
48908
+ rawName: "v-show",
48909
+ value:
48910
+ _vm.layoutType == "default" &&
48911
+ _vm.activeName == "default",
48912
+ expression:
48913
+ "layoutType == 'default' && activeName == 'default'",
48914
+ },
48915
+ ],
48916
+ staticClass: "es-icon-gou",
48917
+ }),
48918
+ ]
48919
+ ),
48920
+ ]
48921
+ ),
48922
+ _c(
48923
+ "el-tooltip",
48924
+ {
48925
+ staticClass: "es-setting-navs-item",
48926
+ attrs: {
48927
+ effect: "dark",
48928
+ content: "子系统+侧边菜单布局",
48929
+ placement: "bottom",
48930
+ },
48931
+ },
48932
+ [
48933
+ _c(
48934
+ "div",
48935
+ {
48936
+ staticClass: "es-setting-navs es-setting-subsystem-nav",
48937
+ on: {
48938
+ click: function ($event) {
48939
+ $event.stopPropagation()
48940
+ _vm.handleLayout("default", "subsystem")
48941
+ },
48942
+ },
48943
+ },
48944
+ [
48945
+ _c("i", {
48946
+ directives: [
48947
+ {
48948
+ name: "show",
48949
+ rawName: "v-show",
48950
+ value:
48951
+ _vm.layoutType == "default" &&
48952
+ _vm.activeName == "subsystem",
48953
+ expression:
48954
+ "layoutType == 'default' && activeName == 'subsystem'",
48955
+ },
48956
+ ],
48957
+ staticClass: "es-icon-gou",
48958
+ }),
48959
+ ]
48960
+ ),
48961
+ ]
48962
+ ),
48963
+ _c(
48964
+ "el-tooltip",
48965
+ {
48966
+ staticClass: "es-setting-navs-item",
48967
+ attrs: {
48968
+ effect: "dark",
48969
+ content: "顶部+侧边菜单布局",
48970
+ placement: "bottom",
48971
+ },
48972
+ },
48973
+ [
48974
+ _c(
48975
+ "div",
48976
+ {
48977
+ staticClass: "es-setting-navs es-setting-top-side-nav",
48978
+ on: {
48979
+ click: function ($event) {
48980
+ $event.stopPropagation()
48981
+ _vm.handleLayout("default", "topside")
48982
+ },
48983
+ },
48984
+ },
48985
+ [
48986
+ _c("i", {
48987
+ directives: [
48988
+ {
48989
+ name: "show",
48990
+ rawName: "v-show",
48991
+ value:
48992
+ _vm.layoutType == "default" &&
48993
+ _vm.activeName == "topside",
48994
+ expression:
48995
+ "layoutType == 'default' && activeName == 'topside'",
48996
+ },
48997
+ ],
48998
+ staticClass: "es-icon-gou",
48999
+ }),
49000
+ ]
49001
+ ),
49002
+ ]
49003
+ ),
49004
+ _c(
49005
+ "el-tooltip",
49006
+ {
49007
+ staticClass: "es-setting-navs-item",
49008
+ attrs: {
49009
+ effect: "dark",
49010
+ content: "侧边+按钮菜单布局",
49011
+ placement: "bottom",
49012
+ },
49013
+ },
49014
+ [
49015
+ _c(
49016
+ "div",
49017
+ {
49018
+ staticClass: "es-setting-navs es-setting-side-navs",
49019
+ on: {
49020
+ click: function ($event) {
49021
+ $event.stopPropagation()
49022
+ _vm.handleLayout("default", "side")
49023
+ },
49024
+ },
49025
+ },
49026
+ [
49027
+ _c("i", {
49028
+ directives: [
49029
+ {
49030
+ name: "show",
49031
+ rawName: "v-show",
49032
+ value:
49033
+ _vm.layoutType == "default" &&
49034
+ _vm.activeName == "side",
49035
+ expression:
49036
+ "layoutType == 'default' && activeName == 'side'",
49037
+ },
49038
+ ],
49039
+ staticClass: "es-icon-gou",
49040
+ }),
49041
+ ]
49042
+ ),
49043
+ ]
49044
+ ),
49045
+ _c(
49046
+ "el-tooltip",
49047
+ {
49048
+ staticClass: "es-setting-navs-item",
49049
+ attrs: {
49050
+ effect: "dark",
49051
+ content: "(新)应用菜单布局",
49052
+ placement: "bottom",
49053
+ },
49054
+ },
49055
+ [
49056
+ _c(
49057
+ "div",
49058
+ {
49059
+ staticClass: "es-setting-navs es-setting-app-nav",
49060
+ on: {
49061
+ click: function ($event) {
49062
+ $event.stopPropagation()
49063
+ _vm.handleLayout("simplicity")
49064
+ },
49065
+ },
49066
+ },
49067
+ [
49068
+ _c("div", { staticClass: "es-setting-side-sub-nav" }),
49069
+ _c("i", {
49070
+ directives: [
49071
+ {
49072
+ name: "show",
49073
+ rawName: "v-show",
49074
+ value:
49075
+ _vm.layoutType == "simplicity" &&
49076
+ _vm.activeName == "simplicity",
49077
+ expression:
49078
+ "layoutType == 'simplicity' && activeName == 'simplicity'",
49079
+ },
49080
+ ],
49081
+ staticClass: "es-icon-gou",
49082
+ }),
49083
+ ]
49084
+ ),
49085
+ ]
49086
+ ),
49087
+ ],
49088
+ 1
49089
+ ),
49090
+ ]),
48806
49091
  ]
48807
49092
  )
48808
49093
  }
48809
- var settingsvue_type_template_id_48437ba0_staticRenderFns = []
48810
- settingsvue_type_template_id_48437ba0_render._withStripped = true
49094
+ var settingsvue_type_template_id_47a98925_staticRenderFns = []
49095
+ settingsvue_type_template_id_47a98925_render._withStripped = true
49096
+
48811
49097
 
49098
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=template&id=47a98925&
48812
49099
 
48813
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
49100
+ // EXTERNAL MODULE: external "slate"
49101
+ var external_slate_ = __webpack_require__(22);
48814
49102
 
48815
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
49103
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/settings.vue?vue&type=script&lang=js&
48816
49104
  //
48817
49105
  //
48818
49106
  //
@@ -48850,10 +49138,114 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48850
49138
  //
48851
49139
  //
48852
49140
  //
49141
+ //
49142
+ //
49143
+ //
49144
+ //
49145
+ //
49146
+ //
49147
+ //
49148
+ //
49149
+ //
49150
+ //
49151
+ //
49152
+ //
49153
+ //
49154
+ //
49155
+ //
49156
+ //
49157
+ //
49158
+ //
49159
+ //
49160
+ //
49161
+ //
49162
+ //
49163
+ //
49164
+ //
49165
+ //
49166
+ //
49167
+ //
49168
+ //
49169
+ //
49170
+ //
49171
+ //
49172
+ //
49173
+ //
49174
+ //
49175
+ //
49176
+ //
49177
+ //
49178
+ //
49179
+ //
49180
+ //
49181
+ //
49182
+ //
49183
+ //
49184
+ //
49185
+ //
49186
+ //
49187
+ //
49188
+ //
49189
+ //
49190
+ //
49191
+ //
49192
+ //
49193
+ //
49194
+ //
49195
+ //
49196
+ //
49197
+ //
49198
+ //
49199
+ //
49200
+ //
49201
+ //
49202
+ //
49203
+ //
49204
+ //
49205
+ //
49206
+ //
49207
+ //
49208
+ //
49209
+ //
49210
+ //
49211
+ //
49212
+ //
49213
+ //
49214
+ //
49215
+ //
49216
+ //
49217
+ //
49218
+ //
49219
+ //
49220
+ //
49221
+ //
49222
+ //
49223
+ //
49224
+ //
49225
+ //
49226
+ //
49227
+ //
49228
+ //
49229
+ //
49230
+ //
49231
+ //
49232
+ //
49233
+ //
49234
+ //
49235
+ //
49236
+ //
49237
+ //
49238
+ //
49239
+ //
49240
+ //
49241
+ //
49242
+ //
49243
+ //
49244
+
48853
49245
 
48854
49246
 
48855
49247
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
48856
- name: 'Message',
49248
+ name: 'message',
48857
49249
  props: {
48858
49250
  visible: Boolean,
48859
49251
  //主题颜色选择颜色集合
@@ -48867,10 +49259,8 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48867
49259
  return ['#a60006', '#409eff'];
48868
49260
  }
48869
49261
  },
48870
- layout: {
48871
- type: String,
48872
- default: 'default'
48873
- }
49262
+ active: String,
49263
+ layoutType: String
48874
49264
  },
48875
49265
  computed: {
48876
49266
  show: {
@@ -48904,7 +49294,8 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48904
49294
  data: function data() {
48905
49295
  return {
48906
49296
  color: '',
48907
- activeName: this.layout
49297
+ layoutName: this.layoutType,
49298
+ activeName: this.active
48908
49299
  };
48909
49300
  },
48910
49301
  mounted: function mounted() {},
@@ -48922,17 +49313,17 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48922
49313
  },
48923
49314
 
48924
49315
  //选择菜单布局
48925
- handleLayout: function handleLayout(res) {
49316
+ handleLayout: function handleLayout(res, active) {
48926
49317
  var old = this.activeName;
48927
- this.activeName = res;
48928
- this.$emit('update:layout', res);
48929
- this.$emit('layout', res, old);
49318
+ this.layoutName = res;
49319
+ this.activeName = active;
49320
+ this.$emit('layout', res, active, old);
48930
49321
  }
48931
49322
  }
48932
49323
  });
48933
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
48934
- /* harmony default export */ var simplicity_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
48935
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue
49324
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=script&lang=js&
49325
+ /* harmony default export */ var public_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
49326
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue
48936
49327
 
48937
49328
 
48938
49329
 
@@ -48941,9 +49332,9 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48941
49332
  /* normalize component */
48942
49333
 
48943
49334
  var settings_component = normalizeComponent(
48944
- simplicity_settingsvue_type_script_lang_js_,
48945
- settingsvue_type_template_id_48437ba0_render,
48946
- settingsvue_type_template_id_48437ba0_staticRenderFns,
49335
+ public_settingsvue_type_script_lang_js_,
49336
+ settingsvue_type_template_id_47a98925_render,
49337
+ settingsvue_type_template_id_47a98925_staticRenderFns,
48947
49338
  false,
48948
49339
  null,
48949
49340
  null,
@@ -50364,6 +50755,9 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
50364
50755
  //
50365
50756
  //
50366
50757
  //
50758
+ //
50759
+ //
50760
+ //
50367
50761
 
50368
50762
 
50369
50763
 
@@ -50547,7 +50941,9 @@ var events = [function (tabs, index, that) {
50547
50941
  default: function _default() {
50548
50942
  return sessionStorage.getItem('host') || '';
50549
50943
  }
50550
- }
50944
+ },
50945
+ //切换旧版样式
50946
+ oldVersion: Boolean
50551
50947
  },
50552
50948
  data: function data() {
50553
50949
  return {
@@ -50641,7 +51037,8 @@ var events = [function (tabs, index, that) {
50641
51037
  active: '',
50642
51038
  //单位名称
50643
51039
  simpleUserInfo: {},
50644
- topRightToolHide: ''
51040
+ topRightToolHide: '',
51041
+ showOld: this.oldVersion
50645
51042
  };
50646
51043
  },
50647
51044
 
@@ -50692,7 +51089,8 @@ var events = [function (tabs, index, that) {
50692
51089
  }
50693
51090
  var hides = {
50694
51091
  home: this.indexUrl ? false : true,
50695
- index: this.doorIndex ? false : true
51092
+ index: this.doorIndex ? false : true,
51093
+ old: this.showOld ? false : true
50696
51094
  };
50697
51095
 
50698
51096
  if (this.layout === 'subsystem' || this.application) {
@@ -50830,7 +51228,7 @@ var events = [function (tabs, index, that) {
50830
51228
  utils_util["a" /* default */].setStorage('loginPage', results[i]);
50831
51229
  }
50832
51230
  if (i === 'sysLogoIco' && results[i]) {
50833
- sessionStorage.setItem('sysLogoIco', results[i]);
51231
+ localStorage.setItem('sysLogoIco', results[i]);
50834
51232
  utils_util["a" /* default */].setFavicon(results[i]);
50835
51233
  }
50836
51234
  if (i === 'userStyle' && results[i]) {
@@ -50878,6 +51276,9 @@ var events = [function (tabs, index, that) {
50878
51276
  if (results[i].portalPage || results[i].portalpage) {
50879
51277
  this.doorIndex = results[i].portalPage || results[i].portalpage;
50880
51278
  }
51279
+ if (results[i].multipleVersion || results[i].oldVersion) {
51280
+ this.showOld = results[i].oldVersion ? results[i].oldVersion : true;
51281
+ }
50881
51282
  if (results[i].topRightToolHide) {
50882
51283
  this.topRightToolHide = results[i].topRightToolHide;
50883
51284
  }
@@ -50956,104 +51357,19 @@ var events = [function (tabs, index, that) {
50956
51357
  getMenus: function getMenus(loading) {
50957
51358
  var _this2 = this;
50958
51359
 
51360
+ var menuData = utils_store.get('nav');
51361
+ if (menuData && menuData.length) {
51362
+ loading.close();
51363
+ this.renderMenus(menuData);
51364
+ return;
51365
+ }
50959
51366
  utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
50960
51367
  loading.close();
50961
51368
  if (res.rCode === 0) {
50962
51369
  if (res.results && res.results.length) {
50963
- _this2.menus = res.results;
50964
- _this2.setTips(_this2.menus);
50965
- utils_store.set('nav', _this2.menus);
50966
- if (_this2.appCode) {
50967
- var code = _this2.sysCode || _this2.appCode;
50968
- var app = _this2.userApps.filter(function (item) {
50969
- return item.code === code;
50970
- })[0];
50971
- if (app) {
50972
- _this2.active = app.id;
50973
- if (app.url) {
50974
- var obj = _this2.getMenu(_this2.menus, app.url);
50975
- if (obj) {
50976
- var tab = _this2.setIframeType(obj);
50977
- _this2.tabs = [tab];
50978
- _this2.activeName = tab.id;
50979
- } else {
50980
- _this2.tabs = [app];
50981
- }
50982
- }
50983
- }
50984
- if (_this2.sysCode) {
50985
- var subMenus = _this2.getMenu(_this2.menus, _this2.sysCode, 'appCode');
50986
- if (subMenus) {
50987
- var _obj = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
50988
- if (_obj) {
50989
- if (!_obj.url) {
50990
- _obj = _this2.getFirst(_obj);
50991
- }
50992
- _this2.subActive = _obj.id;
50993
- var _tab = _this2.setIframeType(_obj);
50994
- _this2.tabs = [_tab];
50995
- _this2.activeName = _tab.id;
50996
- } else {
50997
- _this2.subActive = '';
50998
- }
50999
- _this2.subMenus = subMenus;
51000
- _this2.showMenu = true;
51001
- } else {
51002
- _this2.subMenus = null;
51003
- _this2.showMenu = false;
51004
- }
51005
- } else {
51006
- var _subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
51007
- if (_subMenus) {
51008
- if (_this2.tabs.length == 0) {
51009
- var _obj2 = _this2.getFirst(_subMenus);
51010
- if (_obj2) {
51011
- _this2.subActive = _obj2.id;
51012
- var _tab2 = _this2.setIframeType(_obj2);
51013
- _this2.tabs = [_tab2];
51014
- _this2.activeName = _tab2.id;
51015
- } else {
51016
- _this2.subActive = '';
51017
- }
51018
- }
51019
- _this2.subMenus = _subMenus;
51020
- _this2.showMenu = true;
51021
- } else {
51022
- _this2.subMenus = null;
51023
- _this2.showMenu = false;
51024
- }
51025
- }
51026
- } else {
51027
- if (_this2.indexUrl) {
51028
- var _obj3 = _this2.getMenu(_this2.menus, _this2.indexUrl);
51029
- if (_obj3) {
51030
- if (!_this2.appCode) {
51031
- var _tab3 = _this2.setIframeType(_obj3);
51032
- _this2.tabs = [_tab3];
51033
- _this2.activeName = _tab3.id;
51034
- }
51035
- _this2.homePage = _obj3;
51036
- } else {
51037
- _this2.homePage = _this2.setIframeType({
51038
- url: _this2.indexUrl,
51039
- text: '工作台',
51040
- id: '0',
51041
- appCode: 'indexUrl'
51042
- });
51043
- if (!_this2.appCode) {
51044
- _this2.tabs = [_this2.homePage];
51045
- _this2.activeName = '0';
51046
- }
51047
- }
51048
- } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
51049
- var _obj4 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
51050
- if (_obj4) {
51051
- var _tab4 = _this2.setIframeType(_obj4);
51052
- _this2.tabs.push(_tab4);
51053
- _this2.activeName = _tab4.id;
51054
- }
51055
- }
51056
- }
51370
+ //this.$emit('update:menuData', res.results);
51371
+ utils_store.set('nav', JSON.parse(JSON.stringify(res.results)));
51372
+ _this2.renderMenus(JSON.parse(JSON.stringify(res.results)));
51057
51373
  } else {
51058
51374
  _this2.$message.error('未分配菜单权限,请联系管理员!');
51059
51375
  }
@@ -51069,6 +51385,99 @@ var events = [function (tabs, index, that) {
51069
51385
  });
51070
51386
  },
51071
51387
 
51388
+ /**
51389
+ * @desc:处理菜单列表
51390
+ * @author huangbo
51391
+ * @date 2024年9月7日
51392
+ **/
51393
+ renderMenus: function renderMenus(res) {
51394
+ this.menus = res;
51395
+ this.setTips(this.menus);
51396
+ utils_store.set('nav', this.menus);
51397
+ if (this.indexUrl) {
51398
+ var obj = this.getMenu(this.menus, this.indexUrl);
51399
+ obj = obj ? obj : {
51400
+ url: this.indexUrl,
51401
+ text: '工作台',
51402
+ id: '0',
51403
+ appCode: 'indexUrl'
51404
+ };
51405
+ this.homePage = this.setIframeType(obj);
51406
+ if (!this.appCode) {
51407
+ this.tabs = [this.homePage];
51408
+ this.activeName = this.homePage.id;
51409
+ }
51410
+ }
51411
+ if (this.appCode) {
51412
+ var code = this.sysCode || this.appCode;
51413
+ var app = this.userApps.filter(function (item) {
51414
+ return item.code === code;
51415
+ })[0];
51416
+ if (app) {
51417
+ this.active = app.id;
51418
+ if (app.url) {
51419
+ var _obj = this.getMenu(this.menus, app.url);
51420
+ if (_obj) {
51421
+ var tab = this.setIframeType(_obj);
51422
+ this.tabs = [tab];
51423
+ this.activeName = tab.id;
51424
+ } else {
51425
+ this.tabs = [app];
51426
+ }
51427
+ }
51428
+ }
51429
+ if (this.sysCode) {
51430
+ var subMenus = this.getMenu(this.menus, this.sysCode, 'appCode');
51431
+ if (subMenus) {
51432
+ var _obj2 = this.getMenu(this.menus, this.appCode, 'appCode');
51433
+ if (_obj2) {
51434
+ if (!_obj2.url) {
51435
+ _obj2 = this.getFirst(_obj2);
51436
+ }
51437
+ this.subActive = _obj2.id;
51438
+ var _tab = this.setIframeType(_obj2);
51439
+ this.tabs = [_tab];
51440
+ this.activeName = _tab.id;
51441
+ } else {
51442
+ this.subActive = '';
51443
+ }
51444
+ this.subMenus = subMenus;
51445
+ this.showMenu = true;
51446
+ } else {
51447
+ this.subMenus = null;
51448
+ this.showMenu = false;
51449
+ }
51450
+ } else {
51451
+ var _subMenus = this.getMenu(this.menus, this.appCode, 'appCode');
51452
+ if (_subMenus) {
51453
+ if (this.tabs.length == 0) {
51454
+ var _obj3 = this.getFirst(_subMenus);
51455
+ if (_obj3) {
51456
+ this.subActive = _obj3.id;
51457
+ var _tab2 = this.setIframeType(_obj3);
51458
+ this.tabs = [_tab2];
51459
+ this.activeName = _tab2.id;
51460
+ } else {
51461
+ this.subActive = '';
51462
+ }
51463
+ }
51464
+ this.subMenus = _subMenus;
51465
+ this.showMenu = true;
51466
+ } else {
51467
+ this.subMenus = null;
51468
+ this.showMenu = false;
51469
+ }
51470
+ }
51471
+ } else if (this.initApps && this.initApps.length && !this.indexUrl) {
51472
+ var _obj4 = this.getMenu(this.menus, this.initApps[this.initApps.length - 1]);
51473
+ if (_obj4) {
51474
+ var _tab3 = this.setIframeType(_obj4);
51475
+ this.tabs.push(_tab3);
51476
+ this.activeName = _tab3.id;
51477
+ }
51478
+ }
51479
+ },
51480
+
51072
51481
  /**
51073
51482
  * @desc:设置页面加载类型
51074
51483
  * @author huangbo
@@ -51370,9 +51779,9 @@ var events = [function (tabs, index, that) {
51370
51779
  }
51371
51780
  }
51372
51781
  } else {
51373
- var _tab5 = this.setIframeType(res);
51374
- this.tabs.push(_tab5);
51375
- this.activeName = _tab5.id;
51782
+ var _tab4 = this.setIframeType(res);
51783
+ this.tabs.push(_tab4);
51784
+ this.activeName = _tab4.id;
51376
51785
  }
51377
51786
  } else {
51378
51787
  if (res.method == 'iframe') {
@@ -51397,8 +51806,8 @@ var events = [function (tabs, index, that) {
51397
51806
  var _i = utils_util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
51398
51807
  this.activeName = subMenus.id;
51399
51808
  if (_i == -1) {
51400
- var _tab6 = this.setIframeType(subMenus);
51401
- this.tabs.push(_tab6);
51809
+ var _tab5 = this.setIframeType(subMenus);
51810
+ this.tabs.push(_tab5);
51402
51811
  } else {
51403
51812
  if (subMenus.method == 'iframe') {
51404
51813
  subMenus.url = utils_util["a" /* default */].handlerUrl(subMenus.url);
@@ -51457,15 +51866,15 @@ var events = [function (tabs, index, that) {
51457
51866
  this.tabs.push(tab);
51458
51867
  this.activeName = res.id;
51459
51868
  } else {
51460
- var _tab7 = this.tabs[i];
51461
- if (_tab7.method === 'iframe') {
51869
+ var _tab6 = this.tabs[i];
51870
+ if (_tab6.method === 'iframe') {
51462
51871
  this.activeName = res.id;
51463
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
51872
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab6.url));
51464
51873
  } else {
51465
- if (_tab7.method === 'wujie' && _tab7.appCode) {
51466
- window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.reload(true);
51874
+ if (_tab6.method === 'wujie' && _tab6.appCode) {
51875
+ window.document.querySelector('iframe[name=' + _tab6.appCode + ']').contentWindow.location.reload(true);
51467
51876
  }
51468
- if (_tab7.method === 'router') {
51877
+ if (_tab6.method === 'router') {
51469
51878
  this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
51470
51879
  }
51471
51880
  this.activeName = res.id;
@@ -51524,14 +51933,14 @@ var events = [function (tabs, index, that) {
51524
51933
  if (tab.method === 'iframe') {
51525
51934
  tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
51526
51935
  } else {
51527
- var _tab8 = this.tabs[i];
51528
- if (_tab8.method === 'iframe') {
51529
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
51936
+ var _tab7 = this.tabs[i];
51937
+ if (_tab7.method === 'iframe') {
51938
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
51530
51939
  }
51531
- if (_tab8.method === 'wujie' && _tab8.appCode) {
51532
- window.document.querySelector('iframe[name=' + _tab8.appCode + ']').contentWindow.location.reload(true);
51940
+ if (_tab7.method === 'wujie' && _tab7.appCode) {
51941
+ window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.reload(true);
51533
51942
  }
51534
- if (_tab8.method === 'router') {
51943
+ if (_tab7.method === 'router') {
51535
51944
  this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
51536
51945
  }
51537
51946
  }
@@ -51765,6 +52174,18 @@ var events = [function (tabs, index, that) {
51765
52174
  }
51766
52175
  },
51767
52176
 
52177
+ /**
52178
+ * @desc:菜单布局样式切换
52179
+ * @author huangbo
52180
+ * @date 2024年9月7日
52181
+ **/
52182
+ handleLayout: function handleLayout(res, active) {
52183
+ if (active) {
52184
+ localStorage.setItem('layout', active);
52185
+ }
52186
+ this.$emit('chang-layout', res, active);
52187
+ },
52188
+
51768
52189
  /**
51769
52190
  * @desc:消息修改总数
51770
52191
  * @author huangbo
@@ -51812,14 +52233,14 @@ var events = [function (tabs, index, that) {
51812
52233
  var tab = this.setIframeType(obj);
51813
52234
  this.tabs.splice(n + 1, 0, tab);
51814
52235
  } else {
51815
- var _tab9 = this.tabs[i];
51816
- if (_tab9.method === 'iframe') {
51817
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab9.url));
52236
+ var _tab8 = this.tabs[i];
52237
+ if (_tab8.method === 'iframe') {
52238
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
51818
52239
  }
51819
- if (_tab9.method === 'wujie' && _tab9.appCode) {
51820
- window.document.querySelector('iframe[name=' + _tab9.appCode + ']').contentWindow.location.reload(true);
52240
+ if (_tab8.method === 'wujie' && _tab8.appCode) {
52241
+ window.document.querySelector('iframe[name=' + _tab8.appCode + ']').contentWindow.location.reload(true);
51821
52242
  }
51822
- if (_tab9.method === 'router') {
52243
+ if (_tab8.method === 'router') {
51823
52244
  this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
51824
52245
  }
51825
52246
  }
@@ -51880,18 +52301,18 @@ var events = [function (tabs, index, that) {
51880
52301
 
51881
52302
  var simplicity_component = normalizeComponent(
51882
52303
  src_simplicityvue_type_script_lang_js_,
51883
- simplicityvue_type_template_id_03f1f7f2_scoped_true_render,
51884
- simplicityvue_type_template_id_03f1f7f2_scoped_true_staticRenderFns,
52304
+ simplicityvue_type_template_id_e9f89944_scoped_true_render,
52305
+ simplicityvue_type_template_id_e9f89944_scoped_true_staticRenderFns,
51885
52306
  false,
51886
52307
  null,
51887
- "03f1f7f2",
52308
+ "e9f89944",
51888
52309
  null
51889
52310
 
51890
52311
  )
51891
52312
 
51892
52313
  /* harmony default export */ var simplicity = (simplicity_component.exports);
51893
- // 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=3c855b6a&
51894
- var defaultvue_type_template_id_3c855b6a_render = function () {
52314
+ // 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=48dad2d4&
52315
+ var defaultvue_type_template_id_48dad2d4_render = function () {
51895
52316
  var _vm = this
51896
52317
  var _h = _vm.$createElement
51897
52318
  var _c = _vm._self._c || _h
@@ -52183,14 +52604,15 @@ var defaultvue_type_template_id_3c855b6a_render = function () {
52183
52604
  _vm._b(
52184
52605
  {
52185
52606
  attrs: {
52607
+ "layout-type": "default",
52608
+ active: _vm.layout,
52186
52609
  theme: _vm.color,
52187
52610
  predefine: _vm.themes,
52188
- visible: _vm.showSet,
52189
- layout: _vm.layout,
52611
+ visible: _vm.showSets,
52190
52612
  },
52191
52613
  on: {
52192
52614
  "update:visible": function ($event) {
52193
- _vm.showSet = $event
52615
+ _vm.showSets = $event
52194
52616
  },
52195
52617
  change: _vm.handleChange,
52196
52618
  layout: _vm.handleLayout,
@@ -52278,11 +52700,11 @@ var defaultvue_type_template_id_3c855b6a_render = function () {
52278
52700
  1
52279
52701
  )
52280
52702
  }
52281
- var defaultvue_type_template_id_3c855b6a_staticRenderFns = []
52282
- defaultvue_type_template_id_3c855b6a_render._withStripped = true
52703
+ var defaultvue_type_template_id_48dad2d4_staticRenderFns = []
52704
+ defaultvue_type_template_id_48dad2d4_render._withStripped = true
52283
52705
 
52284
52706
 
52285
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=3c855b6a&
52707
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=48dad2d4&
52286
52708
 
52287
52709
  // 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&
52288
52710
  var userinfovue_type_template_id_d207c2e8_render = function () {
@@ -52764,506 +53186,6 @@ var default_userinfo_component = normalizeComponent(
52764
53186
  )
52765
53187
 
52766
53188
  /* harmony default export */ var default_userinfo = (default_userinfo_component.exports);
52767
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/settings.vue?vue&type=template&id=2d7a058d&
52768
- var settingsvue_type_template_id_2d7a058d_render = function () {
52769
- var _vm = this
52770
- var _h = _vm.$createElement
52771
- var _c = _vm._self._c || _h
52772
- return _c(
52773
- "el-drawer",
52774
- {
52775
- attrs: {
52776
- title: "设置",
52777
- "custom-class": "es-sets-drawer",
52778
- size: "280px",
52779
- visible: _vm.show,
52780
- "append-to-body": true,
52781
- },
52782
- on: {
52783
- "update:visible": function ($event) {
52784
- _vm.show = $event
52785
- },
52786
- },
52787
- },
52788
- [
52789
- _c(
52790
- "div",
52791
- { staticClass: "es-setting-item" },
52792
- [
52793
- _c("div", { staticClass: "es-setting-title" }, [_vm._v("主题色")]),
52794
- _vm.themes
52795
- ? _c(
52796
- "el-radio-group",
52797
- {
52798
- staticClass: "es-setting-theme",
52799
- attrs: { size: "mini" },
52800
- on: { change: _vm.handleTheme },
52801
- model: {
52802
- value: _vm.color,
52803
- callback: function ($$v) {
52804
- _vm.color = $$v
52805
- },
52806
- expression: "color",
52807
- },
52808
- },
52809
- _vm._l(_vm.themes, function (item, index) {
52810
- return _c(
52811
- "el-radio-button",
52812
- {
52813
- key: index,
52814
- style: { backgroundColor: item },
52815
- attrs: { label: index },
52816
- },
52817
- [_c("i", { staticClass: "el-icon-check" })]
52818
- )
52819
- }),
52820
- 1
52821
- )
52822
- : _c(
52823
- "div",
52824
- { staticClass: "es-color-picker" },
52825
- [
52826
- _c("el-color-picker", {
52827
- attrs: { predefine: _vm.predefineColor },
52828
- on: { change: _vm.handleTheme },
52829
- model: {
52830
- value: _vm.color,
52831
- callback: function ($$v) {
52832
- _vm.color = $$v
52833
- },
52834
- expression: "color",
52835
- },
52836
- }),
52837
- _c("div", { staticClass: "el-color-picker-tip" }, [
52838
- _vm._v("请不要选择偏白或者偏黑的颜色"),
52839
- ]),
52840
- ],
52841
- 1
52842
- ),
52843
- ],
52844
- 1
52845
- ),
52846
- _c("div", { staticClass: "es-setting-item" }, [
52847
- _c("div", { staticClass: "es-setting-title" }, [_vm._v("导航模式")]),
52848
- _c(
52849
- "div",
52850
- { staticClass: "es-setting-navs-box" },
52851
- [
52852
- _c(
52853
- "el-tooltip",
52854
- {
52855
- staticClass: "es-setting-navs-item",
52856
- attrs: {
52857
- effect: "dark",
52858
- content: "顶部菜单布局",
52859
- placement: "bottom",
52860
- },
52861
- },
52862
- [
52863
- _c(
52864
- "div",
52865
- {
52866
- staticClass: "es-setting-navs es-setting-top-nav",
52867
- on: {
52868
- click: function ($event) {
52869
- $event.stopPropagation()
52870
- _vm.handleLayout("topnav")
52871
- },
52872
- },
52873
- },
52874
- [
52875
- _c("i", {
52876
- directives: [
52877
- {
52878
- name: "show",
52879
- rawName: "v-show",
52880
- value: _vm.activeName == "topnav",
52881
- expression: "activeName == 'topnav'",
52882
- },
52883
- ],
52884
- staticClass: "es-icon-gou",
52885
- }),
52886
- ]
52887
- ),
52888
- ]
52889
- ),
52890
- _c(
52891
- "el-tooltip",
52892
- {
52893
- staticClass: "es-setting-navs-item",
52894
- attrs: {
52895
- effect: "dark",
52896
- content: "侧边双列菜单布局",
52897
- placement: "bottom",
52898
- },
52899
- },
52900
- [
52901
- _c(
52902
- "div",
52903
- {
52904
- staticClass: "es-setting-navs es-setting-side-nav",
52905
- on: {
52906
- click: function ($event) {
52907
- $event.stopPropagation()
52908
- _vm.handleLayout("default")
52909
- },
52910
- },
52911
- },
52912
- [
52913
- _c("div", { staticClass: "es-setting-side-sub-nav" }),
52914
- _c("i", {
52915
- directives: [
52916
- {
52917
- name: "show",
52918
- rawName: "v-show",
52919
- value: _vm.activeName == "default",
52920
- expression: "activeName == 'default'",
52921
- },
52922
- ],
52923
- staticClass: "es-icon-gou",
52924
- }),
52925
- ]
52926
- ),
52927
- ]
52928
- ),
52929
- _c(
52930
- "el-tooltip",
52931
- {
52932
- staticClass: "es-setting-navs-item",
52933
- attrs: {
52934
- effect: "dark",
52935
- content: "子系统+侧边菜单布局",
52936
- placement: "bottom",
52937
- },
52938
- },
52939
- [
52940
- _c(
52941
- "div",
52942
- {
52943
- staticClass: "es-setting-navs es-setting-subsystem-nav",
52944
- on: {
52945
- click: function ($event) {
52946
- $event.stopPropagation()
52947
- _vm.handleLayout("subsystem")
52948
- },
52949
- },
52950
- },
52951
- [
52952
- _c("i", {
52953
- directives: [
52954
- {
52955
- name: "show",
52956
- rawName: "v-show",
52957
- value: _vm.activeName == "subsystem",
52958
- expression: "activeName == 'subsystem'",
52959
- },
52960
- ],
52961
- staticClass: "es-icon-gou",
52962
- }),
52963
- ]
52964
- ),
52965
- ]
52966
- ),
52967
- _c(
52968
- "el-tooltip",
52969
- {
52970
- staticClass: "es-setting-navs-item",
52971
- attrs: {
52972
- effect: "dark",
52973
- content: "顶部+侧边菜单布局",
52974
- placement: "bottom",
52975
- },
52976
- },
52977
- [
52978
- _c(
52979
- "div",
52980
- {
52981
- staticClass: "es-setting-navs es-setting-top-side-nav",
52982
- on: {
52983
- click: function ($event) {
52984
- $event.stopPropagation()
52985
- _vm.handleLayout("topside")
52986
- },
52987
- },
52988
- },
52989
- [
52990
- _c("i", {
52991
- directives: [
52992
- {
52993
- name: "show",
52994
- rawName: "v-show",
52995
- value: _vm.activeName == "topside",
52996
- expression: "activeName == 'topside'",
52997
- },
52998
- ],
52999
- staticClass: "es-icon-gou",
53000
- }),
53001
- ]
53002
- ),
53003
- ]
53004
- ),
53005
- _c(
53006
- "el-tooltip",
53007
- {
53008
- staticClass: "es-setting-navs-item",
53009
- attrs: {
53010
- effect: "dark",
53011
- content: "侧边菜单布局",
53012
- placement: "bottom",
53013
- },
53014
- },
53015
- [
53016
- _c(
53017
- "div",
53018
- {
53019
- staticClass: "es-setting-navs es-setting-side-navs",
53020
- on: {
53021
- click: function ($event) {
53022
- $event.stopPropagation()
53023
- _vm.handleLayout("side")
53024
- },
53025
- },
53026
- },
53027
- [
53028
- _c("i", {
53029
- directives: [
53030
- {
53031
- name: "show",
53032
- rawName: "v-show",
53033
- value: _vm.activeName == "side",
53034
- expression: "activeName == 'side'",
53035
- },
53036
- ],
53037
- staticClass: "es-icon-gou",
53038
- }),
53039
- ]
53040
- ),
53041
- ]
53042
- ),
53043
- ],
53044
- 1
53045
- ),
53046
- ]),
53047
- ]
53048
- )
53049
- }
53050
- var settingsvue_type_template_id_2d7a058d_staticRenderFns = []
53051
- settingsvue_type_template_id_2d7a058d_render._withStripped = true
53052
-
53053
-
53054
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=template&id=2d7a058d&
53055
-
53056
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/settings.vue?vue&type=script&lang=js&
53057
- //
53058
- //
53059
- //
53060
- //
53061
- //
53062
- //
53063
- //
53064
- //
53065
- //
53066
- //
53067
- //
53068
- //
53069
- //
53070
- //
53071
- //
53072
- //
53073
- //
53074
- //
53075
- //
53076
- //
53077
- //
53078
- //
53079
- //
53080
- //
53081
- //
53082
- //
53083
- //
53084
- //
53085
- //
53086
- //
53087
- //
53088
- //
53089
- //
53090
- //
53091
- //
53092
- //
53093
- //
53094
- //
53095
- //
53096
- //
53097
- //
53098
- //
53099
- //
53100
- //
53101
- //
53102
- //
53103
- //
53104
- //
53105
- //
53106
- //
53107
- //
53108
- //
53109
- //
53110
- //
53111
- //
53112
- //
53113
- //
53114
- //
53115
- //
53116
- //
53117
- //
53118
- //
53119
- //
53120
- //
53121
- //
53122
- //
53123
- //
53124
- //
53125
- //
53126
- //
53127
- //
53128
- //
53129
- //
53130
- //
53131
- //
53132
- //
53133
- //
53134
- //
53135
- //
53136
- //
53137
- //
53138
- //
53139
- //
53140
- //
53141
- //
53142
- //
53143
- //
53144
- //
53145
- //
53146
- //
53147
- //
53148
- //
53149
- //
53150
- //
53151
- //
53152
- //
53153
- //
53154
- //
53155
- //
53156
- //
53157
- //
53158
- //
53159
- //
53160
- //
53161
- //
53162
- //
53163
- //
53164
- //
53165
-
53166
-
53167
- /* harmony default export */ var default_settingsvue_type_script_lang_js_ = ({
53168
- name: 'message',
53169
- props: {
53170
- visible: Boolean,
53171
- //主题颜色选择颜色集合
53172
- themes: Array,
53173
- //默认主题色
53174
- theme: String,
53175
- //颜色板预设颜色
53176
- predefine: {
53177
- type: Array,
53178
- default: function _default() {
53179
- return ['#a60006', '#409eff'];
53180
- }
53181
- },
53182
- layout: {
53183
- type: String,
53184
- default: 'default'
53185
- }
53186
- },
53187
- computed: {
53188
- show: {
53189
- get: function get() {
53190
- return this.visible;
53191
- },
53192
- set: function set(val) {
53193
- this.$emit('update:visible', val);
53194
- }
53195
- },
53196
- //颜色板预设颜色
53197
- predefineColor: function predefineColor() {
53198
- if (this.theme && this.predefine.indexOf(this.theme.toLowerCase()) === -1) {
53199
- var arry = this.predefine;
53200
- arry.push(this.theme);
53201
- return arry;
53202
- }
53203
- return this.predefine;
53204
- }
53205
- },
53206
- watch: {
53207
- theme: {
53208
- immediate: true,
53209
- handler: function handler(val) {
53210
- if (val) {
53211
- this.color = val;
53212
- }
53213
- }
53214
- }
53215
- },
53216
- data: function data() {
53217
- return {
53218
- color: '',
53219
- activeName: this.layout
53220
- };
53221
- },
53222
- mounted: function mounted() {},
53223
-
53224
- methods: {
53225
- //选择主题颜色
53226
- handleTheme: function handleTheme(res) {
53227
- res = res.toLowerCase();
53228
- // const rgb = util.getRgb(res);
53229
- // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
53230
- utils_util["a" /* default */].updateTheme(res);
53231
- this.color = res;
53232
- this.$emit('change', { type: 'theme', value: res });
53233
- //this.setTheme(res);
53234
- },
53235
-
53236
- //选择菜单布局
53237
- handleLayout: function handleLayout(res) {
53238
- var old = this.activeName;
53239
- this.activeName = res;
53240
- this.$emit('update:layout', res);
53241
- this.$emit('layout', res, old);
53242
- }
53243
- }
53244
- });
53245
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=script&lang=js&
53246
- /* harmony default export */ var src_default_settingsvue_type_script_lang_js_ = (default_settingsvue_type_script_lang_js_);
53247
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue
53248
-
53249
-
53250
-
53251
-
53252
-
53253
- /* normalize component */
53254
-
53255
- var default_settings_component = normalizeComponent(
53256
- src_default_settingsvue_type_script_lang_js_,
53257
- settingsvue_type_template_id_2d7a058d_render,
53258
- settingsvue_type_template_id_2d7a058d_staticRenderFns,
53259
- false,
53260
- null,
53261
- null,
53262
- null
53263
-
53264
- )
53265
-
53266
- /* harmony default export */ var default_settings = (default_settings_component.exports);
53267
53189
  // 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/message.vue?vue&type=template&id=503171a2&
53268
53190
  var messagevue_type_template_id_503171a2_render = function () {
53269
53191
  var _vm = this
@@ -54192,6 +54114,7 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
54192
54114
  //
54193
54115
  //
54194
54116
  //
54117
+ //
54195
54118
 
54196
54119
 
54197
54120
 
@@ -54217,7 +54140,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54217
54140
 
54218
54141
  components: {
54219
54142
  userinfo: default_userinfo,
54220
- settings: default_settings,
54143
+ settings: settings,
54221
54144
  message: default_message,
54222
54145
  notice: default_notice,
54223
54146
  online: online
@@ -54379,7 +54302,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54379
54302
  onlineView: {
54380
54303
  type: [String, Boolean],
54381
54304
  default: true
54382
- }
54305
+ },
54306
+ newVersion: Boolean
54383
54307
  },
54384
54308
  computed: {
54385
54309
  showHeader: function showHeader() {
@@ -54448,10 +54372,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54448
54372
  topRightToolHide = JSON.parse(this.topRightToolHide.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '"$2":'));
54449
54373
  }
54450
54374
  var hides = {
54451
- set: !this.set,
54375
+ set: !this.showSet,
54452
54376
  index: this.doorIndex ? false : true,
54453
54377
  system: true,
54454
- home: this.homePage ? false : true
54378
+ home: this.homePage ? false : tru
54455
54379
  };
54456
54380
 
54457
54381
  if (this.layout === 'subsystem' || this.application) {
@@ -54505,6 +54429,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54505
54429
  utils_util["a" /* default */].updateTheme(val);
54506
54430
  }
54507
54431
  }
54432
+ },
54433
+ scene: function scene(val) {
54434
+ if (val) {
54435
+ this.layout = val.toLowerCase();
54436
+ }
54508
54437
  }
54509
54438
  },
54510
54439
  data: function data() {
@@ -54573,7 +54502,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54573
54502
  //刷新路由
54574
54503
  refresh: true,
54575
54504
  //显示设置面板
54576
- showSet: false,
54505
+ showSets: false,
54577
54506
  //当前设置的主题
54578
54507
  color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
54579
54508
  //显示用户信息
@@ -54601,10 +54530,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54601
54530
  dialog: {},
54602
54531
  hideSubMenu: false,
54603
54532
  doorIndex: '',
54604
- topRightToolHide: ''
54533
+ topRightToolHide: '',
54534
+ showSet: this.set
54605
54535
  };
54606
54536
  },
54607
54537
  created: function created() {
54538
+ var layout = localStorage.getItem('layout');
54539
+ layout && (this.layout = layout);
54608
54540
  var params = utils_util["a" /* default */].getParams() || {};
54609
54541
  if (params.homePage == 0) {
54610
54542
  this.isLoadHomePage = false;
@@ -54752,7 +54684,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54752
54684
 
54753
54685
  //显示隐藏设置面板
54754
54686
  handleSet: function handleSet() {
54755
- this.showSet = !this.showSet;
54687
+ this.showSets = !this.showSets;
54756
54688
  },
54757
54689
  setConfig: function setConfig(results) {
54758
54690
  if (this.socket) {
@@ -54846,6 +54778,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54846
54778
  if (results[i].portalPage || results[i].portalpage) {
54847
54779
  this.doorIndex = results[i].portalPage || results[i].portalpage;
54848
54780
  }
54781
+ if (results[i].multipleVersion) {
54782
+ this.showSet = true;
54783
+ }
54849
54784
  if (results[i].topRightToolHide) {
54850
54785
  this.topRightToolHide = results[i].topRightToolHide;
54851
54786
  }
@@ -55054,6 +54989,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55054
54989
  getMenu: function getMenu() {
55055
54990
  var _this4 = this;
55056
54991
 
54992
+ var menuData = utils_store.get('nav');
54993
+ if (menuData && menuData.length) {
54994
+ this.menus = JSON.parse(JSON.stringify(menuData));
54995
+ this.setTips(this.menus);
54996
+ this.setMenu(this.menus);
54997
+ return;
54998
+ }
55057
54999
  var param = this.menuCode ? { menuCode: this.menuCode } : {};
55058
55000
  var params = defaultvue_type_script_lang_js_extends({}, this.param, param);
55059
55001
  utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
@@ -55061,7 +55003,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55061
55003
  if (res.results && res.results.length) {
55062
55004
  _this4.menus = JSON.parse(JSON.stringify(res.results));
55063
55005
  _this4.setTips(_this4.menus);
55064
- utils_store.set('nav', _this4.menus);
55006
+ utils_store.set('nav', JSON.parse(JSON.stringify(res.results)));
55065
55007
  _this4.setMenu(_this4.menus);
55066
55008
  } else {
55067
55009
  _this4.$message.error('未分配菜单权限,请联系管理员!');
@@ -55767,11 +55709,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55767
55709
  }
55768
55710
  return false;
55769
55711
  },
55770
- handleLayout: function handleLayout(res, old) {
55771
- if (res == old) {
55712
+ handleLayout: function handleLayout(layout, res, old) {
55713
+ this.$emit('chang-layout', layout);
55714
+ if (res == old || layout == 'simplicity') {
55772
55715
  return;
55773
55716
  }
55774
55717
  this.layout = res;
55718
+ localStorage.setItem('layout', res);
55775
55719
  switch (res) {
55776
55720
  case 'topnav':
55777
55721
  this.navs = this.menus;
@@ -55946,8 +55890,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55946
55890
 
55947
55891
  var default_component = normalizeComponent(
55948
55892
  src_defaultvue_type_script_lang_js_,
55949
- defaultvue_type_template_id_3c855b6a_render,
55950
- defaultvue_type_template_id_3c855b6a_staticRenderFns,
55893
+ defaultvue_type_template_id_48dad2d4_render,
55894
+ defaultvue_type_template_id_48dad2d4_staticRenderFns,
55951
55895
  false,
55952
55896
  null,
55953
55897
  null,
@@ -55998,6 +55942,11 @@ var default_component = normalizeComponent(
55998
55942
  //
55999
55943
  //
56000
55944
  //
55945
+ //
55946
+ //
55947
+ //
55948
+ //
55949
+ //
56001
55950
 
56002
55951
 
56003
55952
 
@@ -56020,6 +55969,7 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56020
55969
  MainDefault: src_default
56021
55970
  },
56022
55971
  props: {
55972
+ scene: String,
56023
55973
  launch: Boolean,
56024
55974
  type: String,
56025
55975
  launchImage: {
@@ -56034,7 +55984,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56034
55984
  launchTime: {
56035
55985
  type: Number,
56036
55986
  default: 3000
56037
- }
55987
+ },
55988
+ multiple: Boolean
56038
55989
  },
56039
55990
  computed: {
56040
55991
  _launchImage: function _launchImage() {
@@ -56050,10 +56001,16 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56050
56001
  params: {},
56051
56002
  dialogs: [],
56052
56003
  visibles: [],
56053
- isLogin: false
56004
+ isLogin: false,
56005
+ layoutType: this.type,
56006
+ layout: this.scene
56054
56007
  };
56055
56008
  },
56056
56009
  created: function created() {
56010
+ var layoutType = localStorage.getItem('layoutType');
56011
+ if (layoutType) {
56012
+ this.layoutType = layoutType;
56013
+ }
56057
56014
  this.params = utils_util["a" /* default */].getParams() || {};
56058
56015
  this.sysCode = this.params.sysCode;
56059
56016
  this.appCode = this.params.appCode;
@@ -56117,6 +56074,19 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56117
56074
  },
56118
56075
 
56119
56076
  methods: {
56077
+ /**
56078
+ * @desc: 切换布局风格
56079
+ * @author huangbo
56080
+ * @date 2024年9月7日
56081
+ **/
56082
+ changLayout: function changLayout(res, active) {
56083
+ this.layoutType = res;
56084
+ localStorage.setItem('layoutType', res);
56085
+ if (active) {
56086
+ this.layout = active;
56087
+ }
56088
+ },
56089
+
56120
56090
  /**
56121
56091
  * @desc:重新登录
56122
56092
  * @author huangbo
@@ -56286,8 +56256,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56286
56256
 
56287
56257
  var main_src_main_component = normalizeComponent(
56288
56258
  packages_main_src_mainvue_type_script_lang_js_,
56289
- mainvue_type_template_id_c342434c_render,
56290
- mainvue_type_template_id_c342434c_staticRenderFns,
56259
+ mainvue_type_template_id_72ff8660_render,
56260
+ mainvue_type_template_id_72ff8660_staticRenderFns,
56291
56261
  false,
56292
56262
  null,
56293
56263
  null,
@@ -58493,7 +58463,7 @@ var zh_CN_json_ = __webpack_require__(16);
58493
58463
  var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
58494
58464
 
58495
58465
  // EXTERNAL MODULE: external "video.js/dist/video-js.css"
58496
- var video_js_css_ = __webpack_require__(22);
58466
+ var video_js_css_ = __webpack_require__(23);
58497
58467
 
58498
58468
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=script&lang=js&
58499
58469
  var player_src_mainvue_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; };
@@ -58788,7 +58758,7 @@ mainvue_type_template_id_15448f0a_render._withStripped = true
58788
58758
  //
58789
58759
 
58790
58760
 
58791
- var QRCode = __webpack_require__(23);
58761
+ var QRCode = __webpack_require__(24);
58792
58762
  /* harmony default export */ var qr_code_src_mainvue_type_script_lang_js_ = ({
58793
58763
  name: 'EsQrCode',
58794
58764
  props: {
@@ -76669,7 +76639,7 @@ wxlogin_src_main.install = function (Vue) {
76669
76639
 
76670
76640
 
76671
76641
 
76672
- var components = [packages_button, button_group, calendar, card, cascader, checkbox_group, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, icon, icons, packages_input, input_number, packages_label, layout, login, packages_main, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, retrial_auth, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
76642
+ var components = [packages_button, button_group, calendar, card, cascader, checkbox_group, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, icon, icons, packages_input, input_number, packages_label, packages_layout, login, packages_main, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, retrial_auth, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
76673
76643
 
76674
76644
  var install = function install(Vue) {
76675
76645
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -76684,7 +76654,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76684
76654
  }
76685
76655
 
76686
76656
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76687
- version: '0.5.97',
76657
+ version: '0.5.99',
76688
76658
  install: install,
76689
76659
  Button: packages_button,
76690
76660
  ButtonGroup: button_group,
@@ -76710,7 +76680,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76710
76680
  Input: packages_input,
76711
76681
  InputNumber: input_number,
76712
76682
  Label: packages_label,
76713
- Layout: layout,
76683
+ Layout: packages_layout,
76714
76684
  Login: login,
76715
76685
  Main: packages_main,
76716
76686
  Menu: menu,