🦄 refactor: 封装统一表格组件,便于批量扩展表格能力

This commit is contained in:
砂糖
2025-08-27 16:47:33 +08:00
parent 278b0c8258
commit 7ea0de6a67
133 changed files with 465 additions and 432 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-table
<KLPTable
v-loading="loading"
:data="list"
border
@@ -28,10 +28,10 @@
<el-button type="text" @click="handleProcessTask(scope.row)">工序</el-button>
</template>
</el-table-column>
</el-table>
</KLPTable>
<el-dialog title="工序" :visible.sync="processTaskDialogVisible" width="80%">
<el-table
<KLPTable
:data="processTaskList"
border
style="width: 100%"
@@ -97,7 +97,7 @@
<el-button type="text" size="small" @click="handleSave(scope.row)">保存</el-button>
</template>
</el-table-column>
</el-table>
</KLPTable>
<!-- 新增按钮区域 -->
<div style="margin-top: 15px; text-align: right;">