组件库
用于基础的后台管理系统页面中,搜索条件的容器,可展开或收起
此处放置代码示例的描述信息,支持 Markdown 语法,描述信息只支持单行
Markdown
<template> <th-search-field title="高级搜索"> <el-form :inline="true" :model="formInline" class="demo-form-inline"> <el-form-item label="审批人"> <el-input v-model="formInline.user" placeholder="审批人"></el-input> </el-form-item> <el-form-item label="活动区域"> <el-select v-model="formInline.region" placeholder="活动区域"> <el-option label="区域一" value="shanghai"></el-option> <el-option label="区域二" value="beijing"></el-option> </el-select> </el-form-item> <el-form-item> <el-button type="primary" @click="onSubmit">查询</el-button> </el-form-item> </el-form> </th-search-field> </template> <script> export default { data() { return { formInline: { user: '', region: '', }, }; }, methods: { onSubmit() { console.log('submit!'); }, }, }; </script> <style></style>
AutoComplete Table