🦄 refactor: 封装统一表格组件,便于批量扩展表格能力
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="productSpecList" @selection-change="handleSelectionChange">
|
||||
<KLPTable v-loading="loading" :data="productSpecList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="规范名称" align="center" prop="specKey">
|
||||
<template slot-scope="scope">
|
||||
@@ -72,7 +72,7 @@
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</KLPTable>
|
||||
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="productSpecGroupList" @selection-change="handleSelectionChange">
|
||||
<KLPTable v-loading="loading" :data="productSpecGroupList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="主键" align="center" prop="groupId" v-if="true"/>
|
||||
<el-table-column label="规范组编码" align="center" prop="groupCode" />
|
||||
@@ -103,7 +103,7 @@
|
||||
>明细</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</KLPTable>
|
||||
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
|
||||
Reference in New Issue
Block a user