eoss-ui 0.6.52 → 0.6.53

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 (263) hide show
  1. package/lib/button-group.js +58 -55
  2. package/lib/button.js +58 -55
  3. package/lib/checkbox-group.js +61 -58
  4. package/lib/data-table-form.js +58 -55
  5. package/lib/data-table.js +65 -62
  6. package/lib/date-picker.js +58 -55
  7. package/lib/dialog.js +58 -55
  8. package/lib/eoss-ui.common.js +896 -832
  9. package/lib/flow-group.js +58 -55
  10. package/lib/flow-list.js +139 -136
  11. package/lib/flow.js +467 -424
  12. package/lib/form.js +62 -59
  13. package/lib/handle-user.js +58 -55
  14. package/lib/handler.js +58 -55
  15. package/lib/icon.js +58 -55
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +58 -55
  18. package/lib/input.js +59 -56
  19. package/lib/login.js +61 -58
  20. package/lib/main.js +258 -235
  21. package/lib/menu.js +1 -1
  22. package/lib/nav.js +61 -58
  23. package/lib/page.js +58 -55
  24. package/lib/pagination.js +58 -55
  25. package/lib/player.js +58 -55
  26. package/lib/qr-code.js +71 -68
  27. package/lib/radio-group.js +61 -58
  28. package/lib/retrial-auth.js +58 -55
  29. package/lib/select-ganged.js +59 -56
  30. package/lib/select.js +61 -57
  31. package/lib/selector-panel.js +61 -58
  32. package/lib/selector.js +58 -55
  33. package/lib/sizer.js +58 -55
  34. package/lib/steps.js +61 -58
  35. package/lib/switch.js +58 -55
  36. package/lib/table-form.js +58 -55
  37. package/lib/tabs.js +58 -55
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/upload.css +1 -1
  40. package/lib/tips.js +61 -58
  41. package/lib/tree-group.js +58 -55
  42. package/lib/tree.js +61 -58
  43. package/lib/upload.js +71 -68
  44. package/lib/utils/util.js +54 -51
  45. package/lib/wujie.js +58 -55
  46. package/lib/wxlogin.js +58 -55
  47. package/package.json +159 -159
  48. package/packages/button/index.js +5 -5
  49. package/packages/button/src/main.vue +418 -418
  50. package/packages/button-group/index.js +5 -5
  51. package/packages/button-group/src/main.vue +298 -298
  52. package/packages/calendar/index.js +5 -5
  53. package/packages/card/index.js +5 -5
  54. package/packages/card/src/main.vue +156 -156
  55. package/packages/cascader/index.js +5 -5
  56. package/packages/cascader/src/main.vue +168 -168
  57. package/packages/checkbox-group/index.js +5 -5
  58. package/packages/checkbox-group/src/main.vue +333 -333
  59. package/packages/clients/index.js +5 -5
  60. package/packages/clients/src/main.vue +144 -144
  61. package/packages/data-table/index.js +5 -5
  62. package/packages/data-table/src/children.vue +39 -39
  63. package/packages/data-table/src/column.vue +989 -989
  64. package/packages/data-table/src/main.vue +1822 -1822
  65. package/packages/data-table/src/sizer.vue +195 -195
  66. package/packages/data-table-form/index.js +5 -5
  67. package/packages/data-table-form/src/checkbox.vue +101 -101
  68. package/packages/data-table-form/src/colgroup.vue +17 -17
  69. package/packages/data-table-form/src/main.vue +181 -181
  70. package/packages/data-table-form/src/radio.vue +65 -65
  71. package/packages/data-table-form/src/table.vue +233 -233
  72. package/packages/data-table-form/src/tbody.vue +336 -336
  73. package/packages/data-table-form/src/thead.vue +68 -68
  74. package/packages/date-picker/index.js +5 -5
  75. package/packages/date-picker/src/main.vue +236 -236
  76. package/packages/dialog/index.js +5 -5
  77. package/packages/enable-drag/index.js +5 -5
  78. package/packages/enterprise/index.js +5 -5
  79. package/packages/enterprise/src/main.vue +66 -66
  80. package/packages/error-page/index.js +5 -5
  81. package/packages/error-page/src/main.vue +44 -44
  82. package/packages/flow/index.js +5 -5
  83. package/packages/flow/src/component/CommonOpinions.vue +345 -345
  84. package/packages/flow/src/component/CustomPreset.vue +322 -322
  85. package/packages/flow/src/component/FileList.vue +99 -99
  86. package/packages/flow/src/component/Preset.vue +255 -255
  87. package/packages/flow/src/component/SendMsg.vue +229 -229
  88. package/packages/flow/src/component/TimeLimit.vue +190 -190
  89. package/packages/flow/src/component/taskUnionExamine.vue +611 -611
  90. package/packages/flow/src/form.vue +121 -121
  91. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  92. package/packages/flow/src/main.vue +3131 -3131
  93. package/packages/flow/src/processForm.vue +1031 -1031
  94. package/packages/flow/src/processReject.vue +293 -293
  95. package/packages/flow/src/reset.vue +900 -902
  96. package/packages/flow/src/startTaskRead.vue +641 -597
  97. package/packages/flow/src/supervise.vue +138 -138
  98. package/packages/flow/src/table.vue +58 -58
  99. package/packages/flow-group/index.js +5 -5
  100. package/packages/flow-group/src/main.vue +688 -688
  101. package/packages/flow-list/index.js +5 -5
  102. package/packages/flow-list/src/main.vue +1434 -1434
  103. package/packages/form/index.js +5 -5
  104. package/packages/form/src/main.vue +3583 -3583
  105. package/packages/form/src/table.vue +1426 -1426
  106. package/packages/handle-user/index.js +5 -5
  107. package/packages/handle-user/src/main.vue +138 -138
  108. package/packages/handler/index.js +5 -5
  109. package/packages/handler/src/main.vue +493 -493
  110. package/packages/icon/index.js +5 -5
  111. package/packages/icon/src/main.vue +101 -101
  112. package/packages/icons/index.js +5 -5
  113. package/packages/icons/src/main.vue +81 -81
  114. package/packages/input/index.js +5 -5
  115. package/packages/input/src/main.vue +356 -356
  116. package/packages/input-number/index.js +5 -5
  117. package/packages/input-number/src/main.vue +106 -106
  118. package/packages/label/index.js +5 -5
  119. package/packages/label/src/main.vue +457 -457
  120. package/packages/layout/index.js +5 -5
  121. package/packages/layout/src/item.vue +152 -152
  122. package/packages/layout/src/main.vue +31 -31
  123. package/packages/login/index.js +5 -5
  124. package/packages/login/src/main.vue +1935 -1935
  125. package/packages/login/src/resetPassword.vue +562 -562
  126. package/packages/main/index.js +5 -5
  127. package/packages/main/src/default/index.vue +7 -1
  128. package/packages/main/src/default/message.vue +249 -249
  129. package/packages/main/src/default/notice.vue +157 -157
  130. package/packages/main/src/default/userinfo.vue +503 -503
  131. package/packages/main/src/main.vue +4 -1
  132. package/packages/main/src/public/online.vue +89 -89
  133. package/packages/main/src/public/search.vue +466 -461
  134. package/packages/main/src/public/settings.vue +221 -221
  135. package/packages/main/src/simplicity/apps.vue +388 -388
  136. package/packages/main/src/simplicity/avatar.vue +82 -82
  137. package/packages/main/src/simplicity/handler.vue +259 -259
  138. package/packages/main/src/simplicity/index.vue +2064 -2064
  139. package/packages/main/src/simplicity/lists.vue +84 -84
  140. package/packages/main/src/simplicity/menu-list.vue +128 -128
  141. package/packages/main/src/simplicity/message.vue +259 -259
  142. package/packages/main/src/simplicity/notice.vue +190 -190
  143. package/packages/main/src/simplicity/router-page.vue +45 -45
  144. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  145. package/packages/main/src/simplicity/user.vue +257 -257
  146. package/packages/main/src/simplicity/userinfo.vue +312 -312
  147. package/packages/menu/index.js +5 -5
  148. package/packages/menu/src/main.vue +536 -536
  149. package/packages/nav/index.js +5 -5
  150. package/packages/nav/src/main.vue +351 -351
  151. package/packages/notify/index.js +5 -5
  152. package/packages/notify/src/main.vue +538 -538
  153. package/packages/page/index.js +5 -5
  154. package/packages/page/src/main.vue +167 -167
  155. package/packages/pagination/index.js +5 -5
  156. package/packages/pagination/src/main.vue +96 -96
  157. package/packages/player/index.js +5 -5
  158. package/packages/player/src/main.vue +194 -194
  159. package/packages/qr-code/index.js +5 -5
  160. package/packages/qr-code/src/main.vue +170 -170
  161. package/packages/radio-group/index.js +6 -6
  162. package/packages/radio-group/src/main.vue +319 -319
  163. package/packages/retrial-auth/index.js +5 -5
  164. package/packages/retrial-auth/src/main.vue +280 -280
  165. package/packages/select/index.js +5 -5
  166. package/packages/select/src/main.vue +776 -775
  167. package/packages/select-ganged/index.js +5 -5
  168. package/packages/select-ganged/src/main.vue +724 -724
  169. package/packages/selector/index.js +5 -5
  170. package/packages/selector/src/main.vue +687 -687
  171. package/packages/selector-panel/index.js +5 -5
  172. package/packages/selector-panel/src/main.vue +1027 -1027
  173. package/packages/selector-panel/src/selection.vue +177 -177
  174. package/packages/selector-panel/src/tree.vue +129 -129
  175. package/packages/sizer/index.js +5 -5
  176. package/packages/sizer/src/main.vue +254 -254
  177. package/packages/steps/index.js +5 -5
  178. package/packages/steps/src/main.vue +181 -181
  179. package/packages/switch/index.js +5 -5
  180. package/packages/switch/src/main.vue +154 -154
  181. package/packages/table-form/index.js +5 -5
  182. package/packages/tabs/index.js +5 -5
  183. package/packages/tabs/src/main.vue +788 -788
  184. package/packages/tabs-panel/index.js +5 -5
  185. package/packages/tabs-panel/src/main.vue +29 -29
  186. package/packages/theme-chalk/lib/index.css +1 -1
  187. package/packages/theme-chalk/lib/upload.css +1 -1
  188. package/packages/theme-chalk/src/base.scss +260 -260
  189. package/packages/theme-chalk/src/button-group.scss +175 -175
  190. package/packages/theme-chalk/src/button.scss +24 -24
  191. package/packages/theme-chalk/src/calendar.scss +113 -113
  192. package/packages/theme-chalk/src/card.scss +99 -99
  193. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  194. package/packages/theme-chalk/src/clients.scss +87 -87
  195. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  196. package/packages/theme-chalk/src/data-table.scss +293 -293
  197. package/packages/theme-chalk/src/date-picker.scss +7 -7
  198. package/packages/theme-chalk/src/dialog.scss +77 -77
  199. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  200. package/packages/theme-chalk/src/enterprise.scss +5 -5
  201. package/packages/theme-chalk/src/error-page.scss +18 -18
  202. package/packages/theme-chalk/src/flow-group.scss +110 -110
  203. package/packages/theme-chalk/src/flow-list.scss +36 -36
  204. package/packages/theme-chalk/src/flow.scss +335 -335
  205. package/packages/theme-chalk/src/form.scss +496 -496
  206. package/packages/theme-chalk/src/handle-user.scss +40 -40
  207. package/packages/theme-chalk/src/handler.scss +143 -143
  208. package/packages/theme-chalk/src/icon.scss +1789 -1789
  209. package/packages/theme-chalk/src/icons.scss +99 -99
  210. package/packages/theme-chalk/src/input.scss +9 -9
  211. package/packages/theme-chalk/src/label.scss +24 -24
  212. package/packages/theme-chalk/src/layout.scss +46 -46
  213. package/packages/theme-chalk/src/login.scss +969 -969
  214. package/packages/theme-chalk/src/main.scss +663 -663
  215. package/packages/theme-chalk/src/menu.scss +222 -222
  216. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  217. package/packages/theme-chalk/src/nav.scss +111 -111
  218. package/packages/theme-chalk/src/page.scss +3 -3
  219. package/packages/theme-chalk/src/pagination.scss +29 -29
  220. package/packages/theme-chalk/src/player.scss +9 -9
  221. package/packages/theme-chalk/src/qr-code.scss +17 -17
  222. package/packages/theme-chalk/src/radio-group.scss +9 -9
  223. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  224. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  225. package/packages/theme-chalk/src/select.scss +8 -8
  226. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  227. package/packages/theme-chalk/src/selector.scss +91 -91
  228. package/packages/theme-chalk/src/simplicity.scss +1265 -1265
  229. package/packages/theme-chalk/src/sizer.scss +36 -36
  230. package/packages/theme-chalk/src/steps.scss +88 -88
  231. package/packages/theme-chalk/src/switch.scss +3 -3
  232. package/packages/theme-chalk/src/table-form.scss +1 -1
  233. package/packages/theme-chalk/src/tabs.scss +87 -87
  234. package/packages/theme-chalk/src/tips.scss +7 -7
  235. package/packages/theme-chalk/src/toolbar.scss +179 -179
  236. package/packages/theme-chalk/src/tree-group.scss +72 -72
  237. package/packages/theme-chalk/src/tree.scss +165 -165
  238. package/packages/theme-chalk/src/upload.scss +168 -167
  239. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  240. package/packages/tips/index.js +5 -5
  241. package/packages/tips/src/main.vue +141 -141
  242. package/packages/toolbar/index.js +5 -5
  243. package/packages/toolbar/src/main.vue +430 -430
  244. package/packages/tree/index.js +5 -5
  245. package/packages/tree/src/main.vue +2 -2
  246. package/packages/tree-group/index.js +5 -5
  247. package/packages/upload/index.js +5 -5
  248. package/packages/upload/src/main.vue +1343 -1339
  249. package/packages/upload/src/picture.js +15 -15
  250. package/packages/wujie/index.js +5 -5
  251. package/packages/wujie/src/main.vue +145 -145
  252. package/packages/wxlogin/index.js +5 -5
  253. package/packages/wxlogin/src/main.vue +128 -128
  254. package/src/config/api.js +281 -281
  255. package/src/config/image.js +2 -2
  256. package/src/index.js +1 -1
  257. package/src/utils/bus.js +3 -3
  258. package/src/utils/date-util.js +312 -312
  259. package/src/utils/http.js +50 -50
  260. package/src/utils/rules.js +18 -18
  261. package/src/utils/store.js +21 -21
  262. package/src/utils/util.js +15 -12
  263. package/src/utils/webSocket.js +107 -107
package/lib/main.js CHANGED
@@ -114,8 +114,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
114
114
  **/
115
115
 
116
116
  /* eslint-disable indent */
117
- var sm2 = __webpack_require__(10).sm2;
118
- var lodash = __webpack_require__(11);
117
+ var sm2 = __webpack_require__(11).sm2;
118
+ var lodash = __webpack_require__(10);
119
119
 
120
120
 
121
121
 
@@ -591,61 +591,64 @@ var ajaxStream = function ajaxStream(_ref2) {
591
591
  if (line === '') {
592
592
  return;
593
593
  }
594
- if (line.startsWith('data:')) {
595
- var _data = line.replace('data:', '').trim();
596
- if (_data) {
597
- try {
598
- // 假设数据是 JSON 格式
599
- var parsedData = JSON.parse(_data);
600
- info.time = parsedData.time;
601
- info.conversationId = parsedData.conversationId;
602
- var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
603
- var match = parsedData.message.match(thinkRegex);
604
- if (match) {
605
- var thinkContent = match[1] ? match[1].trim() : ''; // <think> 标签内的数据
606
- var content = match[2] ? match[2].trim() : ''; // <think> 标签后的数据
607
- // 更新 AI 消息内容
608
- info.thinkContent += thinkContent;
609
- info.content += content;
594
+ // if (line.startsWith('data:')) {
595
+ var data = line.startsWith('data:') ? line.replace('data:', '').trim() : line.trim();
596
+ if (data) {
597
+ try {
598
+ // 假设数据是 JSON 格式
599
+ var parsedData = JSON.parse(data);
600
+ info.time = parsedData.time;
601
+ info.conversationId = parsedData.conversationId;
602
+ var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
603
+ var match = parsedData.message.match(thinkRegex);
604
+ if (match) {
605
+ var thinkContent = match[1] ? match[1].trim() : ''; // <think> 标签内的数据
606
+ var content = match[2] ? match[2].trim() : ''; // <think> 标签后的数据
607
+ // 更新 AI 消息内容
608
+ info.thinkContent += thinkContent;
609
+ info.content += content;
610
+ } else {
611
+ var startRegex = /<think>([\s\S]*)/;
612
+ var endRegex = /([\s\S]*?)<\/think>([\s\S]*)?/;
613
+ var start = parsedData.message.match(startRegex);
614
+ var end = parsedData.message.match(endRegex);
615
+ if (start) {
616
+ hasThink = true;
617
+ var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
618
+ info.thinkContent += _thinkContent;
619
+ } else if (hasThink === false) {
620
+ info.content += parsedData.message;
621
+ chunks += parsedData.message;
610
622
  } else {
611
- var startRegex = /<think>([\s\S]*)/;
612
- var endRegex = /([\s\S]*?)<\/think>([\s\S]*)?/;
613
- var start = parsedData.message.match(startRegex);
614
- var end = parsedData.message.match(endRegex);
615
- if (start) {
616
- hasThink = true;
617
- var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
618
- info.thinkContent += _thinkContent;
619
- } else if (hasThink === false) {
623
+ if (end) {
624
+ finishThink = true;
625
+ var _thinkContent2 = end[1] ? end[1].trim() : ''; // <think> 标签后的数据
626
+ var _content = end[2] ? end[2].trim() : '';
627
+ // 更新 AI 消息内容
628
+ info.thinkContent += _thinkContent2;
629
+ info.content += _content;
630
+ chunks += _content;
631
+ } else if (finishThink) {
620
632
  info.content += parsedData.message;
621
633
  chunks += parsedData.message;
622
634
  } else {
623
- if (end) {
624
- finishThink = true;
625
- var _thinkContent2 = end[1] ? end[1].trim() : ''; // <think> 标签后的数据
626
- var _content = end[2] ? end[2].trim() : '';
627
- // 更新 AI 消息内容
628
- info.thinkContent += _thinkContent2;
629
- info.content += _content;
630
- chunks += _content;
631
- } else if (finishThink) {
632
- info.content += parsedData.message;
633
- chunks += parsedData.message;
634
- } else {
635
- info.thinkContent += parsedData.message;
636
- }
635
+ info.thinkContent += parsedData.message;
637
636
  }
638
637
  }
639
- primeval += parsedData.message;
640
- done = parsedData.done;
641
- } catch (parseError) {
642
- console.error('解析数据出错:', parseError);
643
638
  }
639
+ primeval += parsedData.message;
640
+ done = parsedData.done;
641
+ } catch (parseError) {
642
+ remainingData += line;
643
+ console.log('解析数据出错:', parseError);
644
644
  }
645
- } else {
646
- // 保存未处理完的部分数据
647
- remainingData += line + '\n';
648
645
  }
646
+ // }
647
+ // else {
648
+ // console.log('未处理的数据:', line);
649
+ // // 保存未处理完的部分数据
650
+ // remainingData += line.replace('data:', '\ndata:');
651
+ // }
649
652
  });
650
653
  info.primeval = primeval;
651
654
  info.chunk = chunks;
@@ -654,7 +657,7 @@ var ajaxStream = function ajaxStream(_ref2) {
654
657
  partialData = remainingData;
655
658
  progress && progress({ message: info, controller: controller, done: done });
656
659
  }
657
- })).then(function () {
660
+ })).then(function (results) {
658
661
  // 处理请求完成后的信息
659
662
  var originalText = info.content;
660
663
  var regex = /<think>([\s\S]*?)<\/think>([\s\S]*)/;
@@ -663,8 +666,8 @@ var ajaxStream = function ajaxStream(_ref2) {
663
666
  info.thinkContent = match ? match[1].trim() : '';
664
667
  info.content = match ? match[2].trim() : '';
665
668
  }
666
- success && success({ message: info, controller: controller });
667
- }).catch(function () {
669
+ success && success({ message: info, controller: controller, results: results });
670
+ }).catch(function (results) {
668
671
  // 处理请求完成后的信息
669
672
  var originalText = info.content || '';
670
673
  var regex = /<think>([\s\S]*?)<\/think>([\s\S]*)/;
@@ -673,7 +676,7 @@ var ajaxStream = function ajaxStream(_ref2) {
673
676
  info.thinkContent = match ? match[1].trim() : '';
674
677
  info.content = match ? match[2].trim() : '';
675
678
  }
676
- fail && fail({ status: 1, message: info, controller: controller });
679
+ fail && fail({ status: 1, message: info, controller: controller, results: results });
677
680
  });
678
681
  } catch (error) {
679
682
  console.error('聊天请求出错:', error);
@@ -770,7 +773,7 @@ var busEmit = function busEmit(that, _ref3) {
770
773
 
771
774
  var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus : null;
772
775
  if (bus) {
773
- bus.$emit(method, args);
776
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
774
777
  } else {
775
778
  win.parent.postMessage({ method: method, query: args }, '*');
776
779
  }
@@ -4155,13 +4158,13 @@ module.exports = require("stompjs");
4155
4158
  /* 10 */
4156
4159
  /***/ (function(module, exports) {
4157
4160
 
4158
- module.exports = require("sm-crypto");
4161
+ module.exports = require("lodash");
4159
4162
 
4160
4163
  /***/ }),
4161
4164
  /* 11 */
4162
4165
  /***/ (function(module, exports) {
4163
4166
 
4164
- module.exports = require("lodash");
4167
+ module.exports = require("sm-crypto");
4165
4168
 
4166
4169
  /***/ }),
4167
4170
  /* 12 */
@@ -4232,7 +4235,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4232
4235
  // ESM COMPAT FLAG
4233
4236
  __webpack_require__.r(__webpack_exports__);
4234
4237
 
4235
- // 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=1cfa44ef&
4238
+ // 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=2c29aadc&
4236
4239
  var render = function () {
4237
4240
  var _vm = this
4238
4241
  var _h = _vm.$createElement
@@ -4330,13 +4333,13 @@ var staticRenderFns = []
4330
4333
  render._withStripped = true
4331
4334
 
4332
4335
 
4333
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=1cfa44ef&
4336
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2c29aadc&
4334
4337
 
4335
4338
  // EXTERNAL MODULE: ./src/config/image.js
4336
4339
  var config_image = __webpack_require__(19);
4337
4340
 
4338
- // 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=784650e4&scoped=true&
4339
- var simplicityvue_type_template_id_784650e4_scoped_true_render = function () {
4341
+ // 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=3e646024&scoped=true&
4342
+ var simplicityvue_type_template_id_3e646024_scoped_true_render = function () {
4340
4343
  var _vm = this
4341
4344
  var _h = _vm.$createElement
4342
4345
  var _c = _vm._self._c || _h
@@ -4993,11 +4996,11 @@ var simplicityvue_type_template_id_784650e4_scoped_true_render = function () {
4993
4996
  ),
4994
4997
  ])
4995
4998
  }
4996
- var simplicityvue_type_template_id_784650e4_scoped_true_staticRenderFns = []
4997
- simplicityvue_type_template_id_784650e4_scoped_true_render._withStripped = true
4999
+ var simplicityvue_type_template_id_3e646024_scoped_true_staticRenderFns = []
5000
+ simplicityvue_type_template_id_3e646024_scoped_true_render._withStripped = true
4998
5001
 
4999
5002
 
5000
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=784650e4&scoped=true&
5003
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=3e646024&scoped=true&
5001
5004
 
5002
5005
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
5003
5006
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -6234,8 +6237,8 @@ var sub_menu_component = Object(componentNormalizer["a" /* default */])(
6234
6237
  )
6235
6238
 
6236
6239
  /* harmony default export */ var sub_menu = (sub_menu_component.exports);
6237
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/apps.vue?vue&type=template&id=71b9cb14&scoped=true&
6238
- var appsvue_type_template_id_71b9cb14_scoped_true_render = function () {
6240
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/apps.vue?vue&type=template&id=f63f92d4&scoped=true&
6241
+ var appsvue_type_template_id_f63f92d4_scoped_true_render = function () {
6239
6242
  var this$1 = this
6240
6243
  var _vm = this
6241
6244
  var _h = _vm.$createElement
@@ -6647,11 +6650,11 @@ var appsvue_type_template_id_71b9cb14_scoped_true_render = function () {
6647
6650
  ]
6648
6651
  )
6649
6652
  }
6650
- var appsvue_type_template_id_71b9cb14_scoped_true_staticRenderFns = []
6651
- appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
6653
+ var appsvue_type_template_id_f63f92d4_scoped_true_staticRenderFns = []
6654
+ appsvue_type_template_id_f63f92d4_scoped_true_render._withStripped = true
6652
6655
 
6653
6656
 
6654
- // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=71b9cb14&scoped=true&
6657
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=f63f92d4&scoped=true&
6655
6658
 
6656
6659
  // EXTERNAL MODULE: external "throttle-debounce"
6657
6660
  var external_throttle_debounce_ = __webpack_require__(12);
@@ -6951,7 +6954,7 @@ var external_throttle_debounce_ = __webpack_require__(12);
6951
6954
  beforeCreate: function beforeCreate() {
6952
6955
  var _this4 = this;
6953
6956
 
6954
- this.getApps = Object(external_throttle_debounce_["debounce"])(500, function () {
6957
+ this.getApps = Object(external_throttle_debounce_["throttle"])(500, function () {
6955
6958
  _this4.getApp();
6956
6959
  });
6957
6960
  },
@@ -7012,10 +7015,10 @@ var external_throttle_debounce_ = __webpack_require__(12);
7012
7015
  this.$emit('click', res);
7013
7016
  },
7014
7017
 
7015
- /**
7016
- * @desc:获取气泡提醒
7017
- * @author huangbo
7018
- * @date 2024年9月7日
7018
+ /**
7019
+ * @desc:获取气泡提醒
7020
+ * @author huangbo
7021
+ * @date 2024年9月7日
7019
7022
  **/
7020
7023
  getBadge: function getBadge(res) {
7021
7024
  var num = res.tips || 0;
@@ -7042,18 +7045,18 @@ var external_throttle_debounce_ = __webpack_require__(12);
7042
7045
 
7043
7046
  var apps_component = Object(componentNormalizer["a" /* default */])(
7044
7047
  simplicity_appsvue_type_script_lang_js_,
7045
- appsvue_type_template_id_71b9cb14_scoped_true_render,
7046
- appsvue_type_template_id_71b9cb14_scoped_true_staticRenderFns,
7048
+ appsvue_type_template_id_f63f92d4_scoped_true_render,
7049
+ appsvue_type_template_id_f63f92d4_scoped_true_staticRenderFns,
7047
7050
  false,
7048
7051
  null,
7049
- "71b9cb14",
7052
+ "f63f92d4",
7050
7053
  null
7051
7054
 
7052
7055
  )
7053
7056
 
7054
7057
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
7055
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=1d4b46d0&scoped=true&
7056
- var uservue_type_template_id_1d4b46d0_scoped_true_render = function () {
7058
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=4edda720&scoped=true&
7059
+ var uservue_type_template_id_4edda720_scoped_true_render = function () {
7057
7060
  var _vm = this
7058
7061
  var _h = _vm.$createElement
7059
7062
  var _c = _vm._self._c || _h
@@ -7214,11 +7217,11 @@ var uservue_type_template_id_1d4b46d0_scoped_true_render = function () {
7214
7217
  1
7215
7218
  )
7216
7219
  }
7217
- var uservue_type_template_id_1d4b46d0_scoped_true_staticRenderFns = []
7218
- uservue_type_template_id_1d4b46d0_scoped_true_render._withStripped = true
7220
+ var uservue_type_template_id_4edda720_scoped_true_staticRenderFns = []
7221
+ uservue_type_template_id_4edda720_scoped_true_render._withStripped = true
7219
7222
 
7220
7223
 
7221
- // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=1d4b46d0&scoped=true&
7224
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4edda720&scoped=true&
7222
7225
 
7223
7226
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=1c52f6d2&
7224
7227
  var userinfovue_type_template_id_1c52f6d2_render = function () {
@@ -7636,7 +7639,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7636
7639
  beforeCreate: function beforeCreate() {
7637
7640
  var _this = this;
7638
7641
 
7639
- this.setNoticeType = Object(external_throttle_debounce_["debounce"])(1000, function () {
7642
+ this.setNoticeType = Object(external_throttle_debounce_["throttle"])(1000, function () {
7640
7643
  _this.setNotice();
7641
7644
  });
7642
7645
  },
@@ -7782,11 +7785,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7782
7785
 
7783
7786
  var user_component = Object(componentNormalizer["a" /* default */])(
7784
7787
  simplicity_uservue_type_script_lang_js_,
7785
- uservue_type_template_id_1d4b46d0_scoped_true_render,
7786
- uservue_type_template_id_1d4b46d0_scoped_true_staticRenderFns,
7788
+ uservue_type_template_id_4edda720_scoped_true_render,
7789
+ uservue_type_template_id_4edda720_scoped_true_staticRenderFns,
7787
7790
  false,
7788
7791
  null,
7789
- "1d4b46d0",
7792
+ "4edda720",
7790
7793
  null
7791
7794
 
7792
7795
  )
@@ -9415,8 +9418,8 @@ var online_component = Object(componentNormalizer["a" /* default */])(
9415
9418
  )
9416
9419
 
9417
9420
  /* harmony default export */ var online = (online_component.exports);
9418
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=6c253fc4&
9419
- var searchvue_type_template_id_6c253fc4_render = function () {
9421
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=8b4f164a&
9422
+ var searchvue_type_template_id_8b4f164a_render = function () {
9420
9423
  var _vm = this
9421
9424
  var _h = _vm.$createElement
9422
9425
  var _c = _vm._self._c || _h
@@ -9643,6 +9646,7 @@ var searchvue_type_template_id_6c253fc4_render = function () {
9643
9646
  attrs: {
9644
9647
  label: item.name,
9645
9648
  name: item.id || String(index + 1),
9649
+ lazy: "",
9646
9650
  "element-loading-background": "rgba(0, 0, 0, 0.01)",
9647
9651
  "element-loading-text": "加载中...",
9648
9652
  },
@@ -9830,11 +9834,11 @@ var searchvue_type_template_id_6c253fc4_render = function () {
9830
9834
  1
9831
9835
  )
9832
9836
  }
9833
- var searchvue_type_template_id_6c253fc4_staticRenderFns = []
9834
- searchvue_type_template_id_6c253fc4_render._withStripped = true
9837
+ var searchvue_type_template_id_8b4f164a_staticRenderFns = []
9838
+ searchvue_type_template_id_8b4f164a_render._withStripped = true
9835
9839
 
9836
9840
 
9837
- // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=6c253fc4&
9841
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=8b4f164a&
9838
9842
 
9839
9843
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
9840
9844
  var searchvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -9977,6 +9981,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9977
9981
  //
9978
9982
  //
9979
9983
  //
9984
+ //
9980
9985
 
9981
9986
 
9982
9987
 
@@ -10068,10 +10073,12 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10068
10073
  beforeCreate: function beforeCreate() {
10069
10074
  var _this = this;
10070
10075
 
10071
- this.handleSearchAll = Object(external_throttle_debounce_["debounce"])(500, function (res) {
10076
+ this.handleSearchAll = Object(external_throttle_debounce_["throttle"])(500, function (res) {
10077
+ console.log(res, 999);
10072
10078
  _this.searchAll(res);
10073
10079
  });
10074
- this.handleSearchd = Object(external_throttle_debounce_["debounce"])(500, function (obj, index) {
10080
+ this.handleSearchd = Object(external_throttle_debounce_["throttle"])(500, function (obj, index) {
10081
+ console.log(obj, index, 6666);
10075
10082
  _this.handleSearch(obj, index, false);
10076
10083
  });
10077
10084
  },
@@ -10153,6 +10160,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10153
10160
  searchAll: function searchAll(keyWords) {
10154
10161
  for (var i = 0; i < this.types.length; i++) {
10155
10162
  var item = this.types[i];
10163
+ console.log(item, 8888);
10156
10164
  if (keyWords && !this.hides.includes(item.name) && !item.hide) {
10157
10165
  if (item.name == '菜单' && this.menus.length) {
10158
10166
  this.isLoading = false;
@@ -10213,6 +10221,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10213
10221
  handleSearch: function handleSearch(obj, index, reset) {
10214
10222
  var _this4 = this;
10215
10223
 
10224
+ console.log(obj, reset, 77777);
10216
10225
  if (obj.pageNum < obj.pageCount && this.keyWords) {
10217
10226
  this.$set(this.loadings, obj.id || String(index), true);
10218
10227
  if (this.active == '0') {
@@ -10296,8 +10305,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10296
10305
 
10297
10306
  var search_component = Object(componentNormalizer["a" /* default */])(
10298
10307
  public_searchvue_type_script_lang_js_,
10299
- searchvue_type_template_id_6c253fc4_render,
10300
- searchvue_type_template_id_6c253fc4_staticRenderFns,
10308
+ searchvue_type_template_id_8b4f164a_render,
10309
+ searchvue_type_template_id_8b4f164a_staticRenderFns,
10301
10310
  false,
10302
10311
  null,
10303
10312
  null,
@@ -11036,10 +11045,10 @@ var events = [function (tabs, index, that) {
11036
11045
  },
11037
11046
 
11038
11047
  methods: {
11039
- /**
11040
- * @desc:匹配路由
11041
- * @author huangbo
11042
- * @date 2024年9月7日
11048
+ /**
11049
+ * @desc:匹配路由
11050
+ * @author huangbo
11051
+ * @date 2024年9月7日
11043
11052
  **/
11044
11053
  hasRouter: function hasRouter(res, url, code) {
11045
11054
  if (!url) {
@@ -11083,10 +11092,10 @@ var events = [function (tabs, index, that) {
11083
11092
  return false;
11084
11093
  },
11085
11094
 
11086
- /**
11087
- * @desc:获取初始数据
11088
- * @author huangbo
11089
- * @date 2024年9月7日
11095
+ /**
11096
+ * @desc:获取初始数据
11097
+ * @author huangbo
11098
+ * @date 2024年9月7日
11090
11099
  **/
11091
11100
  init: function init(results, first) {
11092
11101
  this.setConfig(results);
@@ -11095,10 +11104,10 @@ var events = [function (tabs, index, that) {
11095
11104
  }
11096
11105
  },
11097
11106
 
11098
- /**
11099
- * @desc:设置用户配置及信息
11100
- * @author huangbo
11101
- * @date 2024年9月7日
11107
+ /**
11108
+ * @desc:设置用户配置及信息
11109
+ * @author huangbo
11110
+ * @date 2024年9月7日
11102
11111
  **/
11103
11112
  setConfig: function setConfig(results) {
11104
11113
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11228,10 +11237,10 @@ var events = [function (tabs, index, that) {
11228
11237
  }
11229
11238
  },
11230
11239
 
11231
- /**
11232
- * @desc:获取所有应用
11233
- * @author huangbo
11234
- * @date 2024年9月7日
11240
+ /**
11241
+ * @desc:获取所有应用
11242
+ * @author huangbo
11243
+ * @date 2024年9月7日
11235
11244
  **/
11236
11245
  getApplications: function getApplications() {
11237
11246
  var _this = this;
@@ -11279,10 +11288,10 @@ var events = [function (tabs, index, that) {
11279
11288
  });
11280
11289
  },
11281
11290
 
11282
- /**
11283
- * @desc:获取菜单列表
11284
- * @author huangbo
11285
- * @date 2024年9月7日
11291
+ /**
11292
+ * @desc:获取菜单列表
11293
+ * @author huangbo
11294
+ * @date 2024年9月7日
11286
11295
  **/
11287
11296
  getMenus: function getMenus(loading) {
11288
11297
  var _this2 = this;
@@ -11315,10 +11324,10 @@ var events = [function (tabs, index, that) {
11315
11324
  });
11316
11325
  },
11317
11326
 
11318
- /**
11319
- * @desc:处理菜单列表
11320
- * @author huangbo
11321
- * @date 2024年9月7日
11327
+ /**
11328
+ * @desc:处理菜单列表
11329
+ * @author huangbo
11330
+ * @date 2024年9月7日
11322
11331
  **/
11323
11332
  renderMenus: function renderMenus(res) {
11324
11333
  this.menus = res;
@@ -11408,10 +11417,10 @@ var events = [function (tabs, index, that) {
11408
11417
  }
11409
11418
  },
11410
11419
 
11411
- /**
11412
- * @desc:设置页面加载类型
11413
- * @author huangbo
11414
- * @date 2024年9月7日
11420
+ /**
11421
+ * @desc:设置页面加载类型
11422
+ * @author huangbo
11423
+ * @date 2024年9月7日
11415
11424
  **/
11416
11425
  setIframeType: function setIframeType(res) {
11417
11426
  var url = res.url;
@@ -11467,10 +11476,10 @@ var events = [function (tabs, index, that) {
11467
11476
  return res;
11468
11477
  },
11469
11478
 
11470
- /**
11471
- * @desc:获取菜单
11472
- * @author huangbo
11473
- * @date 2024年9月7日
11479
+ /**
11480
+ * @desc:获取菜单
11481
+ * @author huangbo
11482
+ * @date 2024年9月7日
11474
11483
  **/
11475
11484
  getMenu: function getMenu(menus, res, key) {
11476
11485
  if (Array.isArray(menus)) {
@@ -11499,10 +11508,10 @@ var events = [function (tabs, index, that) {
11499
11508
  return false;
11500
11509
  },
11501
11510
 
11502
- /**
11503
- * @desc:获取菜单第一条数据
11504
- * @author huangbo
11505
- * @date 2024年9月7日
11511
+ /**
11512
+ * @desc:获取菜单第一条数据
11513
+ * @author huangbo
11514
+ * @date 2024年9月7日
11506
11515
  **/
11507
11516
  getFirst: function getFirst(obj) {
11508
11517
  if (!obj) {
@@ -11521,10 +11530,10 @@ var events = [function (tabs, index, that) {
11521
11530
  }
11522
11531
  },
11523
11532
 
11524
- /**
11525
- * @desc:遍历设置菜单气泡提醒
11526
- * @author huangbo
11527
- * @date 2024年9月7日
11533
+ /**
11534
+ * @desc:遍历设置菜单气泡提醒
11535
+ * @author huangbo
11536
+ * @date 2024年9月7日
11528
11537
  **/
11529
11538
  setTips: function setTips(obj) {
11530
11539
  var _this3 = this;
@@ -11587,10 +11596,10 @@ var events = [function (tabs, index, that) {
11587
11596
  }
11588
11597
  },
11589
11598
 
11590
- /**
11591
- * @desc:获取气泡提醒
11592
- * @author huangbo
11593
- * @date 2024年9月7日
11599
+ /**
11600
+ * @desc:获取气泡提醒
11601
+ * @author huangbo
11602
+ * @date 2024年9月7日
11594
11603
  **/
11595
11604
  getBadge: function getBadge(res) {
11596
11605
  var num = res.tips || 0;
@@ -11604,10 +11613,10 @@ var events = [function (tabs, index, that) {
11604
11613
  };
11605
11614
  },
11606
11615
 
11607
- /**
11608
- * @desc:开启weosocket
11609
- * @author huangbo
11610
- * @date 2024年9月7日
11616
+ /**
11617
+ * @desc:开启weosocket
11618
+ * @author huangbo
11619
+ * @date 2024年9月7日
11611
11620
  **/
11612
11621
  initWebSocket: function initWebSocket() {
11613
11622
  var _this5 = this;
@@ -11655,10 +11664,10 @@ var events = [function (tabs, index, that) {
11655
11664
  });
11656
11665
  },
11657
11666
 
11658
- /**
11659
- * @desc:显示用户信息
11660
- * @author huangbo
11661
- * @date 2024年9月7日
11667
+ /**
11668
+ * @desc:显示用户信息
11669
+ * @author huangbo
11670
+ * @date 2024年9月7日
11662
11671
  **/
11663
11672
  showUserInfo: function showUserInfo() {
11664
11673
  if (this.showUser === false) {
@@ -11666,19 +11675,19 @@ var events = [function (tabs, index, that) {
11666
11675
  }
11667
11676
  },
11668
11677
 
11669
- /**
11670
- * @desc:删除更多应用菜单点击
11671
- * @author huangbo
11672
- * @date 2024年9月7日
11678
+ /**
11679
+ * @desc:删除更多应用菜单点击
11680
+ * @author huangbo
11681
+ * @date 2024年9月7日
11673
11682
  **/
11674
11683
  handleDelete: function handleDelete(index) {
11675
11684
  this.newApps.splice(index, 1);
11676
11685
  },
11677
11686
 
11678
- /**
11679
- * @desc:储存更多应用菜单点击
11680
- * @author huangbo
11681
- * @date 2024年9月7日
11687
+ /**
11688
+ * @desc:储存更多应用菜单点击
11689
+ * @author huangbo
11690
+ * @date 2024年9月7日
11682
11691
  **/
11683
11692
  handlerClickApps: function handlerClickApps(res) {
11684
11693
  if (res.permission === false) {
@@ -11691,10 +11700,10 @@ var events = [function (tabs, index, that) {
11691
11700
  this.handlerClickApp(res);
11692
11701
  },
11693
11702
 
11694
- /**
11695
- * @desc:侧边应用菜单点击
11696
- * @author huangbo
11697
- * @date 2024年9月7日
11703
+ /**
11704
+ * @desc:侧边应用菜单点击
11705
+ * @author huangbo
11706
+ * @date 2024年9月7日
11698
11707
  **/
11699
11708
  handlerClickApp: function handlerClickApp(res) {
11700
11709
  this.showMsg = false;
@@ -11781,10 +11790,10 @@ var events = [function (tabs, index, that) {
11781
11790
  }
11782
11791
  },
11783
11792
 
11784
- /**
11785
- * @desc:显示Drawer界面
11786
- * @author huangbo
11787
- * @date 2024年9月7日
11793
+ /**
11794
+ * @desc:显示Drawer界面
11795
+ * @author huangbo
11796
+ * @date 2024年9月7日
11788
11797
  **/
11789
11798
  handlerSetDrawer: function handlerSetDrawer(res, type) {
11790
11799
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -11804,19 +11813,19 @@ var events = [function (tabs, index, that) {
11804
11813
  }
11805
11814
  },
11806
11815
 
11807
- /**
11808
- * @desc:关闭Drawer界面
11809
- * @author huangbo
11810
- * @date 2024年9月7日
11816
+ /**
11817
+ * @desc:关闭Drawer界面
11818
+ * @author huangbo
11819
+ * @date 2024年9月7日
11811
11820
  **/
11812
11821
  handleCloseDrawer: function handleCloseDrawer() {
11813
11822
  this.drawer = { visible: false };
11814
11823
  },
11815
11824
 
11816
- /**
11817
- * @desc:菜单点击
11818
- * @author huangbo
11819
- * @date 2024年9月7日
11825
+ /**
11826
+ * @desc:菜单点击
11827
+ * @author huangbo
11828
+ * @date 2024年9月7日
11820
11829
  **/
11821
11830
  handlerClickMenu: function handlerClickMenu(res) {
11822
11831
  util["a" /* default */].ajax({
@@ -11855,19 +11864,19 @@ var events = [function (tabs, index, that) {
11855
11864
  },
11856
11865
 
11857
11866
 
11858
- /**
11859
- * @desc:用户详情请求成功
11860
- * @author huangbo
11861
- * @date 2024年9月7日
11867
+ /**
11868
+ * @desc:用户详情请求成功
11869
+ * @author huangbo
11870
+ * @date 2024年9月7日
11862
11871
  **/
11863
11872
  handleSuccess: function handleSuccess(res) {
11864
11873
  this.simpleUserInfo = res.simpleUserInfo;
11865
11874
  },
11866
11875
 
11867
- /**
11868
- * @desc:修改用户配置
11869
- * @author huangbo
11870
- * @date 2024年9月7日
11876
+ /**
11877
+ * @desc:修改用户配置
11878
+ * @author huangbo
11879
+ * @date 2024年9月7日
11871
11880
  **/
11872
11881
  handleChangeConfig: function handleChangeConfig(name, res) {
11873
11882
  if (name == 'userHeadUrl') {
@@ -11883,10 +11892,10 @@ var events = [function (tabs, index, that) {
11883
11892
  }
11884
11893
  },
11885
11894
 
11886
- /**
11887
- * @desc:关闭webSocket
11888
- * @author huangbo
11889
- * @date 2024年9月7日
11895
+ /**
11896
+ * @desc:关闭webSocket
11897
+ * @author huangbo
11898
+ * @date 2024年9月7日
11890
11899
  **/
11891
11900
  handlerClose: function handlerClose() {
11892
11901
  if (this.webSocket) {
@@ -11894,10 +11903,10 @@ var events = [function (tabs, index, that) {
11894
11903
  }
11895
11904
  },
11896
11905
 
11897
- /**
11898
- * @desc:刷新选中iframe页签
11899
- * @author huangbo
11900
- * @date 2024年9月7日
11906
+ /**
11907
+ * @desc:刷新选中iframe页签
11908
+ * @author huangbo
11909
+ * @date 2024年9月7日
11901
11910
  **/
11902
11911
  handleRefresh: function handleRefresh() {
11903
11912
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -11918,10 +11927,10 @@ var events = [function (tabs, index, that) {
11918
11927
  }
11919
11928
  },
11920
11929
 
11921
- /**
11922
- * @desc:删除iframe
11923
- * @author huangbo
11924
- * @date 2024年9月7日
11930
+ /**
11931
+ * @desc:删除iframe
11932
+ * @author huangbo
11933
+ * @date 2024年9月7日
11925
11934
  **/
11926
11935
  handleRemove: function handleRemove(name) {
11927
11936
  var len = this.tabs.length - 1;
@@ -11938,10 +11947,10 @@ var events = [function (tabs, index, that) {
11938
11947
  }
11939
11948
  },
11940
11949
 
11941
- /**
11942
- * @desc:tabs鼠标右键事件
11943
- * @author huangbo
11944
- * @date 2024年9月7日
11950
+ /**
11951
+ * @desc:tabs鼠标右键事件
11952
+ * @author huangbo
11953
+ * @date 2024年9月7日
11945
11954
  **/
11946
11955
  handleContextmenu: function handleContextmenu(tabs, e) {
11947
11956
  var disabled = {};
@@ -11966,10 +11975,10 @@ var events = [function (tabs, index, that) {
11966
11975
  window.addEventListener('click', this.closeTabsEvents);
11967
11976
  },
11968
11977
 
11969
- /**
11970
- * @desc:tabs页签事件
11971
- * @author huangbo
11972
- * @date 2024年9月7日
11978
+ /**
11979
+ * @desc:tabs页签事件
11980
+ * @author huangbo
11981
+ * @date 2024年9月7日
11973
11982
  **/
11974
11983
  handleTabsEvents: function handleTabsEvents(num) {
11975
11984
  if (this.pane !== null) {
@@ -11987,10 +11996,10 @@ var events = [function (tabs, index, that) {
11987
11996
  window.removeEventListener('click', this.closeTabsEvents);
11988
11997
  },
11989
11998
 
11990
- /**
11991
- * @desc:handler工具栏点击事件
11992
- * @author huangbo
11993
- * @date 2024年9月7日
11999
+ /**
12000
+ * @desc:handler工具栏点击事件
12001
+ * @author huangbo
12002
+ * @date 2024年9月7日
11994
12003
  **/
11995
12004
  handleClick: function handleClick(res) {
11996
12005
  var type = res.type,
@@ -12068,10 +12077,10 @@ var events = [function (tabs, index, that) {
12068
12077
  this.$emit('handler-click', res);
12069
12078
  },
12070
12079
 
12071
- /**
12072
- * @desc:退出登录
12073
- * @author huangbo
12074
- * @date 2024年9月7日
12080
+ /**
12081
+ * @desc:退出登录
12082
+ * @author huangbo
12083
+ * @date 2024年9月7日
12075
12084
  **/
12076
12085
  handleQuit: function handleQuit() {
12077
12086
  var _this6 = this;
@@ -12146,10 +12155,10 @@ var events = [function (tabs, index, that) {
12146
12155
  }).catch(function (e) {});
12147
12156
  },
12148
12157
 
12149
- /**
12150
- * @desc:主题、消息回调
12151
- * @author huangbo
12152
- * @date 2024年9月7日
12158
+ /**
12159
+ * @desc:主题、消息回调
12160
+ * @author huangbo
12161
+ * @date 2024年9月7日
12153
12162
  **/
12154
12163
  handleChange: function handleChange(res) {
12155
12164
  var type = res.type,
@@ -12165,10 +12174,10 @@ var events = [function (tabs, index, that) {
12165
12174
  }
12166
12175
  },
12167
12176
 
12168
- /**
12169
- * @desc:菜单布局样式切换
12170
- * @author huangbo
12171
- * @date 2024年9月7日
12177
+ /**
12178
+ * @desc:菜单布局样式切换
12179
+ * @author huangbo
12180
+ * @date 2024年9月7日
12172
12181
  **/
12173
12182
  handleLayout: function handleLayout(res, active) {
12174
12183
  if (active) {
@@ -12177,10 +12186,10 @@ var events = [function (tabs, index, that) {
12177
12186
  this.$emit('chang-layout', res, active);
12178
12187
  },
12179
12188
 
12180
- /**
12181
- * @desc:消息修改总数
12182
- * @author huangbo
12183
- * @date 2024年9月7日
12189
+ /**
12190
+ * @desc:消息修改总数
12191
+ * @author huangbo
12192
+ * @date 2024年9月7日
12184
12193
  **/
12185
12194
  handleMenuTips: function handleMenuTips(id, num) {
12186
12195
  if (num) {
@@ -12191,10 +12200,10 @@ var events = [function (tabs, index, that) {
12191
12200
  }
12192
12201
  },
12193
12202
 
12194
- /**
12195
- * @desc:处理即时消息
12196
- * @author huangbo
12197
- * @date 2024年9月7日
12203
+ /**
12204
+ * @desc:处理即时消息
12205
+ * @author huangbo
12206
+ * @date 2024年9月7日
12198
12207
  **/
12199
12208
  handleOpened: function handleOpened(res) {
12200
12209
  var _this7 = this;
@@ -12210,14 +12219,16 @@ var events = [function (tabs, index, that) {
12210
12219
  }
12211
12220
  },
12212
12221
  jumpMenu: function jumpMenu(res, close) {
12222
+ var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
12223
+
12213
12224
  var apps = res;
12214
- var param = null;
12225
+ var param = params;
12215
12226
  var reload = true;
12216
12227
  if (typeof res === 'string') {
12217
12228
  apps = res.split(',');
12218
12229
  } else if ((typeof res === 'undefined' ? 'undefined' : simplicityvue_type_script_lang_js_typeof(res)) === 'object') {
12219
12230
  apps = res.appCode.split(',');
12220
- param = res.param;
12231
+ res.param && (param = simplicityvue_type_script_lang_js_extends({}, res.param, params));
12221
12232
  reload = Object.prototype.hasOwnProperty.call(res, 'reload') ? res.reload : true;
12222
12233
  }
12223
12234
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
@@ -12315,18 +12326,18 @@ var events = [function (tabs, index, that) {
12315
12326
 
12316
12327
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
12317
12328
  src_simplicityvue_type_script_lang_js_,
12318
- simplicityvue_type_template_id_784650e4_scoped_true_render,
12319
- simplicityvue_type_template_id_784650e4_scoped_true_staticRenderFns,
12329
+ simplicityvue_type_template_id_3e646024_scoped_true_render,
12330
+ simplicityvue_type_template_id_3e646024_scoped_true_staticRenderFns,
12320
12331
  false,
12321
12332
  null,
12322
- "784650e4",
12333
+ "3e646024",
12323
12334
  null
12324
12335
 
12325
12336
  )
12326
12337
 
12327
12338
  /* harmony default export */ var simplicity = (simplicity_component.exports);
12328
- // 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=df901c8a&
12329
- var defaultvue_type_template_id_df901c8a_render = function () {
12339
+ // 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=51c8d794&
12340
+ var defaultvue_type_template_id_51c8d794_render = function () {
12330
12341
  var _vm = this
12331
12342
  var _h = _vm.$createElement
12332
12343
  var _c = _vm._self._c || _h
@@ -12877,11 +12888,11 @@ var defaultvue_type_template_id_df901c8a_render = function () {
12877
12888
  1
12878
12889
  )
12879
12890
  }
12880
- var defaultvue_type_template_id_df901c8a_staticRenderFns = []
12881
- defaultvue_type_template_id_df901c8a_render._withStripped = true
12891
+ var defaultvue_type_template_id_51c8d794_staticRenderFns = []
12892
+ defaultvue_type_template_id_51c8d794_render._withStripped = true
12882
12893
 
12883
12894
 
12884
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=df901c8a&
12895
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=51c8d794&
12885
12896
 
12886
12897
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=516cb128&
12887
12898
  var userinfovue_type_template_id_516cb128_render = function () {
@@ -15336,6 +15347,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
15336
15347
  }
15337
15348
  } else if (item.url == url) {
15338
15349
  return item.id;
15350
+ } else if (item.url && url.indexOf(item.url) > -1) {
15351
+ return item.id;
15339
15352
  } else {
15340
15353
  if (item.url) {
15341
15354
  try {
@@ -15841,7 +15854,11 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
15841
15854
  if (node.url) {
15842
15855
  this.selectPage = node.url;
15843
15856
  this.refresh = false;
15844
- this.handleJump(node.url, Number(node.urlopenmode), node);
15857
+ var _type = Number(node.urlopenmode);
15858
+ if (_type != 1) {
15859
+ this.drawer.visible = false;
15860
+ }
15861
+ this.handleJump(node.url, _type, node);
15845
15862
  }
15846
15863
  },
15847
15864
  hasRouter: function hasRouter(res, url) {
@@ -16312,8 +16329,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
16312
16329
 
16313
16330
  var default_component = Object(componentNormalizer["a" /* default */])(
16314
16331
  src_defaultvue_type_script_lang_js_,
16315
- defaultvue_type_template_id_df901c8a_render,
16316
- defaultvue_type_template_id_df901c8a_staticRenderFns,
16332
+ defaultvue_type_template_id_51c8d794_render,
16333
+ defaultvue_type_template_id_51c8d794_staticRenderFns,
16317
16334
  false,
16318
16335
  null,
16319
16336
  null,
@@ -16326,6 +16343,9 @@ var default_component = Object(componentNormalizer["a" /* default */])(
16326
16343
  var external_wujie_vue2_ = __webpack_require__(16);
16327
16344
  var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wujie_vue2_);
16328
16345
 
16346
+ // EXTERNAL MODULE: external "lodash"
16347
+ var external_lodash_ = __webpack_require__(10);
16348
+
16329
16349
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&
16330
16350
  function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
16331
16351
 
@@ -16383,6 +16403,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
16383
16403
 
16384
16404
 
16385
16405
 
16406
+
16386
16407
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
16387
16408
  name: 'EsMain',
16388
16409
  inheritAttrs: false,
@@ -16481,6 +16502,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
16481
16502
  });
16482
16503
 
16483
16504
  window.addEventListener('message', function (e) {
16505
+ var _$refs$main;
16506
+
16484
16507
  var _e$data = e.data,
16485
16508
  method = _e$data.method,
16486
16509
  args = _e$data.args;
@@ -16493,7 +16516,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
16493
16516
  _this.$refs.main.handleRefresh(args);
16494
16517
  break;
16495
16518
  case 'jumpMenu':
16496
- _this.$refs.main.jumpMenu(args);
16519
+ Array.isArray(args) ? (_$refs$main = _this.$refs.main).jumpMenu.apply(_$refs$main, args) : _this.$refs.main.jumpMenu(args);
16497
16520
  break;
16498
16521
  case 'emit':
16499
16522
  var origin = args.origin,