feat: 家具初版

This commit is contained in:
砂糖
2025-09-03 11:55:00 +08:00
parent 623fa846a4
commit 82faee4f7c
44 changed files with 1824 additions and 943 deletions

View File

@@ -6,30 +6,6 @@
<p class="loading-text">{{ loadingText || "加载中..." }}</p>
</div>
<el-row>
<!-- 自定义操作按钮左对齐 -->
<el-col :span="12">
<slot name='actionRow'>
<!-- 分页 -->
<span style="color: #ccc;"></span>
</slot>
</el-col>
<!-- 通用操作工具栏 -->
<TableActionToolbar
:tools="actionTool"
:table-ref="getTableInstance()"
:table-data="tableData"
:columns="columns"
:export-file-name="exportFileName"
@fullScreen="handleFullScreen"
@refresh="handleRefresh"
@export="handleExport"
@print="handlePrint"
@columnChange="updateColumnsVisibility"
/>
</el-row>
<!-- 原生 Table 核心 -->
<el-table
:ref="tableRef"
@@ -105,14 +81,12 @@
<script>
import ColumnRender from './ColumnRender.vue';
import Eclipse from './renderer/eclipse.vue';
import TableActionToolbar from './TableActionToolbar.vue';
export default {
name: "KLPTable",
components: {
ColumnRender,
Eclipse,
TableActionToolbar
},
props: {
// 基础扩展属性