🦄 refactor: 封装统一表格组件,便于批量扩展表格能力
This commit is contained in:
@@ -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;">
|
||||
|
||||
Reference in New Issue
Block a user