增加序号

This commit is contained in:
zhoulingpo
2023-11-22 15:22:32 +08:00
parent 5df4c678bf
commit f8e7b56e2b
14 changed files with 186 additions and 2 deletions
@@ -66,6 +66,16 @@
height="100%"
border
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
<el-table-column
type="index"
fixed="left"
width="55"
label="序号"
align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standCommonlySearch.page - 1) * standCommonlySearch.size }}
</template>
</el-table-column>
<el-table-column
prop="category"
label="标准/政策"