|
@@ -37,7 +37,11 @@
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<el-table :data="tableData" style="width: 100%">
|
|
|
- <el-table-column type="index" label="序号" align="center" width="80"></el-table-column>
|
|
|
+ <el-table-column type="index" label="序号" align="center" width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.$index + 1 + (paginationData.currentPage - 1) * paginationData.pageSize }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="" label="住院号" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="link" @click="toPage(scope.row)">{{ scope.row.AAA28 }}</span>
|
|
@@ -106,7 +110,9 @@ export default {
|
|
|
$route(to, from) {
|
|
|
if (from.path === '/caseIndex' && to.path === '/caseIndexList') {
|
|
|
this.tableData = []
|
|
|
- this.$router.go(0)
|
|
|
+ this.paginationData.currentPage = 1
|
|
|
+ this.paginationData.pageSize = 10
|
|
|
+ this.getList()
|
|
|
}
|
|
|
}
|
|
|
},
|