# EProTable 表格
统一列表页面布局,封装了一个基础的列表页组件,提供自定义查询条件、操作按钮、表格等基本插槽
<!-- 如无需展开查询,请移除:advanced.sync="advanced"并添加:no-advanced="true" -->
<e-pro-table title="代码生成示例" :advanced.sync="advanced">
<template slot="query">
<!-- 查询条件 -->
<template v-if="advanced">
<!-- 点击展开显示的查询条件 -->
</template>
</template>
<template slot="button">
<!-- 按钮 -->
</template>
<template slot="table">
<!-- 表格 -->
</template>
</e-pro-table>
参数 | 必须 | 说明 | 类型 | 默认值 |
---|---|---|---|---|
title | 标题 | String | - | |
advanced | 是否展开更多查询条件 | boolean | false | |
noAdvanced | 是否显示更多查询 | boolean | false | |
query | 查询条件 | slot | - | |
button | 操作按钮 | slot | - | |
table | 表格 | slot | - |