eoss-ui 0.4.56 → 0.4.58

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 (60) hide show
  1. package/lib/button-group.js +5 -2
  2. package/lib/button.js +5 -2
  3. package/lib/checkbox-group.js +5 -2
  4. package/lib/data-table-form.js +5 -2
  5. package/lib/data-table.js +11 -7
  6. package/lib/date-picker.js +5 -2
  7. package/lib/dialog.js +5 -2
  8. package/lib/eoss-ui.common.js +383 -118
  9. package/lib/flow-group.js +5 -2
  10. package/lib/flow-list.js +5 -2
  11. package/lib/flow.js +275 -28
  12. package/lib/form.js +22 -20
  13. package/lib/handle-user.js +5 -2
  14. package/lib/handler.js +5 -2
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +5 -2
  17. package/lib/input.js +5 -2
  18. package/lib/login.js +8 -4
  19. package/lib/main.js +15 -10
  20. package/lib/mainComp.js +5 -2
  21. package/lib/nav.js +5 -2
  22. package/lib/page.js +5 -2
  23. package/lib/player.js +5 -2
  24. package/lib/qr-code.js +5 -2
  25. package/lib/radio-group.js +5 -2
  26. package/lib/retrial-auth.js +10 -6
  27. package/lib/select-ganged.js +5 -2
  28. package/lib/select.js +5 -2
  29. package/lib/selector-panel.js +5 -2
  30. package/lib/selector.js +5 -2
  31. package/lib/sizer.js +5 -2
  32. package/lib/steps.js +5 -2
  33. package/lib/switch.js +5 -2
  34. package/lib/table-form.js +5 -2
  35. package/lib/tabs.js +5 -2
  36. package/lib/theme-chalk/index.css +1 -1
  37. package/lib/theme-chalk/upload.css +1 -1
  38. package/lib/tips.js +5 -2
  39. package/lib/toolbar.js +12 -8
  40. package/lib/tree-group.js +5 -2
  41. package/lib/tree.js +5 -2
  42. package/lib/upload.js +30 -17
  43. package/lib/utils/util.js +5 -2
  44. package/lib/wujie.js +5 -2
  45. package/lib/wxlogin.js +5 -2
  46. package/package.json +2 -2
  47. package/packages/data-table/src/main.vue +1 -0
  48. package/packages/flow/src/main.vue +148 -11
  49. package/packages/flow/src/startTaskRead.vue +12 -9
  50. package/packages/form/src/main.vue +13 -7
  51. package/packages/login/src/main.vue +1 -0
  52. package/packages/main/src/main.vue +8 -6
  53. package/packages/retrial-auth/src/main.vue +3 -2
  54. package/packages/theme-chalk/lib/index.css +1 -1
  55. package/packages/theme-chalk/lib/upload.css +1 -1
  56. package/packages/theme-chalk/src/upload.scss +50 -26
  57. package/packages/toolbar/src/main.vue +6 -1
  58. package/packages/upload/src/main.vue +13 -10
  59. package/src/index.js +1 -1
  60. package/src/utils/util.js +5 -2
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/input.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/login.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
@@ -2855,7 +2858,7 @@ function normalizeComponent(
2855
2858
  // ESM COMPAT FLAG
2856
2859
  __webpack_require__.r(__webpack_exports__);
2857
2860
 
2858
- // 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=cca116b4&
2861
+ // 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=49ebf1b6&
2859
2862
  var render = function () {
2860
2863
  var _vm = this
2861
2864
  var _h = _vm.$createElement
@@ -3705,7 +3708,7 @@ var staticRenderFns = []
3705
3708
  render._withStripped = true
3706
3709
 
3707
3710
 
3708
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=cca116b4&
3711
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=49ebf1b6&
3709
3712
 
3710
3713
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=4f5da52e&
3711
3714
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -5316,6 +5319,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5316
5319
  type: 'success',
5317
5320
  duration: 1500,
5318
5321
  onClose: function onClose() {
5322
+ sessionStorage.removeItem('remind');
5319
5323
  if (_this10.toUrl) {
5320
5324
  window.location.href = _this10.toUrl;
5321
5325
  } else if (results.doorIndex && _this10.doorIndex) {
package/lib/main.js CHANGED
@@ -248,7 +248,9 @@ var ajax = function ajax(_ref) {
248
248
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
249
249
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
250
250
  clearTimeout(loginMsg);
251
- loginMsg = setTimeout(function () {
251
+ var remind = sessionStorage.getItem('remind');
252
+ !remind && (loginMsg = setTimeout(function () {
253
+ sessionStorage.setItem('remind', 1);
252
254
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
253
255
  confirmButtonText: '确定',
254
256
  closeOnClickModal: false,
@@ -275,7 +277,7 @@ var ajax = function ajax(_ref) {
275
277
  }
276
278
  }
277
279
  }).catch(function (e) {});
278
- }, 1000);
280
+ }, 1000));
279
281
  }
280
282
  } else if (response.data.rCode === 61) {
281
283
  clearTimeout(initAuth);
@@ -292,6 +294,7 @@ var ajax = function ajax(_ref) {
292
294
  return h('es-retrial-auth', {
293
295
  ref: 'auth',
294
296
  props: {
297
+ reload: response.data.results.reload || response.data.results.refresh,
295
298
  group: response.data.results.retrialAuthGroupIds,
296
299
  type: response.data.results.retrialAuthType,
297
300
  msgBox: msgBox
@@ -2916,7 +2919,7 @@ module.exports = require("stompjs");
2916
2919
  // ESM COMPAT FLAG
2917
2920
  __webpack_require__.r(__webpack_exports__);
2918
2921
 
2919
- // 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=c4a4a110&
2922
+ // 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=558be874&
2920
2923
  var render = function () {
2921
2924
  var _vm = this
2922
2925
  var _h = _vm.$createElement
@@ -3344,7 +3347,7 @@ var staticRenderFns = []
3344
3347
  render._withStripped = true
3345
3348
 
3346
3349
 
3347
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=c4a4a110&
3350
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=558be874&
3348
3351
 
3349
3352
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=327101d6&
3350
3353
  var userinfovue_type_template_id_327101d6_render = function () {
@@ -6429,12 +6432,14 @@ var log = util["a" /* default */].getParams('console');
6429
6432
  }
6430
6433
  break;
6431
6434
  case 'sys':
6432
- this.navIds = [node.id];
6433
- this.tabs = [];
6434
- this.menu = node.children;
6435
- this.title = node.text;
6436
- this.active = this.getFirst(node.children[0]).id;
6437
- this.isSide = true;
6435
+ if (Number(node.urlopenmode) !== 1) {
6436
+ this.navIds = [node.id];
6437
+ this.tabs = [];
6438
+ this.menu = node.children;
6439
+ this.title = node.text;
6440
+ this.active = this.getFirst(node.children[0]).id;
6441
+ this.isSide = true;
6442
+ }
6438
6443
  break;
6439
6444
  case 'sub':
6440
6445
  this.navIds = [node.id];
package/lib/mainComp.js CHANGED
@@ -248,7 +248,9 @@ var ajax = function ajax(_ref) {
248
248
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
249
249
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
250
250
  clearTimeout(loginMsg);
251
- loginMsg = setTimeout(function () {
251
+ var remind = sessionStorage.getItem('remind');
252
+ !remind && (loginMsg = setTimeout(function () {
253
+ sessionStorage.setItem('remind', 1);
252
254
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
253
255
  confirmButtonText: '确定',
254
256
  closeOnClickModal: false,
@@ -275,7 +277,7 @@ var ajax = function ajax(_ref) {
275
277
  }
276
278
  }
277
279
  }).catch(function (e) {});
278
- }, 1000);
280
+ }, 1000));
279
281
  }
280
282
  } else if (response.data.rCode === 61) {
281
283
  clearTimeout(initAuth);
@@ -292,6 +294,7 @@ var ajax = function ajax(_ref) {
292
294
  return h('es-retrial-auth', {
293
295
  ref: 'auth',
294
296
  props: {
297
+ reload: response.data.results.reload || response.data.results.refresh,
295
298
  group: response.data.results.retrialAuthGroupIds,
296
299
  type: response.data.results.retrialAuthType,
297
300
  msgBox: msgBox
package/lib/nav.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/page.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/player.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/qr-code.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
@@ -2844,7 +2847,7 @@ module.exports = require("axios");
2844
2847
  // ESM COMPAT FLAG
2845
2848
  __webpack_require__.r(__webpack_exports__);
2846
2849
 
2847
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=9a7a652e&
2850
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
2848
2851
  var render = function () {
2849
2852
  var _vm = this
2850
2853
  var _h = _vm.$createElement
@@ -2998,7 +3001,7 @@ var staticRenderFns = []
2998
3001
  render._withStripped = true
2999
3002
 
3000
3003
 
3001
- // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=9a7a652e&
3004
+ // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
3002
3005
 
3003
3006
  // EXTERNAL MODULE: ./src/utils/util.js
3004
3007
  var util = __webpack_require__(0);
@@ -3072,6 +3075,7 @@ var api = __webpack_require__(1);
3072
3075
  name: 'EsRetrialAuth',
3073
3076
  inheritAttrs: false,
3074
3077
  props: {
3078
+ reload: Boolean,
3075
3079
  group: String,
3076
3080
  type: Array,
3077
3081
  msgBox: {}
@@ -3180,7 +3184,7 @@ var api = __webpack_require__(1);
3180
3184
  type: 'success'
3181
3185
  });
3182
3186
  _this3.msgBox.handleClose();
3183
- util["a" /* default */].win.top.location.reload();
3187
+ _this3.reload && util["a" /* default */].win.top.location.reload();
3184
3188
  } else {
3185
3189
  _this3.$message({
3186
3190
  message: msg,
@@ -3256,7 +3260,7 @@ var api = __webpack_require__(1);
3256
3260
  type: 'success'
3257
3261
  });
3258
3262
  _this5.msgBox.handleClose();
3259
- util["a" /* default */].win.top.location.reload();
3263
+ _this5.reload && util["a" /* default */].win.top.location.reload();
3260
3264
  } else {
3261
3265
  _this5.scanCode = setTimeout(function () {
3262
3266
  _this5.handleScanCodeRetrialAuth();
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/select.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/selector.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/sizer.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/steps.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/switch.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
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
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox