eoss-ui 0.6.64 → 0.6.65

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 (241) hide show
  1. package/lib/calogin.js +208 -208
  2. package/lib/eoss-ui.common.js +1225 -948
  3. package/lib/flow-list.js +178 -150
  4. package/lib/flow.js +548 -323
  5. package/lib/index.js +1 -1
  6. package/lib/login.js +128 -104
  7. package/lib/main.js +132 -132
  8. package/lib/qr-code.js +13 -13
  9. package/lib/theme-chalk/index.css +1 -1
  10. package/lib/theme-chalk/login.css +1 -1
  11. package/package.json +160 -160
  12. package/packages/button/index.js +5 -5
  13. package/packages/button/src/main.vue +418 -418
  14. package/packages/button-group/index.js +5 -5
  15. package/packages/button-group/src/main.vue +298 -298
  16. package/packages/calendar/index.js +5 -5
  17. package/packages/calogin/index.js +5 -5
  18. package/packages/calogin/src/main.vue +131 -131
  19. package/packages/calogin/src/plugin.js +748 -748
  20. package/packages/card/index.js +5 -5
  21. package/packages/card/src/main.vue +156 -156
  22. package/packages/cascader/index.js +5 -5
  23. package/packages/cascader/src/main.vue +168 -168
  24. package/packages/checkbox-group/index.js +5 -5
  25. package/packages/checkbox-group/src/main.vue +333 -333
  26. package/packages/clients/index.js +5 -5
  27. package/packages/clients/src/main.vue +151 -151
  28. package/packages/data-table/index.js +5 -5
  29. package/packages/data-table/src/children.vue +39 -39
  30. package/packages/data-table/src/column.vue +989 -989
  31. package/packages/data-table/src/main.vue +1822 -1822
  32. package/packages/data-table/src/sizer.vue +195 -195
  33. package/packages/data-table-form/index.js +5 -5
  34. package/packages/data-table-form/src/checkbox.vue +101 -101
  35. package/packages/data-table-form/src/colgroup.vue +17 -17
  36. package/packages/data-table-form/src/main.vue +181 -181
  37. package/packages/data-table-form/src/radio.vue +65 -65
  38. package/packages/data-table-form/src/table.vue +233 -233
  39. package/packages/data-table-form/src/tbody.vue +336 -336
  40. package/packages/data-table-form/src/thead.vue +68 -68
  41. package/packages/date-picker/index.js +5 -5
  42. package/packages/date-picker/src/main.vue +236 -236
  43. package/packages/dialog/index.js +5 -5
  44. package/packages/enable-drag/index.js +5 -5
  45. package/packages/enterprise/index.js +5 -5
  46. package/packages/enterprise/src/main.vue +66 -66
  47. package/packages/error-page/index.js +5 -5
  48. package/packages/error-page/src/main.vue +44 -44
  49. package/packages/flow/index.js +5 -5
  50. package/packages/flow/src/component/Circulate.vue +332 -322
  51. package/packages/flow/src/component/CommonOpinions.vue +346 -346
  52. package/packages/flow/src/component/CustomPreset.vue +322 -322
  53. package/packages/flow/src/component/FileList.vue +99 -99
  54. package/packages/flow/src/component/Preset.vue +255 -255
  55. package/packages/flow/src/component/SendMsg.vue +241 -241
  56. package/packages/flow/src/component/TimeLimit.vue +190 -190
  57. package/packages/flow/src/component/taskUnionExamine.vue +619 -619
  58. package/packages/flow/src/form.vue +121 -121
  59. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  60. package/packages/flow/src/main.vue +3359 -3275
  61. package/packages/flow/src/processForm.vue +1091 -1091
  62. package/packages/flow/src/processReject.vue +294 -294
  63. package/packages/flow/src/reset.vue +900 -900
  64. package/packages/flow/src/startTaskRead.vue +659 -659
  65. package/packages/flow/src/supervise.vue +149 -149
  66. package/packages/flow/src/table.vue +58 -58
  67. package/packages/flow-group/index.js +5 -5
  68. package/packages/flow-group/src/main.vue +688 -688
  69. package/packages/flow-list/index.js +5 -5
  70. package/packages/flow-list/src/main.vue +1750 -1724
  71. package/packages/form/index.js +5 -5
  72. package/packages/form/src/main.vue +3581 -3581
  73. package/packages/form/src/table.vue +1426 -1426
  74. package/packages/handle-user/index.js +5 -5
  75. package/packages/handle-user/src/main.vue +138 -138
  76. package/packages/handler/index.js +5 -5
  77. package/packages/handler/src/main.vue +493 -493
  78. package/packages/icon/index.js +5 -5
  79. package/packages/icon/src/main.vue +101 -101
  80. package/packages/icons/index.js +5 -5
  81. package/packages/icons/src/main.vue +81 -81
  82. package/packages/input/index.js +5 -5
  83. package/packages/input/src/main.vue +356 -356
  84. package/packages/input-number/index.js +5 -5
  85. package/packages/input-number/src/main.vue +106 -106
  86. package/packages/label/index.js +5 -5
  87. package/packages/label/src/main.vue +457 -457
  88. package/packages/layout/index.js +5 -5
  89. package/packages/layout/src/item.vue +152 -152
  90. package/packages/layout/src/main.vue +31 -31
  91. package/packages/login/index.js +5 -5
  92. package/packages/login/src/main.vue +1988 -1976
  93. package/packages/login/src/resetPassword.vue +562 -562
  94. package/packages/main/index.js +5 -5
  95. package/packages/main/src/default/message.vue +249 -249
  96. package/packages/main/src/default/notice.vue +157 -157
  97. package/packages/main/src/default/userinfo.vue +503 -503
  98. package/packages/main/src/public/online.vue +89 -89
  99. package/packages/main/src/public/search.vue +462 -462
  100. package/packages/main/src/public/settings.vue +221 -221
  101. package/packages/main/src/simplicity/apps.vue +388 -388
  102. package/packages/main/src/simplicity/avatar.vue +83 -83
  103. package/packages/main/src/simplicity/handler.vue +259 -259
  104. package/packages/main/src/simplicity/index.vue +2089 -2089
  105. package/packages/main/src/simplicity/lists.vue +84 -84
  106. package/packages/main/src/simplicity/menu-list.vue +135 -135
  107. package/packages/main/src/simplicity/message.vue +259 -259
  108. package/packages/main/src/simplicity/notice.vue +190 -190
  109. package/packages/main/src/simplicity/router-page.vue +45 -45
  110. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  111. package/packages/main/src/simplicity/user.vue +257 -257
  112. package/packages/main/src/simplicity/userinfo.vue +312 -312
  113. package/packages/menu/index.js +5 -5
  114. package/packages/menu/src/main.vue +584 -584
  115. package/packages/nav/index.js +5 -5
  116. package/packages/nav/src/main.vue +351 -351
  117. package/packages/notify/index.js +5 -5
  118. package/packages/notify/src/main.vue +538 -538
  119. package/packages/page/index.js +5 -5
  120. package/packages/page/src/main.vue +167 -167
  121. package/packages/pagination/index.js +5 -5
  122. package/packages/pagination/src/main.vue +96 -96
  123. package/packages/player/index.js +5 -5
  124. package/packages/player/src/main.vue +194 -194
  125. package/packages/qr-code/index.js +5 -5
  126. package/packages/qr-code/src/main.vue +170 -170
  127. package/packages/radio-group/index.js +6 -6
  128. package/packages/radio-group/src/main.vue +319 -319
  129. package/packages/retrial-auth/index.js +5 -5
  130. package/packages/retrial-auth/src/main.vue +280 -280
  131. package/packages/select/index.js +5 -5
  132. package/packages/select/src/main.vue +778 -778
  133. package/packages/select-ganged/index.js +5 -5
  134. package/packages/select-ganged/src/main.vue +724 -724
  135. package/packages/selector/index.js +5 -5
  136. package/packages/selector/src/main.vue +687 -687
  137. package/packages/selector-panel/index.js +5 -5
  138. package/packages/selector-panel/src/main.vue +1027 -1027
  139. package/packages/selector-panel/src/selection.vue +177 -177
  140. package/packages/selector-panel/src/tree.vue +129 -129
  141. package/packages/sizer/index.js +5 -5
  142. package/packages/sizer/src/main.vue +254 -254
  143. package/packages/steps/index.js +5 -5
  144. package/packages/steps/src/main.vue +181 -181
  145. package/packages/switch/index.js +5 -5
  146. package/packages/switch/src/main.vue +154 -154
  147. package/packages/table-form/index.js +5 -5
  148. package/packages/tabs/index.js +5 -5
  149. package/packages/tabs/src/main.vue +788 -788
  150. package/packages/tabs-panel/index.js +5 -5
  151. package/packages/tabs-panel/src/main.vue +29 -29
  152. package/packages/theme-chalk/lib/index.css +1 -1
  153. package/packages/theme-chalk/lib/login.css +1 -1
  154. package/packages/theme-chalk/src/base.scss +261 -261
  155. package/packages/theme-chalk/src/button-group.scss +176 -176
  156. package/packages/theme-chalk/src/button.scss +24 -24
  157. package/packages/theme-chalk/src/calendar.scss +113 -113
  158. package/packages/theme-chalk/src/card.scss +99 -99
  159. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  160. package/packages/theme-chalk/src/clients.scss +87 -87
  161. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  162. package/packages/theme-chalk/src/data-table.scss +293 -293
  163. package/packages/theme-chalk/src/date-picker.scss +7 -7
  164. package/packages/theme-chalk/src/dialog.scss +77 -77
  165. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  166. package/packages/theme-chalk/src/enterprise.scss +5 -5
  167. package/packages/theme-chalk/src/error-page.scss +18 -18
  168. package/packages/theme-chalk/src/flow-group.scss +110 -110
  169. package/packages/theme-chalk/src/flow-list.scss +39 -39
  170. package/packages/theme-chalk/src/flow.scss +343 -343
  171. package/packages/theme-chalk/src/form.scss +496 -496
  172. package/packages/theme-chalk/src/handle-user.scss +40 -40
  173. package/packages/theme-chalk/src/handler.scss +143 -143
  174. package/packages/theme-chalk/src/icon.scss +1792 -1792
  175. package/packages/theme-chalk/src/icons.scss +99 -99
  176. package/packages/theme-chalk/src/input.scss +9 -9
  177. package/packages/theme-chalk/src/label.scss +24 -24
  178. package/packages/theme-chalk/src/layout.scss +46 -46
  179. package/packages/theme-chalk/src/login.scss +981 -981
  180. package/packages/theme-chalk/src/main.scss +663 -663
  181. package/packages/theme-chalk/src/menu.scss +222 -222
  182. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  183. package/packages/theme-chalk/src/nav.scss +111 -111
  184. package/packages/theme-chalk/src/page.scss +3 -3
  185. package/packages/theme-chalk/src/pagination.scss +29 -29
  186. package/packages/theme-chalk/src/player.scss +9 -9
  187. package/packages/theme-chalk/src/qr-code.scss +17 -17
  188. package/packages/theme-chalk/src/radio-group.scss +9 -9
  189. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  190. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  191. package/packages/theme-chalk/src/select.scss +8 -8
  192. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  193. package/packages/theme-chalk/src/selector.scss +91 -91
  194. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  195. package/packages/theme-chalk/src/sizer.scss +36 -36
  196. package/packages/theme-chalk/src/steps.scss +88 -88
  197. package/packages/theme-chalk/src/switch.scss +3 -3
  198. package/packages/theme-chalk/src/table-form.scss +1 -1
  199. package/packages/theme-chalk/src/tabs.scss +87 -87
  200. package/packages/theme-chalk/src/tips.scss +7 -7
  201. package/packages/theme-chalk/src/toolbar.scss +179 -179
  202. package/packages/theme-chalk/src/tree-group.scss +72 -72
  203. package/packages/theme-chalk/src/tree.scss +165 -165
  204. package/packages/theme-chalk/src/upload.scss +168 -168
  205. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  206. package/packages/tips/index.js +5 -5
  207. package/packages/tips/src/main.vue +141 -141
  208. package/packages/toolbar/index.js +5 -5
  209. package/packages/toolbar/src/main.vue +430 -430
  210. package/packages/tree/index.js +5 -5
  211. package/packages/tree-group/index.js +5 -5
  212. package/packages/upload/index.js +5 -5
  213. package/packages/upload/src/main.vue +1347 -1347
  214. package/packages/upload/src/picture.js +15 -15
  215. package/packages/wujie/index.js +5 -5
  216. package/packages/wujie/src/main.vue +145 -145
  217. package/packages/wxlogin/index.js +5 -5
  218. package/packages/wxlogin/src/main.vue +128 -128
  219. package/src/config/api.js +290 -290
  220. package/src/config/image.js +2 -2
  221. package/src/index.js +163 -163
  222. package/src/utils/bus.js +3 -3
  223. package/src/utils/date-util.js +312 -312
  224. package/src/utils/http.js +50 -50
  225. package/src/utils/rules.js +18 -18
  226. package/src/utils/store.js +21 -21
  227. package/src/utils/webSocket.js +107 -107
  228. package/lib/.DS_Store +0 -0
  229. package/packages/.DS_Store +0 -0
  230. package/packages/autocomplete/.DS_Store +0 -0
  231. package/packages/date-picker/.DS_Store +0 -0
  232. package/packages/date-picker/src/.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/theme-chalk/src/.DS_Store +0 -0
  239. package/packages/upload/.DS_Store +0 -0
  240. package/src/.DS_Store +0 -0
  241. package/src/utils/.DS_Store +0 -0
package/lib/main.js CHANGED
@@ -7149,10 +7149,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7149
7149
  this.$emit('click', res);
7150
7150
  },
7151
7151
 
7152
- /**
7153
- * @desc:获取气泡提醒
7154
- * @author huangbo
7155
- * @date 2024年9月7日
7152
+ /**
7153
+ * @desc:获取气泡提醒
7154
+ * @author huangbo
7155
+ * @date 2024年9月7日
7156
7156
  **/
7157
7157
  getBadge: function getBadge(res) {
7158
7158
  var num = res.tips || 0;
@@ -11178,10 +11178,10 @@ var events = [function (tabs, index, that) {
11178
11178
  },
11179
11179
 
11180
11180
  methods: {
11181
- /**
11182
- * @desc:匹配路由
11183
- * @author huangbo
11184
- * @date 2024年9月7日
11181
+ /**
11182
+ * @desc:匹配路由
11183
+ * @author huangbo
11184
+ * @date 2024年9月7日
11185
11185
  **/
11186
11186
  hasRouter: function hasRouter(res, url, code) {
11187
11187
  if (!url) {
@@ -11225,10 +11225,10 @@ var events = [function (tabs, index, that) {
11225
11225
  return false;
11226
11226
  },
11227
11227
 
11228
- /**
11229
- * @desc:获取初始数据
11230
- * @author huangbo
11231
- * @date 2024年9月7日
11228
+ /**
11229
+ * @desc:获取初始数据
11230
+ * @author huangbo
11231
+ * @date 2024年9月7日
11232
11232
  **/
11233
11233
  init: function init(results, first) {
11234
11234
  this.setConfig(results);
@@ -11237,10 +11237,10 @@ var events = [function (tabs, index, that) {
11237
11237
  }
11238
11238
  },
11239
11239
 
11240
- /**
11241
- * @desc:设置用户配置及信息
11242
- * @author huangbo
11243
- * @date 2024年9月7日
11240
+ /**
11241
+ * @desc:设置用户配置及信息
11242
+ * @author huangbo
11243
+ * @date 2024年9月7日
11244
11244
  **/
11245
11245
  setConfig: function setConfig(results) {
11246
11246
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11371,10 +11371,10 @@ var events = [function (tabs, index, that) {
11371
11371
  }
11372
11372
  },
11373
11373
 
11374
- /**
11375
- * @desc:获取所有应用
11376
- * @author huangbo
11377
- * @date 2024年9月7日
11374
+ /**
11375
+ * @desc:获取所有应用
11376
+ * @author huangbo
11377
+ * @date 2024年9月7日
11378
11378
  **/
11379
11379
  getApplications: function getApplications() {
11380
11380
  var _this = this;
@@ -11422,10 +11422,10 @@ var events = [function (tabs, index, that) {
11422
11422
  });
11423
11423
  },
11424
11424
 
11425
- /**
11426
- * @desc:获取菜单列表
11427
- * @author huangbo
11428
- * @date 2024年9月7日
11425
+ /**
11426
+ * @desc:获取菜单列表
11427
+ * @author huangbo
11428
+ * @date 2024年9月7日
11429
11429
  **/
11430
11430
  getMenus: function getMenus(loading) {
11431
11431
  var _this2 = this;
@@ -11458,10 +11458,10 @@ var events = [function (tabs, index, that) {
11458
11458
  });
11459
11459
  },
11460
11460
 
11461
- /**
11462
- * @desc:处理菜单列表
11463
- * @author huangbo
11464
- * @date 2024年9月7日
11461
+ /**
11462
+ * @desc:处理菜单列表
11463
+ * @author huangbo
11464
+ * @date 2024年9月7日
11465
11465
  **/
11466
11466
  renderMenus: function renderMenus(res) {
11467
11467
  this.menus = res;
@@ -11551,10 +11551,10 @@ var events = [function (tabs, index, that) {
11551
11551
  }
11552
11552
  },
11553
11553
 
11554
- /**
11555
- * @desc:设置页面加载类型
11556
- * @author huangbo
11557
- * @date 2024年9月7日
11554
+ /**
11555
+ * @desc:设置页面加载类型
11556
+ * @author huangbo
11557
+ * @date 2024年9月7日
11558
11558
  **/
11559
11559
  setIframeType: function setIframeType(res) {
11560
11560
  var url = res.url;
@@ -11610,10 +11610,10 @@ var events = [function (tabs, index, that) {
11610
11610
  return res;
11611
11611
  },
11612
11612
 
11613
- /**
11614
- * @desc:获取菜单
11615
- * @author huangbo
11616
- * @date 2024年9月7日
11613
+ /**
11614
+ * @desc:获取菜单
11615
+ * @author huangbo
11616
+ * @date 2024年9月7日
11617
11617
  **/
11618
11618
  getMenu: function getMenu(menus, res, key) {
11619
11619
  if (Array.isArray(menus)) {
@@ -11642,10 +11642,10 @@ var events = [function (tabs, index, that) {
11642
11642
  return false;
11643
11643
  },
11644
11644
 
11645
- /**
11646
- * @desc:获取菜单第一条数据
11647
- * @author huangbo
11648
- * @date 2024年9月7日
11645
+ /**
11646
+ * @desc:获取菜单第一条数据
11647
+ * @author huangbo
11648
+ * @date 2024年9月7日
11649
11649
  **/
11650
11650
  getFirst: function getFirst(obj) {
11651
11651
  if (!obj) {
@@ -11664,10 +11664,10 @@ var events = [function (tabs, index, that) {
11664
11664
  }
11665
11665
  },
11666
11666
 
11667
- /**
11668
- * @desc:遍历设置菜单气泡提醒
11669
- * @author huangbo
11670
- * @date 2024年9月7日
11667
+ /**
11668
+ * @desc:遍历设置菜单气泡提醒
11669
+ * @author huangbo
11670
+ * @date 2024年9月7日
11671
11671
  **/
11672
11672
  setTips: function setTips(obj) {
11673
11673
  var _this3 = this;
@@ -11730,10 +11730,10 @@ var events = [function (tabs, index, that) {
11730
11730
  }
11731
11731
  },
11732
11732
 
11733
- /**
11734
- * @desc:获取气泡提醒
11735
- * @author huangbo
11736
- * @date 2024年9月7日
11733
+ /**
11734
+ * @desc:获取气泡提醒
11735
+ * @author huangbo
11736
+ * @date 2024年9月7日
11737
11737
  **/
11738
11738
  getBadge: function getBadge(res) {
11739
11739
  var num = res.tips || 0;
@@ -11747,10 +11747,10 @@ var events = [function (tabs, index, that) {
11747
11747
  };
11748
11748
  },
11749
11749
 
11750
- /**
11751
- * @desc:开启weosocket
11752
- * @author huangbo
11753
- * @date 2024年9月7日
11750
+ /**
11751
+ * @desc:开启weosocket
11752
+ * @author huangbo
11753
+ * @date 2024年9月7日
11754
11754
  **/
11755
11755
  initWebSocket: function initWebSocket() {
11756
11756
  var _this5 = this;
@@ -11798,10 +11798,10 @@ var events = [function (tabs, index, that) {
11798
11798
  });
11799
11799
  },
11800
11800
 
11801
- /**
11802
- * @desc:显示用户信息
11803
- * @author huangbo
11804
- * @date 2024年9月7日
11801
+ /**
11802
+ * @desc:显示用户信息
11803
+ * @author huangbo
11804
+ * @date 2024年9月7日
11805
11805
  **/
11806
11806
  showUserInfo: function showUserInfo() {
11807
11807
  if (this.showUser === false) {
@@ -11809,19 +11809,19 @@ var events = [function (tabs, index, that) {
11809
11809
  }
11810
11810
  },
11811
11811
 
11812
- /**
11813
- * @desc:删除更多应用菜单点击
11814
- * @author huangbo
11815
- * @date 2024年9月7日
11812
+ /**
11813
+ * @desc:删除更多应用菜单点击
11814
+ * @author huangbo
11815
+ * @date 2024年9月7日
11816
11816
  **/
11817
11817
  handleDelete: function handleDelete(index) {
11818
11818
  this.newApps.splice(index, 1);
11819
11819
  },
11820
11820
 
11821
- /**
11822
- * @desc:储存更多应用菜单点击
11823
- * @author huangbo
11824
- * @date 2024年9月7日
11821
+ /**
11822
+ * @desc:储存更多应用菜单点击
11823
+ * @author huangbo
11824
+ * @date 2024年9月7日
11825
11825
  **/
11826
11826
  handlerClickApps: function handlerClickApps(res) {
11827
11827
  if (res.permission === false) {
@@ -11834,10 +11834,10 @@ var events = [function (tabs, index, that) {
11834
11834
  this.handlerClickApp(res);
11835
11835
  },
11836
11836
 
11837
- /**
11838
- * @desc:侧边应用菜单点击
11839
- * @author huangbo
11840
- * @date 2024年9月7日
11837
+ /**
11838
+ * @desc:侧边应用菜单点击
11839
+ * @author huangbo
11840
+ * @date 2024年9月7日
11841
11841
  **/
11842
11842
  handlerClickApp: function handlerClickApp(res) {
11843
11843
  this.showMsg = false;
@@ -11924,10 +11924,10 @@ var events = [function (tabs, index, that) {
11924
11924
  }
11925
11925
  },
11926
11926
 
11927
- /**
11928
- * @desc:显示Drawer界面
11929
- * @author huangbo
11930
- * @date 2024年9月7日
11927
+ /**
11928
+ * @desc:显示Drawer界面
11929
+ * @author huangbo
11930
+ * @date 2024年9月7日
11931
11931
  **/
11932
11932
  handlerSetDrawer: function handlerSetDrawer(res, type) {
11933
11933
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -11947,19 +11947,19 @@ var events = [function (tabs, index, that) {
11947
11947
  }
11948
11948
  },
11949
11949
 
11950
- /**
11951
- * @desc:关闭Drawer界面
11952
- * @author huangbo
11953
- * @date 2024年9月7日
11950
+ /**
11951
+ * @desc:关闭Drawer界面
11952
+ * @author huangbo
11953
+ * @date 2024年9月7日
11954
11954
  **/
11955
11955
  handleCloseDrawer: function handleCloseDrawer() {
11956
11956
  this.drawer = { visible: false };
11957
11957
  },
11958
11958
 
11959
- /**
11960
- * @desc:菜单点击
11961
- * @author huangbo
11962
- * @date 2024年9月7日
11959
+ /**
11960
+ * @desc:菜单点击
11961
+ * @author huangbo
11962
+ * @date 2024年9月7日
11963
11963
  **/
11964
11964
  handlerClickMenu: function handlerClickMenu(res) {
11965
11965
  util["a" /* default */].ajax({
@@ -12008,19 +12008,19 @@ var events = [function (tabs, index, that) {
12008
12008
  },
12009
12009
 
12010
12010
 
12011
- /**
12012
- * @desc:用户详情请求成功
12013
- * @author huangbo
12014
- * @date 2024年9月7日
12011
+ /**
12012
+ * @desc:用户详情请求成功
12013
+ * @author huangbo
12014
+ * @date 2024年9月7日
12015
12015
  **/
12016
12016
  handleSuccess: function handleSuccess(res) {
12017
12017
  this.simpleUserInfo = res.simpleUserInfo;
12018
12018
  },
12019
12019
 
12020
- /**
12021
- * @desc:修改用户配置
12022
- * @author huangbo
12023
- * @date 2024年9月7日
12020
+ /**
12021
+ * @desc:修改用户配置
12022
+ * @author huangbo
12023
+ * @date 2024年9月7日
12024
12024
  **/
12025
12025
  handleChangeConfig: function handleChangeConfig(name, res) {
12026
12026
  if (name == 'userHeadUrl') {
@@ -12036,10 +12036,10 @@ var events = [function (tabs, index, that) {
12036
12036
  }
12037
12037
  },
12038
12038
 
12039
- /**
12040
- * @desc:关闭webSocket
12041
- * @author huangbo
12042
- * @date 2024年9月7日
12039
+ /**
12040
+ * @desc:关闭webSocket
12041
+ * @author huangbo
12042
+ * @date 2024年9月7日
12043
12043
  **/
12044
12044
  handlerClose: function handlerClose() {
12045
12045
  if (this.webSocket) {
@@ -12047,10 +12047,10 @@ var events = [function (tabs, index, that) {
12047
12047
  }
12048
12048
  },
12049
12049
 
12050
- /**
12051
- * @desc:刷新选中iframe页签
12052
- * @author huangbo
12053
- * @date 2024年9月7日
12050
+ /**
12051
+ * @desc:刷新选中iframe页签
12052
+ * @author huangbo
12053
+ * @date 2024年9月7日
12054
12054
  **/
12055
12055
  handleRefresh: function handleRefresh() {
12056
12056
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12071,10 +12071,10 @@ var events = [function (tabs, index, that) {
12071
12071
  }
12072
12072
  },
12073
12073
 
12074
- /**
12075
- * @desc:删除iframe
12076
- * @author huangbo
12077
- * @date 2024年9月7日
12074
+ /**
12075
+ * @desc:删除iframe
12076
+ * @author huangbo
12077
+ * @date 2024年9月7日
12078
12078
  **/
12079
12079
  handleRemove: function handleRemove(name) {
12080
12080
  var len = this.tabs.length - 1;
@@ -12091,10 +12091,10 @@ var events = [function (tabs, index, that) {
12091
12091
  }
12092
12092
  },
12093
12093
 
12094
- /**
12095
- * @desc:tabs鼠标右键事件
12096
- * @author huangbo
12097
- * @date 2024年9月7日
12094
+ /**
12095
+ * @desc:tabs鼠标右键事件
12096
+ * @author huangbo
12097
+ * @date 2024年9月7日
12098
12098
  **/
12099
12099
  handleContextmenu: function handleContextmenu(tabs, e) {
12100
12100
  var disabled = {};
@@ -12119,10 +12119,10 @@ var events = [function (tabs, index, that) {
12119
12119
  window.addEventListener('click', this.closeTabsEvents);
12120
12120
  },
12121
12121
 
12122
- /**
12123
- * @desc:tabs页签事件
12124
- * @author huangbo
12125
- * @date 2024年9月7日
12122
+ /**
12123
+ * @desc:tabs页签事件
12124
+ * @author huangbo
12125
+ * @date 2024年9月7日
12126
12126
  **/
12127
12127
  handleTabsEvents: function handleTabsEvents(num) {
12128
12128
  if (this.pane !== null) {
@@ -12140,10 +12140,10 @@ var events = [function (tabs, index, that) {
12140
12140
  window.removeEventListener('click', this.closeTabsEvents);
12141
12141
  },
12142
12142
 
12143
- /**
12144
- * @desc:handler工具栏点击事件
12145
- * @author huangbo
12146
- * @date 2024年9月7日
12143
+ /**
12144
+ * @desc:handler工具栏点击事件
12145
+ * @author huangbo
12146
+ * @date 2024年9月7日
12147
12147
  **/
12148
12148
  handleClick: function handleClick(res) {
12149
12149
  var type = res.type,
@@ -12221,10 +12221,10 @@ var events = [function (tabs, index, that) {
12221
12221
  this.$emit('handler-click', res);
12222
12222
  },
12223
12223
 
12224
- /**
12225
- * @desc:退出登录
12226
- * @author huangbo
12227
- * @date 2024年9月7日
12224
+ /**
12225
+ * @desc:退出登录
12226
+ * @author huangbo
12227
+ * @date 2024年9月7日
12228
12228
  **/
12229
12229
  handleQuit: function handleQuit() {
12230
12230
  var _this6 = this;
@@ -12299,10 +12299,10 @@ var events = [function (tabs, index, that) {
12299
12299
  }).catch(function (e) {});
12300
12300
  },
12301
12301
 
12302
- /**
12303
- * @desc:主题、消息回调
12304
- * @author huangbo
12305
- * @date 2024年9月7日
12302
+ /**
12303
+ * @desc:主题、消息回调
12304
+ * @author huangbo
12305
+ * @date 2024年9月7日
12306
12306
  **/
12307
12307
  handleChange: function handleChange(res) {
12308
12308
  var type = res.type,
@@ -12318,10 +12318,10 @@ var events = [function (tabs, index, that) {
12318
12318
  }
12319
12319
  },
12320
12320
 
12321
- /**
12322
- * @desc:菜单布局样式切换
12323
- * @author huangbo
12324
- * @date 2024年9月7日
12321
+ /**
12322
+ * @desc:菜单布局样式切换
12323
+ * @author huangbo
12324
+ * @date 2024年9月7日
12325
12325
  **/
12326
12326
  handleLayout: function handleLayout(res, active) {
12327
12327
  if (active) {
@@ -12330,10 +12330,10 @@ var events = [function (tabs, index, that) {
12330
12330
  this.$emit('chang-layout', res, active);
12331
12331
  },
12332
12332
 
12333
- /**
12334
- * @desc:消息修改总数
12335
- * @author huangbo
12336
- * @date 2024年9月7日
12333
+ /**
12334
+ * @desc:消息修改总数
12335
+ * @author huangbo
12336
+ * @date 2024年9月7日
12337
12337
  **/
12338
12338
  handleMenuTips: function handleMenuTips(id, num) {
12339
12339
  if (num) {
@@ -12344,10 +12344,10 @@ var events = [function (tabs, index, that) {
12344
12344
  }
12345
12345
  },
12346
12346
 
12347
- /**
12348
- * @desc:处理即时消息
12349
- * @author huangbo
12350
- * @date 2024年9月7日
12347
+ /**
12348
+ * @desc:处理即时消息
12349
+ * @author huangbo
12350
+ * @date 2024年9月7日
12351
12351
  **/
12352
12352
  handleOpened: function handleOpened(res) {
12353
12353
  var _this7 = this;
package/lib/qr-code.js CHANGED
@@ -4262,19 +4262,19 @@ var QRCode = __webpack_require__(28);
4262
4262
  //设置logo大小
4263
4263
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
4264
4264
  //设置获取的logo将其变为圆角以及添加白色背景
4265
- /* ctx.fillStyle = "#fff";
4266
- ctx.beginPath();
4267
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4268
- let w = 46; //圆角宽
4269
- let x = logoPosition - 5;
4270
- let y = logoPosition - 5;
4271
- let r = 5; //圆角半径
4272
- ctx.moveTo(x + r, y);
4273
- ctx.arcTo(x + w, y, x + w, y + h, r);
4274
- ctx.arcTo(x + w, y + h, x, y + h, r);
4275
- ctx.arcTo(x, y + h, x, y, r);
4276
- ctx.arcTo(x, y, x + w, y, r);
4277
- ctx.closePath();
4265
+ /* ctx.fillStyle = "#fff";
4266
+ ctx.beginPath();
4267
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4268
+ let w = 46; //圆角宽
4269
+ let x = logoPosition - 5;
4270
+ let y = logoPosition - 5;
4271
+ let r = 5; //圆角半径
4272
+ ctx.moveTo(x + r, y);
4273
+ ctx.arcTo(x + w, y, x + w, y + h, r);
4274
+ ctx.arcTo(x + w, y + h, x, y + h, r);
4275
+ ctx.arcTo(x, y + h, x, y, r);
4276
+ ctx.arcTo(x, y, x + w, y, r);
4277
+ ctx.closePath();
4278
4278
  ctx.fill(); */
4279
4279
  logo.onload = function () {
4280
4280
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);