eoss-ui 0.4.33 → 0.4.35

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 (53) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/checkbox-group.js +1 -1
  4. package/lib/data-table-form.js +1 -1
  5. package/lib/data-table.js +1 -1
  6. package/lib/date-picker.js +1 -1
  7. package/lib/dialog.js +1 -1
  8. package/lib/eoss-ui.common.js +133 -112
  9. package/lib/flow-group.js +1 -1
  10. package/lib/flow-list.js +1 -1
  11. package/lib/flow.js +65 -56
  12. package/lib/form.js +1 -1
  13. package/lib/handle-user.js +4 -4
  14. package/lib/handler.js +4 -4
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +1 -1
  17. package/lib/input.js +2 -2
  18. package/lib/login.js +1 -1
  19. package/lib/main.js +5 -5
  20. package/lib/mainComp.js +5 -5
  21. package/lib/nav.js +1 -1
  22. package/lib/page.js +1 -1
  23. package/lib/player.js +1 -1
  24. package/lib/qr-code.js +1 -1
  25. package/lib/radio-group.js +1 -1
  26. package/lib/select-ganged.js +1 -1
  27. package/lib/select.js +1 -1
  28. package/lib/selector-panel.js +1 -1
  29. package/lib/selector.js +1 -1
  30. package/lib/sizer.js +1 -1
  31. package/lib/steps.js +1 -1
  32. package/lib/switch.js +1 -1
  33. package/lib/table-form.js +1 -1
  34. package/lib/tabs.js +1 -1
  35. package/lib/tips.js +1 -1
  36. package/lib/tree-group.js +15 -3
  37. package/lib/tree.js +4 -4
  38. package/lib/upload.js +1 -1
  39. package/lib/utils/util.js +1 -1
  40. package/lib/wujie.js +1 -1
  41. package/lib/wxlogin.js +1 -1
  42. package/package.json +2 -2
  43. package/packages/flow/src/component/taskUnionExamine.vue +30 -25
  44. package/packages/flow/src/main.vue +25 -18
  45. package/packages/handle-user/src/main.vue +4 -4
  46. package/packages/handler/src/main.vue +2 -1
  47. package/packages/input/src/main.vue +12 -5
  48. package/packages/main/src/main.vue +3 -2
  49. package/packages/mainComp/src/main.vue +3 -2
  50. package/packages/tree/src/main.vue +1 -1
  51. package/packages/tree-group/src/main.vue +20 -0
  52. package/src/index.js +1 -1
  53. package/src/utils/util.js +2 -1
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/input.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -2900,7 +2900,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2900
2900
  if (this.readonly) {
2901
2901
  return h('div', {
2902
2902
  class: [this.$attrs.type === 'textarea' ? 'es-textarea__inner ' : 'es-input__inner', { 'es-plain': this.plain }]
2903
- }, [this.model || this.text]);
2903
+ }, [this.model == '' || this.model == null || this.model == undefined || this.model == NaN ? this.text : this.model]);
2904
2904
  }
2905
2905
  if (this.$slots.prefix) {
2906
2906
  doms.push(h('template', { slot: 'prefix' }, this.$slots.prefix));
package/lib/login.js CHANGED
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
244
244
  }
245
245
  if (response.status === 200) {
246
246
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
247
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
247
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
248
248
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
249
249
  clearTimeout(loginMsg);
250
250
  loginMsg = setTimeout(function () {
package/lib/main.js CHANGED
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
244
244
  }
245
245
  if (response.status === 200) {
246
246
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
247
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
247
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
248
248
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
249
249
  clearTimeout(loginMsg);
250
250
  loginMsg = setTimeout(function () {
@@ -2741,7 +2741,7 @@ module.exports = require("stompjs");
2741
2741
  // ESM COMPAT FLAG
2742
2742
  __webpack_require__.r(__webpack_exports__);
2743
2743
 
2744
- // 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=66d4b490&
2744
+ // 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=2e559908&
2745
2745
  var render = function () {
2746
2746
  var _vm = this
2747
2747
  var _h = _vm.$createElement
@@ -3160,7 +3160,7 @@ var staticRenderFns = []
3160
3160
  render._withStripped = true
3161
3161
 
3162
3162
 
3163
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=66d4b490&
3163
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2e559908&
3164
3164
 
3165
3165
  // 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=1965153d&
3166
3166
  var userinfovue_type_template_id_1965153d_render = function () {
@@ -6168,7 +6168,7 @@ var log = util["a" /* default */].getParams('console');
6168
6168
  this.page = util["a" /* default */].handlerUrl(page);
6169
6169
  } else {
6170
6170
  this.method = 'wujie';
6171
- this.wjName = res.appCode ? res.appCode : 'application';
6171
+ this.wjName = res && res.appCode ? res.appCode : 'application';
6172
6172
  this.page = this.host + page;
6173
6173
  this.$nextTick(function () {
6174
6174
  _this9.refresh = true;
@@ -6317,7 +6317,7 @@ var log = util["a" /* default */].getParams('console');
6317
6317
  }
6318
6318
  }
6319
6319
  this.$confirm(msg, btn).then(function () {
6320
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig']);
6320
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
6321
6321
  if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
6322
6322
  util["a" /* default */].win.top.location.href = './login.html';
6323
6323
  } else {
package/lib/mainComp.js CHANGED
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
244
244
  }
245
245
  if (response.status === 200) {
246
246
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
247
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
247
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
248
248
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
249
249
  clearTimeout(loginMsg);
250
250
  loginMsg = setTimeout(function () {
@@ -2742,7 +2742,7 @@ module.exports = require("stompjs");
2742
2742
  // ESM COMPAT FLAG
2743
2743
  __webpack_require__.r(__webpack_exports__);
2744
2744
 
2745
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/main.vue?vue&type=template&id=2ca6e522&
2745
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/main.vue?vue&type=template&id=1faf05d8&
2746
2746
  var render = function () {
2747
2747
  var _vm = this
2748
2748
  var _h = _vm.$createElement
@@ -3156,7 +3156,7 @@ var staticRenderFns = []
3156
3156
  render._withStripped = true
3157
3157
 
3158
3158
 
3159
- // CONCATENATED MODULE: ./packages/mainComp/src/main.vue?vue&type=template&id=2ca6e522&
3159
+ // CONCATENATED MODULE: ./packages/mainComp/src/main.vue?vue&type=template&id=1faf05d8&
3160
3160
 
3161
3161
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/userinfo.vue?vue&type=template&id=5902ef8f&
3162
3162
  var userinfovue_type_template_id_5902ef8f_render = function () {
@@ -6374,7 +6374,7 @@ var isIE = navigator.userAgent.indexOf('MSIE') != -1;
6374
6374
  this.page = util["a" /* default */].handlerUrl(page);
6375
6375
  } else {
6376
6376
  this.method = 'wujie';
6377
- this.wjName = res.appCode ? res.appCode : 'application';
6377
+ this.wjName = res && res.appCode ? res.appCode : 'application';
6378
6378
  this.page = page;
6379
6379
  this.$nextTick(function () {
6380
6380
  _this10.refresh = true;
@@ -6518,7 +6518,7 @@ var isIE = navigator.userAgent.indexOf('MSIE') != -1;
6518
6518
  }
6519
6519
  }
6520
6520
  this.$confirm(msg, btn).then(function () {
6521
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig']);
6521
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
6522
6522
  if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
6523
6523
  util["a" /* default */].win.top.location.href = './login.html';
6524
6524
  } else {
package/lib/nav.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/page.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/player.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/qr-code.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/select.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
244
244
  }
245
245
  if (response.status === 200) {
246
246
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
247
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
247
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
248
248
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
249
249
  clearTimeout(loginMsg);
250
250
  loginMsg = setTimeout(function () {
package/lib/selector.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/sizer.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/steps.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/switch.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/table-form.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/tabs.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/tips.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/tree-group.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -2678,7 +2678,7 @@ module.exports = require("json-bigint");
2678
2678
  // ESM COMPAT FLAG
2679
2679
  __webpack_require__.r(__webpack_exports__);
2680
2680
 
2681
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=67920e49&
2681
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=37d34f42&
2682
2682
  var render = function () {
2683
2683
  var _vm = this
2684
2684
  var _h = _vm.$createElement
@@ -2997,7 +2997,7 @@ var staticRenderFns = []
2997
2997
  render._withStripped = true
2998
2998
 
2999
2999
 
3000
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=67920e49&
3000
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=37d34f42&
3001
3001
 
3002
3002
  // EXTERNAL MODULE: ./src/utils/util.js
3003
3003
  var util = __webpack_require__(0);
@@ -3413,6 +3413,18 @@ var util = __webpack_require__(0);
3413
3413
  handleCurrentFirst: function handleCurrentFirst(res) {
3414
3414
  this.checkeds = res.children[0];
3415
3415
  this.$emit('current-first', res);
3416
+ },
3417
+ setCurrentKey: function setCurrentKey(keys, leafOnly) {
3418
+ var _this2 = this;
3419
+
3420
+ var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
3421
+ this.$nextTick(function () {
3422
+ _this2.$refs[ref].setCurrentKey(keys, leafOnly);
3423
+ });
3424
+ },
3425
+ getTree: function getTree() {
3426
+ var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
3427
+ return this.$refs[ref];
3416
3428
  }
3417
3429
  }
3418
3430
  });
package/lib/tree.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
@@ -2671,7 +2671,7 @@ module.exports = require("eoss-element");
2671
2671
  // ESM COMPAT FLAG
2672
2672
  __webpack_require__.r(__webpack_exports__);
2673
2673
 
2674
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=6e8d7069&
2674
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=bb0b8d78&
2675
2675
  var render = function () {
2676
2676
  var _vm = this
2677
2677
  var _h = _vm.$createElement
@@ -2864,7 +2864,7 @@ var staticRenderFns = []
2864
2864
  render._withStripped = true
2865
2865
 
2866
2866
 
2867
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=6e8d7069&
2867
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=bb0b8d78&
2868
2868
 
2869
2869
  // EXTERNAL MODULE: ./src/config/api.js
2870
2870
  var api = __webpack_require__(1);
@@ -3245,7 +3245,7 @@ var util = __webpack_require__(0);
3245
3245
  if (res.rCode === 0) {
3246
3246
  _this.treeList = JSON.parse(JSON.stringify(res.results));
3247
3247
  if (_this.currentFirst) {
3248
- var currentNode = _this.treeList[0].children[0].id;
3248
+ var currentNode = _this.treeList[0].id;
3249
3249
  _this.$emit('current-first', _this.treeList[0]);
3250
3250
  if (!_this.currentNodeKey) {
3251
3251
  _this.$nextTick(function () {
package/lib/upload.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/utils/util.js CHANGED
@@ -160,7 +160,7 @@ var ajax = function ajax(_ref) {
160
160
  }
161
161
  if (response.status === 200) {
162
162
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
163
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
163
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
164
164
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
165
165
  clearTimeout(loginMsg);
166
166
  loginMsg = setTimeout(function () {
package/lib/wujie.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/lib/wxlogin.js CHANGED
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
245
245
  }
246
246
  if (response.status === 200) {
247
247
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
248
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
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
251
  loginMsg = setTimeout(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.33",
3
+ "version": "0.4.35",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -91,7 +91,7 @@
91
91
  "cp-cli": "^1.0.2",
92
92
  "cross-env": "^3.1.3",
93
93
  "css-loader": "^2.1.0",
94
- "eoss-element": "^0.2.50",
94
+ "eoss-element": "^0.2.52",
95
95
  "es6-promise": "^4.0.5",
96
96
  "eslint": "4.18.2",
97
97
  "eslint-config-elemefe": "0.1.1",