eoss-ui 0.6.67 → 0.6.68

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 (244) hide show
  1. package/lib/calogin.js +663 -254
  2. package/lib/eoss-ui.common.js +1317 -902
  3. package/lib/flow-list.js +158 -175
  4. package/lib/flow.js +280 -280
  5. package/lib/index.js +1 -1
  6. package/lib/login.js +58 -35
  7. package/lib/main.js +132 -132
  8. package/lib/qr-code.js +13 -13
  9. package/lib/theme-chalk/index.css +1 -1
  10. package/lib/theme-chalk/login.css +1 -1
  11. package/package.json +160 -160
  12. package/packages/.DS_Store +0 -0
  13. package/packages/autocomplete/.DS_Store +0 -0
  14. package/packages/button/index.js +5 -5
  15. package/packages/button/src/main.vue +418 -418
  16. package/packages/button-group/index.js +5 -5
  17. package/packages/button-group/src/main.vue +298 -298
  18. package/packages/calendar/index.js +5 -5
  19. package/packages/calogin/.DS_Store +0 -0
  20. package/packages/calogin/index.js +5 -5
  21. package/packages/calogin/src/main.vue +368 -131
  22. package/packages/calogin/src/plugin.js +915 -748
  23. package/packages/card/index.js +5 -5
  24. package/packages/card/src/main.vue +156 -156
  25. package/packages/cascader/index.js +5 -5
  26. package/packages/cascader/src/main.vue +168 -168
  27. package/packages/checkbox-group/index.js +5 -5
  28. package/packages/checkbox-group/src/main.vue +333 -333
  29. package/packages/clients/index.js +5 -5
  30. package/packages/clients/src/main.vue +151 -151
  31. package/packages/data-table/index.js +5 -5
  32. package/packages/data-table/src/children.vue +39 -39
  33. package/packages/data-table/src/column.vue +989 -989
  34. package/packages/data-table/src/main.vue +1822 -1822
  35. package/packages/data-table/src/sizer.vue +195 -195
  36. package/packages/data-table-form/index.js +5 -5
  37. package/packages/data-table-form/src/checkbox.vue +101 -101
  38. package/packages/data-table-form/src/colgroup.vue +17 -17
  39. package/packages/data-table-form/src/main.vue +181 -181
  40. package/packages/data-table-form/src/radio.vue +65 -65
  41. package/packages/data-table-form/src/table.vue +233 -233
  42. package/packages/data-table-form/src/tbody.vue +336 -336
  43. package/packages/data-table-form/src/thead.vue +68 -68
  44. package/packages/date-picker/.DS_Store +0 -0
  45. package/packages/date-picker/index.js +5 -5
  46. package/packages/date-picker/src/.DS_Store +0 -0
  47. package/packages/date-picker/src/main.vue +236 -236
  48. package/packages/dialog/index.js +5 -5
  49. package/packages/enable-drag/index.js +5 -5
  50. package/packages/enterprise/index.js +5 -5
  51. package/packages/enterprise/src/main.vue +66 -66
  52. package/packages/error-page/index.js +5 -5
  53. package/packages/error-page/src/main.vue +44 -44
  54. package/packages/flow/.DS_Store +0 -0
  55. package/packages/flow/index.js +5 -5
  56. package/packages/flow/src/component/Circulate.vue +351 -351
  57. package/packages/flow/src/component/CommonOpinions.vue +346 -346
  58. package/packages/flow/src/component/CustomPreset.vue +322 -322
  59. package/packages/flow/src/component/FileList.vue +99 -99
  60. package/packages/flow/src/component/Preset.vue +255 -255
  61. package/packages/flow/src/component/SendMsg.vue +241 -241
  62. package/packages/flow/src/component/TimeLimit.vue +190 -190
  63. package/packages/flow/src/component/taskUnionExamine.vue +619 -619
  64. package/packages/flow/src/form.vue +121 -121
  65. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  66. package/packages/flow/src/main.vue +3367 -3367
  67. package/packages/flow/src/processForm.vue +1091 -1091
  68. package/packages/flow/src/processReject.vue +294 -294
  69. package/packages/flow/src/reset.vue +905 -905
  70. package/packages/flow/src/startTaskRead.vue +659 -659
  71. package/packages/flow/src/supervise.vue +149 -149
  72. package/packages/flow/src/table.vue +58 -58
  73. package/packages/flow-group/index.js +5 -5
  74. package/packages/flow-group/src/main.vue +688 -688
  75. package/packages/flow-list/.DS_Store +0 -0
  76. package/packages/flow-list/index.js +5 -5
  77. package/packages/flow-list/src/main.vue +1738 -1757
  78. package/packages/form/index.js +5 -5
  79. package/packages/form/src/main.vue +3581 -3581
  80. package/packages/form/src/table.vue +1426 -1426
  81. package/packages/handle-user/index.js +5 -5
  82. package/packages/handle-user/src/main.vue +138 -138
  83. package/packages/handler/index.js +5 -5
  84. package/packages/handler/src/main.vue +493 -493
  85. package/packages/icon/index.js +5 -5
  86. package/packages/icon/src/main.vue +101 -101
  87. package/packages/icons/index.js +5 -5
  88. package/packages/icons/src/main.vue +81 -81
  89. package/packages/input/index.js +5 -5
  90. package/packages/input/src/main.vue +356 -356
  91. package/packages/input-number/index.js +5 -5
  92. package/packages/input-number/src/main.vue +106 -106
  93. package/packages/label/index.js +5 -5
  94. package/packages/label/src/main.vue +457 -457
  95. package/packages/layout/index.js +5 -5
  96. package/packages/layout/src/item.vue +152 -152
  97. package/packages/layout/src/main.vue +31 -31
  98. package/packages/login/.DS_Store +0 -0
  99. package/packages/login/index.js +5 -5
  100. package/packages/login/src/main.vue +2009 -1988
  101. package/packages/login/src/resetPassword.vue +562 -562
  102. package/packages/main/.DS_Store +0 -0
  103. package/packages/main/index.js +5 -5
  104. package/packages/main/src/.DS_Store +0 -0
  105. package/packages/main/src/default/message.vue +249 -249
  106. package/packages/main/src/default/notice.vue +157 -157
  107. package/packages/main/src/default/userinfo.vue +503 -503
  108. package/packages/main/src/public/online.vue +89 -89
  109. package/packages/main/src/public/search.vue +462 -462
  110. package/packages/main/src/public/settings.vue +221 -221
  111. package/packages/main/src/simplicity/apps.vue +388 -388
  112. package/packages/main/src/simplicity/avatar.vue +83 -83
  113. package/packages/main/src/simplicity/handler.vue +259 -259
  114. package/packages/main/src/simplicity/index.vue +2089 -2089
  115. package/packages/main/src/simplicity/lists.vue +84 -84
  116. package/packages/main/src/simplicity/menu-list.vue +135 -135
  117. package/packages/main/src/simplicity/message.vue +259 -259
  118. package/packages/main/src/simplicity/notice.vue +190 -190
  119. package/packages/main/src/simplicity/router-page.vue +45 -45
  120. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  121. package/packages/main/src/simplicity/user.vue +257 -257
  122. package/packages/main/src/simplicity/userinfo.vue +312 -312
  123. package/packages/menu/.DS_Store +0 -0
  124. package/packages/menu/index.js +5 -5
  125. package/packages/menu/src/main.vue +584 -584
  126. package/packages/nav/index.js +5 -5
  127. package/packages/nav/src/main.vue +351 -351
  128. package/packages/notify/index.js +5 -5
  129. package/packages/notify/src/main.vue +538 -538
  130. package/packages/page/index.js +5 -5
  131. package/packages/page/src/main.vue +167 -167
  132. package/packages/pagination/index.js +5 -5
  133. package/packages/pagination/src/main.vue +96 -96
  134. package/packages/player/index.js +5 -5
  135. package/packages/player/src/main.vue +194 -194
  136. package/packages/qr-code/index.js +5 -5
  137. package/packages/qr-code/src/main.vue +170 -170
  138. package/packages/radio-group/index.js +6 -6
  139. package/packages/radio-group/src/main.vue +319 -319
  140. package/packages/retrial-auth/index.js +5 -5
  141. package/packages/retrial-auth/src/main.vue +280 -280
  142. package/packages/scrollbar/.DS_Store +0 -0
  143. package/packages/select/.DS_Store +0 -0
  144. package/packages/select/index.js +5 -5
  145. package/packages/select/src/main.vue +778 -778
  146. package/packages/select-ganged/index.js +5 -5
  147. package/packages/select-ganged/src/main.vue +724 -724
  148. package/packages/selector/index.js +5 -5
  149. package/packages/selector/src/main.vue +687 -687
  150. package/packages/selector-panel/index.js +5 -5
  151. package/packages/selector-panel/src/main.vue +1027 -1027
  152. package/packages/selector-panel/src/selection.vue +177 -177
  153. package/packages/selector-panel/src/tree.vue +129 -129
  154. package/packages/sizer/index.js +5 -5
  155. package/packages/sizer/src/main.vue +254 -254
  156. package/packages/steps/index.js +5 -5
  157. package/packages/steps/src/main.vue +181 -181
  158. package/packages/switch/index.js +5 -5
  159. package/packages/switch/src/main.vue +154 -154
  160. package/packages/table-form/index.js +5 -5
  161. package/packages/tabs/index.js +5 -5
  162. package/packages/tabs/src/main.vue +788 -788
  163. package/packages/tabs-panel/index.js +5 -5
  164. package/packages/tabs-panel/src/main.vue +29 -29
  165. package/packages/theme-chalk/lib/index.css +1 -1
  166. package/packages/theme-chalk/lib/login.css +1 -1
  167. package/packages/theme-chalk/src/.DS_Store +0 -0
  168. package/packages/theme-chalk/src/base.scss +261 -261
  169. package/packages/theme-chalk/src/button-group.scss +176 -176
  170. package/packages/theme-chalk/src/button.scss +24 -24
  171. package/packages/theme-chalk/src/calendar.scss +113 -113
  172. package/packages/theme-chalk/src/card.scss +99 -99
  173. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  174. package/packages/theme-chalk/src/clients.scss +87 -87
  175. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  176. package/packages/theme-chalk/src/data-table.scss +293 -293
  177. package/packages/theme-chalk/src/date-picker.scss +7 -7
  178. package/packages/theme-chalk/src/dialog.scss +77 -77
  179. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  180. package/packages/theme-chalk/src/enterprise.scss +5 -5
  181. package/packages/theme-chalk/src/error-page.scss +18 -18
  182. package/packages/theme-chalk/src/flow-group.scss +110 -110
  183. package/packages/theme-chalk/src/flow-list.scss +39 -39
  184. package/packages/theme-chalk/src/flow.scss +343 -343
  185. package/packages/theme-chalk/src/form.scss +496 -496
  186. package/packages/theme-chalk/src/handle-user.scss +40 -40
  187. package/packages/theme-chalk/src/handler.scss +143 -143
  188. package/packages/theme-chalk/src/icon.scss +1792 -1792
  189. package/packages/theme-chalk/src/icons.scss +99 -99
  190. package/packages/theme-chalk/src/input.scss +9 -9
  191. package/packages/theme-chalk/src/label.scss +24 -24
  192. package/packages/theme-chalk/src/layout.scss +46 -46
  193. package/packages/theme-chalk/src/login.scss +981 -981
  194. package/packages/theme-chalk/src/main.scss +663 -663
  195. package/packages/theme-chalk/src/menu.scss +222 -222
  196. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  197. package/packages/theme-chalk/src/nav.scss +111 -111
  198. package/packages/theme-chalk/src/page.scss +3 -3
  199. package/packages/theme-chalk/src/pagination.scss +29 -29
  200. package/packages/theme-chalk/src/player.scss +9 -9
  201. package/packages/theme-chalk/src/qr-code.scss +17 -17
  202. package/packages/theme-chalk/src/radio-group.scss +9 -9
  203. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  204. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  205. package/packages/theme-chalk/src/select.scss +8 -8
  206. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  207. package/packages/theme-chalk/src/selector.scss +91 -91
  208. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  209. package/packages/theme-chalk/src/sizer.scss +36 -36
  210. package/packages/theme-chalk/src/steps.scss +88 -88
  211. package/packages/theme-chalk/src/switch.scss +3 -3
  212. package/packages/theme-chalk/src/table-form.scss +1 -1
  213. package/packages/theme-chalk/src/tabs.scss +87 -87
  214. package/packages/theme-chalk/src/tips.scss +7 -7
  215. package/packages/theme-chalk/src/toolbar.scss +179 -179
  216. package/packages/theme-chalk/src/tree-group.scss +72 -72
  217. package/packages/theme-chalk/src/tree.scss +165 -165
  218. package/packages/theme-chalk/src/upload.scss +168 -168
  219. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  220. package/packages/tips/index.js +5 -5
  221. package/packages/tips/src/main.vue +141 -141
  222. package/packages/toolbar/index.js +5 -5
  223. package/packages/toolbar/src/main.vue +430 -430
  224. package/packages/tree/index.js +5 -5
  225. package/packages/tree-group/index.js +5 -5
  226. package/packages/upload/.DS_Store +0 -0
  227. package/packages/upload/index.js +5 -5
  228. package/packages/upload/src/main.vue +1347 -1347
  229. package/packages/upload/src/picture.js +15 -15
  230. package/packages/wujie/index.js +5 -5
  231. package/packages/wujie/src/main.vue +145 -145
  232. package/packages/wxlogin/index.js +5 -5
  233. package/packages/wxlogin/src/main.vue +128 -128
  234. package/src/.DS_Store +0 -0
  235. package/src/config/api.js +291 -291
  236. package/src/config/image.js +2 -2
  237. package/src/index.js +163 -163
  238. package/src/utils/.DS_Store +0 -0
  239. package/src/utils/bus.js +3 -3
  240. package/src/utils/date-util.js +312 -312
  241. package/src/utils/http.js +50 -50
  242. package/src/utils/rules.js +18 -18
  243. package/src/utils/store.js +21 -21
  244. package/src/utils/webSocket.js +107 -107
package/lib/login.js CHANGED
@@ -4316,7 +4316,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4316
4316
  // ESM COMPAT FLAG
4317
4317
  __webpack_require__.r(__webpack_exports__);
4318
4318
 
4319
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
4319
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=950692f2&
4320
4320
  var render = function () {
4321
4321
  var _vm = this
4322
4322
  var _h = _vm.$createElement
@@ -4486,35 +4486,38 @@ var render = function () {
4486
4486
  : [
4487
4487
  _vm._l(_vm.icons, function (item) {
4488
4488
  return [
4489
- _c(
4490
- "div",
4491
- {
4492
- directives: [
4489
+ _vm.modelLength == 2
4490
+ ? _c(
4491
+ "div",
4493
4492
  {
4494
- name: "show",
4495
- rawName: "v-show",
4496
- value:
4497
- _vm.modelLength == 2 &&
4498
- _vm.active != item.type &&
4499
- _vm.modelTips,
4500
- expression:
4501
- "modelLength == 2 && active != item.type && modelTips",
4493
+ directives: [
4494
+ {
4495
+ name: "show",
4496
+ rawName: "v-show",
4497
+ value:
4498
+ _vm.active != item.type &&
4499
+ _vm.modelTips,
4500
+ expression:
4501
+ "active != item.type && modelTips",
4502
+ },
4503
+ ],
4504
+ key: item.type,
4505
+ staticClass:
4506
+ "es-login-model-item-tips",
4502
4507
  },
4503
- ],
4504
- key: item.type,
4505
- staticClass: "es-login-model-item-tips",
4506
- },
4507
- [
4508
- _vm._v(
4509
- "\n " +
4510
- _vm._s(item.name) +
4511
- "点这里"
4512
- ),
4513
- _c("i", {
4514
- staticClass: "es-icon-zhixiangyou",
4515
- }),
4516
- ]
4517
- ),
4508
+ [
4509
+ _vm._v(
4510
+ "\n " +
4511
+ _vm._s(item.name) +
4512
+ "点这里"
4513
+ ),
4514
+ _c("i", {
4515
+ staticClass:
4516
+ "es-icon-zhixiangyou",
4517
+ }),
4518
+ ]
4519
+ )
4520
+ : _vm._e(),
4518
4521
  _c(
4519
4522
  "span",
4520
4523
  {
@@ -4613,7 +4616,7 @@ var render = function () {
4613
4616
  : [
4614
4617
  _vm._l(_vm.icons, function (item) {
4615
4618
  return [
4616
- item.type !== "3" && item.type !== "1"
4619
+ item.type !== "3"
4617
4620
  ? _c(
4618
4621
  "div",
4619
4622
  {
@@ -5568,9 +5571,11 @@ var render = function () {
5568
5571
  ? _c("es-ca-login", {
5569
5572
  ref: "calogin",
5570
5573
  attrs: {
5574
+ "ca-model": _vm.caLoginModel,
5571
5575
  identifyingId: _vm.identifyingId,
5572
5576
  success: _vm.caLogin,
5573
5577
  },
5578
+ on: { error: _vm.handleError },
5574
5579
  })
5575
5580
  : _vm._e(),
5576
5581
  ],
@@ -5596,7 +5601,7 @@ var staticRenderFns = [
5596
5601
  render._withStripped = true
5597
5602
 
5598
5603
 
5599
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
5604
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=950692f2&
5600
5605
 
5601
5606
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5602
5607
  var regenerator_ = __webpack_require__(4);
@@ -6704,6 +6709,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6704
6709
  //
6705
6710
  //
6706
6711
  //
6712
+ //
6713
+ //
6714
+ //
6707
6715
 
6708
6716
 
6709
6717
 
@@ -6943,7 +6951,8 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6943
6951
  default: function _default() {
6944
6952
  return [];
6945
6953
  }
6946
- }
6954
+ },
6955
+ caModel: String
6947
6956
  },
6948
6957
  computed: {
6949
6958
  transform: function transform() {
@@ -7041,6 +7050,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7041
7050
  types.forEach(function (item) {
7042
7051
  icon.push(_this.iconfonts[item]);
7043
7052
  });
7053
+ console.log(icon);
7044
7054
  return icon;
7045
7055
  },
7046
7056
  isCaLogin: function isCaLogin() {
@@ -7131,6 +7141,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7131
7141
  loginTitleImg: this.loginTitle,
7132
7142
  loginLogoImg: this.loginLogo,
7133
7143
  loginModel: this.type,
7144
+ caLoginModel: this.caModel,
7134
7145
  passModifyModel: null,
7135
7146
  active: 0,
7136
7147
  submit: false,
@@ -7206,8 +7217,8 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7206
7217
  },
7207
7218
  created: function created() {
7208
7219
  this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
7209
- if (ceshi == 'true' || ceshi == true) {
7210
- this.loginModel = '0';
7220
+ if (ceshi) {
7221
+ this.loginModel = ceshi == 'true' || ceshi == true ? '0' : ceshi;
7211
7222
  }
7212
7223
  if (this.isScale || util["a" /* default */].getParams('scale')) {
7213
7224
  util["a" /* default */].setScale();
@@ -7401,6 +7412,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7401
7412
  _this4.$refs[ref] && _this4.$refs[ref].clearValidate();
7402
7413
  });
7403
7414
  } else {
7415
+ this.submit = true;
7404
7416
  this.$refs.calogin && this.$refs.calogin.getCertificate();
7405
7417
  }
7406
7418
  this.countdown = 0;
@@ -7522,15 +7534,19 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7522
7534
  document.title = res.subsystemName;
7523
7535
  }
7524
7536
  this.app = res.appName || res.subsystemName;
7525
- if (res.loginModel && ceshi !== 'true' && ceshi !== true) {
7537
+ if (res.loginModel && !ceshi) {
7526
7538
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.loginModel;
7527
7539
  }
7540
+
7528
7541
  if (res.loginBackgroundUrl) {
7529
7542
  this.loginBackgroundImg = res.loginBackgroundUrl.split(',');
7530
7543
  }
7531
7544
  if (res.loginLogoUrl) {
7532
7545
  this.loginLogoImg = res.loginLogoUrl;
7533
7546
  }
7547
+ if (res.caModel) {
7548
+ this.caLoginModel = res.caModel;
7549
+ }
7534
7550
  res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
7535
7551
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
7536
7552
  if (res.subsystemExtend.copyright && res.subsystemExtend.copyright.length) {
@@ -7550,6 +7566,9 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7550
7566
  if (res.subsystemExtend.loginModel && (ceshi == 'true' || ceshi == true)) {
7551
7567
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.subsystemExtend.loginModel;
7552
7568
  }
7569
+ if (res.subsystemExtend.caModel) {
7570
+ this.caLoginModel = res.subsystemExtend.caModel;
7571
+ }
7553
7572
  if (res.subsystemExtend.applicationName) {
7554
7573
  localStorage.setItem('appcode', res.subsystemExtend.applicationName);
7555
7574
  }
@@ -7803,7 +7822,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7803
7822
  util["a" /* default */].ajax({
7804
7823
  method: 'post',
7805
7824
  url: this.caAction,
7806
- data: { identifyingId: this.identifyingId, signedData: signedData }
7825
+ data: typeof signedData === 'string' ? { identifyingId: this.identifyingId, signedData: signedData } : signedData
7807
7826
  }).then(function (res) {
7808
7827
  _this10.submit = false;
7809
7828
  if (res.rCode == 0) {
@@ -7826,6 +7845,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7826
7845
  _this10.onError(res);
7827
7846
  }
7828
7847
  }).catch(function (err) {
7848
+ _this10.submit = false;
7829
7849
  if (err.message && err.message !== 'canceled') {
7830
7850
  _this10.$message.error(err.message);
7831
7851
  }
@@ -8062,6 +8082,9 @@ var ceshi = util["a" /* default */].getParams('ceshi');
8062
8082
  },
8063
8083
  handlePaste: function handlePaste(event) {
8064
8084
  this.safe && event.preventDefault();
8085
+ },
8086
+ handleError: function handleError() {
8087
+ this.submit = false;
8065
8088
  }
8066
8089
  },
8067
8090
  beforeDestroy: function beforeDestroy() {
package/lib/main.js CHANGED
@@ -7151,10 +7151,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7151
7151
  this.$emit('click', res);
7152
7152
  },
7153
7153
 
7154
- /**
7155
- * @desc:获取气泡提醒
7156
- * @author huangbo
7157
- * @date 2024年9月7日
7154
+ /**
7155
+ * @desc:获取气泡提醒
7156
+ * @author huangbo
7157
+ * @date 2024年9月7日
7158
7158
  **/
7159
7159
  getBadge: function getBadge(res) {
7160
7160
  var num = res.tips || 0;
@@ -11180,10 +11180,10 @@ var events = [function (tabs, index, that) {
11180
11180
  },
11181
11181
 
11182
11182
  methods: {
11183
- /**
11184
- * @desc:匹配路由
11185
- * @author huangbo
11186
- * @date 2024年9月7日
11183
+ /**
11184
+ * @desc:匹配路由
11185
+ * @author huangbo
11186
+ * @date 2024年9月7日
11187
11187
  **/
11188
11188
  hasRouter: function hasRouter(res, url, code) {
11189
11189
  if (!url) {
@@ -11227,10 +11227,10 @@ var events = [function (tabs, index, that) {
11227
11227
  return false;
11228
11228
  },
11229
11229
 
11230
- /**
11231
- * @desc:获取初始数据
11232
- * @author huangbo
11233
- * @date 2024年9月7日
11230
+ /**
11231
+ * @desc:获取初始数据
11232
+ * @author huangbo
11233
+ * @date 2024年9月7日
11234
11234
  **/
11235
11235
  init: function init(results, first) {
11236
11236
  this.setConfig(results);
@@ -11239,10 +11239,10 @@ var events = [function (tabs, index, that) {
11239
11239
  }
11240
11240
  },
11241
11241
 
11242
- /**
11243
- * @desc:设置用户配置及信息
11244
- * @author huangbo
11245
- * @date 2024年9月7日
11242
+ /**
11243
+ * @desc:设置用户配置及信息
11244
+ * @author huangbo
11245
+ * @date 2024年9月7日
11246
11246
  **/
11247
11247
  setConfig: function setConfig(results) {
11248
11248
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11373,10 +11373,10 @@ var events = [function (tabs, index, that) {
11373
11373
  }
11374
11374
  },
11375
11375
 
11376
- /**
11377
- * @desc:获取所有应用
11378
- * @author huangbo
11379
- * @date 2024年9月7日
11376
+ /**
11377
+ * @desc:获取所有应用
11378
+ * @author huangbo
11379
+ * @date 2024年9月7日
11380
11380
  **/
11381
11381
  getApplications: function getApplications() {
11382
11382
  var _this = this;
@@ -11424,10 +11424,10 @@ var events = [function (tabs, index, that) {
11424
11424
  });
11425
11425
  },
11426
11426
 
11427
- /**
11428
- * @desc:获取菜单列表
11429
- * @author huangbo
11430
- * @date 2024年9月7日
11427
+ /**
11428
+ * @desc:获取菜单列表
11429
+ * @author huangbo
11430
+ * @date 2024年9月7日
11431
11431
  **/
11432
11432
  getMenus: function getMenus(loading) {
11433
11433
  var _this2 = this;
@@ -11460,10 +11460,10 @@ var events = [function (tabs, index, that) {
11460
11460
  });
11461
11461
  },
11462
11462
 
11463
- /**
11464
- * @desc:处理菜单列表
11465
- * @author huangbo
11466
- * @date 2024年9月7日
11463
+ /**
11464
+ * @desc:处理菜单列表
11465
+ * @author huangbo
11466
+ * @date 2024年9月7日
11467
11467
  **/
11468
11468
  renderMenus: function renderMenus(res) {
11469
11469
  this.menus = res;
@@ -11553,10 +11553,10 @@ var events = [function (tabs, index, that) {
11553
11553
  }
11554
11554
  },
11555
11555
 
11556
- /**
11557
- * @desc:设置页面加载类型
11558
- * @author huangbo
11559
- * @date 2024年9月7日
11556
+ /**
11557
+ * @desc:设置页面加载类型
11558
+ * @author huangbo
11559
+ * @date 2024年9月7日
11560
11560
  **/
11561
11561
  setIframeType: function setIframeType(res) {
11562
11562
  var url = res.url;
@@ -11612,10 +11612,10 @@ var events = [function (tabs, index, that) {
11612
11612
  return res;
11613
11613
  },
11614
11614
 
11615
- /**
11616
- * @desc:获取菜单
11617
- * @author huangbo
11618
- * @date 2024年9月7日
11615
+ /**
11616
+ * @desc:获取菜单
11617
+ * @author huangbo
11618
+ * @date 2024年9月7日
11619
11619
  **/
11620
11620
  getMenu: function getMenu(menus, res, key) {
11621
11621
  if (Array.isArray(menus)) {
@@ -11644,10 +11644,10 @@ var events = [function (tabs, index, that) {
11644
11644
  return false;
11645
11645
  },
11646
11646
 
11647
- /**
11648
- * @desc:获取菜单第一条数据
11649
- * @author huangbo
11650
- * @date 2024年9月7日
11647
+ /**
11648
+ * @desc:获取菜单第一条数据
11649
+ * @author huangbo
11650
+ * @date 2024年9月7日
11651
11651
  **/
11652
11652
  getFirst: function getFirst(obj) {
11653
11653
  if (!obj) {
@@ -11666,10 +11666,10 @@ var events = [function (tabs, index, that) {
11666
11666
  }
11667
11667
  },
11668
11668
 
11669
- /**
11670
- * @desc:遍历设置菜单气泡提醒
11671
- * @author huangbo
11672
- * @date 2024年9月7日
11669
+ /**
11670
+ * @desc:遍历设置菜单气泡提醒
11671
+ * @author huangbo
11672
+ * @date 2024年9月7日
11673
11673
  **/
11674
11674
  setTips: function setTips(obj) {
11675
11675
  var _this3 = this;
@@ -11732,10 +11732,10 @@ var events = [function (tabs, index, that) {
11732
11732
  }
11733
11733
  },
11734
11734
 
11735
- /**
11736
- * @desc:获取气泡提醒
11737
- * @author huangbo
11738
- * @date 2024年9月7日
11735
+ /**
11736
+ * @desc:获取气泡提醒
11737
+ * @author huangbo
11738
+ * @date 2024年9月7日
11739
11739
  **/
11740
11740
  getBadge: function getBadge(res) {
11741
11741
  var num = res.tips || 0;
@@ -11749,10 +11749,10 @@ var events = [function (tabs, index, that) {
11749
11749
  };
11750
11750
  },
11751
11751
 
11752
- /**
11753
- * @desc:开启weosocket
11754
- * @author huangbo
11755
- * @date 2024年9月7日
11752
+ /**
11753
+ * @desc:开启weosocket
11754
+ * @author huangbo
11755
+ * @date 2024年9月7日
11756
11756
  **/
11757
11757
  initWebSocket: function initWebSocket() {
11758
11758
  var _this5 = this;
@@ -11800,10 +11800,10 @@ var events = [function (tabs, index, that) {
11800
11800
  });
11801
11801
  },
11802
11802
 
11803
- /**
11804
- * @desc:显示用户信息
11805
- * @author huangbo
11806
- * @date 2024年9月7日
11803
+ /**
11804
+ * @desc:显示用户信息
11805
+ * @author huangbo
11806
+ * @date 2024年9月7日
11807
11807
  **/
11808
11808
  showUserInfo: function showUserInfo() {
11809
11809
  if (this.showUser === false) {
@@ -11811,19 +11811,19 @@ var events = [function (tabs, index, that) {
11811
11811
  }
11812
11812
  },
11813
11813
 
11814
- /**
11815
- * @desc:删除更多应用菜单点击
11816
- * @author huangbo
11817
- * @date 2024年9月7日
11814
+ /**
11815
+ * @desc:删除更多应用菜单点击
11816
+ * @author huangbo
11817
+ * @date 2024年9月7日
11818
11818
  **/
11819
11819
  handleDelete: function handleDelete(index) {
11820
11820
  this.newApps.splice(index, 1);
11821
11821
  },
11822
11822
 
11823
- /**
11824
- * @desc:储存更多应用菜单点击
11825
- * @author huangbo
11826
- * @date 2024年9月7日
11823
+ /**
11824
+ * @desc:储存更多应用菜单点击
11825
+ * @author huangbo
11826
+ * @date 2024年9月7日
11827
11827
  **/
11828
11828
  handlerClickApps: function handlerClickApps(res) {
11829
11829
  if (res.permission === false) {
@@ -11836,10 +11836,10 @@ var events = [function (tabs, index, that) {
11836
11836
  this.handlerClickApp(res);
11837
11837
  },
11838
11838
 
11839
- /**
11840
- * @desc:侧边应用菜单点击
11841
- * @author huangbo
11842
- * @date 2024年9月7日
11839
+ /**
11840
+ * @desc:侧边应用菜单点击
11841
+ * @author huangbo
11842
+ * @date 2024年9月7日
11843
11843
  **/
11844
11844
  handlerClickApp: function handlerClickApp(res) {
11845
11845
  this.showMsg = false;
@@ -11926,10 +11926,10 @@ var events = [function (tabs, index, that) {
11926
11926
  }
11927
11927
  },
11928
11928
 
11929
- /**
11930
- * @desc:显示Drawer界面
11931
- * @author huangbo
11932
- * @date 2024年9月7日
11929
+ /**
11930
+ * @desc:显示Drawer界面
11931
+ * @author huangbo
11932
+ * @date 2024年9月7日
11933
11933
  **/
11934
11934
  handlerSetDrawer: function handlerSetDrawer(res, type) {
11935
11935
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -11949,19 +11949,19 @@ var events = [function (tabs, index, that) {
11949
11949
  }
11950
11950
  },
11951
11951
 
11952
- /**
11953
- * @desc:关闭Drawer界面
11954
- * @author huangbo
11955
- * @date 2024年9月7日
11952
+ /**
11953
+ * @desc:关闭Drawer界面
11954
+ * @author huangbo
11955
+ * @date 2024年9月7日
11956
11956
  **/
11957
11957
  handleCloseDrawer: function handleCloseDrawer() {
11958
11958
  this.drawer = { visible: false };
11959
11959
  },
11960
11960
 
11961
- /**
11962
- * @desc:菜单点击
11963
- * @author huangbo
11964
- * @date 2024年9月7日
11961
+ /**
11962
+ * @desc:菜单点击
11963
+ * @author huangbo
11964
+ * @date 2024年9月7日
11965
11965
  **/
11966
11966
  handlerClickMenu: function handlerClickMenu(res) {
11967
11967
  util["a" /* default */].ajax({
@@ -12010,19 +12010,19 @@ var events = [function (tabs, index, that) {
12010
12010
  },
12011
12011
 
12012
12012
 
12013
- /**
12014
- * @desc:用户详情请求成功
12015
- * @author huangbo
12016
- * @date 2024年9月7日
12013
+ /**
12014
+ * @desc:用户详情请求成功
12015
+ * @author huangbo
12016
+ * @date 2024年9月7日
12017
12017
  **/
12018
12018
  handleSuccess: function handleSuccess(res) {
12019
12019
  this.simpleUserInfo = res.simpleUserInfo;
12020
12020
  },
12021
12021
 
12022
- /**
12023
- * @desc:修改用户配置
12024
- * @author huangbo
12025
- * @date 2024年9月7日
12022
+ /**
12023
+ * @desc:修改用户配置
12024
+ * @author huangbo
12025
+ * @date 2024年9月7日
12026
12026
  **/
12027
12027
  handleChangeConfig: function handleChangeConfig(name, res) {
12028
12028
  if (name == 'userHeadUrl') {
@@ -12038,10 +12038,10 @@ var events = [function (tabs, index, that) {
12038
12038
  }
12039
12039
  },
12040
12040
 
12041
- /**
12042
- * @desc:关闭webSocket
12043
- * @author huangbo
12044
- * @date 2024年9月7日
12041
+ /**
12042
+ * @desc:关闭webSocket
12043
+ * @author huangbo
12044
+ * @date 2024年9月7日
12045
12045
  **/
12046
12046
  handlerClose: function handlerClose() {
12047
12047
  if (this.webSocket) {
@@ -12049,10 +12049,10 @@ var events = [function (tabs, index, that) {
12049
12049
  }
12050
12050
  },
12051
12051
 
12052
- /**
12053
- * @desc:刷新选中iframe页签
12054
- * @author huangbo
12055
- * @date 2024年9月7日
12052
+ /**
12053
+ * @desc:刷新选中iframe页签
12054
+ * @author huangbo
12055
+ * @date 2024年9月7日
12056
12056
  **/
12057
12057
  handleRefresh: function handleRefresh() {
12058
12058
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12073,10 +12073,10 @@ var events = [function (tabs, index, that) {
12073
12073
  }
12074
12074
  },
12075
12075
 
12076
- /**
12077
- * @desc:删除iframe
12078
- * @author huangbo
12079
- * @date 2024年9月7日
12076
+ /**
12077
+ * @desc:删除iframe
12078
+ * @author huangbo
12079
+ * @date 2024年9月7日
12080
12080
  **/
12081
12081
  handleRemove: function handleRemove(name) {
12082
12082
  var len = this.tabs.length - 1;
@@ -12093,10 +12093,10 @@ var events = [function (tabs, index, that) {
12093
12093
  }
12094
12094
  },
12095
12095
 
12096
- /**
12097
- * @desc:tabs鼠标右键事件
12098
- * @author huangbo
12099
- * @date 2024年9月7日
12096
+ /**
12097
+ * @desc:tabs鼠标右键事件
12098
+ * @author huangbo
12099
+ * @date 2024年9月7日
12100
12100
  **/
12101
12101
  handleContextmenu: function handleContextmenu(tabs, e) {
12102
12102
  var disabled = {};
@@ -12121,10 +12121,10 @@ var events = [function (tabs, index, that) {
12121
12121
  window.addEventListener('click', this.closeTabsEvents);
12122
12122
  },
12123
12123
 
12124
- /**
12125
- * @desc:tabs页签事件
12126
- * @author huangbo
12127
- * @date 2024年9月7日
12124
+ /**
12125
+ * @desc:tabs页签事件
12126
+ * @author huangbo
12127
+ * @date 2024年9月7日
12128
12128
  **/
12129
12129
  handleTabsEvents: function handleTabsEvents(num) {
12130
12130
  if (this.pane !== null) {
@@ -12142,10 +12142,10 @@ var events = [function (tabs, index, that) {
12142
12142
  window.removeEventListener('click', this.closeTabsEvents);
12143
12143
  },
12144
12144
 
12145
- /**
12146
- * @desc:handler工具栏点击事件
12147
- * @author huangbo
12148
- * @date 2024年9月7日
12145
+ /**
12146
+ * @desc:handler工具栏点击事件
12147
+ * @author huangbo
12148
+ * @date 2024年9月7日
12149
12149
  **/
12150
12150
  handleClick: function handleClick(res) {
12151
12151
  var type = res.type,
@@ -12223,10 +12223,10 @@ var events = [function (tabs, index, that) {
12223
12223
  this.$emit('handler-click', res);
12224
12224
  },
12225
12225
 
12226
- /**
12227
- * @desc:退出登录
12228
- * @author huangbo
12229
- * @date 2024年9月7日
12226
+ /**
12227
+ * @desc:退出登录
12228
+ * @author huangbo
12229
+ * @date 2024年9月7日
12230
12230
  **/
12231
12231
  handleQuit: function handleQuit() {
12232
12232
  var _this6 = this;
@@ -12301,10 +12301,10 @@ var events = [function (tabs, index, that) {
12301
12301
  }).catch(function (e) {});
12302
12302
  },
12303
12303
 
12304
- /**
12305
- * @desc:主题、消息回调
12306
- * @author huangbo
12307
- * @date 2024年9月7日
12304
+ /**
12305
+ * @desc:主题、消息回调
12306
+ * @author huangbo
12307
+ * @date 2024年9月7日
12308
12308
  **/
12309
12309
  handleChange: function handleChange(res) {
12310
12310
  var type = res.type,
@@ -12320,10 +12320,10 @@ var events = [function (tabs, index, that) {
12320
12320
  }
12321
12321
  },
12322
12322
 
12323
- /**
12324
- * @desc:菜单布局样式切换
12325
- * @author huangbo
12326
- * @date 2024年9月7日
12323
+ /**
12324
+ * @desc:菜单布局样式切换
12325
+ * @author huangbo
12326
+ * @date 2024年9月7日
12327
12327
  **/
12328
12328
  handleLayout: function handleLayout(res, active) {
12329
12329
  if (active) {
@@ -12332,10 +12332,10 @@ var events = [function (tabs, index, that) {
12332
12332
  this.$emit('chang-layout', res, active);
12333
12333
  },
12334
12334
 
12335
- /**
12336
- * @desc:消息修改总数
12337
- * @author huangbo
12338
- * @date 2024年9月7日
12335
+ /**
12336
+ * @desc:消息修改总数
12337
+ * @author huangbo
12338
+ * @date 2024年9月7日
12339
12339
  **/
12340
12340
  handleMenuTips: function handleMenuTips(id, num) {
12341
12341
  if (num) {
@@ -12346,10 +12346,10 @@ var events = [function (tabs, index, that) {
12346
12346
  }
12347
12347
  },
12348
12348
 
12349
- /**
12350
- * @desc:处理即时消息
12351
- * @author huangbo
12352
- * @date 2024年9月7日
12349
+ /**
12350
+ * @desc:处理即时消息
12351
+ * @author huangbo
12352
+ * @date 2024年9月7日
12353
12353
  **/
12354
12354
  handleOpened: function handleOpened(res) {
12355
12355
  var _this7 = this;