eoss-ui 0.6.30 → 0.6.32

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 +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 +74 -57
  9. package/lib/flow-group.js +1 -1
  10. package/lib/flow-list.js +1 -1
  11. package/lib/flow.js +1 -1
  12. package/lib/form.js +1 -1
  13. package/lib/handle-user.js +7 -3
  14. package/lib/handler.js +1 -1
  15. package/lib/icon.js +1 -1
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +1 -1
  18. package/lib/input.js +1 -1
  19. package/lib/login.js +1 -1
  20. package/lib/main.js +47 -35
  21. package/lib/nav.js +1 -1
  22. package/lib/page.js +1 -1
  23. package/lib/pagination.js +1 -1
  24. package/lib/player.js +1 -1
  25. package/lib/qr-code.js +1 -1
  26. package/lib/radio-group.js +1 -1
  27. package/lib/retrial-auth.js +1 -1
  28. package/lib/select-ganged.js +1 -1
  29. package/lib/select.js +1 -1
  30. package/lib/selector-panel.js +1 -1
  31. package/lib/selector.js +1 -1
  32. package/lib/sizer.js +1 -1
  33. package/lib/steps.js +1 -1
  34. package/lib/switch.js +1 -1
  35. package/lib/table-form.js +1 -1
  36. package/lib/tabs.js +1 -1
  37. package/lib/theme-chalk/index.css +1 -1
  38. package/lib/theme-chalk/main.css +1 -1
  39. package/lib/theme-chalk/simplicity.css +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +1 -1
  43. package/lib/upload.js +14 -13
  44. package/lib/utils/util.js +1 -1
  45. package/lib/wujie.js +1 -1
  46. package/lib/wxlogin.js +1 -1
  47. package/package.json +1 -1
  48. package/packages/.DS_Store +0 -0
  49. package/packages/handle-user/src/main.vue +4 -0
  50. package/packages/login/.DS_Store +0 -0
  51. package/packages/main/.DS_Store +0 -0
  52. package/packages/main/src/simplicity/index.vue +21 -16
  53. package/packages/theme-chalk/lib/index.css +1 -1
  54. package/packages/theme-chalk/lib/main.css +1 -1
  55. package/packages/theme-chalk/lib/simplicity.css +1 -1
  56. package/packages/theme-chalk/src/simplicity.scss +6 -0
  57. package/packages/upload/src/main.vue +19 -9
  58. package/src/.DS_Store +0 -0
  59. package/src/index.js +1 -1
  60. package/src/utils/util.js +0 -1
@@ -75,6 +75,10 @@ export default {
75
75
  this.job = val.identityList.filter((item) => {
76
76
  return item.id === val.identityId;
77
77
  })[0];
78
+ if (!this.job) {
79
+ console.error('identityId与identityList中的任何id不匹配!');
80
+ this.job = {};
81
+ }
78
82
  }
79
83
  }
80
84
  }
Binary file
Binary file
@@ -38,7 +38,10 @@
38
38
  :title="item.text || item.name"
39
39
  @click="handlerClickApp(item)"
40
40
  >
41
- <el-badge v-bind="getBadge(item)">
41
+ <el-badge
42
+ class="es-simplicity-side-app-badge"
43
+ v-bind="getBadge(item)"
44
+ >
42
45
  <es-icon
43
46
  class="es-simplicity-side-app-icon"
44
47
  :contents="item.icons || item.icon || menuIcon"
@@ -1518,21 +1521,23 @@ export default {
1518
1521
  this.tabs.push(tab);
1519
1522
  this.activeName = res.id;
1520
1523
  } else {
1521
- let tab = this.tabs[i];
1522
- if (tab.method === 'iframe') {
1523
- this.activeName = res.id;
1524
- this.$set(this.tabs[i], 'url', util.handlerUrl(tab.url));
1525
- } else {
1526
- if (tab.method === 'wujie' && tab.appCode) {
1527
- window.document
1528
- .querySelector(`iframe[name=${tab.appCode}]`)
1529
- .contentWindow.location.reload(true);
1530
- }
1531
- if (tab.method === 'router') {
1532
- this.$set(this.tabs[i], 'keys', util.uuid());
1533
- }
1534
- this.activeName = res.id;
1535
- }
1524
+ this.tabs = events[0](this.tabs, i, this);
1525
+ // let tab = this.tabs[i];
1526
+ // if (tab.method === 'iframe') {
1527
+ // this.activeName = res.id;
1528
+ // this.$set(this.tabs[i], 'url', util.handlerUrl(tab.url));
1529
+ // } else {
1530
+ // if (tab.method === 'wujie' && tab.appCode) {
1531
+ // window.document
1532
+ // .querySelector(`iframe[name=${tab.appCode}]`)
1533
+ // .contentWindow.location.reload(true);
1534
+ // }
1535
+ // if (tab.method === 'router') {
1536
+ // this.$set(this.tabs[i], 'keys', util.uuid());
1537
+ // }
1538
+ // this.activeName = res.id;
1539
+ // }
1540
+ this.activeName = res.id;
1536
1541
  }
1537
1542
  },
1538
1543