|
|
@ -32,7 +32,7 @@ |
|
|
|
</div> |
|
|
|
<div class="listcon"> |
|
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width:100%" @selection-change="handleSelectionChange"> |
|
|
|
<el-table-column width="60px" label="序号" type="index" :index="tableKey+1" align="center"/> |
|
|
|
<el-table-column width="60px" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
|
<el-table-column width="180px" label="操作" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="small" @click="handleCheck(scope.row)">详情</el-button> |
|
|
@ -464,8 +464,11 @@ export default { |
|
|
|
handleSelectionChange() { |
|
|
|
|
|
|
|
}, |
|
|
|
indexMethod() { |
|
|
|
return 0 |
|
|
|
// 序号 |
|
|
|
indexMethod(index) { |
|
|
|
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|
|
|
var pageindex = index + 1 + pagestart |
|
|
|
return pageindex |
|
|
|
}, |
|
|
|
setIcon(val) { |
|
|
|
if (val) { |
|
|
|