1.0.21 • Published 6 years ago

zsm v1.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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",
    }
    //可多条数据
  ];

效果

image

image

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

7 years ago