eoss-ui 0.6.99 → 0.7.11

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 (282) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/calogin.js +234 -234
  4. package/lib/checkbox-group.js +1 -1
  5. package/lib/config/api.js +1 -1
  6. package/lib/data-table-form.js +1 -1
  7. package/lib/data-table.js +1 -1
  8. package/lib/date-picker.js +1 -1
  9. package/lib/dialog.js +1 -1
  10. package/lib/eoss-ui.common.js +1247 -1213
  11. package/lib/flow-group.js +1 -1
  12. package/lib/flow-list.js +82 -82
  13. package/lib/flow.js +757 -729
  14. package/lib/form.js +9 -5
  15. package/lib/handle-user.js +1 -1
  16. package/lib/handler.js +1 -1
  17. package/lib/icon.js +1 -1
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +1 -1
  20. package/lib/input.js +1 -1
  21. package/lib/login.js +1 -1
  22. package/lib/main.js +142 -140
  23. package/lib/nav.js +1 -1
  24. package/lib/notify.js +1 -1
  25. package/lib/page.js +1 -1
  26. package/lib/pagination.js +1 -1
  27. package/lib/player.js +1 -1
  28. package/lib/qr-code.js +14 -14
  29. package/lib/radio-group.js +1 -1
  30. package/lib/retrial-auth.js +1 -1
  31. package/lib/select-ganged.js +1 -1
  32. package/lib/select.js +1 -1
  33. package/lib/selector-panel.js +1 -1
  34. package/lib/selector.js +1 -1
  35. package/lib/sizer.js +1 -1
  36. package/lib/steps.js +1 -1
  37. package/lib/switch.js +1 -1
  38. package/lib/table-form.js +1 -1
  39. package/lib/tabs.js +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +1 -1
  43. package/lib/upload.js +1 -1
  44. package/lib/wujie.js +1 -1
  45. package/lib/wxlogin.js +1 -1
  46. package/package.json +160 -160
  47. package/packages/button/index.js +5 -5
  48. package/packages/button/src/main.vue +418 -418
  49. package/packages/button-group/index.js +5 -5
  50. package/packages/button-group/src/main.vue +298 -298
  51. package/packages/calendar/index.js +5 -5
  52. package/packages/calogin/index.js +5 -5
  53. package/packages/calogin/src/main.vue +412 -412
  54. package/packages/calogin/src/plugin.js +915 -915
  55. package/packages/card/index.js +5 -5
  56. package/packages/card/src/main.vue +156 -156
  57. package/packages/cascader/index.js +5 -5
  58. package/packages/cascader/src/main.vue +168 -168
  59. package/packages/checkbox-group/index.js +5 -5
  60. package/packages/checkbox-group/src/main.vue +333 -333
  61. package/packages/clients/index.js +5 -5
  62. package/packages/clients/src/main.vue +151 -151
  63. package/packages/data-table/index.js +5 -5
  64. package/packages/data-table/src/children.vue +39 -39
  65. package/packages/data-table/src/column.vue +988 -988
  66. package/packages/data-table/src/main.vue +1831 -1831
  67. package/packages/data-table/src/sizer.vue +195 -195
  68. package/packages/data-table-form/index.js +5 -5
  69. package/packages/data-table-form/src/checkbox.vue +101 -101
  70. package/packages/data-table-form/src/colgroup.vue +17 -17
  71. package/packages/data-table-form/src/main.vue +181 -181
  72. package/packages/data-table-form/src/radio.vue +65 -65
  73. package/packages/data-table-form/src/table.vue +233 -233
  74. package/packages/data-table-form/src/tbody.vue +336 -336
  75. package/packages/data-table-form/src/thead.vue +68 -68
  76. package/packages/date-picker/index.js +5 -5
  77. package/packages/date-picker/src/main.vue +236 -236
  78. package/packages/dialog/index.js +5 -5
  79. package/packages/enable-drag/index.js +5 -5
  80. package/packages/enterprise/index.js +5 -5
  81. package/packages/enterprise/src/main.vue +66 -66
  82. package/packages/error-page/index.js +5 -5
  83. package/packages/error-page/src/main.vue +44 -44
  84. package/packages/flow/index.js +5 -5
  85. package/packages/flow/src/component/Circulate.vue +405 -403
  86. package/packages/flow/src/component/CommonOpinions.vue +364 -364
  87. package/packages/flow/src/component/CustomPreset.vue +322 -322
  88. package/packages/flow/src/component/FileList.vue +99 -99
  89. package/packages/flow/src/component/Preset.vue +255 -255
  90. package/packages/flow/src/component/SendMsg.vue +242 -242
  91. package/packages/flow/src/component/TimeLimit.vue +190 -190
  92. package/packages/flow/src/component/taskUnionExamine.vue +642 -641
  93. package/packages/flow/src/form.vue +121 -121
  94. package/packages/flow/src/freeStartFlow.vue +2844 -2844
  95. package/packages/flow/src/main.vue +3750 -3726
  96. package/packages/flow/src/processForm.vue +1287 -1287
  97. package/packages/flow/src/processReject.vue +308 -308
  98. package/packages/flow/src/reset.vue +941 -941
  99. package/packages/flow/src/selectUser.vue +5 -1
  100. package/packages/flow/src/startTaskRead.vue +691 -690
  101. package/packages/flow/src/supervise.vue +159 -159
  102. package/packages/flow/src/table.vue +58 -58
  103. package/packages/flow-group/index.js +5 -5
  104. package/packages/flow-group/src/main.vue +692 -692
  105. package/packages/flow-list/index.js +5 -5
  106. package/packages/flow-list/src/main.vue +1770 -1770
  107. package/packages/form/index.js +5 -5
  108. package/packages/form/src/main.vue +3850 -3846
  109. package/packages/form/src/table.vue +1508 -1508
  110. package/packages/handle-user/index.js +5 -5
  111. package/packages/handle-user/src/main.vue +137 -137
  112. package/packages/handler/index.js +5 -5
  113. package/packages/handler/src/main.vue +493 -493
  114. package/packages/icon/index.js +5 -5
  115. package/packages/icon/src/main.vue +101 -101
  116. package/packages/icons/index.js +5 -5
  117. package/packages/icons/src/main.vue +81 -81
  118. package/packages/input/index.js +5 -5
  119. package/packages/input/src/main.vue +356 -356
  120. package/packages/input-number/index.js +5 -5
  121. package/packages/input-number/src/main.vue +106 -106
  122. package/packages/label/index.js +5 -5
  123. package/packages/label/src/main.vue +457 -457
  124. package/packages/layout/index.js +5 -5
  125. package/packages/layout/src/item.vue +152 -152
  126. package/packages/layout/src/main.vue +31 -31
  127. package/packages/login/index.js +5 -5
  128. package/packages/login/src/main.vue +1993 -1993
  129. package/packages/login/src/resetPassword.vue +562 -562
  130. package/packages/main/index.js +5 -5
  131. package/packages/main/src/default/message.vue +249 -249
  132. package/packages/main/src/default/notice.vue +157 -157
  133. package/packages/main/src/default/userinfo.vue +502 -502
  134. package/packages/main/src/public/online.vue +89 -89
  135. package/packages/main/src/public/search.vue +464 -464
  136. package/packages/main/src/public/settings.vue +221 -221
  137. package/packages/main/src/simplicity/apps.vue +388 -388
  138. package/packages/main/src/simplicity/avatar.vue +82 -82
  139. package/packages/main/src/simplicity/handler.vue +259 -259
  140. package/packages/main/src/simplicity/index.vue +2125 -2125
  141. package/packages/main/src/simplicity/lists.vue +84 -84
  142. package/packages/main/src/simplicity/menu-list.vue +135 -135
  143. package/packages/main/src/simplicity/message.vue +259 -259
  144. package/packages/main/src/simplicity/notice.vue +190 -190
  145. package/packages/main/src/simplicity/router-page.vue +45 -45
  146. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  147. package/packages/main/src/simplicity/user.vue +259 -259
  148. package/packages/main/src/simplicity/userinfo.vue +398 -397
  149. package/packages/menu/index.js +5 -5
  150. package/packages/menu/src/main.vue +584 -584
  151. package/packages/nav/index.js +5 -5
  152. package/packages/nav/src/main.vue +351 -351
  153. package/packages/notify/index.js +5 -5
  154. package/packages/notify/src/main.vue +538 -538
  155. package/packages/page/index.js +5 -5
  156. package/packages/page/src/main.vue +167 -167
  157. package/packages/pagination/index.js +5 -5
  158. package/packages/pagination/src/main.vue +96 -96
  159. package/packages/player/index.js +5 -5
  160. package/packages/player/src/main.vue +194 -194
  161. package/packages/qr-code/index.js +5 -5
  162. package/packages/qr-code/src/main.vue +170 -170
  163. package/packages/radio-group/index.js +6 -6
  164. package/packages/radio-group/src/main.vue +319 -319
  165. package/packages/retrial-auth/index.js +5 -5
  166. package/packages/retrial-auth/src/main.vue +280 -280
  167. package/packages/select/index.js +5 -5
  168. package/packages/select/src/main.vue +781 -781
  169. package/packages/select-ganged/index.js +5 -5
  170. package/packages/select-ganged/src/main.vue +724 -724
  171. package/packages/selector/index.js +5 -5
  172. package/packages/selector/src/main.vue +761 -761
  173. package/packages/selector-panel/index.js +5 -5
  174. package/packages/selector-panel/src/main.vue +1027 -1027
  175. package/packages/selector-panel/src/selection.vue +170 -170
  176. package/packages/selector-panel/src/tree.vue +129 -129
  177. package/packages/sizer/index.js +5 -5
  178. package/packages/sizer/src/main.vue +254 -254
  179. package/packages/steps/index.js +5 -5
  180. package/packages/steps/src/main.vue +181 -181
  181. package/packages/switch/index.js +5 -5
  182. package/packages/switch/src/main.vue +154 -154
  183. package/packages/table-form/index.js +5 -5
  184. package/packages/tabs/index.js +5 -5
  185. package/packages/tabs/src/main.vue +788 -788
  186. package/packages/tabs-panel/index.js +5 -5
  187. package/packages/tabs-panel/src/main.vue +29 -29
  188. package/packages/theme-chalk/src/base.scss +261 -261
  189. package/packages/theme-chalk/src/button-group.scss +176 -176
  190. package/packages/theme-chalk/src/button.scss +24 -24
  191. package/packages/theme-chalk/src/calendar.scss +113 -113
  192. package/packages/theme-chalk/src/card.scss +99 -99
  193. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  194. package/packages/theme-chalk/src/clients.scss +87 -87
  195. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  196. package/packages/theme-chalk/src/data-table.scss +293 -293
  197. package/packages/theme-chalk/src/date-picker.scss +7 -7
  198. package/packages/theme-chalk/src/dialog.scss +77 -77
  199. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  200. package/packages/theme-chalk/src/enterprise.scss +5 -5
  201. package/packages/theme-chalk/src/error-page.scss +18 -18
  202. package/packages/theme-chalk/src/flow-group.scss +110 -110
  203. package/packages/theme-chalk/src/flow-list.scss +39 -39
  204. package/packages/theme-chalk/src/flow.scss +348 -348
  205. package/packages/theme-chalk/src/form.scss +499 -499
  206. package/packages/theme-chalk/src/handle-user.scss +40 -40
  207. package/packages/theme-chalk/src/handler.scss +143 -143
  208. package/packages/theme-chalk/src/icon.scss +1817 -1817
  209. package/packages/theme-chalk/src/icons.scss +99 -99
  210. package/packages/theme-chalk/src/input.scss +9 -9
  211. package/packages/theme-chalk/src/label.scss +24 -24
  212. package/packages/theme-chalk/src/layout.scss +46 -46
  213. package/packages/theme-chalk/src/login.scss +984 -984
  214. package/packages/theme-chalk/src/main.scss +663 -663
  215. package/packages/theme-chalk/src/menu.scss +222 -222
  216. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  217. package/packages/theme-chalk/src/nav.scss +111 -111
  218. package/packages/theme-chalk/src/page.scss +3 -3
  219. package/packages/theme-chalk/src/pagination.scss +29 -29
  220. package/packages/theme-chalk/src/player.scss +9 -9
  221. package/packages/theme-chalk/src/qr-code.scss +17 -17
  222. package/packages/theme-chalk/src/radio-group.scss +9 -9
  223. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  224. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  225. package/packages/theme-chalk/src/select.scss +8 -8
  226. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  227. package/packages/theme-chalk/src/selector.scss +92 -92
  228. package/packages/theme-chalk/src/simplicity.scss +1361 -1361
  229. package/packages/theme-chalk/src/sizer.scss +36 -36
  230. package/packages/theme-chalk/src/steps.scss +88 -88
  231. package/packages/theme-chalk/src/switch.scss +3 -3
  232. package/packages/theme-chalk/src/table-form.scss +1 -1
  233. package/packages/theme-chalk/src/tabs.scss +87 -87
  234. package/packages/theme-chalk/src/tips.scss +7 -7
  235. package/packages/theme-chalk/src/toolbar.scss +179 -179
  236. package/packages/theme-chalk/src/tree-group.scss +72 -72
  237. package/packages/theme-chalk/src/tree.scss +165 -165
  238. package/packages/theme-chalk/src/upload.scss +172 -172
  239. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  240. package/packages/tips/index.js +5 -5
  241. package/packages/tips/src/main.vue +141 -141
  242. package/packages/toolbar/index.js +5 -5
  243. package/packages/toolbar/src/main.vue +430 -430
  244. package/packages/tree/index.js +5 -5
  245. package/packages/tree-group/index.js +5 -5
  246. package/packages/upload/index.js +5 -5
  247. package/packages/upload/src/main.vue +1343 -1343
  248. package/packages/upload/src/picture.js +15 -15
  249. package/packages/wujie/index.js +5 -5
  250. package/packages/wujie/src/main.vue +145 -145
  251. package/packages/wxlogin/index.js +5 -5
  252. package/packages/wxlogin/src/main.vue +128 -128
  253. package/src/config/api.js +308 -308
  254. package/src/config/image.js +2 -2
  255. package/src/index.js +163 -163
  256. package/src/utils/bus.js +3 -3
  257. package/src/utils/date-util.js +312 -312
  258. package/src/utils/http.js +50 -50
  259. package/src/utils/rules.js +18 -18
  260. package/src/utils/store.js +21 -21
  261. package/src/utils/webSocket.js +107 -107
  262. package/packages/.DS_Store +0 -0
  263. package/packages/autocomplete/.DS_Store +0 -0
  264. package/packages/calogin/.DS_Store +0 -0
  265. package/packages/date-picker/.DS_Store +0 -0
  266. package/packages/date-picker/src/.DS_Store +0 -0
  267. package/packages/flow/.DS_Store +0 -0
  268. package/packages/flow/src/.DS_Store +0 -0
  269. package/packages/flow-list/.DS_Store +0 -0
  270. package/packages/form/.DS_Store +0 -0
  271. package/packages/login/.DS_Store +0 -0
  272. package/packages/main/.DS_Store +0 -0
  273. package/packages/main/src/.DS_Store +0 -0
  274. package/packages/menu/.DS_Store +0 -0
  275. package/packages/scrollbar/.DS_Store +0 -0
  276. package/packages/select/.DS_Store +0 -0
  277. package/packages/selector/.DS_Store +0 -0
  278. package/packages/selector-panel/.DS_Store +0 -0
  279. package/packages/theme-chalk/src/.DS_Store +0 -0
  280. package/packages/upload/.DS_Store +0 -0
  281. package/src/.DS_Store +0 -0
  282. package/src/utils/.DS_Store +0 -0
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/input.js CHANGED
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/login.js CHANGED
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
3717
3717
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3718
3718
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3720
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3720
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3721
3721
  // 登录
3722
3722
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3723
3723
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/main.js CHANGED
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
3717
3717
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3718
3718
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3720
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3720
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3721
3721
  // 登录
3722
3722
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3723
3723
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -7240,10 +7240,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7240
7240
  this.$emit('click', res);
7241
7241
  },
7242
7242
 
7243
- /**
7244
- * @desc:获取气泡提醒
7245
- * @author huangbo
7246
- * @date 2024年9月7日
7243
+ /**
7244
+ * @desc:获取气泡提醒
7245
+ * @author huangbo
7246
+ * @date 2024年9月7日
7247
7247
  **/
7248
7248
  getBadge: function getBadge(res) {
7249
7249
  var num = res.tips || 0;
@@ -7426,8 +7426,8 @@ uservue_type_template_id_647fd01c_scoped_true_render._withStripped = true
7426
7426
 
7427
7427
  // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=647fd01c&scoped=true&
7428
7428
 
7429
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=fd4f50b2&
7430
- var userinfovue_type_template_id_fd4f50b2_render = function () {
7429
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=30ec6271&
7430
+ var userinfovue_type_template_id_30ec6271_render = function () {
7431
7431
  var _vm = this
7432
7432
  var _h = _vm.$createElement
7433
7433
  var _c = _vm._self._c || _h
@@ -7443,6 +7443,7 @@ var userinfovue_type_template_id_fd4f50b2_render = function () {
7443
7443
  autocomplete: false,
7444
7444
  rules: _vm.formRules,
7445
7445
  events: _vm.events,
7446
+ resetValue: false,
7446
7447
  },
7447
7448
  on: { submit: _vm.handleFormSubmit },
7448
7449
  },
@@ -7450,11 +7451,11 @@ var userinfovue_type_template_id_fd4f50b2_render = function () {
7450
7451
  2
7451
7452
  )
7452
7453
  }
7453
- var userinfovue_type_template_id_fd4f50b2_staticRenderFns = []
7454
- userinfovue_type_template_id_fd4f50b2_render._withStripped = true
7454
+ var userinfovue_type_template_id_30ec6271_staticRenderFns = []
7455
+ userinfovue_type_template_id_30ec6271_render._withStripped = true
7455
7456
 
7456
7457
 
7457
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=fd4f50b2&
7458
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=30ec6271&
7458
7459
 
7459
7460
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
7460
7461
  var userinfovue_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; };
@@ -7478,6 +7479,7 @@ var _props;
7478
7479
  //
7479
7480
  //
7480
7481
  //
7482
+ //
7481
7483
 
7482
7484
 
7483
7485
 
@@ -7782,8 +7784,8 @@ var _props;
7782
7784
 
7783
7785
  var userinfo_component = Object(componentNormalizer["a" /* default */])(
7784
7786
  simplicity_userinfovue_type_script_lang_js_,
7785
- userinfovue_type_template_id_fd4f50b2_render,
7786
- userinfovue_type_template_id_fd4f50b2_staticRenderFns,
7787
+ userinfovue_type_template_id_30ec6271_render,
7788
+ userinfovue_type_template_id_30ec6271_staticRenderFns,
7787
7789
  false,
7788
7790
  null,
7789
7791
  null,
@@ -11341,10 +11343,10 @@ var events = [function (tabs, index, that) {
11341
11343
  },
11342
11344
 
11343
11345
  methods: {
11344
- /**
11345
- * @desc:匹配路由
11346
- * @author huangbo
11347
- * @date 2024年9月7日
11346
+ /**
11347
+ * @desc:匹配路由
11348
+ * @author huangbo
11349
+ * @date 2024年9月7日
11348
11350
  **/
11349
11351
  hasRouter: function hasRouter(res, url, code) {
11350
11352
  if (!url) {
@@ -11388,10 +11390,10 @@ var events = [function (tabs, index, that) {
11388
11390
  return false;
11389
11391
  },
11390
11392
 
11391
- /**
11392
- * @desc:获取初始数据
11393
- * @author huangbo
11394
- * @date 2024年9月7日
11393
+ /**
11394
+ * @desc:获取初始数据
11395
+ * @author huangbo
11396
+ * @date 2024年9月7日
11395
11397
  **/
11396
11398
  init: function init(results, first) {
11397
11399
  this.setConfig(results);
@@ -11400,10 +11402,10 @@ var events = [function (tabs, index, that) {
11400
11402
  }
11401
11403
  },
11402
11404
 
11403
- /**
11404
- * @desc:设置用户配置及信息
11405
- * @author huangbo
11406
- * @date 2024年9月7日
11405
+ /**
11406
+ * @desc:设置用户配置及信息
11407
+ * @author huangbo
11408
+ * @date 2024年9月7日
11407
11409
  **/
11408
11410
  setConfig: function setConfig(results) {
11409
11411
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11540,10 +11542,10 @@ var events = [function (tabs, index, that) {
11540
11542
  }
11541
11543
  },
11542
11544
 
11543
- /**
11544
- * @desc:获取所有应用
11545
- * @author huangbo
11546
- * @date 2024年9月7日
11545
+ /**
11546
+ * @desc:获取所有应用
11547
+ * @author huangbo
11548
+ * @date 2024年9月7日
11547
11549
  **/
11548
11550
  getApplications: function getApplications() {
11549
11551
  var _this = this;
@@ -11591,10 +11593,10 @@ var events = [function (tabs, index, that) {
11591
11593
  });
11592
11594
  },
11593
11595
 
11594
- /**
11595
- * @desc:获取菜单列表
11596
- * @author huangbo
11597
- * @date 2024年9月7日
11596
+ /**
11597
+ * @desc:获取菜单列表
11598
+ * @author huangbo
11599
+ * @date 2024年9月7日
11598
11600
  **/
11599
11601
  getMenus: function getMenus(loading) {
11600
11602
  var _this2 = this;
@@ -11627,10 +11629,10 @@ var events = [function (tabs, index, that) {
11627
11629
  });
11628
11630
  },
11629
11631
 
11630
- /**
11631
- * @desc:处理菜单列表
11632
- * @author huangbo
11633
- * @date 2024年9月7日
11632
+ /**
11633
+ * @desc:处理菜单列表
11634
+ * @author huangbo
11635
+ * @date 2024年9月7日
11634
11636
  **/
11635
11637
  renderMenus: function renderMenus(res) {
11636
11638
  this.menus = res;
@@ -11726,10 +11728,10 @@ var events = [function (tabs, index, that) {
11726
11728
  }
11727
11729
  },
11728
11730
 
11729
- /**
11730
- * @desc:设置页面加载类型
11731
- * @author huangbo
11732
- * @date 2024年9月7日
11731
+ /**
11732
+ * @desc:设置页面加载类型
11733
+ * @author huangbo
11734
+ * @date 2024年9月7日
11733
11735
  **/
11734
11736
  setIframeType: function setIframeType(res) {
11735
11737
  var url = res.url;
@@ -11785,10 +11787,10 @@ var events = [function (tabs, index, that) {
11785
11787
  return res;
11786
11788
  },
11787
11789
 
11788
- /**
11789
- * @desc:获取菜单
11790
- * @author huangbo
11791
- * @date 2024年9月7日
11790
+ /**
11791
+ * @desc:获取菜单
11792
+ * @author huangbo
11793
+ * @date 2024年9月7日
11792
11794
  **/
11793
11795
  getMenu: function getMenu(menus, res, key) {
11794
11796
  if (Array.isArray(menus)) {
@@ -11817,10 +11819,10 @@ var events = [function (tabs, index, that) {
11817
11819
  return false;
11818
11820
  },
11819
11821
 
11820
- /**
11821
- * @desc:获取菜单第一条数据
11822
- * @author huangbo
11823
- * @date 2024年9月7日
11822
+ /**
11823
+ * @desc:获取菜单第一条数据
11824
+ * @author huangbo
11825
+ * @date 2024年9月7日
11824
11826
  **/
11825
11827
  getFirst: function getFirst(obj) {
11826
11828
  if (!obj) {
@@ -11839,10 +11841,10 @@ var events = [function (tabs, index, that) {
11839
11841
  }
11840
11842
  },
11841
11843
 
11842
- /**
11843
- * @desc:遍历设置菜单气泡提醒
11844
- * @author huangbo
11845
- * @date 2024年9月7日
11844
+ /**
11845
+ * @desc:遍历设置菜单气泡提醒
11846
+ * @author huangbo
11847
+ * @date 2024年9月7日
11846
11848
  **/
11847
11849
  setTips: function setTips(obj) {
11848
11850
  var _this3 = this;
@@ -11905,10 +11907,10 @@ var events = [function (tabs, index, that) {
11905
11907
  }
11906
11908
  },
11907
11909
 
11908
- /**
11909
- * @desc:获取气泡提醒
11910
- * @author huangbo
11911
- * @date 2024年9月7日
11910
+ /**
11911
+ * @desc:获取气泡提醒
11912
+ * @author huangbo
11913
+ * @date 2024年9月7日
11912
11914
  **/
11913
11915
  getBadge: function getBadge(res) {
11914
11916
  var num = res.tips || 0;
@@ -11922,10 +11924,10 @@ var events = [function (tabs, index, that) {
11922
11924
  };
11923
11925
  },
11924
11926
 
11925
- /**
11926
- * @desc:开启weosocket
11927
- * @author huangbo
11928
- * @date 2024年9月7日
11927
+ /**
11928
+ * @desc:开启weosocket
11929
+ * @author huangbo
11930
+ * @date 2024年9月7日
11929
11931
  **/
11930
11932
  initWebSocket: function initWebSocket() {
11931
11933
  var _this5 = this;
@@ -11974,10 +11976,10 @@ var events = [function (tabs, index, that) {
11974
11976
  });
11975
11977
  },
11976
11978
 
11977
- /**
11978
- * @desc:显示用户信息
11979
- * @author huangbo
11980
- * @date 2024年9月7日
11979
+ /**
11980
+ * @desc:显示用户信息
11981
+ * @author huangbo
11982
+ * @date 2024年9月7日
11981
11983
  **/
11982
11984
  showUserInfo: function showUserInfo() {
11983
11985
  if (this.showUser === false) {
@@ -11985,19 +11987,19 @@ var events = [function (tabs, index, that) {
11985
11987
  }
11986
11988
  },
11987
11989
 
11988
- /**
11989
- * @desc:删除更多应用菜单点击
11990
- * @author huangbo
11991
- * @date 2024年9月7日
11990
+ /**
11991
+ * @desc:删除更多应用菜单点击
11992
+ * @author huangbo
11993
+ * @date 2024年9月7日
11992
11994
  **/
11993
11995
  handleDelete: function handleDelete(index) {
11994
11996
  this.newApps.splice(index, 1);
11995
11997
  },
11996
11998
 
11997
- /**
11998
- * @desc:储存更多应用菜单点击
11999
- * @author huangbo
12000
- * @date 2024年9月7日
11999
+ /**
12000
+ * @desc:储存更多应用菜单点击
12001
+ * @author huangbo
12002
+ * @date 2024年9月7日
12001
12003
  **/
12002
12004
  handlerClickApps: function handlerClickApps(res) {
12003
12005
  if (res.permission === false) {
@@ -12010,10 +12012,10 @@ var events = [function (tabs, index, that) {
12010
12012
  this.handlerClickApp(res);
12011
12013
  },
12012
12014
 
12013
- /**
12014
- * @desc:侧边应用菜单点击
12015
- * @author huangbo
12016
- * @date 2024年9月7日
12015
+ /**
12016
+ * @desc:侧边应用菜单点击
12017
+ * @author huangbo
12018
+ * @date 2024年9月7日
12017
12019
  **/
12018
12020
  handlerClickApp: function handlerClickApp(res) {
12019
12021
  this.showMsg = false;
@@ -12102,10 +12104,10 @@ var events = [function (tabs, index, that) {
12102
12104
  }
12103
12105
  },
12104
12106
 
12105
- /**
12106
- * @desc:显示Drawer界面
12107
- * @author huangbo
12108
- * @date 2024年9月7日
12107
+ /**
12108
+ * @desc:显示Drawer界面
12109
+ * @author huangbo
12110
+ * @date 2024年9月7日
12109
12111
  **/
12110
12112
  handlerSetDrawer: function handlerSetDrawer(res, type) {
12111
12113
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -12125,19 +12127,19 @@ var events = [function (tabs, index, that) {
12125
12127
  }
12126
12128
  },
12127
12129
 
12128
- /**
12129
- * @desc:关闭Drawer界面
12130
- * @author huangbo
12131
- * @date 2024年9月7日
12130
+ /**
12131
+ * @desc:关闭Drawer界面
12132
+ * @author huangbo
12133
+ * @date 2024年9月7日
12132
12134
  **/
12133
12135
  handleCloseDrawer: function handleCloseDrawer() {
12134
12136
  this.drawer = { visible: false };
12135
12137
  },
12136
12138
 
12137
- /**
12138
- * @desc:菜单点击
12139
- * @author huangbo
12140
- * @date 2024年9月7日
12139
+ /**
12140
+ * @desc:菜单点击
12141
+ * @author huangbo
12142
+ * @date 2024年9月7日
12141
12143
  **/
12142
12144
  handlerClickMenu: function handlerClickMenu(res) {
12143
12145
  util["a" /* default */].ajax({
@@ -12186,19 +12188,19 @@ var events = [function (tabs, index, that) {
12186
12188
  },
12187
12189
 
12188
12190
 
12189
- /**
12190
- * @desc:用户详情请求成功
12191
- * @author huangbo
12192
- * @date 2024年9月7日
12191
+ /**
12192
+ * @desc:用户详情请求成功
12193
+ * @author huangbo
12194
+ * @date 2024年9月7日
12193
12195
  **/
12194
12196
  handleSuccess: function handleSuccess(res) {
12195
12197
  this.simpleUserInfo = res.simpleUserInfo;
12196
12198
  },
12197
12199
 
12198
- /**
12199
- * @desc:修改用户配置
12200
- * @author huangbo
12201
- * @date 2024年9月7日
12200
+ /**
12201
+ * @desc:修改用户配置
12202
+ * @author huangbo
12203
+ * @date 2024年9月7日
12202
12204
  **/
12203
12205
  handleChangeConfig: function handleChangeConfig(name, res) {
12204
12206
  if (name == 'userHeadUrl') {
@@ -12214,10 +12216,10 @@ var events = [function (tabs, index, that) {
12214
12216
  }
12215
12217
  },
12216
12218
 
12217
- /**
12218
- * @desc:关闭webSocket
12219
- * @author huangbo
12220
- * @date 2024年9月7日
12219
+ /**
12220
+ * @desc:关闭webSocket
12221
+ * @author huangbo
12222
+ * @date 2024年9月7日
12221
12223
  **/
12222
12224
  handlerClose: function handlerClose() {
12223
12225
  if (this.webSocket) {
@@ -12225,10 +12227,10 @@ var events = [function (tabs, index, that) {
12225
12227
  }
12226
12228
  },
12227
12229
 
12228
- /**
12229
- * @desc:刷新选中iframe页签
12230
- * @author huangbo
12231
- * @date 2024年9月7日
12230
+ /**
12231
+ * @desc:刷新选中iframe页签
12232
+ * @author huangbo
12233
+ * @date 2024年9月7日
12232
12234
  **/
12233
12235
  handleRefresh: function handleRefresh() {
12234
12236
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12249,10 +12251,10 @@ var events = [function (tabs, index, that) {
12249
12251
  }
12250
12252
  },
12251
12253
 
12252
- /**
12253
- * @desc:删除iframe
12254
- * @author huangbo
12255
- * @date 2024年9月7日
12254
+ /**
12255
+ * @desc:删除iframe
12256
+ * @author huangbo
12257
+ * @date 2024年9月7日
12256
12258
  **/
12257
12259
  handleRemove: function handleRemove(name) {
12258
12260
  var len = this.tabs.length - 1;
@@ -12269,10 +12271,10 @@ var events = [function (tabs, index, that) {
12269
12271
  }
12270
12272
  },
12271
12273
 
12272
- /**
12273
- * @desc:tabs鼠标右键事件
12274
- * @author huangbo
12275
- * @date 2024年9月7日
12274
+ /**
12275
+ * @desc:tabs鼠标右键事件
12276
+ * @author huangbo
12277
+ * @date 2024年9月7日
12276
12278
  **/
12277
12279
  handleContextmenu: function handleContextmenu(tabs, e) {
12278
12280
  var disabled = {};
@@ -12297,10 +12299,10 @@ var events = [function (tabs, index, that) {
12297
12299
  window.addEventListener('click', this.closeTabsEvents);
12298
12300
  },
12299
12301
 
12300
- /**
12301
- * @desc:tabs页签事件
12302
- * @author huangbo
12303
- * @date 2024年9月7日
12302
+ /**
12303
+ * @desc:tabs页签事件
12304
+ * @author huangbo
12305
+ * @date 2024年9月7日
12304
12306
  **/
12305
12307
  handleTabsEvents: function handleTabsEvents(num) {
12306
12308
  if (this.pane !== null) {
@@ -12318,10 +12320,10 @@ var events = [function (tabs, index, that) {
12318
12320
  window.removeEventListener('click', this.closeTabsEvents);
12319
12321
  },
12320
12322
 
12321
- /**
12322
- * @desc:handler工具栏点击事件
12323
- * @author huangbo
12324
- * @date 2024年9月7日
12323
+ /**
12324
+ * @desc:handler工具栏点击事件
12325
+ * @author huangbo
12326
+ * @date 2024年9月7日
12325
12327
  **/
12326
12328
  handleClick: function handleClick(res) {
12327
12329
  var type = res.type,
@@ -12399,10 +12401,10 @@ var events = [function (tabs, index, that) {
12399
12401
  this.$emit('handler-click', res);
12400
12402
  },
12401
12403
 
12402
- /**
12403
- * @desc:退出登录
12404
- * @author huangbo
12405
- * @date 2024年9月7日
12404
+ /**
12405
+ * @desc:退出登录
12406
+ * @author huangbo
12407
+ * @date 2024年9月7日
12406
12408
  **/
12407
12409
  handleQuit: function handleQuit() {
12408
12410
  var _this6 = this;
@@ -12477,10 +12479,10 @@ var events = [function (tabs, index, that) {
12477
12479
  }).catch(function (e) {});
12478
12480
  },
12479
12481
 
12480
- /**
12481
- * @desc:主题、消息回调
12482
- * @author huangbo
12483
- * @date 2024年9月7日
12482
+ /**
12483
+ * @desc:主题、消息回调
12484
+ * @author huangbo
12485
+ * @date 2024年9月7日
12484
12486
  **/
12485
12487
  handleChange: function handleChange(res) {
12486
12488
  var type = res.type,
@@ -12496,10 +12498,10 @@ var events = [function (tabs, index, that) {
12496
12498
  }
12497
12499
  },
12498
12500
 
12499
- /**
12500
- * @desc:菜单布局样式切换
12501
- * @author huangbo
12502
- * @date 2024年9月7日
12501
+ /**
12502
+ * @desc:菜单布局样式切换
12503
+ * @author huangbo
12504
+ * @date 2024年9月7日
12503
12505
  **/
12504
12506
  handleLayout: function handleLayout(res, active) {
12505
12507
  if (active) {
@@ -12508,10 +12510,10 @@ var events = [function (tabs, index, that) {
12508
12510
  this.$emit('chang-layout', res, active);
12509
12511
  },
12510
12512
 
12511
- /**
12512
- * @desc:消息修改总数
12513
- * @author huangbo
12514
- * @date 2024年9月7日
12513
+ /**
12514
+ * @desc:消息修改总数
12515
+ * @author huangbo
12516
+ * @date 2024年9月7日
12515
12517
  **/
12516
12518
  handleMenuTips: function handleMenuTips(id, num) {
12517
12519
  if (num) {
@@ -12522,10 +12524,10 @@ var events = [function (tabs, index, that) {
12522
12524
  }
12523
12525
  },
12524
12526
 
12525
- /**
12526
- * @desc:处理即时消息
12527
- * @author huangbo
12528
- * @date 2024年9月7日
12527
+ /**
12528
+ * @desc:处理即时消息
12529
+ * @author huangbo
12530
+ * @date 2024年9月7日
12529
12531
  **/
12530
12532
  handleOpened: function handleOpened(res) {
12531
12533
  var _this7 = this;
package/lib/nav.js CHANGED
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/notify.js CHANGED
@@ -240,7 +240,7 @@ module.exports =
240
240
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
241
241
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
242
242
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
243
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
243
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
244
244
  // 登录
245
245
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
246
246
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/page.js CHANGED
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/pagination.js CHANGED
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/player.js CHANGED
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
3717
3717
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3718
3718
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3720
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3720
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3721
3721
  // 登录
3722
3722
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3723
3723
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/lib/qr-code.js CHANGED
@@ -3719,7 +3719,7 @@ var watermark = function watermark(option) {
3719
3719
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
3720
3720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
3721
3721
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
3722
- var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
3722
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3723
3723
  // 登录
3724
3724
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3725
3725
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -4326,19 +4326,19 @@ var QRCode = __webpack_require__(28);
4326
4326
  //设置logo大小
4327
4327
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
4328
4328
  //设置获取的logo将其变为圆角以及添加白色背景
4329
- /* ctx.fillStyle = "#fff";
4330
- ctx.beginPath();
4331
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4332
- let w = 46; //圆角宽
4333
- let x = logoPosition - 5;
4334
- let y = logoPosition - 5;
4335
- let r = 5; //圆角半径
4336
- ctx.moveTo(x + r, y);
4337
- ctx.arcTo(x + w, y, x + w, y + h, r);
4338
- ctx.arcTo(x + w, y + h, x, y + h, r);
4339
- ctx.arcTo(x, y + h, x, y, r);
4340
- ctx.arcTo(x, y, x + w, y, r);
4341
- ctx.closePath();
4329
+ /* ctx.fillStyle = "#fff";
4330
+ ctx.beginPath();
4331
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4332
+ let w = 46; //圆角宽
4333
+ let x = logoPosition - 5;
4334
+ let y = logoPosition - 5;
4335
+ let r = 5; //圆角半径
4336
+ ctx.moveTo(x + r, y);
4337
+ ctx.arcTo(x + w, y, x + w, y + h, r);
4338
+ ctx.arcTo(x + w, y + h, x, y + h, r);
4339
+ ctx.arcTo(x, y + h, x, y, r);
4340
+ ctx.arcTo(x, y, x + w, y, r);
4341
+ ctx.closePath();
4342
4342
  ctx.fill(); */
4343
4343
  logo.onload = function () {
4344
4344
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);