增加序号

This commit is contained in:
zhoulingpo
2023-11-22 11:12:43 +08:00
parent e2f8529f21
commit 50ca458c1e
3 changed files with 21 additions and 0 deletions
@@ -17,6 +17,12 @@
width="55"
align="center">
</el-table-column>
<el-table-column
type="index"
width="55"
label="序号"
align="center">
</el-table-column>
<el-table-column
prop="name"
label="任务步骤"
@@ -17,6 +17,12 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',fontWeight: 'bold', height: '48px'}"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column
type="index"
width="55"
label="序号"
align="center">
</el-table-column>
<template v-for="item in options">
<el-table-column
:prop="item.prop"
@@ -93,6 +93,15 @@
width="55"
align="center">
</el-table-column>
<el-table-column
type="index"
width="55"
label="序号"
align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (searchForm.page - 1) * searchForm.pageSize }}
</template>
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="topicName"