1.0.21 • Published 5 years ago
zsm v1.0.21
QueryBar是一个工具条,满足常规条件查询,input/select/DatePicker/DatePickerTime。
📦 安装
npm install zsm --save
yarn add zsm
🔨 示例
import {QueryBar} from 'zsm';
ReactDOM.render(QueryBar dataSource={this.queryBarData} handleSearch={this.handleSearch} />, mountNode);
引入数据:
queryBarData = [
{
"field": "name",
"text": '"名称",
"type": "input",
},{
"field": "condition",
"text": '"状态",
"type": "select",
"options": ["关闭", "运行中"]
},{
"field": "creatData",
"text": "创建日期",
"type": "DatePicker",
},{
"field": "creatData",
"text": "订单时间",
"type": "DatePickerTime",
}
//可多条数据
];
效果
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.1.0
6 years ago