erp-el-element/CommonInput/selectbtn.md

12 lines
575 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## selectbtn 多功能多选组件(仅筛选,多选,反选,模糊查询选择操作)
> **组件名SelectBtn**
> 代码块: `selectbtn`
> 关联组件:`el-element`
> **子组件:传参**
> SourceData组件接收的参数默认为[{label:'',value:''}] 接口的数据
> dropdowntitle:组件占位文本
> value:返回值的字段名如value"name_id" 则search中parmas的接收参数为{name_id:['返回的参数']},参数为必填
> selectAll:默认false是否全选
> **子组件:方法**
> search(params):params接收选择的参数