eoss-ui 0.6.39 → 0.6.41

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 (295) hide show
  1. package/lib/button-group.js +48 -6
  2. package/lib/button.js +48 -6
  3. package/lib/checkbox-group.js +48 -6
  4. package/lib/data-table-form.js +48 -6
  5. package/lib/data-table.js +67 -22
  6. package/lib/date-picker.js +48 -6
  7. package/lib/dialog.js +48 -6
  8. package/lib/eoss-ui.common.js +1393 -955
  9. package/lib/flow-group.js +48 -6
  10. package/lib/flow-list.js +129 -87
  11. package/lib/flow.js +360 -321
  12. package/lib/form.js +48 -6
  13. package/lib/handle-user.js +48 -6
  14. package/lib/handler.js +195 -82
  15. package/lib/icon.js +48 -6
  16. package/lib/icons.js +1 -1
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +48 -6
  19. package/lib/input.js +48 -6
  20. package/lib/login.js +291 -166
  21. package/lib/main.js +504 -251
  22. package/lib/nav.js +48 -6
  23. package/lib/page.js +48 -6
  24. package/lib/pagination.js +48 -6
  25. package/lib/player.js +48 -6
  26. package/lib/qr-code.js +61 -19
  27. package/lib/radio-group.js +48 -6
  28. package/lib/retrial-auth.js +48 -6
  29. package/lib/select-ganged.js +48 -6
  30. package/lib/select.js +48 -6
  31. package/lib/selector-panel.js +50 -9
  32. package/lib/selector.js +85 -11
  33. package/lib/sizer.js +48 -6
  34. package/lib/steps.js +48 -6
  35. package/lib/switch.js +48 -6
  36. package/lib/table-form.js +48 -6
  37. package/lib/tabs.js +48 -6
  38. package/lib/theme-chalk/base.css +1 -1
  39. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  40. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  41. package/lib/theme-chalk/icon.css +1 -1
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/theme-chalk/login.css +1 -1
  44. package/lib/theme-chalk/main.css +1 -1
  45. package/lib/theme-chalk/menu.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/theme-chalk/sizer.css +1 -1
  48. package/lib/theme-chalk/upload.css +1 -1
  49. package/lib/tips.js +48 -6
  50. package/lib/tree-group.js +48 -6
  51. package/lib/tree.js +48 -6
  52. package/lib/upload.js +48 -6
  53. package/lib/utils/util.js +48 -6
  54. package/lib/wujie.js +48 -6
  55. package/lib/wxlogin.js +48 -6
  56. package/package.json +159 -159
  57. package/packages/.DS_Store +0 -0
  58. package/packages/button/index.js +5 -5
  59. package/packages/button/src/main.vue +418 -418
  60. package/packages/button-group/index.js +5 -5
  61. package/packages/button-group/src/main.vue +298 -298
  62. package/packages/calendar/index.js +5 -5
  63. package/packages/card/index.js +5 -5
  64. package/packages/card/src/main.vue +156 -156
  65. package/packages/cascader/index.js +5 -5
  66. package/packages/cascader/src/main.vue +168 -168
  67. package/packages/checkbox-group/index.js +5 -5
  68. package/packages/checkbox-group/src/main.vue +333 -333
  69. package/packages/clients/index.js +5 -5
  70. package/packages/clients/src/main.vue +144 -144
  71. package/packages/data-table/.DS_Store +0 -0
  72. package/packages/data-table/index.js +5 -5
  73. package/packages/data-table/src/children.vue +39 -39
  74. package/packages/data-table/src/column.vue +989 -983
  75. package/packages/data-table/src/main.vue +1822 -1820
  76. package/packages/data-table/src/sizer.vue +195 -195
  77. package/packages/data-table-form/.DS_Store +0 -0
  78. package/packages/data-table-form/index.js +5 -5
  79. package/packages/data-table-form/src/checkbox.vue +101 -101
  80. package/packages/data-table-form/src/colgroup.vue +17 -17
  81. package/packages/data-table-form/src/main.vue +181 -181
  82. package/packages/data-table-form/src/radio.vue +65 -65
  83. package/packages/data-table-form/src/table.vue +233 -233
  84. package/packages/data-table-form/src/tbody.vue +336 -336
  85. package/packages/data-table-form/src/thead.vue +68 -68
  86. package/packages/date-picker/index.js +5 -5
  87. package/packages/date-picker/src/main.vue +236 -236
  88. package/packages/dialog/index.js +5 -5
  89. package/packages/enterprise/index.js +5 -5
  90. package/packages/enterprise/src/main.vue +66 -66
  91. package/packages/error-page/.DS_Store +0 -0
  92. package/packages/error-page/index.js +5 -5
  93. package/packages/error-page/src/main.vue +44 -44
  94. package/packages/flow/.DS_Store +0 -0
  95. package/packages/flow/index.js +5 -5
  96. package/packages/flow/src/component/CommonOpinions.vue +345 -345
  97. package/packages/flow/src/component/CustomPreset.vue +322 -322
  98. package/packages/flow/src/component/FileList.vue +99 -99
  99. package/packages/flow/src/component/Preset.vue +255 -255
  100. package/packages/flow/src/component/SendMsg.vue +229 -229
  101. package/packages/flow/src/component/TimeLimit.vue +190 -190
  102. package/packages/flow/src/component/taskUnionExamine.vue +611 -603
  103. package/packages/flow/src/form.vue +121 -121
  104. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  105. package/packages/flow/src/main.vue +2862 -2864
  106. package/packages/flow/src/processForm.vue +1018 -1007
  107. package/packages/flow/src/processReject.vue +293 -293
  108. package/packages/flow/src/reset.vue +899 -901
  109. package/packages/flow/src/startTaskRead.vue +596 -596
  110. package/packages/flow/src/table.vue +58 -58
  111. package/packages/flow-group/index.js +5 -5
  112. package/packages/flow-group/src/main.vue +688 -688
  113. package/packages/flow-list/index.js +5 -5
  114. package/packages/flow-list/src/main.vue +1172 -1172
  115. package/packages/form/.DS_Store +0 -0
  116. package/packages/form/index.js +5 -5
  117. package/packages/form/src/main.vue +3584 -3584
  118. package/packages/form/src/table.vue +1420 -1420
  119. package/packages/handle-user/index.js +5 -5
  120. package/packages/handle-user/src/main.vue +138 -138
  121. package/packages/handler/index.js +5 -5
  122. package/packages/handler/src/main.vue +474 -388
  123. package/packages/icon/index.js +5 -5
  124. package/packages/icon/src/main.vue +101 -101
  125. package/packages/icons/index.js +5 -5
  126. package/packages/icons/src/icon.json +1 -1
  127. package/packages/icons/src/main.vue +81 -81
  128. package/packages/input/index.js +5 -5
  129. package/packages/input/src/main.vue +356 -356
  130. package/packages/input-number/index.js +5 -5
  131. package/packages/input-number/src/main.vue +106 -106
  132. package/packages/label/index.js +5 -5
  133. package/packages/label/src/main.vue +457 -457
  134. package/packages/layout/index.js +5 -5
  135. package/packages/layout/src/item.vue +152 -152
  136. package/packages/layout/src/main.vue +31 -31
  137. package/packages/login/.DS_Store +0 -0
  138. package/packages/login/index.js +5 -5
  139. package/packages/login/src/main.vue +1935 -1892
  140. package/packages/login/src/resetPassword.vue +562 -562
  141. package/packages/main/.DS_Store +0 -0
  142. package/packages/main/index.js +5 -5
  143. package/packages/main/src/.DS_Store +0 -0
  144. package/packages/main/src/default/index.vue +32 -3
  145. package/packages/main/src/default/message.vue +249 -249
  146. package/packages/main/src/default/notice.vue +157 -157
  147. package/packages/main/src/default/userinfo.vue +505 -505
  148. package/packages/main/src/public/online.vue +89 -89
  149. package/packages/main/src/public/search.vue +461 -454
  150. package/packages/main/src/public/settings.vue +221 -221
  151. package/packages/main/src/simplicity/apps.vue +388 -388
  152. package/packages/main/src/simplicity/avatar.vue +82 -82
  153. package/packages/main/src/simplicity/handler.vue +259 -221
  154. package/packages/main/src/simplicity/index.vue +2047 -1993
  155. package/packages/main/src/simplicity/lists.vue +84 -84
  156. package/packages/main/src/simplicity/menu-list.vue +128 -128
  157. package/packages/main/src/simplicity/message.vue +259 -259
  158. package/packages/main/src/simplicity/notice.vue +190 -190
  159. package/packages/main/src/simplicity/router-page.vue +45 -45
  160. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  161. package/packages/main/src/simplicity/user.vue +257 -257
  162. package/packages/main/src/simplicity/userinfo.vue +312 -312
  163. package/packages/menu/index.js +5 -5
  164. package/packages/menu/src/main.vue +536 -536
  165. package/packages/nav/index.js +5 -5
  166. package/packages/nav/src/main.vue +402 -402
  167. package/packages/notify/index.js +5 -5
  168. package/packages/notify/src/main.vue +538 -538
  169. package/packages/page/index.js +5 -5
  170. package/packages/page/src/main.vue +167 -167
  171. package/packages/pagination/index.js +5 -5
  172. package/packages/pagination/src/main.vue +96 -96
  173. package/packages/player/index.js +5 -5
  174. package/packages/player/src/main.vue +194 -194
  175. package/packages/qr-code/index.js +5 -5
  176. package/packages/qr-code/src/main.vue +170 -170
  177. package/packages/radio-group/index.js +6 -6
  178. package/packages/radio-group/src/main.vue +319 -319
  179. package/packages/retrial-auth/index.js +5 -5
  180. package/packages/retrial-auth/src/main.vue +280 -280
  181. package/packages/select/index.js +5 -5
  182. package/packages/select/src/main.vue +775 -775
  183. package/packages/select-ganged/index.js +5 -5
  184. package/packages/select-ganged/src/main.vue +724 -724
  185. package/packages/selector/.DS_Store +0 -0
  186. package/packages/selector/index.js +5 -5
  187. package/packages/selector/src/main.vue +689 -677
  188. package/packages/selector-panel/.DS_Store +0 -0
  189. package/packages/selector-panel/index.js +5 -5
  190. package/packages/selector-panel/src/main.vue +1027 -1028
  191. package/packages/selector-panel/src/selection.vue +177 -177
  192. package/packages/selector-panel/src/tree.vue +129 -129
  193. package/packages/sizer/.DS_Store +0 -0
  194. package/packages/sizer/index.js +5 -5
  195. package/packages/sizer/src/main.vue +254 -254
  196. package/packages/steps/index.js +5 -5
  197. package/packages/steps/src/main.vue +181 -181
  198. package/packages/switch/index.js +5 -5
  199. package/packages/switch/src/main.vue +154 -154
  200. package/packages/table-form/index.js +5 -5
  201. package/packages/tabs/.DS_Store +0 -0
  202. package/packages/tabs/index.js +5 -5
  203. package/packages/tabs/src/main.vue +788 -788
  204. package/packages/tabs-panel/index.js +5 -5
  205. package/packages/tabs-panel/src/main.vue +29 -29
  206. package/packages/theme-chalk/lib/base.css +1 -1
  207. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  208. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  209. package/packages/theme-chalk/lib/icon.css +1 -1
  210. package/packages/theme-chalk/lib/index.css +1 -1
  211. package/packages/theme-chalk/lib/login.css +1 -1
  212. package/packages/theme-chalk/lib/main.css +1 -1
  213. package/packages/theme-chalk/lib/menu.css +1 -1
  214. package/packages/theme-chalk/lib/simplicity.css +1 -1
  215. package/packages/theme-chalk/lib/sizer.css +1 -1
  216. package/packages/theme-chalk/lib/upload.css +1 -1
  217. package/packages/theme-chalk/src/.DS_Store +0 -0
  218. package/packages/theme-chalk/src/base.scss +260 -260
  219. package/packages/theme-chalk/src/button-group.scss +175 -175
  220. package/packages/theme-chalk/src/button.scss +24 -24
  221. package/packages/theme-chalk/src/calendar.scss +113 -113
  222. package/packages/theme-chalk/src/card.scss +99 -99
  223. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  224. package/packages/theme-chalk/src/clients.scss +87 -87
  225. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  226. package/packages/theme-chalk/src/data-table.scss +293 -293
  227. package/packages/theme-chalk/src/date-picker.scss +7 -7
  228. package/packages/theme-chalk/src/dialog.scss +77 -77
  229. package/packages/theme-chalk/src/enterprise.scss +5 -5
  230. package/packages/theme-chalk/src/error-page.scss +18 -18
  231. package/packages/theme-chalk/src/flow-group.scss +110 -110
  232. package/packages/theme-chalk/src/flow-list.scss +36 -36
  233. package/packages/theme-chalk/src/flow.scss +310 -310
  234. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  235. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  236. package/packages/theme-chalk/src/form.scss +496 -496
  237. package/packages/theme-chalk/src/handle-user.scss +40 -40
  238. package/packages/theme-chalk/src/handler.scss +143 -143
  239. package/packages/theme-chalk/src/icon.scss +1789 -1760
  240. package/packages/theme-chalk/src/icons.scss +99 -99
  241. package/packages/theme-chalk/src/input.scss +9 -9
  242. package/packages/theme-chalk/src/label.scss +24 -24
  243. package/packages/theme-chalk/src/layout.scss +46 -46
  244. package/packages/theme-chalk/src/login.scss +947 -939
  245. package/packages/theme-chalk/src/main.scss +639 -632
  246. package/packages/theme-chalk/src/menu.scss +222 -222
  247. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  248. package/packages/theme-chalk/src/nav.scss +125 -125
  249. package/packages/theme-chalk/src/page.scss +3 -3
  250. package/packages/theme-chalk/src/pagination.scss +29 -29
  251. package/packages/theme-chalk/src/player.scss +9 -9
  252. package/packages/theme-chalk/src/qr-code.scss +17 -17
  253. package/packages/theme-chalk/src/radio-group.scss +9 -9
  254. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  255. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  256. package/packages/theme-chalk/src/select.scss +8 -8
  257. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  258. package/packages/theme-chalk/src/selector.scss +91 -91
  259. package/packages/theme-chalk/src/simplicity.scss +1262 -1262
  260. package/packages/theme-chalk/src/sizer.scss +36 -36
  261. package/packages/theme-chalk/src/steps.scss +88 -88
  262. package/packages/theme-chalk/src/switch.scss +3 -3
  263. package/packages/theme-chalk/src/table-form.scss +1 -1
  264. package/packages/theme-chalk/src/tabs.scss +87 -87
  265. package/packages/theme-chalk/src/tips.scss +7 -7
  266. package/packages/theme-chalk/src/toolbar.scss +179 -179
  267. package/packages/theme-chalk/src/tree-group.scss +72 -72
  268. package/packages/theme-chalk/src/tree.scss +165 -165
  269. package/packages/theme-chalk/src/upload.scss +167 -167
  270. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  271. package/packages/tips/index.js +5 -5
  272. package/packages/tips/src/main.vue +141 -141
  273. package/packages/toolbar/index.js +5 -5
  274. package/packages/toolbar/src/main.vue +430 -430
  275. package/packages/tree/index.js +5 -5
  276. package/packages/tree-group/index.js +5 -5
  277. package/packages/upload/.DS_Store +0 -0
  278. package/packages/upload/index.js +5 -5
  279. package/packages/upload/src/main.vue +1334 -1334
  280. package/packages/upload/src/picture.js +15 -15
  281. package/packages/wujie/index.js +5 -5
  282. package/packages/wujie/src/main.vue +145 -145
  283. package/packages/wxlogin/index.js +5 -5
  284. package/packages/wxlogin/src/main.vue +128 -128
  285. package/src/.DS_Store +0 -0
  286. package/src/config/api.js +248 -248
  287. package/src/config/image.js +2 -2
  288. package/src/index.js +157 -157
  289. package/src/utils/bus.js +3 -3
  290. package/src/utils/date-util.js +312 -312
  291. package/src/utils/http.js +50 -50
  292. package/src/utils/rules.js +18 -18
  293. package/src/utils/store.js +21 -21
  294. package/src/utils/util.js +146 -106
  295. package/src/utils/webSocket.js +107 -107
package/lib/main.js CHANGED
@@ -547,10 +547,19 @@ var ajaxStream = function ajaxStream(_ref2) {
547
547
  if (params && !Object.prototype.hasOwnProperty.call(params, 'userId') && userId) {
548
548
  params.userId = getStorage('userId');
549
549
  }
550
- var info = {};
550
+ var info = {
551
+ time: 0,
552
+ conversationId: '',
553
+ content: '',
554
+ thinkContent: '',
555
+ primeval: '',
556
+ chunk: ''
557
+ };
551
558
  var partialData = '';
552
559
  var lastProcessedIndex = 0;
553
560
  var done = false;
561
+ var finishThink = false;
562
+ var hasThink = false;
554
563
  ajax(_extends({
555
564
  timeout: 990000,
556
565
  format: false,
@@ -565,6 +574,9 @@ var ajaxStream = function ajaxStream(_ref2) {
565
574
  // 获取从上次处理后新增的数据
566
575
  var currentResponse = (progressEvent.event || progressEvent).currentTarget.responseText;
567
576
  var chunk = currentResponse.slice(lastProcessedIndex);
577
+ if (chunk === 'data:') {
578
+ return;
579
+ }
568
580
 
569
581
  // 更新偏移量
570
582
  lastProcessedIndex = currentResponse.length;
@@ -573,7 +585,12 @@ var ajaxStream = function ajaxStream(_ref2) {
573
585
  partialData += chunk;
574
586
  var lines = partialData.split('\n');
575
587
  var remainingData = ''; // 用于保存未完整处理的部分数据
588
+ var primeval = '';
589
+ var chunks = '';
576
590
  lines.forEach(function (line) {
591
+ if (line === '') {
592
+ return;
593
+ }
577
594
  if (line.startsWith('data:')) {
578
595
  var _data = line.replace('data:', '').trim();
579
596
  if (_data) {
@@ -582,8 +599,6 @@ var ajaxStream = function ajaxStream(_ref2) {
582
599
  var parsedData = JSON.parse(_data);
583
600
  info.time = parsedData.time;
584
601
  info.conversationId = parsedData.conversationId;
585
-
586
- // 使用正则表达式匹配 <think> 标签
587
602
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
588
603
  var match = parsedData.message.match(thinkRegex);
589
604
  if (match) {
@@ -593,20 +608,47 @@ var ajaxStream = function ajaxStream(_ref2) {
593
608
  info.thinkContent += thinkContent;
594
609
  info.content += content;
595
610
  } else {
596
- // 如果没有 <think> 标签,直接将消息内容赋值到 content
597
- info.content += parsedData.message;
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;
622
+ } 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
+ }
637
+ }
598
638
  }
639
+ primeval += parsedData.message;
599
640
  done = parsedData.done;
600
641
  } catch (parseError) {
601
642
  console.error('解析数据出错:', parseError);
602
643
  }
603
- // Promise.resolve({message: info, controller});
604
644
  }
605
645
  } else {
606
646
  // 保存未处理完的部分数据
607
647
  remainingData += line + '\n';
608
648
  }
609
649
  });
650
+ info.primeval = primeval;
651
+ info.chunk = chunks;
610
652
 
611
653
  // 将未完整处理的数据保留到 partialData 中
612
654
  partialData = remainingData;
@@ -4272,8 +4314,8 @@ render._withStripped = true
4272
4314
  // EXTERNAL MODULE: ./src/config/image.js
4273
4315
  var config_image = __webpack_require__(19);
4274
4316
 
4275
- // 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=22cde548&scoped=true&
4276
- var simplicityvue_type_template_id_22cde548_scoped_true_render = function () {
4317
+ // 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=4aaec640&scoped=true&
4318
+ var simplicityvue_type_template_id_4aaec640_scoped_true_render = function () {
4277
4319
  var _vm = this
4278
4320
  var _h = _vm.$createElement
4279
4321
  var _c = _vm._self._c || _h
@@ -4485,7 +4527,7 @@ var simplicityvue_type_template_id_22cde548_scoped_true_render = function () {
4485
4527
  style: _vm._aibackground,
4486
4528
  on: {
4487
4529
  click: function ($event) {
4488
- _vm.handlerSetDrawer(_vm._aiConfig)
4530
+ _vm.handlerSetDrawer(_vm._aiConfig, "ai")
4489
4531
  },
4490
4532
  },
4491
4533
  },
@@ -4555,7 +4597,7 @@ var simplicityvue_type_template_id_22cde548_scoped_true_render = function () {
4555
4597
  {
4556
4598
  staticClass: "es-simplicity-public-drawer",
4557
4599
  attrs: {
4558
- direction: "ltr",
4600
+ direction: _vm.drawer.direction,
4559
4601
  "modal-class": "es-simplicity-apps-modal",
4560
4602
  size: "100%",
4561
4603
  "show-close": "",
@@ -4569,35 +4611,91 @@ var simplicityvue_type_template_id_22cde548_scoped_true_render = function () {
4569
4611
  },
4570
4612
  },
4571
4613
  [
4572
- _vm.drawer.url
4573
- ? [
4574
- _vm.isIE || _vm.drawer.method !== "wujie"
4575
- ? [
4576
- _c("iframe", {
4577
- attrs: {
4578
- frameborder: "0",
4579
- width: "100%",
4580
- height: "100%",
4581
- src: _vm.drawer.url,
4582
- },
4583
- }),
4584
- ]
4585
- : [
4586
- _c("es-wujie", {
4587
- attrs: {
4588
- host: _vm.host,
4589
- show: true,
4590
- props: _vm.wjProps,
4591
- attrs: _vm.wjAttrs,
4592
- name: _vm.drawer.name,
4593
- url: _vm.drawer.url,
4594
- },
4595
- }),
4596
- ],
4597
- ]
4614
+ _vm.drawer.ai && _vm.drawer.ai.url
4615
+ ? _c(
4616
+ "div",
4617
+ {
4618
+ directives: [
4619
+ {
4620
+ name: "show",
4621
+ rawName: "v-show",
4622
+ value: _vm.drawer.active == "ai",
4623
+ expression: "drawer.active == 'ai'",
4624
+ },
4625
+ ],
4626
+ staticClass: "es-simplicity-public-drawer-main",
4627
+ },
4628
+ [
4629
+ _vm.isIE || _vm.drawer.ai.method !== "wujie"
4630
+ ? [
4631
+ _c("iframe", {
4632
+ attrs: {
4633
+ frameborder: "0",
4634
+ width: "100%",
4635
+ height: "100%",
4636
+ src: _vm.drawer.ai.url,
4637
+ },
4638
+ }),
4639
+ ]
4640
+ : [
4641
+ _c("es-wujie", {
4642
+ attrs: {
4643
+ host: _vm.host,
4644
+ show: true,
4645
+ props: _vm.wjProps,
4646
+ attrs: _vm.wjAttrs,
4647
+ name: _vm.drawer.ai.name,
4648
+ url: _vm.drawer.ai.url,
4649
+ },
4650
+ }),
4651
+ ],
4652
+ ],
4653
+ 2
4654
+ )
4598
4655
  : _vm._e(),
4599
- ],
4600
- 2
4656
+ _vm.drawer.im && _vm.drawer.im.url
4657
+ ? _c(
4658
+ "div",
4659
+ {
4660
+ directives: [
4661
+ {
4662
+ name: "show",
4663
+ rawName: "v-show",
4664
+ value: _vm.drawer.active == "im",
4665
+ expression: "drawer.active == 'im'",
4666
+ },
4667
+ ],
4668
+ staticClass: "es-simplicity-public-drawer-main",
4669
+ },
4670
+ [
4671
+ _vm.isIE || _vm.drawer.im.method !== "wujie"
4672
+ ? [
4673
+ _c("iframe", {
4674
+ attrs: {
4675
+ frameborder: "0",
4676
+ width: "100%",
4677
+ height: "100%",
4678
+ src: _vm.drawer.im.url,
4679
+ },
4680
+ }),
4681
+ ]
4682
+ : [
4683
+ _c("es-wujie", {
4684
+ attrs: {
4685
+ host: _vm.host,
4686
+ show: true,
4687
+ props: _vm.wjProps,
4688
+ attrs: _vm.wjAttrs,
4689
+ name: _vm.drawer.im.name,
4690
+ url: _vm.drawer.im.url,
4691
+ },
4692
+ }),
4693
+ ],
4694
+ ],
4695
+ 2
4696
+ )
4697
+ : _vm._e(),
4698
+ ]
4601
4699
  ),
4602
4700
  _c(
4603
4701
  "div",
@@ -4909,11 +5007,11 @@ var simplicityvue_type_template_id_22cde548_scoped_true_render = function () {
4909
5007
  ),
4910
5008
  ])
4911
5009
  }
4912
- var simplicityvue_type_template_id_22cde548_scoped_true_staticRenderFns = []
4913
- simplicityvue_type_template_id_22cde548_scoped_true_render._withStripped = true
5010
+ var simplicityvue_type_template_id_4aaec640_scoped_true_staticRenderFns = []
5011
+ simplicityvue_type_template_id_4aaec640_scoped_true_render._withStripped = true
4914
5012
 
4915
5013
 
4916
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=22cde548&scoped=true&
5014
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4aaec640&scoped=true&
4917
5015
 
4918
5016
  // 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&
4919
5017
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -5073,8 +5171,8 @@ var component = Object(componentNormalizer["a" /* default */])(
5073
5171
  )
5074
5172
 
5075
5173
  /* harmony default export */ var avatar = (component.exports);
5076
- // 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=6f2302b2&scoped=true&
5077
- var handlervue_type_template_id_6f2302b2_scoped_true_render = function () {
5174
+ // 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=754aecd5&scoped=true&
5175
+ var handlervue_type_template_id_754aecd5_scoped_true_render = function () {
5078
5176
  var _vm = this
5079
5177
  var _h = _vm.$createElement
5080
5178
  var _c = _vm._self._c || _h
@@ -5115,7 +5213,7 @@ var handlervue_type_template_id_6f2302b2_scoped_true_render = function () {
5115
5213
  ]),
5116
5214
  ]
5117
5215
  )
5118
- : item.type === "online"
5216
+ : item.type === "online" || item.type === "onlineUser"
5119
5217
  ? _c(
5120
5218
  "div",
5121
5219
  { key: item.type, staticClass: "es-simplicity-online" },
@@ -5137,7 +5235,7 @@ var handlervue_type_template_id_6f2302b2_scoped_true_render = function () {
5137
5235
  _vm._v("\n 人在线\n "),
5138
5236
  ]
5139
5237
  )
5140
- : item.type === "notice"
5238
+ : item.type === "notice" || item.type === "messsage"
5141
5239
  ? _c(
5142
5240
  "el-badge",
5143
5241
  {
@@ -5180,15 +5278,17 @@ var handlervue_type_template_id_6f2302b2_scoped_true_render = function () {
5180
5278
  2
5181
5279
  )
5182
5280
  }
5183
- var handlervue_type_template_id_6f2302b2_scoped_true_staticRenderFns = []
5184
- handlervue_type_template_id_6f2302b2_scoped_true_render._withStripped = true
5281
+ var handlervue_type_template_id_754aecd5_scoped_true_staticRenderFns = []
5282
+ handlervue_type_template_id_754aecd5_scoped_true_render._withStripped = true
5185
5283
 
5186
5284
 
5187
- // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=6f2302b2&scoped=true&
5285
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=754aecd5&scoped=true&
5188
5286
 
5189
5287
  // 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&
5190
5288
  var _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; };
5191
5289
 
5290
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
5291
+
5192
5292
  //
5193
5293
  //
5194
5294
  //
@@ -5264,31 +5364,69 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5264
5364
  props: {
5265
5365
  contact: Object,
5266
5366
  dateTime: {
5267
- type: Boolean,
5268
- default: true
5367
+ type: [Boolean, Object],
5368
+ default: function _default() {
5369
+ return { type: 'dateTime' };
5370
+ },
5371
+
5372
+ validator: function validator(val) {
5373
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5374
+ }
5375
+ },
5376
+ onlineUser: {
5377
+ type: [Boolean, Object],
5378
+ default: function _default() {
5379
+ return { type: 'onlineUser' };
5380
+ },
5381
+
5382
+ validator: function validator(val) {
5383
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5384
+ }
5269
5385
  },
5270
5386
  search: {
5271
- type: Object,
5387
+ type: [Boolean, Object],
5272
5388
  default: function _default() {
5273
5389
  return {
5274
5390
  type: 'search',
5275
5391
  icon: 'es-icon-magnifier',
5276
5392
  title: '搜索'
5277
5393
  };
5394
+ },
5395
+
5396
+ validator: function validator(val) {
5397
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5398
+ }
5399
+ },
5400
+ im: {
5401
+ type: [Boolean, Object],
5402
+ default: function _default() {
5403
+ return {
5404
+ type: 'im',
5405
+ icon: 'es-icon-liaotian',
5406
+ title: 'IM'
5407
+ };
5408
+ },
5409
+
5410
+ validator: function validator(val) {
5411
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5278
5412
  }
5279
5413
  },
5280
5414
  index: {
5281
- type: Object,
5415
+ type: [Boolean, Object],
5282
5416
  default: function _default() {
5283
5417
  return {
5284
5418
  type: 'index',
5285
5419
  icon: 'es-icon-home',
5286
5420
  title: '门户'
5287
5421
  };
5422
+ },
5423
+
5424
+ validator: function validator(val) {
5425
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5288
5426
  }
5289
5427
  },
5290
5428
  home: {
5291
- type: Object,
5429
+ type: [Boolean, Object],
5292
5430
  default: function _default() {
5293
5431
  return {
5294
5432
  type: 'home',
@@ -5298,7 +5436,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5298
5436
  }
5299
5437
  },
5300
5438
  notice: {
5301
- type: Object,
5439
+ type: [Boolean, Object],
5302
5440
  default: function _default() {
5303
5441
  return {
5304
5442
  type: 'notice',
@@ -5308,7 +5446,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5308
5446
  }
5309
5447
  },
5310
5448
  quit: {
5311
- type: Object,
5449
+ type: [Boolean, Object],
5312
5450
  default: function _default() {
5313
5451
  return {
5314
5452
  type: 'quit',
@@ -5318,24 +5456,30 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5318
5456
  }
5319
5457
  },
5320
5458
  set: {
5321
- type: Object,
5459
+ type: [Boolean, Object],
5322
5460
  default: function _default() {
5323
5461
  return {
5324
5462
  type: 'set',
5325
5463
  icon: 'es-icon-xitongguanli',
5326
5464
  title: '设置'
5327
5465
  };
5466
+ },
5467
+
5468
+ validator: function validator(val) {
5469
+ return val === false || (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';
5328
5470
  }
5329
5471
  },
5330
5472
  data: Array,
5331
5473
  hide: {
5332
5474
  type: Object,
5333
5475
  default: function _default() {
5334
- return {
5335
- old: true
5336
- };
5476
+ return {};
5337
5477
  }
5338
5478
  },
5479
+ msgNum: {
5480
+ type: Number,
5481
+ default: 0
5482
+ },
5339
5483
  noticeNum: {
5340
5484
  type: Number,
5341
5485
  default: 0
@@ -5355,21 +5499,13 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5355
5499
 
5356
5500
  computed: {
5357
5501
  lists: function lists() {
5358
- var _this = this;
5359
-
5360
- var df = [];
5361
- if (this.contact) {
5362
- df.push(_extends({}, this.contact, { type: 'contact' }));
5363
- }
5364
- if (this.dateTime) {
5365
- df.push({ type: 'dateTime' });
5366
- }
5367
- if (this.online) {
5368
- df.push({ type: 'online' });
5369
- }
5370
- var data = this.data ? [].concat(df, this.data) : [].concat(df, [this.search, this.index, this.home, this.notice, this.quit, this.set]);
5502
+ var hide = _extends({
5503
+ old: true,
5504
+ im: true
5505
+ }, this.hide);
5506
+ var data = this.data ? this.data : [this.contact ? _extends({}, this.contact, { type: 'contact' }) : {}, this.dateTime, this.onlineUser, this.search, this.im, this.index, this.home, this.notice, this.quit, this.set];
5371
5507
  return data.filter(function (item) {
5372
- return !_this.hide[item.type];
5508
+ return item && Object.keys(item).length && !item.hide && !hide[item.type];
5373
5509
  });
5374
5510
  },
5375
5511
  isClick: function isClick() {
@@ -5388,11 +5524,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5388
5524
 
5389
5525
  methods: {
5390
5526
  getTime: function getTime() {
5391
- var _this2 = this;
5527
+ var _this = this;
5392
5528
 
5393
5529
  this.timer && clearInterval(this.timer);
5394
5530
  this.timer = setInterval(function () {
5395
- _this2.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
5531
+ _this.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
5396
5532
  });
5397
5533
  },
5398
5534
  handleClick: function handleClick(res) {
@@ -5415,11 +5551,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5415
5551
 
5416
5552
  var handler_component = Object(componentNormalizer["a" /* default */])(
5417
5553
  simplicity_handlervue_type_script_lang_js_,
5418
- handlervue_type_template_id_6f2302b2_scoped_true_render,
5419
- handlervue_type_template_id_6f2302b2_scoped_true_staticRenderFns,
5554
+ handlervue_type_template_id_754aecd5_scoped_true_render,
5555
+ handlervue_type_template_id_754aecd5_scoped_true_staticRenderFns,
5420
5556
  false,
5421
5557
  null,
5422
- "6f2302b2",
5558
+ "754aecd5",
5423
5559
  null
5424
5560
 
5425
5561
  )
@@ -6890,10 +7026,10 @@ var external_throttle_debounce_ = __webpack_require__(12);
6890
7026
  this.$emit('click', res);
6891
7027
  },
6892
7028
 
6893
- /**
6894
- * @desc:获取气泡提醒
6895
- * @author huangbo
6896
- * @date 2024年9月7日
7029
+ /**
7030
+ * @desc:获取气泡提醒
7031
+ * @author huangbo
7032
+ * @date 2024年9月7日
6897
7033
  **/
6898
7034
  getBadge: function getBadge(res) {
6899
7035
  var num = res.tips || 0;
@@ -9293,8 +9429,8 @@ var online_component = Object(componentNormalizer["a" /* default */])(
9293
9429
  )
9294
9430
 
9295
9431
  /* harmony default export */ var online = (online_component.exports);
9296
- // 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=4c2b6f24&
9297
- var searchvue_type_template_id_4c2b6f24_render = function () {
9432
+ // 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&
9433
+ var searchvue_type_template_id_6c253fc4_render = function () {
9298
9434
  var _vm = this
9299
9435
  var _h = _vm.$createElement
9300
9436
  var _c = _vm._self._c || _h
@@ -9359,11 +9495,13 @@ var searchvue_type_template_id_4c2b6f24_render = function () {
9359
9495
  { staticClass: "es-public-search-list" },
9360
9496
  _vm._l(
9361
9497
  item.records.slice(0, 3),
9362
- function (ele) {
9498
+ function (ele, idx) {
9363
9499
  return _c(
9364
9500
  "li",
9365
9501
  {
9366
- key: ele.id || ele.title,
9502
+ key:
9503
+ ele.id ||
9504
+ item.id + "_" + ele.title + "_" + idx,
9367
9505
  staticClass:
9368
9506
  "es-public-search-list-item",
9369
9507
  on: {
@@ -9503,7 +9641,7 @@ var searchvue_type_template_id_4c2b6f24_render = function () {
9503
9641
  ),
9504
9642
  _vm._l(_vm.types, function (item, index) {
9505
9643
  return [
9506
- !_vm.hides.includes(item.name)
9644
+ !_vm.hides.includes(item.name) && !item.hide
9507
9645
  ? _c(
9508
9646
  "el-tab-pane",
9509
9647
  {
@@ -9568,11 +9706,13 @@ var searchvue_type_template_id_4c2b6f24_render = function () {
9568
9706
  _c(
9569
9707
  "ul",
9570
9708
  { staticClass: "es-public-search-lists" },
9571
- _vm._l(item.records, function (ele) {
9709
+ _vm._l(item.records, function (ele, idx) {
9572
9710
  return _c(
9573
9711
  "li",
9574
9712
  {
9575
- key: ele.id || ele.title,
9713
+ key:
9714
+ ele.id ||
9715
+ item.id + "_" + ele.title + "_" + idx,
9576
9716
  staticClass: "es-public-search-list-item",
9577
9717
  on: {
9578
9718
  click: function ($event) {
@@ -9704,11 +9844,11 @@ var searchvue_type_template_id_4c2b6f24_render = function () {
9704
9844
  1
9705
9845
  )
9706
9846
  }
9707
- var searchvue_type_template_id_4c2b6f24_staticRenderFns = []
9708
- searchvue_type_template_id_4c2b6f24_render._withStripped = true
9847
+ var searchvue_type_template_id_6c253fc4_staticRenderFns = []
9848
+ searchvue_type_template_id_6c253fc4_render._withStripped = true
9709
9849
 
9710
9850
 
9711
- // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
9851
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=6c253fc4&
9712
9852
 
9713
9853
  // 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&
9714
9854
  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; };
@@ -10011,7 +10151,12 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10011
10151
  var types = results.catalog.map(function (item, index) {
10012
10152
  loadings[item.id || String(index)] = false;
10013
10153
  noMore[item.id || String(index)] = false;
10014
- return searchvue_type_script_lang_js_extends({}, item, { pageNum: 0, pageCount: 1, records: [] });
10154
+ return searchvue_type_script_lang_js_extends({}, item, {
10155
+ pageNum: 0,
10156
+ pageCount: 1,
10157
+ records: [],
10158
+ hide: item.name == '应用' && _this2.apps.length == 0 ? true : false
10159
+ });
10015
10160
  });
10016
10161
  _this2.types = types;
10017
10162
  _this2.loadings = loadings;
@@ -10022,7 +10167,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10022
10167
  searchAll: function searchAll(keyWords) {
10023
10168
  for (var i = 0; i < this.types.length; i++) {
10024
10169
  var item = this.types[i];
10025
- if (keyWords) {
10170
+ if (keyWords && !this.hides.includes(item.name) && !item.hide) {
10026
10171
  if (item.name == '菜单' && this.menus.length) {
10027
10172
  this.isLoading = false;
10028
10173
  this.types[i].records = this.searchData(this.menus, keyWords);
@@ -10165,8 +10310,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
10165
10310
 
10166
10311
  var search_component = Object(componentNormalizer["a" /* default */])(
10167
10312
  public_searchvue_type_script_lang_js_,
10168
- searchvue_type_template_id_4c2b6f24_render,
10169
- searchvue_type_template_id_4c2b6f24_staticRenderFns,
10313
+ searchvue_type_template_id_6c253fc4_render,
10314
+ searchvue_type_template_id_6c253fc4_staticRenderFns,
10170
10315
  false,
10171
10316
  null,
10172
10317
  null,
@@ -10179,7 +10324,7 @@ var search_component = Object(componentNormalizer["a" /* default */])(
10179
10324
  var store = __webpack_require__(13);
10180
10325
 
10181
10326
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
10182
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
10327
+ var simplicityvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
10183
10328
 
10184
10329
  var simplicityvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
10185
10330
 
@@ -10509,6 +10654,30 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
10509
10654
  //
10510
10655
  //
10511
10656
  //
10657
+ //
10658
+ //
10659
+ //
10660
+ //
10661
+ //
10662
+ //
10663
+ //
10664
+ //
10665
+ //
10666
+ //
10667
+ //
10668
+ //
10669
+ //
10670
+ //
10671
+ //
10672
+ //
10673
+ //
10674
+ //
10675
+ //
10676
+ //
10677
+ //
10678
+ //
10679
+ //
10680
+ //
10512
10681
 
10513
10682
 
10514
10683
 
@@ -10659,6 +10828,8 @@ var events = [function (tabs, index, that) {
10659
10828
  },
10660
10829
  //人工智能配置
10661
10830
  ai: Object,
10831
+ //im
10832
+ im: Object,
10662
10833
  //iframeId
10663
10834
  iframeId: {
10664
10835
  type: String,
@@ -10729,9 +10900,15 @@ var events = [function (tabs, index, that) {
10729
10900
  fold: false,
10730
10901
  //人工智能配置
10731
10902
  aiConfig: null,
10903
+ //im配置
10904
+ imConfig: null,
10732
10905
  //公用窗口面板配置
10733
10906
  drawer: {
10734
- visible: false
10907
+ visible: false,
10908
+ direction: 'ltr',
10909
+ ai: {},
10910
+ im: {},
10911
+ active: ''
10735
10912
  },
10736
10913
  //所有应用
10737
10914
  applications: [],
@@ -10826,6 +11003,11 @@ var events = [function (tabs, index, that) {
10826
11003
  } : {};
10827
11004
  },
10828
11005
 
11006
+ //人工智能配置
11007
+ _imConfig: function _imConfig() {
11008
+ return this.imConfig || this.im;
11009
+ },
11010
+
10829
11011
  //用户信息
10830
11012
  user: function user() {
10831
11013
  return this.userModel ? this.userModel : store["a" /* default */].get('userModel');
@@ -10880,10 +11062,10 @@ var events = [function (tabs, index, that) {
10880
11062
  },
10881
11063
 
10882
11064
  methods: {
10883
- /**
10884
- * @desc:匹配路由
10885
- * @author huangbo
10886
- * @date 2024年9月7日
11065
+ /**
11066
+ * @desc:匹配路由
11067
+ * @author huangbo
11068
+ * @date 2024年9月7日
10887
11069
  **/
10888
11070
  hasRouter: function hasRouter(res, url, code) {
10889
11071
  if (!url) {
@@ -10927,10 +11109,10 @@ var events = [function (tabs, index, that) {
10927
11109
  return false;
10928
11110
  },
10929
11111
 
10930
- /**
10931
- * @desc:获取初始数据
10932
- * @author huangbo
10933
- * @date 2024年9月7日
11112
+ /**
11113
+ * @desc:获取初始数据
11114
+ * @author huangbo
11115
+ * @date 2024年9月7日
10934
11116
  **/
10935
11117
  init: function init(results, first) {
10936
11118
  this.setConfig(results);
@@ -10939,10 +11121,10 @@ var events = [function (tabs, index, that) {
10939
11121
  }
10940
11122
  },
10941
11123
 
10942
- /**
10943
- * @desc:设置用户配置及信息
10944
- * @author huangbo
10945
- * @date 2024年9月7日
11124
+ /**
11125
+ * @desc:设置用户配置及信息
11126
+ * @author huangbo
11127
+ * @date 2024年9月7日
10946
11128
  **/
10947
11129
  setConfig: function setConfig(results) {
10948
11130
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11025,6 +11207,17 @@ var events = [function (tabs, index, that) {
11025
11207
  this.aiConfig = results[i].aiConfig;
11026
11208
  }
11027
11209
  }
11210
+ if (results[i].imConfig) {
11211
+ if (typeof results[i].imConfig == 'string') {
11212
+ try {
11213
+ this.imConfig = JSON.parse(results[i].imConfig);
11214
+ } catch (error) {
11215
+ this.imConfig = { url: results[i].imConfig };
11216
+ }
11217
+ } else {
11218
+ this.imConfig = results[i].imConfig;
11219
+ }
11220
+ }
11028
11221
  if (results[i].portalPage || results[i].portalpage) {
11029
11222
  this.doorIndex = results[i].portalPage || results[i].portalpage;
11030
11223
  }
@@ -11060,10 +11253,10 @@ var events = [function (tabs, index, that) {
11060
11253
  }
11061
11254
  },
11062
11255
 
11063
- /**
11064
- * @desc:获取所有应用
11065
- * @author huangbo
11066
- * @date 2024年9月7日
11256
+ /**
11257
+ * @desc:获取所有应用
11258
+ * @author huangbo
11259
+ * @date 2024年9月7日
11067
11260
  **/
11068
11261
  getApplications: function getApplications() {
11069
11262
  var _this = this;
@@ -11111,10 +11304,10 @@ var events = [function (tabs, index, that) {
11111
11304
  });
11112
11305
  },
11113
11306
 
11114
- /**
11115
- * @desc:获取菜单列表
11116
- * @author huangbo
11117
- * @date 2024年9月7日
11307
+ /**
11308
+ * @desc:获取菜单列表
11309
+ * @author huangbo
11310
+ * @date 2024年9月7日
11118
11311
  **/
11119
11312
  getMenus: function getMenus(loading) {
11120
11313
  var _this2 = this;
@@ -11147,10 +11340,10 @@ var events = [function (tabs, index, that) {
11147
11340
  });
11148
11341
  },
11149
11342
 
11150
- /**
11151
- * @desc:处理菜单列表
11152
- * @author huangbo
11153
- * @date 2024年9月7日
11343
+ /**
11344
+ * @desc:处理菜单列表
11345
+ * @author huangbo
11346
+ * @date 2024年9月7日
11154
11347
  **/
11155
11348
  renderMenus: function renderMenus(res) {
11156
11349
  this.menus = res;
@@ -11240,10 +11433,10 @@ var events = [function (tabs, index, that) {
11240
11433
  }
11241
11434
  },
11242
11435
 
11243
- /**
11244
- * @desc:设置页面加载类型
11245
- * @author huangbo
11246
- * @date 2024年9月7日
11436
+ /**
11437
+ * @desc:设置页面加载类型
11438
+ * @author huangbo
11439
+ * @date 2024年9月7日
11247
11440
  **/
11248
11441
  setIframeType: function setIframeType(res) {
11249
11442
  var url = res.url;
@@ -11299,10 +11492,10 @@ var events = [function (tabs, index, that) {
11299
11492
  return res;
11300
11493
  },
11301
11494
 
11302
- /**
11303
- * @desc:获取菜单
11304
- * @author huangbo
11305
- * @date 2024年9月7日
11495
+ /**
11496
+ * @desc:获取菜单
11497
+ * @author huangbo
11498
+ * @date 2024年9月7日
11306
11499
  **/
11307
11500
  getMenu: function getMenu(menus, res, key) {
11308
11501
  if (Array.isArray(menus)) {
@@ -11331,10 +11524,10 @@ var events = [function (tabs, index, that) {
11331
11524
  return false;
11332
11525
  },
11333
11526
 
11334
- /**
11335
- * @desc:获取菜单第一条数据
11336
- * @author huangbo
11337
- * @date 2024年9月7日
11527
+ /**
11528
+ * @desc:获取菜单第一条数据
11529
+ * @author huangbo
11530
+ * @date 2024年9月7日
11338
11531
  **/
11339
11532
  getFirst: function getFirst(obj) {
11340
11533
  if (!obj) {
@@ -11353,10 +11546,10 @@ var events = [function (tabs, index, that) {
11353
11546
  }
11354
11547
  },
11355
11548
 
11356
- /**
11357
- * @desc:遍历设置菜单气泡提醒
11358
- * @author huangbo
11359
- * @date 2024年9月7日
11549
+ /**
11550
+ * @desc:遍历设置菜单气泡提醒
11551
+ * @author huangbo
11552
+ * @date 2024年9月7日
11360
11553
  **/
11361
11554
  setTips: function setTips(obj) {
11362
11555
  var _this3 = this;
@@ -11419,10 +11612,10 @@ var events = [function (tabs, index, that) {
11419
11612
  }
11420
11613
  },
11421
11614
 
11422
- /**
11423
- * @desc:获取气泡提醒
11424
- * @author huangbo
11425
- * @date 2024年9月7日
11615
+ /**
11616
+ * @desc:获取气泡提醒
11617
+ * @author huangbo
11618
+ * @date 2024年9月7日
11426
11619
  **/
11427
11620
  getBadge: function getBadge(res) {
11428
11621
  var num = res.tips || 0;
@@ -11436,10 +11629,10 @@ var events = [function (tabs, index, that) {
11436
11629
  };
11437
11630
  },
11438
11631
 
11439
- /**
11440
- * @desc:开启weosocket
11441
- * @author huangbo
11442
- * @date 2024年9月7日
11632
+ /**
11633
+ * @desc:开启weosocket
11634
+ * @author huangbo
11635
+ * @date 2024年9月7日
11443
11636
  **/
11444
11637
  initWebSocket: function initWebSocket() {
11445
11638
  var _this5 = this;
@@ -11487,10 +11680,10 @@ var events = [function (tabs, index, that) {
11487
11680
  });
11488
11681
  },
11489
11682
 
11490
- /**
11491
- * @desc:显示用户信息
11492
- * @author huangbo
11493
- * @date 2024年9月7日
11683
+ /**
11684
+ * @desc:显示用户信息
11685
+ * @author huangbo
11686
+ * @date 2024年9月7日
11494
11687
  **/
11495
11688
  showUserInfo: function showUserInfo() {
11496
11689
  if (this.showUser === false) {
@@ -11498,19 +11691,19 @@ var events = [function (tabs, index, that) {
11498
11691
  }
11499
11692
  },
11500
11693
 
11501
- /**
11502
- * @desc:删除更多应用菜单点击
11503
- * @author huangbo
11504
- * @date 2024年9月7日
11694
+ /**
11695
+ * @desc:删除更多应用菜单点击
11696
+ * @author huangbo
11697
+ * @date 2024年9月7日
11505
11698
  **/
11506
11699
  handleDelete: function handleDelete(index) {
11507
11700
  this.newApps.splice(index, 1);
11508
11701
  },
11509
11702
 
11510
- /**
11511
- * @desc:储存更多应用菜单点击
11512
- * @author huangbo
11513
- * @date 2024年9月7日
11703
+ /**
11704
+ * @desc:储存更多应用菜单点击
11705
+ * @author huangbo
11706
+ * @date 2024年9月7日
11514
11707
  **/
11515
11708
  handlerClickApps: function handlerClickApps(res) {
11516
11709
  if (res.permission === false) {
@@ -11523,10 +11716,10 @@ var events = [function (tabs, index, that) {
11523
11716
  this.handlerClickApp(res);
11524
11717
  },
11525
11718
 
11526
- /**
11527
- * @desc:侧边应用菜单点击
11528
- * @author huangbo
11529
- * @date 2024年9月7日
11719
+ /**
11720
+ * @desc:侧边应用菜单点击
11721
+ * @author huangbo
11722
+ * @date 2024年9月7日
11530
11723
  **/
11531
11724
  handlerClickApp: function handlerClickApp(res) {
11532
11725
  this.showMsg = false;
@@ -11609,33 +11802,42 @@ var events = [function (tabs, index, that) {
11609
11802
  }
11610
11803
  },
11611
11804
 
11612
- /**
11613
- * @desc:显示Drawer界面
11614
- * @author huangbo
11615
- * @date 2024年9月7日
11805
+ /**
11806
+ * @desc:显示Drawer界面
11807
+ * @author huangbo
11808
+ * @date 2024年9月7日
11616
11809
  **/
11617
- handlerSetDrawer: function handlerSetDrawer(res) {
11618
- this.drawer.visible = !this.drawer.visible;
11619
- this.drawer.mounted = res.mounted;
11620
- this.drawer.url = res.url;
11621
- if (res.mounted === 'wujie') {
11622
- this.drawer.name = res.name || util["a" /* default */].uuid();
11810
+ handlerSetDrawer: function handlerSetDrawer(res, type) {
11811
+ var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
11812
+
11813
+ this.drawer.visible = true;
11814
+ this.active = type;
11815
+ this.drawer.direction = direction;
11816
+ if (!this.drawer[type] && res) {
11817
+ var mounted = res.mounted,
11818
+ url = res.url;
11819
+
11820
+ this.drawer[type] = {
11821
+ mounted: mounted,
11822
+ url: url,
11823
+ name: res.name || util["a" /* default */].uuid()
11824
+ };
11623
11825
  }
11624
11826
  },
11625
11827
 
11626
- /**
11627
- * @desc:关闭Drawer界面
11628
- * @author huangbo
11629
- * @date 2024年9月7日
11828
+ /**
11829
+ * @desc:关闭Drawer界面
11830
+ * @author huangbo
11831
+ * @date 2024年9月7日
11630
11832
  **/
11631
11833
  handleCloseDrawer: function handleCloseDrawer() {
11632
11834
  this.drawer = { visible: false };
11633
11835
  },
11634
11836
 
11635
- /**
11636
- * @desc:菜单点击
11637
- * @author huangbo
11638
- * @date 2024年9月7日
11837
+ /**
11838
+ * @desc:菜单点击
11839
+ * @author huangbo
11840
+ * @date 2024年9月7日
11639
11841
  **/
11640
11842
  handlerClickMenu: function handlerClickMenu(res) {
11641
11843
  util["a" /* default */].ajax({
@@ -11674,19 +11876,19 @@ var events = [function (tabs, index, that) {
11674
11876
  },
11675
11877
 
11676
11878
 
11677
- /**
11678
- * @desc:用户详情请求成功
11679
- * @author huangbo
11680
- * @date 2024年9月7日
11879
+ /**
11880
+ * @desc:用户详情请求成功
11881
+ * @author huangbo
11882
+ * @date 2024年9月7日
11681
11883
  **/
11682
11884
  handleSuccess: function handleSuccess(res) {
11683
11885
  this.simpleUserInfo = res.simpleUserInfo;
11684
11886
  },
11685
11887
 
11686
- /**
11687
- * @desc:修改用户配置
11688
- * @author huangbo
11689
- * @date 2024年9月7日
11888
+ /**
11889
+ * @desc:修改用户配置
11890
+ * @author huangbo
11891
+ * @date 2024年9月7日
11690
11892
  **/
11691
11893
  handleChangeConfig: function handleChangeConfig(name, res) {
11692
11894
  if (name == 'userHeadUrl') {
@@ -11702,10 +11904,10 @@ var events = [function (tabs, index, that) {
11702
11904
  }
11703
11905
  },
11704
11906
 
11705
- /**
11706
- * @desc:关闭webSocket
11707
- * @author huangbo
11708
- * @date 2024年9月7日
11907
+ /**
11908
+ * @desc:关闭webSocket
11909
+ * @author huangbo
11910
+ * @date 2024年9月7日
11709
11911
  **/
11710
11912
  handlerClose: function handlerClose() {
11711
11913
  if (this.webSocket) {
@@ -11713,10 +11915,10 @@ var events = [function (tabs, index, that) {
11713
11915
  }
11714
11916
  },
11715
11917
 
11716
- /**
11717
- * @desc:刷新选中iframe页签
11718
- * @author huangbo
11719
- * @date 2024年9月7日
11918
+ /**
11919
+ * @desc:刷新选中iframe页签
11920
+ * @author huangbo
11921
+ * @date 2024年9月7日
11720
11922
  **/
11721
11923
  handleRefresh: function handleRefresh() {
11722
11924
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -11737,10 +11939,10 @@ var events = [function (tabs, index, that) {
11737
11939
  }
11738
11940
  },
11739
11941
 
11740
- /**
11741
- * @desc:删除iframe
11742
- * @author huangbo
11743
- * @date 2024年9月7日
11942
+ /**
11943
+ * @desc:删除iframe
11944
+ * @author huangbo
11945
+ * @date 2024年9月7日
11744
11946
  **/
11745
11947
  handleRemove: function handleRemove(name) {
11746
11948
  var len = this.tabs.length - 1;
@@ -11757,10 +11959,10 @@ var events = [function (tabs, index, that) {
11757
11959
  }
11758
11960
  },
11759
11961
 
11760
- /**
11761
- * @desc:tabs鼠标右键事件
11762
- * @author huangbo
11763
- * @date 2024年9月7日
11962
+ /**
11963
+ * @desc:tabs鼠标右键事件
11964
+ * @author huangbo
11965
+ * @date 2024年9月7日
11764
11966
  **/
11765
11967
  handleContextmenu: function handleContextmenu(tabs, e) {
11766
11968
  var disabled = {};
@@ -11785,10 +11987,10 @@ var events = [function (tabs, index, that) {
11785
11987
  window.addEventListener('click', this.closeTabsEvents);
11786
11988
  },
11787
11989
 
11788
- /**
11789
- * @desc:tabs页签事件
11790
- * @author huangbo
11791
- * @date 2024年9月7日
11990
+ /**
11991
+ * @desc:tabs页签事件
11992
+ * @author huangbo
11993
+ * @date 2024年9月7日
11792
11994
  **/
11793
11995
  handleTabsEvents: function handleTabsEvents(num) {
11794
11996
  if (this.pane !== null) {
@@ -11806,10 +12008,10 @@ var events = [function (tabs, index, that) {
11806
12008
  window.removeEventListener('click', this.closeTabsEvents);
11807
12009
  },
11808
12010
 
11809
- /**
11810
- * @desc:handler工具栏点击事件
11811
- * @author huangbo
11812
- * @date 2024年9月7日
12011
+ /**
12012
+ * @desc:handler工具栏点击事件
12013
+ * @author huangbo
12014
+ * @date 2024年9月7日
11813
12015
  **/
11814
12016
  handleClick: function handleClick(res) {
11815
12017
  var type = res.type,
@@ -11869,14 +12071,16 @@ var events = [function (tabs, index, that) {
11869
12071
  this.showSet = false;
11870
12072
  break;
11871
12073
  case 'search':
11872
- if (res.url) {
11873
- this.handlerSetDrawer(res);
11874
- } else {
11875
- this.showSearch = true;
11876
- }
12074
+ this.showSearch = true;
11877
12075
  this.showMsg = false;
11878
12076
  this.showSet = false;
11879
12077
  break;
12078
+ case 'ai':
12079
+ this.handlerSetDrawer(this._aiConfig, 'ai', 'rtl');
12080
+ break;
12081
+ case 'im':
12082
+ this.handlerSetDrawer(this._imConfig, 'im', 'rtl');
12083
+ break;
11880
12084
  case 'goView':
11881
12085
  util["a" /* default */].win.open(res.path, '_blank');
11882
12086
  break;
@@ -11885,10 +12089,10 @@ var events = [function (tabs, index, that) {
11885
12089
  this.$emit('handler-click', res);
11886
12090
  },
11887
12091
 
11888
- /**
11889
- * @desc:退出登录
11890
- * @author huangbo
11891
- * @date 2024年9月7日
12092
+ /**
12093
+ * @desc:退出登录
12094
+ * @author huangbo
12095
+ * @date 2024年9月7日
11892
12096
  **/
11893
12097
  handleQuit: function handleQuit() {
11894
12098
  var _this6 = this;
@@ -11946,10 +12150,10 @@ var events = [function (tabs, index, that) {
11946
12150
  }).catch(function (e) {});
11947
12151
  },
11948
12152
 
11949
- /**
11950
- * @desc:主题、消息回调
11951
- * @author huangbo
11952
- * @date 2024年9月7日
12153
+ /**
12154
+ * @desc:主题、消息回调
12155
+ * @author huangbo
12156
+ * @date 2024年9月7日
11953
12157
  **/
11954
12158
  handleChange: function handleChange(res) {
11955
12159
  var type = res.type,
@@ -11965,10 +12169,10 @@ var events = [function (tabs, index, that) {
11965
12169
  }
11966
12170
  },
11967
12171
 
11968
- /**
11969
- * @desc:菜单布局样式切换
11970
- * @author huangbo
11971
- * @date 2024年9月7日
12172
+ /**
12173
+ * @desc:菜单布局样式切换
12174
+ * @author huangbo
12175
+ * @date 2024年9月7日
11972
12176
  **/
11973
12177
  handleLayout: function handleLayout(res, active) {
11974
12178
  if (active) {
@@ -11977,10 +12181,10 @@ var events = [function (tabs, index, that) {
11977
12181
  this.$emit('chang-layout', res, active);
11978
12182
  },
11979
12183
 
11980
- /**
11981
- * @desc:消息修改总数
11982
- * @author huangbo
11983
- * @date 2024年9月7日
12184
+ /**
12185
+ * @desc:消息修改总数
12186
+ * @author huangbo
12187
+ * @date 2024年9月7日
11984
12188
  **/
11985
12189
  handleMenuTips: function handleMenuTips(id, num) {
11986
12190
  if (num) {
@@ -11991,10 +12195,10 @@ var events = [function (tabs, index, that) {
11991
12195
  }
11992
12196
  },
11993
12197
 
11994
- /**
11995
- * @desc:处理即时消息
11996
- * @author huangbo
11997
- * @date 2024年9月7日
12198
+ /**
12199
+ * @desc:处理即时消息
12200
+ * @author huangbo
12201
+ * @date 2024年9月7日
11998
12202
  **/
11999
12203
  handleOpened: function handleOpened(res) {
12000
12204
  var _this7 = this;
@@ -12015,7 +12219,7 @@ var events = [function (tabs, index, that) {
12015
12219
  var reload = true;
12016
12220
  if (typeof res === 'string') {
12017
12221
  apps = res.split(',');
12018
- } else if ((typeof res === 'undefined' ? 'undefined' : _typeof(res)) === 'object') {
12222
+ } else if ((typeof res === 'undefined' ? 'undefined' : simplicityvue_type_script_lang_js_typeof(res)) === 'object') {
12019
12223
  apps = res.appCode.split(',');
12020
12224
  param = res.param;
12021
12225
  reload = Object.prototype.hasOwnProperty.call(res, 'reload') ? res.reload : true;
@@ -12115,18 +12319,18 @@ var events = [function (tabs, index, that) {
12115
12319
 
12116
12320
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
12117
12321
  src_simplicityvue_type_script_lang_js_,
12118
- simplicityvue_type_template_id_22cde548_scoped_true_render,
12119
- simplicityvue_type_template_id_22cde548_scoped_true_staticRenderFns,
12322
+ simplicityvue_type_template_id_4aaec640_scoped_true_render,
12323
+ simplicityvue_type_template_id_4aaec640_scoped_true_staticRenderFns,
12120
12324
  false,
12121
12325
  null,
12122
- "22cde548",
12326
+ "4aaec640",
12123
12327
  null
12124
12328
 
12125
12329
  )
12126
12330
 
12127
12331
  /* harmony default export */ var simplicity = (simplicity_component.exports);
12128
- // 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=3e631434&
12129
- var defaultvue_type_template_id_3e631434_render = function () {
12332
+ // 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=40cb21f4&
12333
+ var defaultvue_type_template_id_40cb21f4_render = function () {
12130
12334
  var _vm = this
12131
12335
  var _h = _vm.$createElement
12132
12336
  var _c = _vm._self._c || _h
@@ -12193,7 +12397,7 @@ var defaultvue_type_template_id_3e631434_render = function () {
12193
12397
  online: _vm.online,
12194
12398
  application: _vm.application,
12195
12399
  storage: _vm.storage,
12196
- notice: _vm.notice,
12400
+ noticeNum: _vm.notice,
12197
12401
  data: _vm.handleData,
12198
12402
  "max-height": _vm._maxHeight,
12199
12403
  },
@@ -12489,6 +12693,25 @@ var defaultvue_type_template_id_3e631434_render = function () {
12489
12693
  attrs: { data: _vm.sysMsg, winopen: _vm.winopen },
12490
12694
  on: { opened: _vm.handleOpened },
12491
12695
  }),
12696
+ _c(
12697
+ "es-dialog",
12698
+ {
12699
+ staticClass: "es-public-search-dialog",
12700
+ attrs: { visible: _vm.showSearch, size: "lg" },
12701
+ on: {
12702
+ "update:visible": function ($event) {
12703
+ _vm.showSearch = $event
12704
+ },
12705
+ },
12706
+ },
12707
+ [
12708
+ _c("search", {
12709
+ attrs: { menus: _vm.menus, menuIcon: _vm.menuIcon },
12710
+ on: { select: _vm.handleOnSearch },
12711
+ }),
12712
+ ],
12713
+ 1
12714
+ ),
12492
12715
  _c(
12493
12716
  "es-dialog",
12494
12717
  {
@@ -12523,11 +12746,11 @@ var defaultvue_type_template_id_3e631434_render = function () {
12523
12746
  1
12524
12747
  )
12525
12748
  }
12526
- var defaultvue_type_template_id_3e631434_staticRenderFns = []
12527
- defaultvue_type_template_id_3e631434_render._withStripped = true
12749
+ var defaultvue_type_template_id_40cb21f4_staticRenderFns = []
12750
+ defaultvue_type_template_id_40cb21f4_render._withStripped = true
12528
12751
 
12529
12752
 
12530
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=3e631434&
12753
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=40cb21f4&
12531
12754
 
12532
12755
  // 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=b6520920&
12533
12756
  var userinfovue_type_template_id_b6520920_render = function () {
@@ -13981,6 +14204,18 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
13981
14204
  //
13982
14205
  //
13983
14206
  //
14207
+ //
14208
+ //
14209
+ //
14210
+ //
14211
+ //
14212
+ //
14213
+ //
14214
+ //
14215
+ //
14216
+ //
14217
+ //
14218
+
13984
14219
 
13985
14220
 
13986
14221
 
@@ -14009,7 +14244,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14009
14244
  settings: settings,
14010
14245
  message: default_message,
14011
14246
  notice: default_notice,
14012
- online: online
14247
+ online: online,
14248
+ search: search
14013
14249
  },
14014
14250
  props: {
14015
14251
  jobScrollbar: Boolean,
@@ -14019,7 +14255,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14019
14255
  //菜单展开关闭图标
14020
14256
  icons: Object,
14021
14257
  //菜单前置默认图标
14022
- menuIcon: String,
14258
+ menuIcon: {
14259
+ type: String,
14260
+ default: 'es-icon-application'
14261
+ },
14023
14262
  //子菜单是否显示前置图标
14024
14263
  subIcon: {
14025
14264
  type: Boolean,
@@ -14357,6 +14596,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
14357
14596
  showMsg: false,
14358
14597
  //即时消息
14359
14598
  sysMsg: [],
14599
+ //搜索
14600
+ showSearch: false,
14360
14601
  //定时关闭及时消息对象
14361
14602
  sysMsgOut: null,
14362
14603
  //额外信息数据
@@ -15414,6 +15655,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
15414
15655
  case 'set':
15415
15656
  this.handleSet();
15416
15657
  break;
15658
+ case 'search':
15659
+ this.showSearch = true;
15660
+ this.showMsg = false;
15661
+ break;
15417
15662
  case 'goView':
15418
15663
  util["a" /* default */].win.open(res.path, '_blank');
15419
15664
  break;
@@ -15734,6 +15979,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
15734
15979
  var n = parseInt(this.menuTips[id], 10) - 1;
15735
15980
  this.$set(this.menuTips, id, n);
15736
15981
  }
15982
+ },
15983
+
15984
+ //搜索
15985
+ handleOnSearch: function handleOnSearch(res, parent) {
15986
+ this.showSearch = false;
15987
+ if (parent.name === '菜单') {
15988
+ this.jumpMenu(res.appCode);
15989
+ }
15737
15990
  }
15738
15991
  },
15739
15992
  beforeDestroy: function beforeDestroy() {
@@ -15756,8 +16009,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
15756
16009
 
15757
16010
  var default_component = Object(componentNormalizer["a" /* default */])(
15758
16011
  src_defaultvue_type_script_lang_js_,
15759
- defaultvue_type_template_id_3e631434_render,
15760
- defaultvue_type_template_id_3e631434_staticRenderFns,
16012
+ defaultvue_type_template_id_40cb21f4_render,
16013
+ defaultvue_type_template_id_40cb21f4_staticRenderFns,
15761
16014
  false,
15762
16015
  null,
15763
16016
  null,