|
|
@ -410,7 +410,13 @@ onMounted(async function () { |
|
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
|
<div style="height: 520px; overflow-y: auto;margin-top: 10px;"> |
|
|
|
<el-table :data="tableData" style="width: 100%" height="520px" @sort-change="handleSortChange"> |
|
|
|
<el-table-column type="id" prop='id' label="ID" min-width="80px" fixed="left"></el-table-column> |
|
|
|
<el-table-column type="index" label="序号" width="80px" fixed="left"> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ |
|
|
|
scope.$index + 1 + (getObj.pageNum - 1) * getObj.pageSize |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column fixed="left" prop="name" label="姓名" min-width="120" /> |
|
|
|
<el-table-column fixed="left" prop="jwcode" label="精网号" min-width="110px" /> |
|
|
|
<el-table-column prop="market" label="所属地区" min-width="100px" /> |
|
|
@ -475,6 +481,4 @@ onMounted(async function () { |
|
|
|
</template> |
|
|
|
</el-dialog> |
|
|
|
</template> |
|
|
|
<style scoped> |
|
|
|
|
|
|
|
</style> |
|
|
|
<style scoped></style> |