eoss-ui 0.5.54 → 0.5.55

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 (66) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +82 -79
  3. package/lib/button.js +83 -80
  4. package/lib/checkbox-group.js +95 -85
  5. package/lib/config/api.js +2 -0
  6. package/lib/data-table-form.js +91 -81
  7. package/lib/data-table.js +132 -106
  8. package/lib/date-picker.js +82 -79
  9. package/lib/dialog.js +82 -79
  10. package/lib/eoss-ui.common.js +394 -278
  11. package/lib/flow-group.js +82 -79
  12. package/lib/flow-list.js +85 -82
  13. package/lib/flow.js +116 -113
  14. package/lib/form.js +86 -81
  15. package/lib/handle-user.js +83 -80
  16. package/lib/handler.js +83 -80
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +82 -79
  19. package/lib/input.js +82 -79
  20. package/lib/login.js +88 -85
  21. package/lib/main.js +97 -95
  22. package/lib/menu.js +71 -17
  23. package/lib/nav.js +82 -79
  24. package/lib/notify.js +85 -82
  25. package/lib/page.js +82 -79
  26. package/lib/player.js +82 -79
  27. package/lib/qr-code.js +82 -79
  28. package/lib/radio-group.js +95 -85
  29. package/lib/retrial-auth.js +85 -82
  30. package/lib/select-ganged.js +93 -102
  31. package/lib/select.js +93 -83
  32. package/lib/selector-panel.js +100 -97
  33. package/lib/selector.js +83 -80
  34. package/lib/sizer.js +84 -81
  35. package/lib/steps.js +82 -79
  36. package/lib/switch.js +82 -79
  37. package/lib/table-form.js +82 -79
  38. package/lib/tabs.js +82 -79
  39. package/lib/theme-chalk/form.css +1 -1
  40. package/lib/theme-chalk/index.css +1 -1
  41. package/lib/tips.js +83 -80
  42. package/lib/toolbar.js +2 -2
  43. package/lib/tree-group.js +82 -79
  44. package/lib/tree.js +83 -80
  45. package/lib/upload.js +96 -93
  46. package/lib/wujie.js +82 -79
  47. package/lib/wxlogin.js +82 -79
  48. package/package.json +1 -1
  49. package/packages/button/src/main.vue +1 -1
  50. package/packages/checkbox-group/src/main.vue +12 -5
  51. package/packages/data-table/src/column.vue +24 -7
  52. package/packages/data-table/src/main.vue +31 -10
  53. package/packages/data-table-form/src/main.vue +10 -3
  54. package/packages/form/src/main.vue +2 -1
  55. package/packages/main/src/main.vue +0 -1
  56. package/packages/menu/src/main.vue +81 -4
  57. package/packages/radio-group/src/main.vue +12 -5
  58. package/packages/select/src/main.vue +12 -5
  59. package/packages/select-ganged/src/main.vue +9 -2
  60. package/packages/theme-chalk/lib/form.css +1 -1
  61. package/packages/theme-chalk/lib/index.css +1 -1
  62. package/packages/theme-chalk/src/form.scss +8 -0
  63. package/packages/toolbar/src/main.vue +2 -2
  64. package/packages/upload/src/main.vue +3 -3
  65. package/src/config/api.js +2 -0
  66. package/src/index.js +1 -1
@@ -419,6 +419,14 @@
419
419
  text-align: right;
420
420
  }
421
421
  }
422
+ &.es-form-row {
423
+ .es-form-padding {
424
+ padding: 12px 0 0;
425
+ }
426
+ .el-form-item {
427
+ padding: 0 12px;
428
+ }
429
+ }
422
430
  }
423
431
  .es-form-item-label-hide {
424
432
  .el-form-item__label {
@@ -259,7 +259,7 @@ export default {
259
259
  ];
260
260
  }
261
261
  if (type === 'info') {
262
- info = [
262
+ info.push(
263
263
  h(
264
264
  'div',
265
265
  { class: 'es-toolbar-info' },
@@ -270,7 +270,7 @@ export default {
270
270
  ]);
271
271
  })
272
272
  )
273
- ];
273
+ );
274
274
  }
275
275
  if (type === 'filter') {
276
276
  info.push(
@@ -534,7 +534,6 @@ export default {
534
534
  return this.readonly || (this.elForm || {}).readonly;
535
535
  },
536
536
  isRemove() {
537
- console.log(this.remove, this.deleted, 999);
538
537
  if (this.remove == false || this.deleted == false) {
539
538
  return false;
540
539
  }
@@ -641,6 +640,7 @@ export default {
641
640
  }
642
641
  });
643
642
  this.filesTotalSize = filesTotalSize;
643
+ this.$emit('input', val);
644
644
  } else {
645
645
  this.getFiles(this.params);
646
646
  }
@@ -787,7 +787,7 @@ export default {
787
787
  }
788
788
  });
789
789
  this.filesTotalSize = filesTotalSize;
790
- this.$emit('input', this.lists);
790
+ this.$emit('input', this.lists.length ? this.lists : '');
791
791
  }
792
792
  } else {
793
793
  let msg = res.msg || '系统错误,请联系管理员!';
@@ -1193,7 +1193,7 @@ export default {
1193
1193
  this.onChange && this.onChange(file, fileList);
1194
1194
  },
1195
1195
  handleRemove(file, fileList) {
1196
- this.$emit('input', fileList);
1196
+ this.$emit('input', fileList.length ? fileList : '');
1197
1197
  this.$emit('remove', file, fileList);
1198
1198
  this.$emit('change', fileList);
1199
1199
  this.onRemove && this.onRemove(file, fileList);
package/src/config/api.js CHANGED
@@ -72,6 +72,8 @@ export const getOrgMainTree = '/sys/v1/mecpSys/getOrgMainTree.dhtml';
72
72
  export const getSelectOrgsubids = '/sys/v1/mecpSys/getSelectOrgsubids.dhtml';
73
73
  // 代码表
74
74
  export const findSysCode = '/sys/v1/mecpSys/findSysCode.dhtml';
75
+ export const getDictList = '/dict/getDictDataList';
76
+
75
77
  // 获取用户基本信息
76
78
  export const findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
77
79
  // 说明文档
package/src/index.js CHANGED
@@ -119,7 +119,7 @@ if (typeof window !== 'undefined' && window.Vue) {
119
119
  }
120
120
 
121
121
  export default {
122
- version: '0.5.54',
122
+ version: '0.5.55',
123
123
  install,
124
124
  Button,
125
125
  ButtonGroup,