eoss-ui 0.4.61 → 0.4.62

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 (75) hide show
  1. package/lib/button-group.js +54 -52
  2. package/lib/button.js +54 -52
  3. package/lib/card.js +2 -2
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +55 -53
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +52 -50
  8. package/lib/data-table.js +54 -53
  9. package/lib/date-picker.js +61 -59
  10. package/lib/dialog.js +58 -57
  11. package/lib/editor.js +6 -6
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +957 -4799
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +59 -55
  16. package/lib/flow-list.js +230 -228
  17. package/lib/flow.js +53 -51
  18. package/lib/form.js +83 -80
  19. package/lib/handle-user.js +55 -53
  20. package/lib/handler.js +55 -53
  21. package/lib/icons.js +4 -4
  22. package/lib/index.js +1 -1
  23. package/lib/input-number.js +54 -52
  24. package/lib/input.js +79 -77
  25. package/lib/label.js +2 -2
  26. package/lib/login.js +80 -78
  27. package/lib/main.js +103 -96
  28. package/lib/menu.js +2 -2
  29. package/lib/nav.js +54 -52
  30. package/lib/notify.js +4 -4
  31. package/lib/page.js +54 -52
  32. package/lib/pagination.js +2 -2
  33. package/lib/player.js +62 -60
  34. package/lib/qr-code.js +54 -52
  35. package/lib/radio-group.js +55 -53
  36. package/lib/retrial-auth.js +55 -53
  37. package/lib/select-ganged.js +54 -52
  38. package/lib/select.js +55 -53
  39. package/lib/selector-panel.js +55 -53
  40. package/lib/selector.js +55 -53
  41. package/lib/sizer.js +55 -53
  42. package/lib/steps.js +54 -52
  43. package/lib/switch.js +54 -52
  44. package/lib/table-form.js +79 -77
  45. package/lib/tabs-panel.js +2 -2
  46. package/lib/tabs.js +61 -59
  47. package/lib/theme-chalk/dialog.css +1 -1
  48. package/lib/theme-chalk/index.css +1 -1
  49. package/lib/tips.js +55 -53
  50. package/lib/toolbar.js +3 -2
  51. package/lib/tree-group.js +54 -52
  52. package/lib/tree.js +55 -53
  53. package/lib/upload.js +55 -53
  54. package/lib/utils/util.js +43 -41
  55. package/lib/wujie.js +54 -52
  56. package/lib/wxlogin.js +54 -52
  57. package/package.json +1 -1
  58. package/packages/flow-group/src/main.vue +1 -0
  59. package/packages/form/src/main.vue +1 -0
  60. package/packages/main/src/main.vue +9 -5
  61. package/packages/theme-chalk/lib/dialog.css +1 -1
  62. package/packages/theme-chalk/lib/index.css +1 -1
  63. package/packages/theme-chalk/src/dialog.scss +1 -1
  64. package/packages/theme-chalk/src/index.scss +0 -1
  65. package/packages/toolbar/src/main.vue +1 -0
  66. package/src/index.js +1 -4
  67. package/src/utils/util.js +57 -54
  68. package/lib/mainComp.js +0 -6817
  69. package/packages/mainComp/index.js +0 -5
  70. package/packages/mainComp/src/async-component/index.vue +0 -85
  71. package/packages/mainComp/src/main.vue +0 -1944
  72. package/packages/mainComp/src/message.vue +0 -239
  73. package/packages/mainComp/src/notice.vue +0 -152
  74. package/packages/mainComp/src/settings.vue +0 -105
  75. package/packages/mainComp/src/userinfo.vue +0 -430
package/lib/form.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 44);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 43);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -91,14 +91,14 @@ module.exports =
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
- /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
94
+ /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
95
95
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
96
96
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
97
97
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
98
98
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
99
99
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
100
100
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
101
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
101
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
104
104
 
@@ -248,52 +248,54 @@ var ajax = function ajax(_ref) {
248
248
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
- clearTimeout(loginMsg);
252
251
  var remind = sessionStorage.getItem('remind');
253
- !remind && (loginMsg = setTimeout(function () {
254
- sessionStorage.setItem('remind', 1);
255
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
256
- confirmButtonText: '确定',
257
- closeOnClickModal: false,
258
- type: 'warning'
259
- } : {
260
- confirmButtonText: '确定',
261
- cancelButtonText: '取消',
262
- closeOnClickModal: false,
263
- type: 'warning'
264
- }).then(function () {
265
- var loginPage = getStorage('login') || getStorage('loginPage');
266
- if (loginPage) {
267
- var src = void 0;
268
- if (!startWith(loginPage, ['http', '/'])) {
269
- var pathname = win.top.location.pathname;
270
- if (pathname !== '/') {
271
- pathname = pathname.split('/');
272
- pathname.splice(pathname.length - 1);
273
- pathname = pathname.join('/');
274
- src = pathname + '/' + loginPage.replace('./', '');
252
+ if (!remind) {
253
+ clearTimeout(loginMsg);
254
+ loginMsg = setTimeout(function () {
255
+ sessionStorage.setItem('remind', 1);
256
+ eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
257
+ confirmButtonText: '确定',
258
+ closeOnClickModal: false,
259
+ type: 'warning'
260
+ } : {
261
+ confirmButtonText: '确定',
262
+ cancelButtonText: '取消',
263
+ closeOnClickModal: false,
264
+ type: 'warning'
265
+ }).then(function () {
266
+ var loginPage = getStorage('login') || getStorage('loginPage');
267
+ if (loginPage) {
268
+ var src = void 0;
269
+ if (!startWith(loginPage, ['http', '/'])) {
270
+ var pathname = win.top.location.pathname;
271
+ if (pathname !== '/') {
272
+ pathname = pathname.split('/');
273
+ pathname.splice(pathname.length - 1);
274
+ pathname = pathname.join('/');
275
+ src = pathname + '/' + loginPage.replace('./', '');
276
+ } else {
277
+ src = pathname + loginPage.replace('./', '');
278
+ }
275
279
  } else {
276
- src = pathname + loginPage.replace('./', '');
280
+ src = loginPage;
277
281
  }
282
+ win.top.location.href = src;
283
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
284
+ win.top.location.href = './login.html';
278
285
  } else {
279
- src = loginPage;
280
- }
281
- win.top.location.href = src;
282
- } else if (win.top.location.href.indexOf('main.html') > -1) {
283
- win.top.location.href = './login.html';
284
- } else {
285
- var hash = win.top.location.hash;
286
- if (hash) {
287
- var len = win.top.location.href.indexOf(hash);
288
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
289
- } else {
290
- win.top.location.href = '/login.html';
286
+ var hash = win.top.location.hash;
287
+ if (hash) {
288
+ var len = win.top.location.href.indexOf(hash);
289
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
290
+ } else {
291
+ win.top.location.href = '/login.html';
292
+ }
291
293
  }
292
- }
293
- }).catch(function (e) {
294
- sessionStorage.removeItem('remind');
295
- });
296
- }, 1000));
294
+ }).catch(function (e) {
295
+ sessionStorage.removeItem('remind');
296
+ });
297
+ }, 2000);
298
+ }
297
299
  }
298
300
  } else if (response.data.rCode === 61) {
299
301
  clearTimeout(initAuth);
@@ -2390,6 +2392,38 @@ var watermark = function watermark(option) {
2390
2392
  /***/ }),
2391
2393
 
2392
2394
  /***/ 1:
2395
+ /***/ (function(module, exports) {
2396
+
2397
+ module.exports = require("eoss-element");
2398
+
2399
+ /***/ }),
2400
+
2401
+ /***/ 10:
2402
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2403
+
2404
+ "use strict";
2405
+ // 手机号
2406
+ var phone = { pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'), message: '手机号不合法' };
2407
+ // 身份证
2408
+ var idCard = { pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'), message: '身份证号不合法' };
2409
+ // 座机号
2410
+ var telephone = { pattern: new RegExp('^(\\d{3,4}-)?\\d{7,8}$'), message: '座机号不合法' };
2411
+ // IP
2412
+ var ip = { pattern: new RegExp('^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$'), message: 'IP地址不合法' };
2413
+ // 银行卡号
2414
+ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message: '银行卡号不合法' };
2415
+
2416
+ /* harmony default export */ __webpack_exports__["a"] = ({
2417
+ phone: phone,
2418
+ idCard: idCard,
2419
+ telephone: telephone,
2420
+ ip: ip,
2421
+ bankCard: bankCard
2422
+ });
2423
+
2424
+ /***/ }),
2425
+
2426
+ /***/ 2:
2393
2427
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2394
2428
 
2395
2429
  "use strict";
@@ -2729,38 +2763,6 @@ var formContents = '/config/admin/online/onlineForm/render';
2729
2763
 
2730
2764
  /***/ }),
2731
2765
 
2732
- /***/ 10:
2733
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2734
-
2735
- "use strict";
2736
- // 手机号
2737
- var phone = { pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'), message: '手机号不合法' };
2738
- // 身份证
2739
- var idCard = { pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'), message: '身份证号不合法' };
2740
- // 座机号
2741
- var telephone = { pattern: new RegExp('^(\\d{3,4}-)?\\d{7,8}$'), message: '座机号不合法' };
2742
- // IP
2743
- var ip = { pattern: new RegExp('^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$'), message: 'IP地址不合法' };
2744
- // 银行卡号
2745
- var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message: '银行卡号不合法' };
2746
-
2747
- /* harmony default export */ __webpack_exports__["a"] = ({
2748
- phone: phone,
2749
- idCard: idCard,
2750
- telephone: telephone,
2751
- ip: ip,
2752
- bankCard: bankCard
2753
- });
2754
-
2755
- /***/ }),
2756
-
2757
- /***/ 2:
2758
- /***/ (function(module, exports) {
2759
-
2760
- module.exports = require("eoss-element");
2761
-
2762
- /***/ }),
2763
-
2764
2766
  /***/ 3:
2765
2767
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2766
2768
 
@@ -2873,14 +2875,14 @@ module.exports = require("qs");
2873
2875
 
2874
2876
  /***/ }),
2875
2877
 
2876
- /***/ 44:
2878
+ /***/ 43:
2877
2879
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2878
2880
 
2879
2881
  "use strict";
2880
2882
  // ESM COMPAT FLAG
2881
2883
  __webpack_require__.r(__webpack_exports__);
2882
2884
 
2883
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=0312e450&
2885
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=ee9d314c&
2884
2886
  var render = function () {
2885
2887
  var _vm = this
2886
2888
  var _h = _vm.$createElement
@@ -13171,14 +13173,14 @@ var staticRenderFns = []
13171
13173
  render._withStripped = true
13172
13174
 
13173
13175
 
13174
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=0312e450&
13176
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=ee9d314c&
13175
13177
 
13176
13178
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
13177
13179
  var regenerator_ = __webpack_require__(9);
13178
13180
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
13179
13181
 
13180
13182
  // EXTERNAL MODULE: ./src/config/api.js
13181
- var api = __webpack_require__(1);
13183
+ var api = __webpack_require__(2);
13182
13184
 
13183
13185
  // EXTERNAL MODULE: ./src/utils/util.js
13184
13186
  var util = __webpack_require__(0);
@@ -16979,6 +16981,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
16979
16981
  return this.values;
16980
16982
  },
16981
16983
  set: function set(val) {
16984
+ console.log(val, 666);
16982
16985
  return val;
16983
16986
  }
16984
16987
  },
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 46);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 45);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -91,14 +91,14 @@ module.exports =
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
- /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
94
+ /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
95
95
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
96
96
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
97
97
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
98
98
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
99
99
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
100
100
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
101
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
101
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
104
104
 
@@ -248,52 +248,54 @@ var ajax = function ajax(_ref) {
248
248
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
- clearTimeout(loginMsg);
252
251
  var remind = sessionStorage.getItem('remind');
253
- !remind && (loginMsg = setTimeout(function () {
254
- sessionStorage.setItem('remind', 1);
255
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
256
- confirmButtonText: '确定',
257
- closeOnClickModal: false,
258
- type: 'warning'
259
- } : {
260
- confirmButtonText: '确定',
261
- cancelButtonText: '取消',
262
- closeOnClickModal: false,
263
- type: 'warning'
264
- }).then(function () {
265
- var loginPage = getStorage('login') || getStorage('loginPage');
266
- if (loginPage) {
267
- var src = void 0;
268
- if (!startWith(loginPage, ['http', '/'])) {
269
- var pathname = win.top.location.pathname;
270
- if (pathname !== '/') {
271
- pathname = pathname.split('/');
272
- pathname.splice(pathname.length - 1);
273
- pathname = pathname.join('/');
274
- src = pathname + '/' + loginPage.replace('./', '');
252
+ if (!remind) {
253
+ clearTimeout(loginMsg);
254
+ loginMsg = setTimeout(function () {
255
+ sessionStorage.setItem('remind', 1);
256
+ eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
257
+ confirmButtonText: '确定',
258
+ closeOnClickModal: false,
259
+ type: 'warning'
260
+ } : {
261
+ confirmButtonText: '确定',
262
+ cancelButtonText: '取消',
263
+ closeOnClickModal: false,
264
+ type: 'warning'
265
+ }).then(function () {
266
+ var loginPage = getStorage('login') || getStorage('loginPage');
267
+ if (loginPage) {
268
+ var src = void 0;
269
+ if (!startWith(loginPage, ['http', '/'])) {
270
+ var pathname = win.top.location.pathname;
271
+ if (pathname !== '/') {
272
+ pathname = pathname.split('/');
273
+ pathname.splice(pathname.length - 1);
274
+ pathname = pathname.join('/');
275
+ src = pathname + '/' + loginPage.replace('./', '');
276
+ } else {
277
+ src = pathname + loginPage.replace('./', '');
278
+ }
275
279
  } else {
276
- src = pathname + loginPage.replace('./', '');
280
+ src = loginPage;
277
281
  }
282
+ win.top.location.href = src;
283
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
284
+ win.top.location.href = './login.html';
278
285
  } else {
279
- src = loginPage;
280
- }
281
- win.top.location.href = src;
282
- } else if (win.top.location.href.indexOf('main.html') > -1) {
283
- win.top.location.href = './login.html';
284
- } else {
285
- var hash = win.top.location.hash;
286
- if (hash) {
287
- var len = win.top.location.href.indexOf(hash);
288
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
289
- } else {
290
- win.top.location.href = '/login.html';
286
+ var hash = win.top.location.hash;
287
+ if (hash) {
288
+ var len = win.top.location.href.indexOf(hash);
289
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
290
+ } else {
291
+ win.top.location.href = '/login.html';
292
+ }
291
293
  }
292
- }
293
- }).catch(function (e) {
294
- sessionStorage.removeItem('remind');
295
- });
296
- }, 1000));
294
+ }).catch(function (e) {
295
+ sessionStorage.removeItem('remind');
296
+ });
297
+ }, 2000);
298
+ }
297
299
  }
298
300
  } else if (response.data.rCode === 61) {
299
301
  clearTimeout(initAuth);
@@ -2390,6 +2392,13 @@ var watermark = function watermark(option) {
2390
2392
  /***/ }),
2391
2393
 
2392
2394
  /***/ 1:
2395
+ /***/ (function(module, exports) {
2396
+
2397
+ module.exports = require("eoss-element");
2398
+
2399
+ /***/ }),
2400
+
2401
+ /***/ 2:
2393
2402
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2394
2403
 
2395
2404
  "use strict";
@@ -2729,13 +2738,6 @@ var formContents = '/config/admin/online/onlineForm/render';
2729
2738
 
2730
2739
  /***/ }),
2731
2740
 
2732
- /***/ 2:
2733
- /***/ (function(module, exports) {
2734
-
2735
- module.exports = require("eoss-element");
2736
-
2737
- /***/ }),
2738
-
2739
2741
  /***/ 3:
2740
2742
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2741
2743
 
@@ -2848,7 +2850,7 @@ module.exports = require("qs");
2848
2850
 
2849
2851
  /***/ }),
2850
2852
 
2851
- /***/ 46:
2853
+ /***/ 45:
2852
2854
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2853
2855
 
2854
2856
  "use strict";
@@ -2946,7 +2948,7 @@ render._withStripped = true
2946
2948
  // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=5b7835c6&
2947
2949
 
2948
2950
  // EXTERNAL MODULE: ./src/config/api.js
2949
- var api = __webpack_require__(1);
2951
+ var api = __webpack_require__(2);
2950
2952
 
2951
2953
  // EXTERNAL MODULE: ./src/utils/store.js
2952
2954
  var store = __webpack_require__(8);
package/lib/handler.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 47);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 46);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -91,14 +91,14 @@ module.exports =
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
- /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
94
+ /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
95
95
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
96
96
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
97
97
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
98
98
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
99
99
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
100
100
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
101
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
101
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
104
104
 
@@ -248,52 +248,54 @@ var ajax = function ajax(_ref) {
248
248
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
- clearTimeout(loginMsg);
252
251
  var remind = sessionStorage.getItem('remind');
253
- !remind && (loginMsg = setTimeout(function () {
254
- sessionStorage.setItem('remind', 1);
255
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
256
- confirmButtonText: '确定',
257
- closeOnClickModal: false,
258
- type: 'warning'
259
- } : {
260
- confirmButtonText: '确定',
261
- cancelButtonText: '取消',
262
- closeOnClickModal: false,
263
- type: 'warning'
264
- }).then(function () {
265
- var loginPage = getStorage('login') || getStorage('loginPage');
266
- if (loginPage) {
267
- var src = void 0;
268
- if (!startWith(loginPage, ['http', '/'])) {
269
- var pathname = win.top.location.pathname;
270
- if (pathname !== '/') {
271
- pathname = pathname.split('/');
272
- pathname.splice(pathname.length - 1);
273
- pathname = pathname.join('/');
274
- src = pathname + '/' + loginPage.replace('./', '');
252
+ if (!remind) {
253
+ clearTimeout(loginMsg);
254
+ loginMsg = setTimeout(function () {
255
+ sessionStorage.setItem('remind', 1);
256
+ eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
257
+ confirmButtonText: '确定',
258
+ closeOnClickModal: false,
259
+ type: 'warning'
260
+ } : {
261
+ confirmButtonText: '确定',
262
+ cancelButtonText: '取消',
263
+ closeOnClickModal: false,
264
+ type: 'warning'
265
+ }).then(function () {
266
+ var loginPage = getStorage('login') || getStorage('loginPage');
267
+ if (loginPage) {
268
+ var src = void 0;
269
+ if (!startWith(loginPage, ['http', '/'])) {
270
+ var pathname = win.top.location.pathname;
271
+ if (pathname !== '/') {
272
+ pathname = pathname.split('/');
273
+ pathname.splice(pathname.length - 1);
274
+ pathname = pathname.join('/');
275
+ src = pathname + '/' + loginPage.replace('./', '');
276
+ } else {
277
+ src = pathname + loginPage.replace('./', '');
278
+ }
275
279
  } else {
276
- src = pathname + loginPage.replace('./', '');
280
+ src = loginPage;
277
281
  }
282
+ win.top.location.href = src;
283
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
284
+ win.top.location.href = './login.html';
278
285
  } else {
279
- src = loginPage;
280
- }
281
- win.top.location.href = src;
282
- } else if (win.top.location.href.indexOf('main.html') > -1) {
283
- win.top.location.href = './login.html';
284
- } else {
285
- var hash = win.top.location.hash;
286
- if (hash) {
287
- var len = win.top.location.href.indexOf(hash);
288
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
289
- } else {
290
- win.top.location.href = '/login.html';
286
+ var hash = win.top.location.hash;
287
+ if (hash) {
288
+ var len = win.top.location.href.indexOf(hash);
289
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
290
+ } else {
291
+ win.top.location.href = '/login.html';
292
+ }
291
293
  }
292
- }
293
- }).catch(function (e) {
294
- sessionStorage.removeItem('remind');
295
- });
296
- }, 1000));
294
+ }).catch(function (e) {
295
+ sessionStorage.removeItem('remind');
296
+ });
297
+ }, 2000);
298
+ }
297
299
  }
298
300
  } else if (response.data.rCode === 61) {
299
301
  clearTimeout(initAuth);
@@ -2390,6 +2392,13 @@ var watermark = function watermark(option) {
2390
2392
  /***/ }),
2391
2393
 
2392
2394
  /***/ 1:
2395
+ /***/ (function(module, exports) {
2396
+
2397
+ module.exports = require("eoss-element");
2398
+
2399
+ /***/ }),
2400
+
2401
+ /***/ 2:
2393
2402
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2394
2403
 
2395
2404
  "use strict";
@@ -2729,13 +2738,6 @@ var formContents = '/config/admin/online/onlineForm/render';
2729
2738
 
2730
2739
  /***/ }),
2731
2740
 
2732
- /***/ 2:
2733
- /***/ (function(module, exports) {
2734
-
2735
- module.exports = require("eoss-element");
2736
-
2737
- /***/ }),
2738
-
2739
2741
  /***/ 3:
2740
2742
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2741
2743
 
@@ -2848,7 +2850,7 @@ module.exports = require("qs");
2848
2850
 
2849
2851
  /***/ }),
2850
2852
 
2851
- /***/ 47:
2853
+ /***/ 46:
2852
2854
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2853
2855
 
2854
2856
  "use strict";
@@ -3033,7 +3035,7 @@ render._withStripped = true
3033
3035
  // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=1ab04d20&
3034
3036
 
3035
3037
  // EXTERNAL MODULE: ./src/config/api.js
3036
- var api = __webpack_require__(1);
3038
+ var api = __webpack_require__(2);
3037
3039
 
3038
3040
  // EXTERNAL MODULE: ./src/utils/util.js
3039
3041
  var util = __webpack_require__(0);
package/lib/icons.js CHANGED
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 48);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 47);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 21:
90
+ /***/ 18:
91
91
  /***/ (function(module) {
92
92
 
93
93
  module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
@@ -199,7 +199,7 @@ function normalizeComponent(
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 48:
202
+ /***/ 47:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
@@ -321,7 +321,7 @@ render._withStripped = true
321
321
  // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
322
322
 
323
323
  // EXTERNAL MODULE: ./packages/icons/src/icon.json
324
- var icon = __webpack_require__(21);
324
+ var icon = __webpack_require__(18);
325
325
 
326
326
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=script&lang=js&
327
327
  //