eoss-ui 0.6.86 → 0.6.87

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 (243) hide show
  1. package/lib/calogin.js +233 -233
  2. package/lib/eoss-ui.common.js +841 -800
  3. package/lib/flow-list.js +81 -81
  4. package/lib/flow.js +376 -335
  5. package/lib/index.js +1 -1
  6. package/lib/main.js +132 -132
  7. package/lib/qr-code.js +13 -13
  8. package/package.json +160 -160
  9. package/packages/button/index.js +5 -5
  10. package/packages/button/src/main.vue +418 -418
  11. package/packages/button-group/index.js +5 -5
  12. package/packages/button-group/src/main.vue +298 -298
  13. package/packages/calendar/index.js +5 -5
  14. package/packages/calogin/index.js +5 -5
  15. package/packages/calogin/src/main.vue +412 -412
  16. package/packages/calogin/src/plugin.js +915 -915
  17. package/packages/card/index.js +5 -5
  18. package/packages/card/src/main.vue +156 -156
  19. package/packages/cascader/index.js +5 -5
  20. package/packages/cascader/src/main.vue +168 -168
  21. package/packages/checkbox-group/index.js +5 -5
  22. package/packages/checkbox-group/src/main.vue +333 -333
  23. package/packages/clients/index.js +5 -5
  24. package/packages/clients/src/main.vue +151 -151
  25. package/packages/data-table/index.js +5 -5
  26. package/packages/data-table/src/children.vue +39 -39
  27. package/packages/data-table/src/column.vue +989 -989
  28. package/packages/data-table/src/main.vue +1822 -1822
  29. package/packages/data-table/src/sizer.vue +195 -195
  30. package/packages/data-table-form/index.js +5 -5
  31. package/packages/data-table-form/src/checkbox.vue +101 -101
  32. package/packages/data-table-form/src/colgroup.vue +17 -17
  33. package/packages/data-table-form/src/main.vue +181 -181
  34. package/packages/data-table-form/src/radio.vue +65 -65
  35. package/packages/data-table-form/src/table.vue +233 -233
  36. package/packages/data-table-form/src/tbody.vue +336 -336
  37. package/packages/data-table-form/src/thead.vue +68 -68
  38. package/packages/date-picker/index.js +5 -5
  39. package/packages/date-picker/src/main.vue +236 -236
  40. package/packages/dialog/index.js +5 -5
  41. package/packages/enable-drag/index.js +5 -5
  42. package/packages/enterprise/index.js +5 -5
  43. package/packages/enterprise/src/main.vue +66 -66
  44. package/packages/error-page/index.js +5 -5
  45. package/packages/error-page/src/main.vue +44 -44
  46. package/packages/flow/index.js +5 -5
  47. package/packages/flow/src/component/Circulate.vue +400 -370
  48. package/packages/flow/src/component/CommonOpinions.vue +364 -364
  49. package/packages/flow/src/component/CustomPreset.vue +322 -322
  50. package/packages/flow/src/component/FileList.vue +99 -99
  51. package/packages/flow/src/component/Preset.vue +255 -255
  52. package/packages/flow/src/component/SendMsg.vue +241 -241
  53. package/packages/flow/src/component/TimeLimit.vue +190 -190
  54. package/packages/flow/src/component/taskUnionExamine.vue +640 -639
  55. package/packages/flow/src/form.vue +121 -121
  56. package/packages/flow/src/freeStartFlow.vue +2844 -2843
  57. package/packages/flow/src/main.vue +3657 -3654
  58. package/packages/flow/src/processForm.vue +1245 -1245
  59. package/packages/flow/src/processReject.vue +296 -295
  60. package/packages/flow/src/reset.vue +918 -918
  61. package/packages/flow/src/startTaskRead.vue +684 -683
  62. package/packages/flow/src/supervise.vue +152 -152
  63. package/packages/flow/src/table.vue +58 -58
  64. package/packages/flow-group/index.js +5 -5
  65. package/packages/flow-group/src/main.vue +692 -692
  66. package/packages/flow-list/index.js +5 -5
  67. package/packages/flow-list/src/main.vue +1770 -1770
  68. package/packages/form/index.js +5 -5
  69. package/packages/form/src/main.vue +3814 -3814
  70. package/packages/form/src/table.vue +1508 -1508
  71. package/packages/handle-user/index.js +5 -5
  72. package/packages/handle-user/src/main.vue +138 -138
  73. package/packages/handler/index.js +5 -5
  74. package/packages/handler/src/main.vue +493 -493
  75. package/packages/icon/index.js +5 -5
  76. package/packages/icon/src/main.vue +101 -101
  77. package/packages/icons/index.js +5 -5
  78. package/packages/icons/src/main.vue +81 -81
  79. package/packages/input/index.js +5 -5
  80. package/packages/input/src/main.vue +356 -356
  81. package/packages/input-number/index.js +5 -5
  82. package/packages/input-number/src/main.vue +106 -106
  83. package/packages/label/index.js +5 -5
  84. package/packages/label/src/main.vue +457 -457
  85. package/packages/layout/index.js +5 -5
  86. package/packages/layout/src/item.vue +152 -152
  87. package/packages/layout/src/main.vue +31 -31
  88. package/packages/login/index.js +5 -5
  89. package/packages/login/src/main.vue +1998 -1998
  90. package/packages/login/src/resetPassword.vue +562 -562
  91. package/packages/main/index.js +5 -5
  92. package/packages/main/src/default/message.vue +249 -249
  93. package/packages/main/src/default/notice.vue +157 -157
  94. package/packages/main/src/default/userinfo.vue +503 -503
  95. package/packages/main/src/public/online.vue +89 -89
  96. package/packages/main/src/public/search.vue +458 -458
  97. package/packages/main/src/public/settings.vue +221 -221
  98. package/packages/main/src/simplicity/apps.vue +388 -388
  99. package/packages/main/src/simplicity/avatar.vue +82 -82
  100. package/packages/main/src/simplicity/handler.vue +259 -259
  101. package/packages/main/src/simplicity/index.vue +2102 -2102
  102. package/packages/main/src/simplicity/lists.vue +84 -84
  103. package/packages/main/src/simplicity/menu-list.vue +135 -135
  104. package/packages/main/src/simplicity/message.vue +259 -259
  105. package/packages/main/src/simplicity/notice.vue +190 -190
  106. package/packages/main/src/simplicity/router-page.vue +45 -45
  107. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  108. package/packages/main/src/simplicity/user.vue +260 -260
  109. package/packages/main/src/simplicity/userinfo.vue +312 -312
  110. package/packages/menu/index.js +5 -5
  111. package/packages/menu/src/main.vue +584 -584
  112. package/packages/nav/index.js +5 -5
  113. package/packages/nav/src/main.vue +351 -351
  114. package/packages/notify/index.js +5 -5
  115. package/packages/notify/src/main.vue +538 -538
  116. package/packages/page/index.js +5 -5
  117. package/packages/page/src/main.vue +167 -167
  118. package/packages/pagination/index.js +5 -5
  119. package/packages/pagination/src/main.vue +96 -96
  120. package/packages/player/index.js +5 -5
  121. package/packages/player/src/main.vue +194 -194
  122. package/packages/qr-code/index.js +5 -5
  123. package/packages/qr-code/src/main.vue +170 -170
  124. package/packages/radio-group/index.js +6 -6
  125. package/packages/radio-group/src/main.vue +319 -319
  126. package/packages/retrial-auth/index.js +5 -5
  127. package/packages/retrial-auth/src/main.vue +280 -280
  128. package/packages/select/index.js +5 -5
  129. package/packages/select/src/main.vue +778 -778
  130. package/packages/select-ganged/index.js +5 -5
  131. package/packages/select-ganged/src/main.vue +724 -724
  132. package/packages/selector/index.js +5 -5
  133. package/packages/selector/src/main.vue +745 -745
  134. package/packages/selector-panel/index.js +5 -5
  135. package/packages/selector-panel/src/main.vue +1027 -1027
  136. package/packages/selector-panel/src/selection.vue +170 -170
  137. package/packages/selector-panel/src/tree.vue +129 -129
  138. package/packages/sizer/index.js +5 -5
  139. package/packages/sizer/src/main.vue +254 -254
  140. package/packages/steps/index.js +5 -5
  141. package/packages/steps/src/main.vue +181 -181
  142. package/packages/switch/index.js +5 -5
  143. package/packages/switch/src/main.vue +154 -154
  144. package/packages/table-form/index.js +5 -5
  145. package/packages/tabs/index.js +5 -5
  146. package/packages/tabs/src/main.vue +788 -788
  147. package/packages/tabs-panel/index.js +5 -5
  148. package/packages/tabs-panel/src/main.vue +29 -29
  149. package/packages/theme-chalk/src/base.scss +261 -261
  150. package/packages/theme-chalk/src/button-group.scss +176 -176
  151. package/packages/theme-chalk/src/button.scss +24 -24
  152. package/packages/theme-chalk/src/calendar.scss +113 -113
  153. package/packages/theme-chalk/src/card.scss +99 -99
  154. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  155. package/packages/theme-chalk/src/clients.scss +87 -87
  156. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  157. package/packages/theme-chalk/src/data-table.scss +293 -293
  158. package/packages/theme-chalk/src/date-picker.scss +7 -7
  159. package/packages/theme-chalk/src/dialog.scss +77 -77
  160. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  161. package/packages/theme-chalk/src/enterprise.scss +5 -5
  162. package/packages/theme-chalk/src/error-page.scss +18 -18
  163. package/packages/theme-chalk/src/flow-group.scss +110 -110
  164. package/packages/theme-chalk/src/flow-list.scss +39 -39
  165. package/packages/theme-chalk/src/flow.scss +348 -348
  166. package/packages/theme-chalk/src/form.scss +499 -499
  167. package/packages/theme-chalk/src/handle-user.scss +40 -40
  168. package/packages/theme-chalk/src/handler.scss +143 -143
  169. package/packages/theme-chalk/src/icon.scss +1817 -1817
  170. package/packages/theme-chalk/src/icons.scss +99 -99
  171. package/packages/theme-chalk/src/input.scss +9 -9
  172. package/packages/theme-chalk/src/label.scss +24 -24
  173. package/packages/theme-chalk/src/layout.scss +46 -46
  174. package/packages/theme-chalk/src/login.scss +984 -984
  175. package/packages/theme-chalk/src/main.scss +663 -663
  176. package/packages/theme-chalk/src/menu.scss +222 -222
  177. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  178. package/packages/theme-chalk/src/nav.scss +111 -111
  179. package/packages/theme-chalk/src/page.scss +3 -3
  180. package/packages/theme-chalk/src/pagination.scss +29 -29
  181. package/packages/theme-chalk/src/player.scss +9 -9
  182. package/packages/theme-chalk/src/qr-code.scss +17 -17
  183. package/packages/theme-chalk/src/radio-group.scss +9 -9
  184. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  185. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  186. package/packages/theme-chalk/src/select.scss +8 -8
  187. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  188. package/packages/theme-chalk/src/selector.scss +91 -91
  189. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  190. package/packages/theme-chalk/src/sizer.scss +36 -36
  191. package/packages/theme-chalk/src/steps.scss +88 -88
  192. package/packages/theme-chalk/src/switch.scss +3 -3
  193. package/packages/theme-chalk/src/table-form.scss +1 -1
  194. package/packages/theme-chalk/src/tabs.scss +87 -87
  195. package/packages/theme-chalk/src/tips.scss +7 -7
  196. package/packages/theme-chalk/src/toolbar.scss +179 -179
  197. package/packages/theme-chalk/src/tree-group.scss +72 -72
  198. package/packages/theme-chalk/src/tree.scss +165 -165
  199. package/packages/theme-chalk/src/upload.scss +172 -172
  200. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  201. package/packages/tips/index.js +5 -5
  202. package/packages/tips/src/main.vue +141 -141
  203. package/packages/toolbar/index.js +5 -5
  204. package/packages/toolbar/src/main.vue +430 -430
  205. package/packages/tree/index.js +5 -5
  206. package/packages/tree-group/index.js +5 -5
  207. package/packages/upload/index.js +5 -5
  208. package/packages/upload/src/main.vue +1348 -1348
  209. package/packages/upload/src/picture.js +15 -15
  210. package/packages/wujie/index.js +5 -5
  211. package/packages/wujie/src/main.vue +145 -145
  212. package/packages/wxlogin/index.js +5 -5
  213. package/packages/wxlogin/src/main.vue +128 -128
  214. package/src/config/api.js +294 -294
  215. package/src/config/image.js +2 -2
  216. package/src/index.js +163 -163
  217. package/src/utils/bus.js +3 -3
  218. package/src/utils/date-util.js +312 -312
  219. package/src/utils/http.js +50 -50
  220. package/src/utils/rules.js +18 -18
  221. package/src/utils/store.js +21 -21
  222. package/src/utils/webSocket.js +107 -107
  223. package/packages/.DS_Store +0 -0
  224. package/packages/autocomplete/.DS_Store +0 -0
  225. package/packages/calogin/.DS_Store +0 -0
  226. package/packages/date-picker/.DS_Store +0 -0
  227. package/packages/date-picker/src/.DS_Store +0 -0
  228. package/packages/flow/.DS_Store +0 -0
  229. package/packages/flow/src/.DS_Store +0 -0
  230. package/packages/flow-list/.DS_Store +0 -0
  231. package/packages/form/.DS_Store +0 -0
  232. package/packages/login/.DS_Store +0 -0
  233. package/packages/main/.DS_Store +0 -0
  234. package/packages/main/src/.DS_Store +0 -0
  235. package/packages/menu/.DS_Store +0 -0
  236. package/packages/scrollbar/.DS_Store +0 -0
  237. package/packages/select/.DS_Store +0 -0
  238. package/packages/selector/.DS_Store +0 -0
  239. package/packages/selector-panel/.DS_Store +0 -0
  240. package/packages/theme-chalk/src/.DS_Store +0 -0
  241. package/packages/upload/.DS_Store +0 -0
  242. package/src/.DS_Store +0 -0
  243. package/src/utils/.DS_Store +0 -0
package/lib/main.js CHANGED
@@ -7208,10 +7208,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7208
7208
  this.$emit('click', res);
7209
7209
  },
7210
7210
 
7211
- /**
7212
- * @desc:获取气泡提醒
7213
- * @author huangbo
7214
- * @date 2024年9月7日
7211
+ /**
7212
+ * @desc:获取气泡提醒
7213
+ * @author huangbo
7214
+ * @date 2024年9月7日
7215
7215
  **/
7216
7216
  getBadge: function getBadge(res) {
7217
7217
  var num = res.tips || 0;
@@ -11240,10 +11240,10 @@ var events = [function (tabs, index, that) {
11240
11240
  },
11241
11241
 
11242
11242
  methods: {
11243
- /**
11244
- * @desc:匹配路由
11245
- * @author huangbo
11246
- * @date 2024年9月7日
11243
+ /**
11244
+ * @desc:匹配路由
11245
+ * @author huangbo
11246
+ * @date 2024年9月7日
11247
11247
  **/
11248
11248
  hasRouter: function hasRouter(res, url, code) {
11249
11249
  if (!url) {
@@ -11287,10 +11287,10 @@ var events = [function (tabs, index, that) {
11287
11287
  return false;
11288
11288
  },
11289
11289
 
11290
- /**
11291
- * @desc:获取初始数据
11292
- * @author huangbo
11293
- * @date 2024年9月7日
11290
+ /**
11291
+ * @desc:获取初始数据
11292
+ * @author huangbo
11293
+ * @date 2024年9月7日
11294
11294
  **/
11295
11295
  init: function init(results, first) {
11296
11296
  this.setConfig(results);
@@ -11299,10 +11299,10 @@ var events = [function (tabs, index, that) {
11299
11299
  }
11300
11300
  },
11301
11301
 
11302
- /**
11303
- * @desc:设置用户配置及信息
11304
- * @author huangbo
11305
- * @date 2024年9月7日
11302
+ /**
11303
+ * @desc:设置用户配置及信息
11304
+ * @author huangbo
11305
+ * @date 2024年9月7日
11306
11306
  **/
11307
11307
  setConfig: function setConfig(results) {
11308
11308
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11436,10 +11436,10 @@ var events = [function (tabs, index, that) {
11436
11436
  }
11437
11437
  },
11438
11438
 
11439
- /**
11440
- * @desc:获取所有应用
11441
- * @author huangbo
11442
- * @date 2024年9月7日
11439
+ /**
11440
+ * @desc:获取所有应用
11441
+ * @author huangbo
11442
+ * @date 2024年9月7日
11443
11443
  **/
11444
11444
  getApplications: function getApplications() {
11445
11445
  var _this = this;
@@ -11487,10 +11487,10 @@ var events = [function (tabs, index, that) {
11487
11487
  });
11488
11488
  },
11489
11489
 
11490
- /**
11491
- * @desc:获取菜单列表
11492
- * @author huangbo
11493
- * @date 2024年9月7日
11490
+ /**
11491
+ * @desc:获取菜单列表
11492
+ * @author huangbo
11493
+ * @date 2024年9月7日
11494
11494
  **/
11495
11495
  getMenus: function getMenus(loading) {
11496
11496
  var _this2 = this;
@@ -11523,10 +11523,10 @@ var events = [function (tabs, index, that) {
11523
11523
  });
11524
11524
  },
11525
11525
 
11526
- /**
11527
- * @desc:处理菜单列表
11528
- * @author huangbo
11529
- * @date 2024年9月7日
11526
+ /**
11527
+ * @desc:处理菜单列表
11528
+ * @author huangbo
11529
+ * @date 2024年9月7日
11530
11530
  **/
11531
11531
  renderMenus: function renderMenus(res) {
11532
11532
  this.menus = res;
@@ -11622,10 +11622,10 @@ var events = [function (tabs, index, that) {
11622
11622
  }
11623
11623
  },
11624
11624
 
11625
- /**
11626
- * @desc:设置页面加载类型
11627
- * @author huangbo
11628
- * @date 2024年9月7日
11625
+ /**
11626
+ * @desc:设置页面加载类型
11627
+ * @author huangbo
11628
+ * @date 2024年9月7日
11629
11629
  **/
11630
11630
  setIframeType: function setIframeType(res) {
11631
11631
  var url = res.url;
@@ -11681,10 +11681,10 @@ var events = [function (tabs, index, that) {
11681
11681
  return res;
11682
11682
  },
11683
11683
 
11684
- /**
11685
- * @desc:获取菜单
11686
- * @author huangbo
11687
- * @date 2024年9月7日
11684
+ /**
11685
+ * @desc:获取菜单
11686
+ * @author huangbo
11687
+ * @date 2024年9月7日
11688
11688
  **/
11689
11689
  getMenu: function getMenu(menus, res, key) {
11690
11690
  if (Array.isArray(menus)) {
@@ -11713,10 +11713,10 @@ var events = [function (tabs, index, that) {
11713
11713
  return false;
11714
11714
  },
11715
11715
 
11716
- /**
11717
- * @desc:获取菜单第一条数据
11718
- * @author huangbo
11719
- * @date 2024年9月7日
11716
+ /**
11717
+ * @desc:获取菜单第一条数据
11718
+ * @author huangbo
11719
+ * @date 2024年9月7日
11720
11720
  **/
11721
11721
  getFirst: function getFirst(obj) {
11722
11722
  if (!obj) {
@@ -11735,10 +11735,10 @@ var events = [function (tabs, index, that) {
11735
11735
  }
11736
11736
  },
11737
11737
 
11738
- /**
11739
- * @desc:遍历设置菜单气泡提醒
11740
- * @author huangbo
11741
- * @date 2024年9月7日
11738
+ /**
11739
+ * @desc:遍历设置菜单气泡提醒
11740
+ * @author huangbo
11741
+ * @date 2024年9月7日
11742
11742
  **/
11743
11743
  setTips: function setTips(obj) {
11744
11744
  var _this3 = this;
@@ -11801,10 +11801,10 @@ var events = [function (tabs, index, that) {
11801
11801
  }
11802
11802
  },
11803
11803
 
11804
- /**
11805
- * @desc:获取气泡提醒
11806
- * @author huangbo
11807
- * @date 2024年9月7日
11804
+ /**
11805
+ * @desc:获取气泡提醒
11806
+ * @author huangbo
11807
+ * @date 2024年9月7日
11808
11808
  **/
11809
11809
  getBadge: function getBadge(res) {
11810
11810
  var num = res.tips || 0;
@@ -11818,10 +11818,10 @@ var events = [function (tabs, index, that) {
11818
11818
  };
11819
11819
  },
11820
11820
 
11821
- /**
11822
- * @desc:开启weosocket
11823
- * @author huangbo
11824
- * @date 2024年9月7日
11821
+ /**
11822
+ * @desc:开启weosocket
11823
+ * @author huangbo
11824
+ * @date 2024年9月7日
11825
11825
  **/
11826
11826
  initWebSocket: function initWebSocket() {
11827
11827
  var _this5 = this;
@@ -11870,10 +11870,10 @@ var events = [function (tabs, index, that) {
11870
11870
  });
11871
11871
  },
11872
11872
 
11873
- /**
11874
- * @desc:显示用户信息
11875
- * @author huangbo
11876
- * @date 2024年9月7日
11873
+ /**
11874
+ * @desc:显示用户信息
11875
+ * @author huangbo
11876
+ * @date 2024年9月7日
11877
11877
  **/
11878
11878
  showUserInfo: function showUserInfo() {
11879
11879
  if (this.showUser === false) {
@@ -11881,19 +11881,19 @@ var events = [function (tabs, index, that) {
11881
11881
  }
11882
11882
  },
11883
11883
 
11884
- /**
11885
- * @desc:删除更多应用菜单点击
11886
- * @author huangbo
11887
- * @date 2024年9月7日
11884
+ /**
11885
+ * @desc:删除更多应用菜单点击
11886
+ * @author huangbo
11887
+ * @date 2024年9月7日
11888
11888
  **/
11889
11889
  handleDelete: function handleDelete(index) {
11890
11890
  this.newApps.splice(index, 1);
11891
11891
  },
11892
11892
 
11893
- /**
11894
- * @desc:储存更多应用菜单点击
11895
- * @author huangbo
11896
- * @date 2024年9月7日
11893
+ /**
11894
+ * @desc:储存更多应用菜单点击
11895
+ * @author huangbo
11896
+ * @date 2024年9月7日
11897
11897
  **/
11898
11898
  handlerClickApps: function handlerClickApps(res) {
11899
11899
  if (res.permission === false) {
@@ -11906,10 +11906,10 @@ var events = [function (tabs, index, that) {
11906
11906
  this.handlerClickApp(res);
11907
11907
  },
11908
11908
 
11909
- /**
11910
- * @desc:侧边应用菜单点击
11911
- * @author huangbo
11912
- * @date 2024年9月7日
11909
+ /**
11910
+ * @desc:侧边应用菜单点击
11911
+ * @author huangbo
11912
+ * @date 2024年9月7日
11913
11913
  **/
11914
11914
  handlerClickApp: function handlerClickApp(res) {
11915
11915
  this.showMsg = false;
@@ -11998,10 +11998,10 @@ var events = [function (tabs, index, that) {
11998
11998
  }
11999
11999
  },
12000
12000
 
12001
- /**
12002
- * @desc:显示Drawer界面
12003
- * @author huangbo
12004
- * @date 2024年9月7日
12001
+ /**
12002
+ * @desc:显示Drawer界面
12003
+ * @author huangbo
12004
+ * @date 2024年9月7日
12005
12005
  **/
12006
12006
  handlerSetDrawer: function handlerSetDrawer(res, type) {
12007
12007
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -12021,19 +12021,19 @@ var events = [function (tabs, index, that) {
12021
12021
  }
12022
12022
  },
12023
12023
 
12024
- /**
12025
- * @desc:关闭Drawer界面
12026
- * @author huangbo
12027
- * @date 2024年9月7日
12024
+ /**
12025
+ * @desc:关闭Drawer界面
12026
+ * @author huangbo
12027
+ * @date 2024年9月7日
12028
12028
  **/
12029
12029
  handleCloseDrawer: function handleCloseDrawer() {
12030
12030
  this.drawer = { visible: false };
12031
12031
  },
12032
12032
 
12033
- /**
12034
- * @desc:菜单点击
12035
- * @author huangbo
12036
- * @date 2024年9月7日
12033
+ /**
12034
+ * @desc:菜单点击
12035
+ * @author huangbo
12036
+ * @date 2024年9月7日
12037
12037
  **/
12038
12038
  handlerClickMenu: function handlerClickMenu(res) {
12039
12039
  util["a" /* default */].ajax({
@@ -12082,19 +12082,19 @@ var events = [function (tabs, index, that) {
12082
12082
  },
12083
12083
 
12084
12084
 
12085
- /**
12086
- * @desc:用户详情请求成功
12087
- * @author huangbo
12088
- * @date 2024年9月7日
12085
+ /**
12086
+ * @desc:用户详情请求成功
12087
+ * @author huangbo
12088
+ * @date 2024年9月7日
12089
12089
  **/
12090
12090
  handleSuccess: function handleSuccess(res) {
12091
12091
  this.simpleUserInfo = res.simpleUserInfo;
12092
12092
  },
12093
12093
 
12094
- /**
12095
- * @desc:修改用户配置
12096
- * @author huangbo
12097
- * @date 2024年9月7日
12094
+ /**
12095
+ * @desc:修改用户配置
12096
+ * @author huangbo
12097
+ * @date 2024年9月7日
12098
12098
  **/
12099
12099
  handleChangeConfig: function handleChangeConfig(name, res) {
12100
12100
  if (name == 'userHeadUrl') {
@@ -12110,10 +12110,10 @@ var events = [function (tabs, index, that) {
12110
12110
  }
12111
12111
  },
12112
12112
 
12113
- /**
12114
- * @desc:关闭webSocket
12115
- * @author huangbo
12116
- * @date 2024年9月7日
12113
+ /**
12114
+ * @desc:关闭webSocket
12115
+ * @author huangbo
12116
+ * @date 2024年9月7日
12117
12117
  **/
12118
12118
  handlerClose: function handlerClose() {
12119
12119
  if (this.webSocket) {
@@ -12121,10 +12121,10 @@ var events = [function (tabs, index, that) {
12121
12121
  }
12122
12122
  },
12123
12123
 
12124
- /**
12125
- * @desc:刷新选中iframe页签
12126
- * @author huangbo
12127
- * @date 2024年9月7日
12124
+ /**
12125
+ * @desc:刷新选中iframe页签
12126
+ * @author huangbo
12127
+ * @date 2024年9月7日
12128
12128
  **/
12129
12129
  handleRefresh: function handleRefresh() {
12130
12130
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12145,10 +12145,10 @@ var events = [function (tabs, index, that) {
12145
12145
  }
12146
12146
  },
12147
12147
 
12148
- /**
12149
- * @desc:删除iframe
12150
- * @author huangbo
12151
- * @date 2024年9月7日
12148
+ /**
12149
+ * @desc:删除iframe
12150
+ * @author huangbo
12151
+ * @date 2024年9月7日
12152
12152
  **/
12153
12153
  handleRemove: function handleRemove(name) {
12154
12154
  var len = this.tabs.length - 1;
@@ -12165,10 +12165,10 @@ var events = [function (tabs, index, that) {
12165
12165
  }
12166
12166
  },
12167
12167
 
12168
- /**
12169
- * @desc:tabs鼠标右键事件
12170
- * @author huangbo
12171
- * @date 2024年9月7日
12168
+ /**
12169
+ * @desc:tabs鼠标右键事件
12170
+ * @author huangbo
12171
+ * @date 2024年9月7日
12172
12172
  **/
12173
12173
  handleContextmenu: function handleContextmenu(tabs, e) {
12174
12174
  var disabled = {};
@@ -12193,10 +12193,10 @@ var events = [function (tabs, index, that) {
12193
12193
  window.addEventListener('click', this.closeTabsEvents);
12194
12194
  },
12195
12195
 
12196
- /**
12197
- * @desc:tabs页签事件
12198
- * @author huangbo
12199
- * @date 2024年9月7日
12196
+ /**
12197
+ * @desc:tabs页签事件
12198
+ * @author huangbo
12199
+ * @date 2024年9月7日
12200
12200
  **/
12201
12201
  handleTabsEvents: function handleTabsEvents(num) {
12202
12202
  if (this.pane !== null) {
@@ -12214,10 +12214,10 @@ var events = [function (tabs, index, that) {
12214
12214
  window.removeEventListener('click', this.closeTabsEvents);
12215
12215
  },
12216
12216
 
12217
- /**
12218
- * @desc:handler工具栏点击事件
12219
- * @author huangbo
12220
- * @date 2024年9月7日
12217
+ /**
12218
+ * @desc:handler工具栏点击事件
12219
+ * @author huangbo
12220
+ * @date 2024年9月7日
12221
12221
  **/
12222
12222
  handleClick: function handleClick(res) {
12223
12223
  var type = res.type,
@@ -12295,10 +12295,10 @@ var events = [function (tabs, index, that) {
12295
12295
  this.$emit('handler-click', res);
12296
12296
  },
12297
12297
 
12298
- /**
12299
- * @desc:退出登录
12300
- * @author huangbo
12301
- * @date 2024年9月7日
12298
+ /**
12299
+ * @desc:退出登录
12300
+ * @author huangbo
12301
+ * @date 2024年9月7日
12302
12302
  **/
12303
12303
  handleQuit: function handleQuit() {
12304
12304
  var _this6 = this;
@@ -12373,10 +12373,10 @@ var events = [function (tabs, index, that) {
12373
12373
  }).catch(function (e) {});
12374
12374
  },
12375
12375
 
12376
- /**
12377
- * @desc:主题、消息回调
12378
- * @author huangbo
12379
- * @date 2024年9月7日
12376
+ /**
12377
+ * @desc:主题、消息回调
12378
+ * @author huangbo
12379
+ * @date 2024年9月7日
12380
12380
  **/
12381
12381
  handleChange: function handleChange(res) {
12382
12382
  var type = res.type,
@@ -12392,10 +12392,10 @@ var events = [function (tabs, index, that) {
12392
12392
  }
12393
12393
  },
12394
12394
 
12395
- /**
12396
- * @desc:菜单布局样式切换
12397
- * @author huangbo
12398
- * @date 2024年9月7日
12395
+ /**
12396
+ * @desc:菜单布局样式切换
12397
+ * @author huangbo
12398
+ * @date 2024年9月7日
12399
12399
  **/
12400
12400
  handleLayout: function handleLayout(res, active) {
12401
12401
  if (active) {
@@ -12404,10 +12404,10 @@ var events = [function (tabs, index, that) {
12404
12404
  this.$emit('chang-layout', res, active);
12405
12405
  },
12406
12406
 
12407
- /**
12408
- * @desc:消息修改总数
12409
- * @author huangbo
12410
- * @date 2024年9月7日
12407
+ /**
12408
+ * @desc:消息修改总数
12409
+ * @author huangbo
12410
+ * @date 2024年9月7日
12411
12411
  **/
12412
12412
  handleMenuTips: function handleMenuTips(id, num) {
12413
12413
  if (num) {
@@ -12418,10 +12418,10 @@ var events = [function (tabs, index, that) {
12418
12418
  }
12419
12419
  },
12420
12420
 
12421
- /**
12422
- * @desc:处理即时消息
12423
- * @author huangbo
12424
- * @date 2024年9月7日
12421
+ /**
12422
+ * @desc:处理即时消息
12423
+ * @author huangbo
12424
+ * @date 2024年9月7日
12425
12425
  **/
12426
12426
  handleOpened: function handleOpened(res) {
12427
12427
  var _this7 = this;
package/lib/qr-code.js CHANGED
@@ -4322,19 +4322,19 @@ var QRCode = __webpack_require__(28);
4322
4322
  //设置logo大小
4323
4323
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
4324
4324
  //设置获取的logo将其变为圆角以及添加白色背景
4325
- /* ctx.fillStyle = "#fff";
4326
- ctx.beginPath();
4327
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4328
- let w = 46; //圆角宽
4329
- let x = logoPosition - 5;
4330
- let y = logoPosition - 5;
4331
- let r = 5; //圆角半径
4332
- ctx.moveTo(x + r, y);
4333
- ctx.arcTo(x + w, y, x + w, y + h, r);
4334
- ctx.arcTo(x + w, y + h, x, y + h, r);
4335
- ctx.arcTo(x, y + h, x, y, r);
4336
- ctx.arcTo(x, y, x + w, y, r);
4337
- ctx.closePath();
4325
+ /* ctx.fillStyle = "#fff";
4326
+ ctx.beginPath();
4327
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4328
+ let w = 46; //圆角宽
4329
+ let x = logoPosition - 5;
4330
+ let y = logoPosition - 5;
4331
+ let r = 5; //圆角半径
4332
+ ctx.moveTo(x + r, y);
4333
+ ctx.arcTo(x + w, y, x + w, y + h, r);
4334
+ ctx.arcTo(x + w, y + h, x, y + h, r);
4335
+ ctx.arcTo(x, y + h, x, y, r);
4336
+ ctx.arcTo(x, y, x + w, y, r);
4337
+ ctx.closePath();
4338
4338
  ctx.fill(); */
4339
4339
  logo.onload = function () {
4340
4340
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);