eoss-ui 0.6.95 → 0.6.96

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 (257) hide show
  1. package/lib/calogin.js +233 -233
  2. package/lib/eoss-ui.common.js +1046 -923
  3. package/lib/flow-list.js +81 -81
  4. package/lib/flow.js +296 -293
  5. package/lib/form.js +33 -6
  6. package/lib/handle-user.js +3 -4
  7. package/lib/index.js +1 -1
  8. package/lib/input.js +1 -1
  9. package/lib/login.js +5 -10
  10. package/lib/main.js +359 -259
  11. package/lib/qr-code.js +13 -13
  12. package/lib/select.js +0 -1
  13. package/lib/table-form.js +1 -1
  14. package/lib/theme-chalk/index.css +1 -1
  15. package/lib/theme-chalk/main.css +1 -1
  16. package/lib/theme-chalk/simplicity.css +1 -1
  17. package/lib/utils/rules.js +1 -1
  18. package/package.json +160 -160
  19. package/packages/.DS_Store +0 -0
  20. package/packages/autocomplete/.DS_Store +0 -0
  21. package/packages/button/index.js +5 -5
  22. package/packages/button/src/main.vue +418 -418
  23. package/packages/button-group/index.js +5 -5
  24. package/packages/button-group/src/main.vue +298 -298
  25. package/packages/calendar/index.js +5 -5
  26. package/packages/calogin/.DS_Store +0 -0
  27. package/packages/calogin/index.js +5 -5
  28. package/packages/calogin/src/main.vue +412 -412
  29. package/packages/calogin/src/plugin.js +915 -915
  30. package/packages/card/index.js +5 -5
  31. package/packages/card/src/main.vue +156 -156
  32. package/packages/cascader/index.js +5 -5
  33. package/packages/cascader/src/main.vue +168 -168
  34. package/packages/checkbox-group/index.js +5 -5
  35. package/packages/checkbox-group/src/main.vue +333 -333
  36. package/packages/clients/index.js +5 -5
  37. package/packages/clients/src/main.vue +151 -151
  38. package/packages/data-table/index.js +5 -5
  39. package/packages/data-table/src/children.vue +39 -39
  40. package/packages/data-table/src/column.vue +988 -988
  41. package/packages/data-table/src/main.vue +1831 -1831
  42. package/packages/data-table/src/sizer.vue +195 -195
  43. package/packages/data-table-form/index.js +5 -5
  44. package/packages/data-table-form/src/checkbox.vue +101 -101
  45. package/packages/data-table-form/src/colgroup.vue +17 -17
  46. package/packages/data-table-form/src/main.vue +181 -181
  47. package/packages/data-table-form/src/radio.vue +65 -65
  48. package/packages/data-table-form/src/table.vue +233 -233
  49. package/packages/data-table-form/src/tbody.vue +336 -336
  50. package/packages/data-table-form/src/thead.vue +68 -68
  51. package/packages/date-picker/.DS_Store +0 -0
  52. package/packages/date-picker/index.js +5 -5
  53. package/packages/date-picker/src/.DS_Store +0 -0
  54. package/packages/date-picker/src/main.vue +236 -236
  55. package/packages/dialog/index.js +5 -5
  56. package/packages/enable-drag/index.js +5 -5
  57. package/packages/enterprise/index.js +5 -5
  58. package/packages/enterprise/src/main.vue +66 -66
  59. package/packages/error-page/index.js +5 -5
  60. package/packages/error-page/src/main.vue +44 -44
  61. package/packages/flow/.DS_Store +0 -0
  62. package/packages/flow/index.js +5 -5
  63. package/packages/flow/src/.DS_Store +0 -0
  64. package/packages/flow/src/component/Circulate.vue +403 -403
  65. package/packages/flow/src/component/CommonOpinions.vue +364 -364
  66. package/packages/flow/src/component/CustomPreset.vue +322 -322
  67. package/packages/flow/src/component/FileList.vue +99 -99
  68. package/packages/flow/src/component/Preset.vue +255 -255
  69. package/packages/flow/src/component/SendMsg.vue +242 -242
  70. package/packages/flow/src/component/TimeLimit.vue +190 -190
  71. package/packages/flow/src/component/taskUnionExamine.vue +641 -641
  72. package/packages/flow/src/form.vue +121 -121
  73. package/packages/flow/src/freeStartFlow.vue +2844 -2844
  74. package/packages/flow/src/main.vue +3726 -3726
  75. package/packages/flow/src/processForm.vue +1287 -1287
  76. package/packages/flow/src/processReject.vue +308 -304
  77. package/packages/flow/src/reset.vue +941 -941
  78. package/packages/flow/src/startTaskRead.vue +690 -690
  79. package/packages/flow/src/supervise.vue +159 -159
  80. package/packages/flow/src/table.vue +58 -58
  81. package/packages/flow-group/index.js +5 -5
  82. package/packages/flow-group/src/main.vue +692 -692
  83. package/packages/flow-list/.DS_Store +0 -0
  84. package/packages/flow-list/index.js +5 -5
  85. package/packages/flow-list/src/main.vue +1770 -1770
  86. package/packages/form/.DS_Store +0 -0
  87. package/packages/form/index.js +5 -5
  88. package/packages/form/src/main.vue +3846 -3814
  89. package/packages/form/src/table.vue +1508 -1508
  90. package/packages/handle-user/index.js +5 -5
  91. package/packages/handle-user/src/main.vue +137 -138
  92. package/packages/handler/index.js +5 -5
  93. package/packages/handler/src/main.vue +493 -493
  94. package/packages/icon/index.js +5 -5
  95. package/packages/icon/src/main.vue +101 -101
  96. package/packages/icons/index.js +5 -5
  97. package/packages/icons/src/main.vue +81 -81
  98. package/packages/input/index.js +5 -5
  99. package/packages/input/src/main.vue +356 -356
  100. package/packages/input-number/index.js +5 -5
  101. package/packages/input-number/src/main.vue +106 -106
  102. package/packages/label/index.js +5 -5
  103. package/packages/label/src/main.vue +457 -457
  104. package/packages/layout/index.js +5 -5
  105. package/packages/layout/src/item.vue +152 -152
  106. package/packages/layout/src/main.vue +31 -31
  107. package/packages/login/.DS_Store +0 -0
  108. package/packages/login/index.js +5 -5
  109. package/packages/login/src/main.vue +1993 -1998
  110. package/packages/login/src/resetPassword.vue +562 -562
  111. package/packages/main/.DS_Store +0 -0
  112. package/packages/main/index.js +5 -5
  113. package/packages/main/src/.DS_Store +0 -0
  114. package/packages/main/src/default/message.vue +249 -249
  115. package/packages/main/src/default/notice.vue +157 -157
  116. package/packages/main/src/default/userinfo.vue +502 -503
  117. package/packages/main/src/main.vue +0 -2
  118. package/packages/main/src/public/online.vue +89 -89
  119. package/packages/main/src/public/search.vue +464 -464
  120. package/packages/main/src/public/settings.vue +221 -221
  121. package/packages/main/src/simplicity/apps.vue +388 -388
  122. package/packages/main/src/simplicity/avatar.vue +82 -82
  123. package/packages/main/src/simplicity/handler.vue +259 -259
  124. package/packages/main/src/simplicity/index.vue +2125 -2102
  125. package/packages/main/src/simplicity/lists.vue +84 -84
  126. package/packages/main/src/simplicity/menu-list.vue +135 -135
  127. package/packages/main/src/simplicity/message.vue +259 -259
  128. package/packages/main/src/simplicity/notice.vue +190 -190
  129. package/packages/main/src/simplicity/router-page.vue +45 -45
  130. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  131. package/packages/main/src/simplicity/user.vue +258 -259
  132. package/packages/main/src/simplicity/userinfo.vue +356 -308
  133. package/packages/menu/.DS_Store +0 -0
  134. package/packages/menu/index.js +5 -5
  135. package/packages/menu/src/main.vue +584 -584
  136. package/packages/nav/index.js +5 -5
  137. package/packages/nav/src/main.vue +351 -351
  138. package/packages/notify/index.js +5 -5
  139. package/packages/notify/src/main.vue +538 -538
  140. package/packages/page/index.js +5 -5
  141. package/packages/page/src/main.vue +167 -167
  142. package/packages/pagination/index.js +5 -5
  143. package/packages/pagination/src/main.vue +96 -96
  144. package/packages/player/index.js +5 -5
  145. package/packages/player/src/main.vue +194 -194
  146. package/packages/qr-code/index.js +5 -5
  147. package/packages/qr-code/src/main.vue +170 -170
  148. package/packages/radio-group/index.js +6 -6
  149. package/packages/radio-group/src/main.vue +319 -319
  150. package/packages/retrial-auth/index.js +5 -5
  151. package/packages/retrial-auth/src/main.vue +280 -280
  152. package/packages/scrollbar/.DS_Store +0 -0
  153. package/packages/select/.DS_Store +0 -0
  154. package/packages/select/index.js +5 -5
  155. package/packages/select/src/main.vue +781 -782
  156. package/packages/select-ganged/index.js +5 -5
  157. package/packages/select-ganged/src/main.vue +724 -724
  158. package/packages/selector/.DS_Store +0 -0
  159. package/packages/selector/index.js +5 -5
  160. package/packages/selector/src/main.vue +761 -761
  161. package/packages/selector-panel/.DS_Store +0 -0
  162. package/packages/selector-panel/index.js +5 -5
  163. package/packages/selector-panel/src/main.vue +1027 -1027
  164. package/packages/selector-panel/src/selection.vue +170 -170
  165. package/packages/selector-panel/src/tree.vue +129 -129
  166. package/packages/sizer/index.js +5 -5
  167. package/packages/sizer/src/main.vue +254 -254
  168. package/packages/steps/index.js +5 -5
  169. package/packages/steps/src/main.vue +181 -181
  170. package/packages/switch/index.js +5 -5
  171. package/packages/switch/src/main.vue +154 -154
  172. package/packages/table-form/index.js +5 -5
  173. package/packages/tabs/index.js +5 -5
  174. package/packages/tabs/src/main.vue +788 -788
  175. package/packages/tabs-panel/index.js +5 -5
  176. package/packages/tabs-panel/src/main.vue +29 -29
  177. package/packages/theme-chalk/lib/index.css +1 -1
  178. package/packages/theme-chalk/lib/main.css +1 -1
  179. package/packages/theme-chalk/lib/simplicity.css +1 -1
  180. package/packages/theme-chalk/src/.DS_Store +0 -0
  181. package/packages/theme-chalk/src/base.scss +261 -261
  182. package/packages/theme-chalk/src/button-group.scss +176 -176
  183. package/packages/theme-chalk/src/button.scss +24 -24
  184. package/packages/theme-chalk/src/calendar.scss +113 -113
  185. package/packages/theme-chalk/src/card.scss +99 -99
  186. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  187. package/packages/theme-chalk/src/clients.scss +87 -87
  188. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  189. package/packages/theme-chalk/src/data-table.scss +293 -293
  190. package/packages/theme-chalk/src/date-picker.scss +7 -7
  191. package/packages/theme-chalk/src/dialog.scss +77 -77
  192. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  193. package/packages/theme-chalk/src/enterprise.scss +5 -5
  194. package/packages/theme-chalk/src/error-page.scss +18 -18
  195. package/packages/theme-chalk/src/flow-group.scss +110 -110
  196. package/packages/theme-chalk/src/flow-list.scss +39 -39
  197. package/packages/theme-chalk/src/flow.scss +348 -348
  198. package/packages/theme-chalk/src/form.scss +499 -499
  199. package/packages/theme-chalk/src/handle-user.scss +40 -40
  200. package/packages/theme-chalk/src/handler.scss +143 -143
  201. package/packages/theme-chalk/src/icon.scss +1817 -1817
  202. package/packages/theme-chalk/src/icons.scss +99 -99
  203. package/packages/theme-chalk/src/input.scss +9 -9
  204. package/packages/theme-chalk/src/label.scss +24 -24
  205. package/packages/theme-chalk/src/layout.scss +46 -46
  206. package/packages/theme-chalk/src/login.scss +984 -984
  207. package/packages/theme-chalk/src/main.scss +663 -663
  208. package/packages/theme-chalk/src/menu.scss +222 -222
  209. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  210. package/packages/theme-chalk/src/nav.scss +111 -111
  211. package/packages/theme-chalk/src/page.scss +3 -3
  212. package/packages/theme-chalk/src/pagination.scss +29 -29
  213. package/packages/theme-chalk/src/player.scss +9 -9
  214. package/packages/theme-chalk/src/qr-code.scss +17 -17
  215. package/packages/theme-chalk/src/radio-group.scss +9 -9
  216. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  217. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  218. package/packages/theme-chalk/src/select.scss +8 -8
  219. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  220. package/packages/theme-chalk/src/selector.scss +92 -92
  221. package/packages/theme-chalk/src/simplicity.scss +1361 -1355
  222. package/packages/theme-chalk/src/sizer.scss +36 -36
  223. package/packages/theme-chalk/src/steps.scss +88 -88
  224. package/packages/theme-chalk/src/switch.scss +3 -3
  225. package/packages/theme-chalk/src/table-form.scss +1 -1
  226. package/packages/theme-chalk/src/tabs.scss +87 -87
  227. package/packages/theme-chalk/src/tips.scss +7 -7
  228. package/packages/theme-chalk/src/toolbar.scss +179 -179
  229. package/packages/theme-chalk/src/tree-group.scss +72 -72
  230. package/packages/theme-chalk/src/tree.scss +165 -165
  231. package/packages/theme-chalk/src/upload.scss +172 -172
  232. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  233. package/packages/tips/index.js +5 -5
  234. package/packages/tips/src/main.vue +141 -141
  235. package/packages/toolbar/index.js +5 -5
  236. package/packages/toolbar/src/main.vue +430 -430
  237. package/packages/tree/index.js +5 -5
  238. package/packages/tree-group/index.js +5 -5
  239. package/packages/upload/.DS_Store +0 -0
  240. package/packages/upload/index.js +5 -5
  241. package/packages/upload/src/main.vue +1343 -1343
  242. package/packages/upload/src/picture.js +15 -15
  243. package/packages/wujie/index.js +5 -5
  244. package/packages/wujie/src/main.vue +145 -145
  245. package/packages/wxlogin/index.js +5 -5
  246. package/packages/wxlogin/src/main.vue +128 -128
  247. package/src/.DS_Store +0 -0
  248. package/src/config/api.js +308 -308
  249. package/src/config/image.js +2 -2
  250. package/src/index.js +163 -163
  251. package/src/utils/.DS_Store +0 -0
  252. package/src/utils/bus.js +3 -3
  253. package/src/utils/date-util.js +312 -312
  254. package/src/utils/http.js +50 -50
  255. package/src/utils/rules.js +18 -18
  256. package/src/utils/store.js +21 -21
  257. package/src/utils/webSocket.js +107 -107
package/lib/main.js CHANGED
@@ -4354,7 +4354,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4354
4354
  // ESM COMPAT FLAG
4355
4355
  __webpack_require__.r(__webpack_exports__);
4356
4356
 
4357
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=88d82eac&
4357
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=b0817718&
4358
4358
  var render = function () {
4359
4359
  var _vm = this
4360
4360
  var _h = _vm.$createElement
@@ -4452,13 +4452,13 @@ var staticRenderFns = []
4452
4452
  render._withStripped = true
4453
4453
 
4454
4454
 
4455
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=88d82eac&
4455
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=b0817718&
4456
4456
 
4457
4457
  // EXTERNAL MODULE: ./src/config/image.js
4458
4458
  var config_image = __webpack_require__(20);
4459
4459
 
4460
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=4e5969e0&scoped=true&
4461
- var simplicityvue_type_template_id_4e5969e0_scoped_true_render = function () {
4460
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=60bf1a32&scoped=true&
4461
+ var simplicityvue_type_template_id_60bf1a32_scoped_true_render = function () {
4462
4462
  var _vm = this
4463
4463
  var _h = _vm.$createElement
4464
4464
  var _c = _vm._self._c || _h
@@ -4476,7 +4476,7 @@ var simplicityvue_type_template_id_4e5969e0_scoped_true_render = function () {
4476
4476
  _c(
4477
4477
  "div",
4478
4478
  {
4479
- staticClass: "es-simplicity-org-name es-text-ellipsis-row2",
4479
+ staticClass: "es-simplicity-org-name es-text-ellipsis-row4",
4480
4480
  attrs: {
4481
4481
  title:
4482
4482
  _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName,
@@ -4512,21 +4512,49 @@ var simplicityvue_type_template_id_4e5969e0_scoped_true_render = function () {
4512
4512
  close: _vm.handlerClose,
4513
4513
  },
4514
4514
  }),
4515
- _c("avatar", {
4516
- attrs: {
4515
+ _c(
4516
+ "div",
4517
+ {
4518
+ staticClass: "es-simplicity-pannel-user",
4519
+ attrs: { slot: "reference" },
4517
4520
  slot: "reference",
4518
- user: _vm.user,
4519
- size: 56,
4520
- "show-name": true,
4521
4521
  },
4522
- slot: "reference",
4523
- }),
4522
+ [
4523
+ _c("avatar", {
4524
+ directives: [
4525
+ {
4526
+ name: "show",
4527
+ rawName: "v-show",
4528
+ value: _vm.showAvatar,
4529
+ expression: "showAvatar",
4530
+ },
4531
+ ],
4532
+ attrs: { user: _vm.user, size: 56, "show-name": true },
4533
+ }),
4534
+ _c("div", { staticClass: "es-simplicity-username" }, [
4535
+ _vm._v(_vm._s(_vm.user.username)),
4536
+ ]),
4537
+ _c(
4538
+ "div",
4539
+ {
4540
+ directives: [
4541
+ {
4542
+ name: "show",
4543
+ rawName: "v-show",
4544
+ value: !_vm.showAvatar,
4545
+ expression: "!showAvatar",
4546
+ },
4547
+ ],
4548
+ staticClass: "es-simplicity-greeting",
4549
+ },
4550
+ [_vm._v("\n " + _vm._s(_vm.greeting) + "\n ")]
4551
+ ),
4552
+ ],
4553
+ 1
4554
+ ),
4524
4555
  ],
4525
4556
  1
4526
4557
  ),
4527
- _c("div", { staticClass: "es-simplicity-username" }, [
4528
- _vm._v(_vm._s(_vm.user.username)),
4529
- ]),
4530
4558
  _c(
4531
4559
  "div",
4532
4560
  { staticClass: "es-simplicity-side-Application" },
@@ -5124,11 +5152,11 @@ var simplicityvue_type_template_id_4e5969e0_scoped_true_render = function () {
5124
5152
  ),
5125
5153
  ])
5126
5154
  }
5127
- var simplicityvue_type_template_id_4e5969e0_scoped_true_staticRenderFns = []
5128
- simplicityvue_type_template_id_4e5969e0_scoped_true_render._withStripped = true
5155
+ var simplicityvue_type_template_id_60bf1a32_scoped_true_staticRenderFns = []
5156
+ simplicityvue_type_template_id_60bf1a32_scoped_true_render._withStripped = true
5129
5157
 
5130
5158
 
5131
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4e5969e0&scoped=true&
5159
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=60bf1a32&scoped=true&
5132
5160
 
5133
5161
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
5134
5162
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -7212,10 +7240,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7212
7240
  this.$emit('click', res);
7213
7241
  },
7214
7242
 
7215
- /**
7216
- * @desc:获取气泡提醒
7217
- * @author huangbo
7218
- * @date 2024年9月7日
7243
+ /**
7244
+ * @desc:获取气泡提醒
7245
+ * @author huangbo
7246
+ * @date 2024年9月7日
7219
7247
  **/
7220
7248
  getBadge: function getBadge(res) {
7221
7249
  var num = res.tips || 0;
@@ -7252,8 +7280,8 @@ var apps_component = Object(componentNormalizer["a" /* default */])(
7252
7280
  )
7253
7281
 
7254
7282
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
7255
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=13b172e0&scoped=true&
7256
- var uservue_type_template_id_13b172e0_scoped_true_render = function () {
7283
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=79e71c00&scoped=true&
7284
+ var uservue_type_template_id_79e71c00_scoped_true_render = function () {
7257
7285
  var _vm = this
7258
7286
  var _h = _vm.$createElement
7259
7287
  var _c = _vm._self._c || _h
@@ -7364,14 +7392,14 @@ var uservue_type_template_id_13b172e0_scoped_true_render = function () {
7364
7392
  on: { click: _vm.handleOpen },
7365
7393
  },
7366
7394
  [
7367
- _vm._v("\n 修改密码 "),
7395
+ _vm._v("\n 资料修改 "),
7368
7396
  _c("i", { staticClass: "es-icon-arrow-right" }),
7369
7397
  ]
7370
7398
  ),
7371
7399
  _c(
7372
7400
  "es-dialog",
7373
7401
  {
7374
- attrs: { title: "修改密码", visible: _vm.visible },
7402
+ attrs: { title: "资料修改", visible: _vm.visible },
7375
7403
  on: {
7376
7404
  "update:visible": function ($event) {
7377
7405
  _vm.visible = $event
@@ -7392,14 +7420,14 @@ var uservue_type_template_id_13b172e0_scoped_true_render = function () {
7392
7420
  1
7393
7421
  )
7394
7422
  }
7395
- var uservue_type_template_id_13b172e0_scoped_true_staticRenderFns = []
7396
- uservue_type_template_id_13b172e0_scoped_true_render._withStripped = true
7423
+ var uservue_type_template_id_79e71c00_scoped_true_staticRenderFns = []
7424
+ uservue_type_template_id_79e71c00_scoped_true_render._withStripped = true
7397
7425
 
7398
7426
 
7399
- // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=13b172e0&scoped=true&
7427
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=79e71c00&scoped=true&
7400
7428
 
7401
- // 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=8643d5d2&
7402
- var userinfovue_type_template_id_8643d5d2_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=fb004f62&
7430
+ var userinfovue_type_template_id_fb004f62_render = function () {
7403
7431
  var _vm = this
7404
7432
  var _h = _vm.$createElement
7405
7433
  var _c = _vm._self._c || _h
@@ -7408,20 +7436,34 @@ var userinfovue_type_template_id_8643d5d2_render = function () {
7408
7436
  {
7409
7437
  ref: "form",
7410
7438
  staticClass: "es-user-info",
7411
- attrs: { model: _vm.model, contents: _vm.forms, autocomplete: false },
7439
+ attrs: {
7440
+ "validate-on-rule-change": false,
7441
+ model: _vm.model,
7442
+ contents: _vm.forms,
7443
+ autocomplete: false,
7444
+ rules: _vm.formRules,
7445
+ events: _vm.events,
7446
+ },
7412
7447
  on: { submit: _vm.handleFormSubmit },
7413
7448
  },
7414
7449
  [_c("template", { slot: "other" }, [_vm._t("default")], 2)],
7415
7450
  2
7416
7451
  )
7417
7452
  }
7418
- var userinfovue_type_template_id_8643d5d2_staticRenderFns = []
7419
- userinfovue_type_template_id_8643d5d2_render._withStripped = true
7453
+ var userinfovue_type_template_id_fb004f62_staticRenderFns = []
7454
+ userinfovue_type_template_id_fb004f62_render._withStripped = true
7420
7455
 
7421
7456
 
7422
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=8643d5d2&
7457
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=fb004f62&
7423
7458
 
7424
7459
  // 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
+ 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; };
7461
+
7462
+ var _props;
7463
+
7464
+ //
7465
+ //
7466
+ //
7425
7467
  //
7426
7468
  //
7427
7469
  //
@@ -7442,7 +7484,7 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
7442
7484
 
7443
7485
  /* harmony default export */ var userinfovue_type_script_lang_js_ = ({
7444
7486
  name: 'UserInfo',
7445
- props: {
7487
+ props: (_props = {
7446
7488
  secret: {
7447
7489
  type: Boolean,
7448
7490
  default: true
@@ -7453,18 +7495,97 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
7453
7495
  default: function _default() {
7454
7496
  return {};
7455
7497
  }
7498
+ },
7499
+ rules: {
7500
+ type: Object,
7501
+ default: function _default() {
7502
+ return {};
7503
+ }
7456
7504
  }
7457
- },
7505
+ }, _props['rules'] = {
7506
+ type: Object,
7507
+ default: function _default() {
7508
+ return {};
7509
+ }
7510
+ }, _props),
7458
7511
  data: function data() {
7512
+ var _this = this;
7513
+
7459
7514
  return {
7460
- model: this.value
7515
+ model: this.value,
7516
+ events: {
7517
+ oldpassword: {
7518
+ change: function change() {
7519
+ if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7520
+ _this.$refs.form.clearValidate();
7521
+ }
7522
+ }
7523
+ },
7524
+ password: {
7525
+ change: function change() {
7526
+ if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7527
+ _this.$refs.form.clearValidate();
7528
+ }
7529
+ }
7530
+ },
7531
+ repassword: {
7532
+ change: function change() {
7533
+ if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7534
+ _this.$refs.form.clearValidate();
7535
+ }
7536
+ }
7537
+ }
7538
+ }
7461
7539
  };
7462
7540
  },
7463
7541
 
7464
7542
  computed: {
7465
- forms: function forms() {
7466
- var _this = this;
7543
+ formRules: function formRules() {
7544
+ return userinfovue_type_script_lang_js_extends({
7545
+ idCard: {
7546
+ pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'),
7547
+ message: '身份证号不合法'
7548
+ },
7549
+ phone: {
7550
+ pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'),
7551
+ message: '手机号不合法',
7552
+ trigger: 'blur'
7553
+ },
7554
+ email: {
7555
+ type: 'email',
7556
+ message: '请输入正确的邮箱地址',
7557
+ trigger: 'blur'
7558
+ },
7559
+ officeTel: {
7560
+ pattern: new RegExp('^(?:\\(?0([1-9]\\d{1,2})\\)?[- ]?)?([2-9]\\d{6,7})$'),
7561
+ message: '座机号不合法',
7562
+ trigger: 'blur'
7563
+ },
7564
+
7565
+ oldpassword: this.model.password || this.model.repassword ? {
7566
+ required: true,
7567
+ message: '请输入旧密码'
7568
+ } : {},
7467
7569
 
7570
+ password: [this.model.repassword || this.model.oldpassword ? {
7571
+ required: true,
7572
+ message: '请输入新密码'
7573
+ } : {},, {
7574
+ pattern: this.checkPassword,
7575
+ message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
7576
+ trigger: 'blur'
7577
+ }],
7578
+ repassword: [this.model.password || this.model.oldpassword ? {
7579
+ required: true,
7580
+ message: '请再次输入新密码'
7581
+ } : {}, { validator: this.repassword, trigger: 'blur' }, this.checkPassword ? {
7582
+ pattern: this.checkPassword,
7583
+ message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
7584
+ trigger: 'blur'
7585
+ } : {}]
7586
+ }, this.rules);
7587
+ },
7588
+ forms: function forms() {
7468
7589
  return this.contents ? this.contents : [{
7469
7590
  name: 'orgName',
7470
7591
  label: '所属机构',
@@ -7500,83 +7621,40 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
7500
7621
  placeholder: '电子邮箱',
7501
7622
  label: '电子邮箱',
7502
7623
  type: 'text',
7503
- rules: {
7504
- type: 'email',
7505
- message: '请输入正确的邮箱地址',
7506
- trigger: 'blur'
7507
- },
7508
7624
  col: 6
7509
7625
  }, {
7510
7626
  name: 'officeTel',
7511
7627
  placeholder: '座机号',
7512
7628
  label: '座机号',
7513
7629
  type: 'text',
7514
- rules: {
7515
- type: 'telephone'
7516
- //message: '请输入正确的邮箱地址',
7517
- //trigger: 'blur'
7518
- },
7519
7630
  col: 6
7520
7631
  }, {
7521
7632
  name: 'oldpassword',
7522
7633
  placeholder: '旧密码',
7523
7634
  label: '旧密码',
7524
7635
  type: 'text',
7525
- col: 6,
7526
- rules: this.model.password || this.model.repassword ? {
7527
- required: true,
7528
- message: '请输入旧密码'
7529
- } : {},
7530
- events: {
7531
- change: function change() {
7532
- if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7533
- _this.$refs.form.clearValidate();
7534
- }
7535
- }
7536
- }
7636
+ col: 6
7537
7637
  }, {
7538
7638
  name: 'password',
7539
7639
  placeholder: '新密码',
7540
7640
  label: '新密码',
7541
7641
  type: 'text',
7542
- col: 6,
7543
- rules: [this.model.repassword || this.model.oldpassword ? {
7544
- required: true,
7545
- message: '请输入新密码'
7546
- } : {}, {
7547
- pattern: this.checkPassword,
7548
- message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
7549
- trigger: 'blur'
7550
- }],
7551
- events: {
7552
- change: function change() {
7553
- if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7554
- _this.$refs.form.clearValidate();
7555
- }
7556
- }
7557
- }
7642
+ col: 6
7558
7643
  }, {
7559
7644
  name: 'repassword',
7560
7645
  placeholder: '确认新密码',
7561
7646
  label: '确认新密码',
7562
7647
  type: 'text',
7563
- col: 6,
7564
- rules: [this.model.password || this.model.oldpassword ? {
7565
- required: true,
7566
- message: '请再次输入新密码'
7567
- } : {}, { validator: this.repassword, trigger: 'blur' }, this.checkPassword ? {
7568
- pattern: this.checkPassword,
7569
- message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
7570
- trigger: 'blur'
7571
- } : {}],
7572
- events: {
7573
- change: function change() {
7574
- if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
7575
- _this.$refs.form.clearValidate();
7576
- }
7577
- }
7578
- }
7648
+ col: 6
7579
7649
  }];
7650
+ },
7651
+ formKey: function formKey() {
7652
+ var keys = this.forms.filter(function (item) {
7653
+ return item.disabled !== true && item.readonly !== true && !['oldpassword', 'password', 'repassword'].includes(item.name);
7654
+ }).map(function (item) {
7655
+ return item.name;
7656
+ });
7657
+ return keys;
7580
7658
  }
7581
7659
  },
7582
7660
  created: function created() {},
@@ -7588,24 +7666,29 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
7588
7666
 
7589
7667
  var initLogin = util["a" /* default */].getStorage('initLogin');
7590
7668
  initLogin && (initLogin = JSON.parse(initLogin));
7669
+ var _model = this.model,
7670
+ oldpassword = _model.oldpassword,
7671
+ password = _model.password;
7672
+
7673
+ var data = userinfovue_type_script_lang_js_extends({}, Object.fromEntries(Object.entries(this.model).filter(function (_ref) {
7674
+ var key = _ref[0];
7675
+ return _this2.formKey.includes(key);
7676
+ })));
7591
7677
  util["a" /* default */].ajax({
7592
7678
  url: api["uc" /* updateUserInfo */],
7593
- params: {
7594
- email: this.model.email,
7595
- officeTel: this.model.officeTel,
7596
- phone: this.model.phone,
7597
- oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? util["a" /* default */].esmEncrypt({
7598
- data: this.model.oldpassword,
7679
+ params: userinfovue_type_script_lang_js_extends({}, data, {
7680
+ oldPassword: this.secret && initLogin && initLogin.secret && oldpassword ? util["a" /* default */].esmEncrypt({
7681
+ data: oldpassword,
7599
7682
  key: initLogin.secret
7600
- }) : this.model.oldpassword,
7601
- password: this.secret && initLogin && initLogin.secret && this.model.password ? util["a" /* default */].esmEncrypt({
7602
- data: this.model.password,
7683
+ }) : oldpassword,
7684
+ password: this.secret && initLogin && initLogin.secret && password ? util["a" /* default */].esmEncrypt({
7685
+ data: password,
7603
7686
  key: initLogin.secret
7604
- }) : this.model.password
7605
- }
7687
+ }) : password
7688
+ })
7606
7689
  }).then(function (res) {
7607
7690
  if (res.rCode === 0) {
7608
- if (_this2.model.oldpassword && _this2.model.password) {
7691
+ if (oldpassword && password) {
7609
7692
  _this2.$confirm('密码修改成功,请重新登录!', '提示', {
7610
7693
  confirmButtonText: '确定',
7611
7694
  cancelButtonText: '取消',
@@ -7682,8 +7765,8 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
7682
7765
 
7683
7766
  var userinfo_component = Object(componentNormalizer["a" /* default */])(
7684
7767
  simplicity_userinfovue_type_script_lang_js_,
7685
- userinfovue_type_template_id_8643d5d2_render,
7686
- userinfovue_type_template_id_8643d5d2_staticRenderFns,
7768
+ userinfovue_type_template_id_fb004f62_render,
7769
+ userinfovue_type_template_id_fb004f62_staticRenderFns,
7687
7770
  false,
7688
7771
  null,
7689
7772
  null,
@@ -7924,8 +8007,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7924
8007
  } else {
7925
8008
  _this4.$message({
7926
8009
  message: res.msg || '系统错误,请联系管理员!',
7927
- type: 'error',
7928
- duration: 1500
8010
+ type: 'error'
7929
8011
  });
7930
8012
  }
7931
8013
  }).catch(function (err) {
@@ -7958,11 +8040,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7958
8040
 
7959
8041
  var user_component = Object(componentNormalizer["a" /* default */])(
7960
8042
  simplicity_uservue_type_script_lang_js_,
7961
- uservue_type_template_id_13b172e0_scoped_true_render,
7962
- uservue_type_template_id_13b172e0_scoped_true_staticRenderFns,
8043
+ uservue_type_template_id_79e71c00_scoped_true_render,
8044
+ uservue_type_template_id_79e71c00_scoped_true_staticRenderFns,
7963
8045
  false,
7964
8046
  null,
7965
- "13b172e0",
8047
+ "79e71c00",
7966
8048
  null
7967
8049
 
7968
8050
  )
@@ -10841,6 +10923,15 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
10841
10923
  //
10842
10924
  //
10843
10925
  //
10926
+ //
10927
+ //
10928
+ //
10929
+ //
10930
+ //
10931
+ //
10932
+ //
10933
+ //
10934
+ //
10844
10935
 
10845
10936
 
10846
10937
 
@@ -10930,6 +11021,11 @@ var events = [function (tabs, index, that) {
10930
11021
  search: search
10931
11022
  },
10932
11023
  props: {
11024
+ //是否显示头像
11025
+ avatar: {
11026
+ type: Boolean,
11027
+ default: false
11028
+ },
10933
11029
  //im用例编码
10934
11030
  imUseCaseCode: String,
10935
11031
  //ai用例编码
@@ -11039,6 +11135,10 @@ var events = [function (tabs, index, that) {
11039
11135
  },
11040
11136
  data: function data() {
11041
11137
  return {
11138
+ //是否显示头像
11139
+ showAvatar: this.avatar,
11140
+ // 问候语
11141
+ greeting: util["a" /* default */].timeCycle() + '好!',
11042
11142
  //用例权限编码
11043
11143
  useCaseCodes: util["a" /* default */].getStorage('useCaseCodes'),
11044
11144
  //显示用户信息
@@ -11223,10 +11323,10 @@ var events = [function (tabs, index, that) {
11223
11323
  },
11224
11324
 
11225
11325
  methods: {
11226
- /**
11227
- * @desc:匹配路由
11228
- * @author huangbo
11229
- * @date 2024年9月7日
11326
+ /**
11327
+ * @desc:匹配路由
11328
+ * @author huangbo
11329
+ * @date 2024年9月7日
11230
11330
  **/
11231
11331
  hasRouter: function hasRouter(res, url, code) {
11232
11332
  if (!url) {
@@ -11270,10 +11370,10 @@ var events = [function (tabs, index, that) {
11270
11370
  return false;
11271
11371
  },
11272
11372
 
11273
- /**
11274
- * @desc:获取初始数据
11275
- * @author huangbo
11276
- * @date 2024年9月7日
11373
+ /**
11374
+ * @desc:获取初始数据
11375
+ * @author huangbo
11376
+ * @date 2024年9月7日
11277
11377
  **/
11278
11378
  init: function init(results, first) {
11279
11379
  this.setConfig(results);
@@ -11282,10 +11382,10 @@ var events = [function (tabs, index, that) {
11282
11382
  }
11283
11383
  },
11284
11384
 
11285
- /**
11286
- * @desc:设置用户配置及信息
11287
- * @author huangbo
11288
- * @date 2024年9月7日
11385
+ /**
11386
+ * @desc:设置用户配置及信息
11387
+ * @author huangbo
11388
+ * @date 2024年9月7日
11289
11389
  **/
11290
11390
  setConfig: function setConfig(results) {
11291
11391
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11340,6 +11440,9 @@ var events = [function (tabs, index, that) {
11340
11440
  this.notify = results[i].notify || '';
11341
11441
  }
11342
11442
  if (i === 'subsystemExtend' && results[i]) {
11443
+ if (Object.prototype.hasOwnProperty.call(results[i], 'showAvatar')) {
11444
+ this.showAvatar = JSON.parse(results[i].showAvatar);
11445
+ }
11343
11446
  if (results[i].themeColor) {
11344
11447
  var _color = unescape(results[i].themeColor).toLowerCase();
11345
11448
  if (util["a" /* default */].startWith(_color, '#')) {
@@ -11388,10 +11491,10 @@ var events = [function (tabs, index, that) {
11388
11491
  this.doorIndex = results[i].portalPage || results[i].portalpage;
11389
11492
  }
11390
11493
  if (results[i].multipleVersion || results[i].oldVersion) {
11391
- this.showOld = results[i].oldVersion ? results[i].oldVersion : true;
11494
+ this.showOld = results[i].oldVersion ? JSON.parse(results[i].oldVersion) : true;
11392
11495
  }
11393
11496
  if (results[i].topRightToolHide) {
11394
- this.topRightToolHide = results[i].topRightToolHide;
11497
+ this.topRightToolHide = JSON.parse(results[i].topRightToolHide);
11395
11498
  }
11396
11499
  if (results[i].contact) {
11397
11500
  var contact = JSON.parse(results[i].contact);
@@ -11419,10 +11522,10 @@ var events = [function (tabs, index, that) {
11419
11522
  }
11420
11523
  },
11421
11524
 
11422
- /**
11423
- * @desc:获取所有应用
11424
- * @author huangbo
11425
- * @date 2024年9月7日
11525
+ /**
11526
+ * @desc:获取所有应用
11527
+ * @author huangbo
11528
+ * @date 2024年9月7日
11426
11529
  **/
11427
11530
  getApplications: function getApplications() {
11428
11531
  var _this = this;
@@ -11470,10 +11573,10 @@ var events = [function (tabs, index, that) {
11470
11573
  });
11471
11574
  },
11472
11575
 
11473
- /**
11474
- * @desc:获取菜单列表
11475
- * @author huangbo
11476
- * @date 2024年9月7日
11576
+ /**
11577
+ * @desc:获取菜单列表
11578
+ * @author huangbo
11579
+ * @date 2024年9月7日
11477
11580
  **/
11478
11581
  getMenus: function getMenus(loading) {
11479
11582
  var _this2 = this;
@@ -11506,10 +11609,10 @@ var events = [function (tabs, index, that) {
11506
11609
  });
11507
11610
  },
11508
11611
 
11509
- /**
11510
- * @desc:处理菜单列表
11511
- * @author huangbo
11512
- * @date 2024年9月7日
11612
+ /**
11613
+ * @desc:处理菜单列表
11614
+ * @author huangbo
11615
+ * @date 2024年9月7日
11513
11616
  **/
11514
11617
  renderMenus: function renderMenus(res) {
11515
11618
  this.menus = res;
@@ -11605,10 +11708,10 @@ var events = [function (tabs, index, that) {
11605
11708
  }
11606
11709
  },
11607
11710
 
11608
- /**
11609
- * @desc:设置页面加载类型
11610
- * @author huangbo
11611
- * @date 2024年9月7日
11711
+ /**
11712
+ * @desc:设置页面加载类型
11713
+ * @author huangbo
11714
+ * @date 2024年9月7日
11612
11715
  **/
11613
11716
  setIframeType: function setIframeType(res) {
11614
11717
  var url = res.url;
@@ -11664,10 +11767,10 @@ var events = [function (tabs, index, that) {
11664
11767
  return res;
11665
11768
  },
11666
11769
 
11667
- /**
11668
- * @desc:获取菜单
11669
- * @author huangbo
11670
- * @date 2024年9月7日
11770
+ /**
11771
+ * @desc:获取菜单
11772
+ * @author huangbo
11773
+ * @date 2024年9月7日
11671
11774
  **/
11672
11775
  getMenu: function getMenu(menus, res, key) {
11673
11776
  if (Array.isArray(menus)) {
@@ -11696,10 +11799,10 @@ var events = [function (tabs, index, that) {
11696
11799
  return false;
11697
11800
  },
11698
11801
 
11699
- /**
11700
- * @desc:获取菜单第一条数据
11701
- * @author huangbo
11702
- * @date 2024年9月7日
11802
+ /**
11803
+ * @desc:获取菜单第一条数据
11804
+ * @author huangbo
11805
+ * @date 2024年9月7日
11703
11806
  **/
11704
11807
  getFirst: function getFirst(obj) {
11705
11808
  if (!obj) {
@@ -11718,10 +11821,10 @@ var events = [function (tabs, index, that) {
11718
11821
  }
11719
11822
  },
11720
11823
 
11721
- /**
11722
- * @desc:遍历设置菜单气泡提醒
11723
- * @author huangbo
11724
- * @date 2024年9月7日
11824
+ /**
11825
+ * @desc:遍历设置菜单气泡提醒
11826
+ * @author huangbo
11827
+ * @date 2024年9月7日
11725
11828
  **/
11726
11829
  setTips: function setTips(obj) {
11727
11830
  var _this3 = this;
@@ -11784,10 +11887,10 @@ var events = [function (tabs, index, that) {
11784
11887
  }
11785
11888
  },
11786
11889
 
11787
- /**
11788
- * @desc:获取气泡提醒
11789
- * @author huangbo
11790
- * @date 2024年9月7日
11890
+ /**
11891
+ * @desc:获取气泡提醒
11892
+ * @author huangbo
11893
+ * @date 2024年9月7日
11791
11894
  **/
11792
11895
  getBadge: function getBadge(res) {
11793
11896
  var num = res.tips || 0;
@@ -11801,10 +11904,10 @@ var events = [function (tabs, index, that) {
11801
11904
  };
11802
11905
  },
11803
11906
 
11804
- /**
11805
- * @desc:开启weosocket
11806
- * @author huangbo
11807
- * @date 2024年9月7日
11907
+ /**
11908
+ * @desc:开启weosocket
11909
+ * @author huangbo
11910
+ * @date 2024年9月7日
11808
11911
  **/
11809
11912
  initWebSocket: function initWebSocket() {
11810
11913
  var _this5 = this;
@@ -11853,10 +11956,10 @@ var events = [function (tabs, index, that) {
11853
11956
  });
11854
11957
  },
11855
11958
 
11856
- /**
11857
- * @desc:显示用户信息
11858
- * @author huangbo
11859
- * @date 2024年9月7日
11959
+ /**
11960
+ * @desc:显示用户信息
11961
+ * @author huangbo
11962
+ * @date 2024年9月7日
11860
11963
  **/
11861
11964
  showUserInfo: function showUserInfo() {
11862
11965
  if (this.showUser === false) {
@@ -11864,19 +11967,19 @@ var events = [function (tabs, index, that) {
11864
11967
  }
11865
11968
  },
11866
11969
 
11867
- /**
11868
- * @desc:删除更多应用菜单点击
11869
- * @author huangbo
11870
- * @date 2024年9月7日
11970
+ /**
11971
+ * @desc:删除更多应用菜单点击
11972
+ * @author huangbo
11973
+ * @date 2024年9月7日
11871
11974
  **/
11872
11975
  handleDelete: function handleDelete(index) {
11873
11976
  this.newApps.splice(index, 1);
11874
11977
  },
11875
11978
 
11876
- /**
11877
- * @desc:储存更多应用菜单点击
11878
- * @author huangbo
11879
- * @date 2024年9月7日
11979
+ /**
11980
+ * @desc:储存更多应用菜单点击
11981
+ * @author huangbo
11982
+ * @date 2024年9月7日
11880
11983
  **/
11881
11984
  handlerClickApps: function handlerClickApps(res) {
11882
11985
  if (res.permission === false) {
@@ -11889,10 +11992,10 @@ var events = [function (tabs, index, that) {
11889
11992
  this.handlerClickApp(res);
11890
11993
  },
11891
11994
 
11892
- /**
11893
- * @desc:侧边应用菜单点击
11894
- * @author huangbo
11895
- * @date 2024年9月7日
11995
+ /**
11996
+ * @desc:侧边应用菜单点击
11997
+ * @author huangbo
11998
+ * @date 2024年9月7日
11896
11999
  **/
11897
12000
  handlerClickApp: function handlerClickApp(res) {
11898
12001
  this.showMsg = false;
@@ -11981,10 +12084,10 @@ var events = [function (tabs, index, that) {
11981
12084
  }
11982
12085
  },
11983
12086
 
11984
- /**
11985
- * @desc:显示Drawer界面
11986
- * @author huangbo
11987
- * @date 2024年9月7日
12087
+ /**
12088
+ * @desc:显示Drawer界面
12089
+ * @author huangbo
12090
+ * @date 2024年9月7日
11988
12091
  **/
11989
12092
  handlerSetDrawer: function handlerSetDrawer(res, type) {
11990
12093
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -12004,19 +12107,19 @@ var events = [function (tabs, index, that) {
12004
12107
  }
12005
12108
  },
12006
12109
 
12007
- /**
12008
- * @desc:关闭Drawer界面
12009
- * @author huangbo
12010
- * @date 2024年9月7日
12110
+ /**
12111
+ * @desc:关闭Drawer界面
12112
+ * @author huangbo
12113
+ * @date 2024年9月7日
12011
12114
  **/
12012
12115
  handleCloseDrawer: function handleCloseDrawer() {
12013
12116
  this.drawer = { visible: false };
12014
12117
  },
12015
12118
 
12016
- /**
12017
- * @desc:菜单点击
12018
- * @author huangbo
12019
- * @date 2024年9月7日
12119
+ /**
12120
+ * @desc:菜单点击
12121
+ * @author huangbo
12122
+ * @date 2024年9月7日
12020
12123
  **/
12021
12124
  handlerClickMenu: function handlerClickMenu(res) {
12022
12125
  util["a" /* default */].ajax({
@@ -12065,19 +12168,19 @@ var events = [function (tabs, index, that) {
12065
12168
  },
12066
12169
 
12067
12170
 
12068
- /**
12069
- * @desc:用户详情请求成功
12070
- * @author huangbo
12071
- * @date 2024年9月7日
12171
+ /**
12172
+ * @desc:用户详情请求成功
12173
+ * @author huangbo
12174
+ * @date 2024年9月7日
12072
12175
  **/
12073
12176
  handleSuccess: function handleSuccess(res) {
12074
12177
  this.simpleUserInfo = res.simpleUserInfo;
12075
12178
  },
12076
12179
 
12077
- /**
12078
- * @desc:修改用户配置
12079
- * @author huangbo
12080
- * @date 2024年9月7日
12180
+ /**
12181
+ * @desc:修改用户配置
12182
+ * @author huangbo
12183
+ * @date 2024年9月7日
12081
12184
  **/
12082
12185
  handleChangeConfig: function handleChangeConfig(name, res) {
12083
12186
  if (name == 'userHeadUrl') {
@@ -12093,10 +12196,10 @@ var events = [function (tabs, index, that) {
12093
12196
  }
12094
12197
  },
12095
12198
 
12096
- /**
12097
- * @desc:关闭webSocket
12098
- * @author huangbo
12099
- * @date 2024年9月7日
12199
+ /**
12200
+ * @desc:关闭webSocket
12201
+ * @author huangbo
12202
+ * @date 2024年9月7日
12100
12203
  **/
12101
12204
  handlerClose: function handlerClose() {
12102
12205
  if (this.webSocket) {
@@ -12104,10 +12207,10 @@ var events = [function (tabs, index, that) {
12104
12207
  }
12105
12208
  },
12106
12209
 
12107
- /**
12108
- * @desc:刷新选中iframe页签
12109
- * @author huangbo
12110
- * @date 2024年9月7日
12210
+ /**
12211
+ * @desc:刷新选中iframe页签
12212
+ * @author huangbo
12213
+ * @date 2024年9月7日
12111
12214
  **/
12112
12215
  handleRefresh: function handleRefresh() {
12113
12216
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12128,10 +12231,10 @@ var events = [function (tabs, index, that) {
12128
12231
  }
12129
12232
  },
12130
12233
 
12131
- /**
12132
- * @desc:删除iframe
12133
- * @author huangbo
12134
- * @date 2024年9月7日
12234
+ /**
12235
+ * @desc:删除iframe
12236
+ * @author huangbo
12237
+ * @date 2024年9月7日
12135
12238
  **/
12136
12239
  handleRemove: function handleRemove(name) {
12137
12240
  var len = this.tabs.length - 1;
@@ -12148,10 +12251,10 @@ var events = [function (tabs, index, that) {
12148
12251
  }
12149
12252
  },
12150
12253
 
12151
- /**
12152
- * @desc:tabs鼠标右键事件
12153
- * @author huangbo
12154
- * @date 2024年9月7日
12254
+ /**
12255
+ * @desc:tabs鼠标右键事件
12256
+ * @author huangbo
12257
+ * @date 2024年9月7日
12155
12258
  **/
12156
12259
  handleContextmenu: function handleContextmenu(tabs, e) {
12157
12260
  var disabled = {};
@@ -12176,10 +12279,10 @@ var events = [function (tabs, index, that) {
12176
12279
  window.addEventListener('click', this.closeTabsEvents);
12177
12280
  },
12178
12281
 
12179
- /**
12180
- * @desc:tabs页签事件
12181
- * @author huangbo
12182
- * @date 2024年9月7日
12282
+ /**
12283
+ * @desc:tabs页签事件
12284
+ * @author huangbo
12285
+ * @date 2024年9月7日
12183
12286
  **/
12184
12287
  handleTabsEvents: function handleTabsEvents(num) {
12185
12288
  if (this.pane !== null) {
@@ -12197,10 +12300,10 @@ var events = [function (tabs, index, that) {
12197
12300
  window.removeEventListener('click', this.closeTabsEvents);
12198
12301
  },
12199
12302
 
12200
- /**
12201
- * @desc:handler工具栏点击事件
12202
- * @author huangbo
12203
- * @date 2024年9月7日
12303
+ /**
12304
+ * @desc:handler工具栏点击事件
12305
+ * @author huangbo
12306
+ * @date 2024年9月7日
12204
12307
  **/
12205
12308
  handleClick: function handleClick(res) {
12206
12309
  var type = res.type,
@@ -12278,10 +12381,10 @@ var events = [function (tabs, index, that) {
12278
12381
  this.$emit('handler-click', res);
12279
12382
  },
12280
12383
 
12281
- /**
12282
- * @desc:退出登录
12283
- * @author huangbo
12284
- * @date 2024年9月7日
12384
+ /**
12385
+ * @desc:退出登录
12386
+ * @author huangbo
12387
+ * @date 2024年9月7日
12285
12388
  **/
12286
12389
  handleQuit: function handleQuit() {
12287
12390
  var _this6 = this;
@@ -12356,10 +12459,10 @@ var events = [function (tabs, index, that) {
12356
12459
  }).catch(function (e) {});
12357
12460
  },
12358
12461
 
12359
- /**
12360
- * @desc:主题、消息回调
12361
- * @author huangbo
12362
- * @date 2024年9月7日
12462
+ /**
12463
+ * @desc:主题、消息回调
12464
+ * @author huangbo
12465
+ * @date 2024年9月7日
12363
12466
  **/
12364
12467
  handleChange: function handleChange(res) {
12365
12468
  var type = res.type,
@@ -12375,10 +12478,10 @@ var events = [function (tabs, index, that) {
12375
12478
  }
12376
12479
  },
12377
12480
 
12378
- /**
12379
- * @desc:菜单布局样式切换
12380
- * @author huangbo
12381
- * @date 2024年9月7日
12481
+ /**
12482
+ * @desc:菜单布局样式切换
12483
+ * @author huangbo
12484
+ * @date 2024年9月7日
12382
12485
  **/
12383
12486
  handleLayout: function handleLayout(res, active) {
12384
12487
  if (active) {
@@ -12387,10 +12490,10 @@ var events = [function (tabs, index, that) {
12387
12490
  this.$emit('chang-layout', res, active);
12388
12491
  },
12389
12492
 
12390
- /**
12391
- * @desc:消息修改总数
12392
- * @author huangbo
12393
- * @date 2024年9月7日
12493
+ /**
12494
+ * @desc:消息修改总数
12495
+ * @author huangbo
12496
+ * @date 2024年9月7日
12394
12497
  **/
12395
12498
  handleMenuTips: function handleMenuTips(id, num) {
12396
12499
  if (num) {
@@ -12401,10 +12504,10 @@ var events = [function (tabs, index, that) {
12401
12504
  }
12402
12505
  },
12403
12506
 
12404
- /**
12405
- * @desc:处理即时消息
12406
- * @author huangbo
12407
- * @date 2024年9月7日
12507
+ /**
12508
+ * @desc:处理即时消息
12509
+ * @author huangbo
12510
+ * @date 2024年9月7日
12408
12511
  **/
12409
12512
  handleOpened: function handleOpened(res) {
12410
12513
  var _this7 = this;
@@ -12528,11 +12631,11 @@ var events = [function (tabs, index, that) {
12528
12631
 
12529
12632
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
12530
12633
  src_simplicityvue_type_script_lang_js_,
12531
- simplicityvue_type_template_id_4e5969e0_scoped_true_render,
12532
- simplicityvue_type_template_id_4e5969e0_scoped_true_staticRenderFns,
12634
+ simplicityvue_type_template_id_60bf1a32_scoped_true_render,
12635
+ simplicityvue_type_template_id_60bf1a32_scoped_true_staticRenderFns,
12533
12636
  false,
12534
12637
  null,
12535
- "4e5969e0",
12638
+ "60bf1a32",
12536
12639
  null
12537
12640
 
12538
12641
  )
@@ -13096,8 +13199,8 @@ defaultvue_type_template_id_377c361a_render._withStripped = true
13096
13199
 
13097
13200
  // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=377c361a&
13098
13201
 
13099
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=14b0e976&
13100
- var userinfovue_type_template_id_14b0e976_render = function () {
13202
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=138be27a&
13203
+ var userinfovue_type_template_id_138be27a_render = function () {
13101
13204
  var _vm = this
13102
13205
  var _h = _vm.$createElement
13103
13206
  var _c = _vm._self._c || _h
@@ -13113,14 +13216,14 @@ var userinfovue_type_template_id_14b0e976_render = function () {
13113
13216
  2
13114
13217
  )
13115
13218
  }
13116
- var userinfovue_type_template_id_14b0e976_staticRenderFns = []
13117
- userinfovue_type_template_id_14b0e976_render._withStripped = true
13219
+ var userinfovue_type_template_id_138be27a_staticRenderFns = []
13220
+ userinfovue_type_template_id_138be27a_render._withStripped = true
13118
13221
 
13119
13222
 
13120
- // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=14b0e976&
13223
+ // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=138be27a&
13121
13224
 
13122
13225
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=script&lang=js&
13123
- 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; };
13226
+ var default_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; };
13124
13227
 
13125
13228
  //
13126
13229
  //
@@ -13380,7 +13483,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
13380
13483
  _this2.checkPasswordMsg = results.checkPasswordMsg;
13381
13484
  }
13382
13485
  _this2.results = results.simpleUserInfo;
13383
- _this2.values = userinfovue_type_script_lang_js_extends({}, _this2.values, results.simpleUserInfo);
13486
+ _this2.values = default_userinfovue_type_script_lang_js_extends({}, _this2.values, results.simpleUserInfo);
13384
13487
  // this.values.orgName = results.simpleUserInfo.orgName;
13385
13488
  // this.values.depName = results.simpleUserInfo.depName;
13386
13489
  // this.values.idCard = results.simpleUserInfo.idCard;
@@ -13441,8 +13544,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
13441
13544
  } else {
13442
13545
  _this3.$message({
13443
13546
  message: res.msg || '系统错误,请联系管理员!',
13444
- type: 'error',
13445
- duration: 1500
13547
+ type: 'error'
13446
13548
  });
13447
13549
  }
13448
13550
  }).catch(function (err) {
@@ -13577,8 +13679,8 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
13577
13679
 
13578
13680
  var default_userinfo_component = Object(componentNormalizer["a" /* default */])(
13579
13681
  src_default_userinfovue_type_script_lang_js_,
13580
- userinfovue_type_template_id_14b0e976_render,
13581
- userinfovue_type_template_id_14b0e976_staticRenderFns,
13682
+ userinfovue_type_template_id_138be27a_render,
13683
+ userinfovue_type_template_id_138be27a_staticRenderFns,
13582
13684
  false,
13583
13685
  null,
13584
13686
  null,
@@ -16676,8 +16778,6 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
16676
16778
  mounted: function mounted() {
16677
16779
  var _this = this;
16678
16780
 
16679
- console.log('params', this.$refs, this.$refs.main);
16680
-
16681
16781
  var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
16682
16782
  this.isLogin = token ? true : this.isLogin;
16683
16783
  if (!token && Object.prototype.hasOwnProperty.call(this.params, 'serverId') && Object.prototype.hasOwnProperty.call(this.params, 'authType')) {