# vue-toolbox

> vue-toolbox提供vue项目的常用工具

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
```

For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).

## 组件

### 查询组件vt-search-form

```vue
<VtSearchForm :searchForm="searchForm" ref="spSearchFormRef" />

searchForm: {
        inputList: [
          {
            id: 1,
            prop: 'serviceName',
            type: 'el-input',
            placeholder: '输入数据名称',
            model: null,
            size: 'mini'
          }
        ],
        btnList: [
          {
            id: 11,
            type: 'el-button',
            laybel: '查询',
            size: 'mini',
            method: (item) => {

            }
          }
        ]
      }
```

