|
|
@@ -8,18 +8,24 @@
|
|
|
</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <el-table :data="businessList" border style="height: calc(100vh - 435px);">
|
|
|
+ <el-table :data="businessList" border>
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ width="55">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="Code" label="分类编码" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="Name" label="分类名称" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="Remark" label="备注" show-overflow-tooltip></el-table-column>
|
|
|
+
|
|
|
<el-table-column label="操作" width="90" align="center" fixed>
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <el-button type="primary" plain size="mini" title="编辑" @click="openDialog(scope.row)" :disabled="!canadd">编辑
|
|
|
</el-button> -->
|
|
|
<el-button type="primary" plain size="mini" title="删除" style="margin-left:3px"
|
|
|
- @click="deletedata(scope.row)" :disabled="!canadd">删除</el-button>
|
|
|
+ @click="deletedata(scope.row)" :disabled="!canadd">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="Code" label="分类编码" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column prop="Name" label="分类名称" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column prop="Remark" label="备注" show-overflow-tooltip></el-table-column>
|
|
|
</el-table>
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
|
|
:page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper"
|