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/button.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
@@ -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/data-table.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
@@ -2892,8 +2895,8 @@ module.exports = require("vue");
2892
2895
  // ESM COMPAT FLAG
2893
2896
  __webpack_require__.r(__webpack_exports__);
2894
2897
 
2895
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=59cbc514&
2896
- var mainvue_type_template_id_59cbc514_render = function () {
2898
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=4aace4e3&
2899
+ var mainvue_type_template_id_4aace4e3_render = function () {
2897
2900
  var _vm = this
2898
2901
  var _h = _vm.$createElement
2899
2902
  var _c = _vm._self._c || _h
@@ -3228,10 +3231,10 @@ var mainvue_type_template_id_59cbc514_render = function () {
3228
3231
  )
3229
3232
  }
3230
3233
  var staticRenderFns = []
3231
- mainvue_type_template_id_59cbc514_render._withStripped = true
3234
+ mainvue_type_template_id_4aace4e3_render._withStripped = true
3232
3235
 
3233
3236
 
3234
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=59cbc514&
3237
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=4aace4e3&
3235
3238
 
3236
3239
  // EXTERNAL MODULE: ./src/config/api.js
3237
3240
  var api = __webpack_require__(1);
@@ -6577,6 +6580,7 @@ var mainvue_type_script_lang_js_components;
6577
6580
  this.$emit('next', res);
6578
6581
  },
6579
6582
  hanleSearch: function hanleSearch(data) {
6583
+ console.log(data);
6580
6584
  this.wheres = data;
6581
6585
  if (this.url) {
6582
6586
  if (this.response !== undefined) {
@@ -6720,7 +6724,7 @@ var mainvue_type_script_lang_js_components;
6720
6724
 
6721
6725
  var main_component = Object(componentNormalizer["a" /* default */])(
6722
6726
  src_mainvue_type_script_lang_js_,
6723
- mainvue_type_template_id_59cbc514_render,
6727
+ mainvue_type_template_id_4aace4e3_render,
6724
6728
  staticRenderFns,
6725
6729
  false,
6726
6730
  null,
@@ -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/dialog.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