eoss-ui 0.5.54 → 0.5.56

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 (65) hide show
  1. package/lib/button-group.js +82 -79
  2. package/lib/button.js +83 -80
  3. package/lib/checkbox-group.js +95 -85
  4. package/lib/config/api.js +2 -0
  5. package/lib/data-table-form.js +91 -81
  6. package/lib/data-table.js +132 -106
  7. package/lib/date-picker.js +82 -79
  8. package/lib/dialog.js +82 -79
  9. package/lib/eoss-ui.common.js +398 -279
  10. package/lib/flow-group.js +82 -79
  11. package/lib/flow-list.js +85 -82
  12. package/lib/flow.js +120 -118
  13. package/lib/form.js +86 -81
  14. package/lib/handle-user.js +83 -80
  15. package/lib/handler.js +83 -80
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +82 -79
  18. package/lib/input.js +82 -79
  19. package/lib/login.js +88 -85
  20. package/lib/main.js +95 -92
  21. package/lib/menu.js +72 -17
  22. package/lib/nav.js +82 -79
  23. package/lib/notify.js +85 -82
  24. package/lib/page.js +82 -79
  25. package/lib/player.js +82 -79
  26. package/lib/qr-code.js +82 -79
  27. package/lib/radio-group.js +95 -85
  28. package/lib/retrial-auth.js +85 -82
  29. package/lib/select-ganged.js +93 -102
  30. package/lib/select.js +93 -83
  31. package/lib/selector-panel.js +100 -97
  32. package/lib/selector.js +83 -80
  33. package/lib/sizer.js +84 -81
  34. package/lib/steps.js +82 -79
  35. package/lib/switch.js +82 -79
  36. package/lib/table-form.js +82 -79
  37. package/lib/tabs.js +82 -79
  38. package/lib/theme-chalk/form.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/tips.js +83 -80
  41. package/lib/toolbar.js +3 -2
  42. package/lib/tree-group.js +82 -79
  43. package/lib/tree.js +83 -80
  44. package/lib/upload.js +96 -92
  45. package/lib/wujie.js +82 -79
  46. package/lib/wxlogin.js +82 -79
  47. package/package.json +1 -1
  48. package/packages/button/src/main.vue +1 -1
  49. package/packages/checkbox-group/src/main.vue +12 -5
  50. package/packages/data-table/src/column.vue +24 -7
  51. package/packages/data-table/src/main.vue +31 -10
  52. package/packages/data-table-form/src/main.vue +10 -3
  53. package/packages/flow/src/main.vue +2 -3
  54. package/packages/form/src/main.vue +2 -1
  55. package/packages/menu/src/main.vue +82 -4
  56. package/packages/radio-group/src/main.vue +12 -5
  57. package/packages/select/src/main.vue +12 -5
  58. package/packages/select-ganged/src/main.vue +9 -2
  59. package/packages/theme-chalk/lib/form.css +1 -1
  60. package/packages/theme-chalk/lib/index.css +1 -1
  61. package/packages/theme-chalk/src/form.scss +8 -0
  62. package/packages/toolbar/src/main.vue +3 -2
  63. package/packages/upload/src/main.vue +3 -2
  64. package/src/config/api.js +2 -0
  65. 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,9 +270,10 @@ export default {
270
270
  ]);
271
271
  })
272
272
  )
273
- ];
273
+ );
274
274
  }
275
275
  if (type === 'filter') {
276
+ console.log(1212);
276
277
  info.push(
277
278
  h(
278
279
  'el-button',
@@ -641,6 +641,7 @@ export default {
641
641
  }
642
642
  });
643
643
  this.filesTotalSize = filesTotalSize;
644
+ this.$emit('input', val);
644
645
  } else {
645
646
  this.getFiles(this.params);
646
647
  }
@@ -787,7 +788,7 @@ export default {
787
788
  }
788
789
  });
789
790
  this.filesTotalSize = filesTotalSize;
790
- this.$emit('input', this.lists);
791
+ this.$emit('input', this.lists.length ? this.lists : '');
791
792
  }
792
793
  } else {
793
794
  let msg = res.msg || '系统错误,请联系管理员!';
@@ -1193,7 +1194,7 @@ export default {
1193
1194
  this.onChange && this.onChange(file, fileList);
1194
1195
  },
1195
1196
  handleRemove(file, fileList) {
1196
- this.$emit('input', fileList);
1197
+ this.$emit('input', fileList.length ? fileList : '');
1197
1198
  this.$emit('remove', file, fileList);
1198
1199
  this.$emit('change', fileList);
1199
1200
  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.56',
123
123
  install,
124
124
  Button,
125
125
  ButtonGroup,