🦄 refactor: 封装统一表格组件,便于批量扩展表格能力
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-table v-loading="loading" :data="repairList">
|
||||
<KLPTable v-loading="loading" :data="repairList">
|
||||
<el-table-column label="维修单编号" width="120px" align="center" prop="repairCode" />
|
||||
<el-table-column label="维修单名称" width="150px" align="center" prop="repairName" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="报修日期" align="center" prop="requireDate" width="120">
|
||||
@@ -30,7 +30,7 @@
|
||||
<dict-tag :options="dict.type.mes_order_status" :value="scope.row.status"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</KLPTable>
|
||||
|
||||
<!-- <pagination-->
|
||||
<!-- v-show="total>0"-->
|
||||
|
||||
Reference in New Issue
Block a user