固定表头
This commit is contained in:
parent
7e3bbbdd9f
commit
b7c5a3a04f
|
|
@ -54,6 +54,7 @@
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
:max-height="650"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" align="center" :selectable="selectable" />
|
<el-table-column type="selection" align="center" :selectable="selectable" />
|
||||||
<el-table-column label="序号" align="center" type="index">
|
<el-table-column label="序号" align="center" type="index">
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange" :max-height="650">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-table v-loading="loading" :data="tableList">
|
<el-table v-loading="loading" :data="tableList" :max-height="650">
|
||||||
<el-table-column label="序号" align="center" width="80" type="index">
|
<el-table-column label="序号" align="center" width="80" type="index">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
|
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange" :max-height="650">
|
||||||
<el-table-column width="60" align="center" label="序号" type="index">
|
<el-table-column width="60" align="center" label="序号" type="index">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod">
|
<el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod" :max-height="650">
|
||||||
<el-table-column label="序号" align="center" type="index">
|
<el-table-column label="序号" align="center" type="index">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<span v-if="scope.$index == 0">合计:</span>
|
<span v-if="scope.$index == 0">合计:</span>
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod">
|
<el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod" :max-height="650">
|
||||||
<el-table-column label="序号" align="center" type="index">
|
<el-table-column label="序号" align="center" type="index">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<span v-if="scope.$index == 0">合计:</span>
|
<span v-if="scope.$index == 0">合计:</span>
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table v-loading="loading" :data="typeList">
|
<el-table v-loading="loading" :data="typeList" :max-height="650">
|
||||||
<el-table-column width="60" align="center" label="序号" type="index">
|
<el-table-column width="60" align="center" label="序号" type="index">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue