element-assits 0.0.41 → 0.0.43

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 (4) hide show
  1. package/README.md +19 -10
  2. package/lib/index.js +1094 -1082
  3. package/lib/style.scss +175 -175
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -49,17 +49,18 @@ Vue 原型上挂载了 `$asyncLoad` 方法(与asyncLoad相同)
49
49
  | loading | 表格加载状态 | Boolean | undefined |
50
50
  | initRequest | 是否初始化发送请求 | Boolean | true |
51
51
  | innerForm | 内部 - 表单(搜索栏) | Boolean \| Object | undefined |
52
- | innerForm.limit|限制默认显示的搜索条件数量|Number \| auto \| all|auto|
53
- | innerForm.referenceItemWidth|单项参考宽度|Number|180|
54
- | innerForm.maxItemWidth|单项最大宽度|Number|240|
55
- | innerForm.loading|控制更多按钮加载状态|Boolean|false|
56
- | innerForm.column[].exclusiveDoubleCells|允许某一项独占两格|Boolean|false|
57
- | innerIndex | 内部 - 索引 | Boolean \| Object | true|
52
+ |     .model | 搜索表单的值 | Object | undefined |
53
+ |     .limit|限制默认显示的搜索条件数量|Number \| auto \| all|auto|
54
+ |     .referenceItemWidth|单项参考宽度|Number|180|
55
+ |     .maxItemWidth|单项最大宽度|Number|240|
56
+ |     .loading|控制更多按钮加载状态|Boolean|false|
57
+ |     .column[].exclusiveDoubleCells|允许某一项独占两格|Boolean|false|
58
58
  | innerSelection | 内部 - 选中列 | Boolean \| Object | undefined|
59
- | innerSelection.data|选中的行|Array| [] |
59
+ |     .data | 选中的行 | Array | undefined |
60
+ | innerIndex | 内部 - 索引 | Boolean \| Object | true|
60
61
  | innerPagination | 内部 - 分页 | Boolean \| Object | undefined|
61
62
  | innerOperation | 内部 - 操作栏(尾列)| Boolean \| Object | undefined|
62
- | innerOperation.maxNumOfBtn|最大显示的按钮数,溢出折叠|Number|3|
63
+ |     .maxNumOfBtn|最大显示的按钮数,溢出折叠|Number|3|
63
64
  #### methods
64
65
  | 方法名 | 说明 | 参数 |
65
66
  |:---|:---|:---|
@@ -68,12 +69,16 @@ Vue 原型上挂载了 `$asyncLoad` 方法(与asyncLoad相同)
68
69
  #### slots
69
70
  | 插槽名 | 默认值 | 说明 |
70
71
  |:---|:---|:---|
72
+ | search | 搜索栏 | 如果想自定义搜索栏时
71
73
  | table | 表格 | 如果不想用表格来渲染数据,此处可自定义渲染数据的方式
72
74
  | top-menu | 无 | 顶部菜单
73
75
  | row-menu | 无 | 行菜单,需要 initOperation 至少为true
74
76
  | bottom-menu | 无 | 底部菜单
75
- | before-column | 无 | 表格内部列之前
76
- | after-column | 无 | 表格内部列之后
77
+ | before-column | 无 | 表格内部所有列之前
78
+ | after-index-column | 无 | 表格内部索引列之后
79
+ | after-selection-column | 无 | 表格多选列之后
80
+ | before-action-column | 无 | 表格内部操作列之前
81
+ | after-column | 无 | 表格内部所有列之后
77
82
  | footer | bottom-menu&分页 | 表格底部
78
83
  #### events
79
84
  | 事件名 | 说明 | 参数 |
@@ -113,6 +118,10 @@ Vue 原型上挂载了 `$asyncLoad` 方法(与asyncLoad相同)
113
118
  | 方法 | 说明 | 参数 |
114
119
  |:---|:---|:---|
115
120
  |setData|设置表单数据对象的值|要设置的数据对象|
121
+ #### events
122
+ | 事件名 | 说明 | 参数 |
123
+ |:---|:---|:---|
124
+ |change| 表单值变化事件 | 当前表单的值 |
116
125
 
117
126
  ### 按钮 EaButton
118
127
  继承el-button, 简化按钮配置