固定表头

This commit is contained in:
bb_pan 2025-08-21 11:24:07 +08:00
parent 5fed0be5b2
commit e406d0f757
53 changed files with 65 additions and 56 deletions

View File

@ -41,7 +41,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> --> <!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> -->
<el-table-column <el-table-column

View File

@ -40,7 +40,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> --> <!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> -->
<el-table-column <el-table-column
width="55" width="55"

View File

@ -53,7 +53,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="formList" ref="multipleTable" row-key="id" border> <el-table v-loading="loading" :data="formList" ref="multipleTable" row-key="id" border :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>

View File

@ -260,7 +260,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-table v-loading="loading" :data="equipmentList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="equipmentList" @selection-change="handleSelectionChange" :max-height="600">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" /> -->
<el-table-column align="center" label="序号" type="index" width="55" /> <el-table-column align="center" label="序号" type="index" width="55" />
<el-table-column align="center" label="类型名称" prop="maTypeName" show-overflow-tooltip> <el-table-column align="center" label="类型名称" prop="maTypeName" show-overflow-tooltip>

View File

@ -45,7 +45,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 :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" />
<el-table-column <el-table-column

View File

@ -50,7 +50,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 :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" />
<el-table-column <el-table-column

View File

@ -84,7 +84,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" type="index"> <el-table-column label="序号" align="center" type="index">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{

View File

@ -41,11 +41,11 @@
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span> <span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="物资" align="center" width="450" prop="material" show-overflow-tooltip /> <el-table-column label="物资" align="center" prop="material" show-overflow-tooltip />
<el-table-column label="车牌号" align="center" width="280" prop="carCode" show-overflow-tooltip /> <el-table-column label="车牌号" align="center" width="200" prop="carCode" show-overflow-tooltip />
<el-table-column label="姓名" align="center" width="275" prop="name" show-overflow-tooltip /> <el-table-column label="姓名" align="center" width="200" prop="name" show-overflow-tooltip />
<el-table-column label="日期" align="center" width="273" prop="addDate" show-overflow-tooltip /> <el-table-column label="日期" align="center" width="200" prop="addDate" show-overflow-tooltip />
<el-table-column label="操作" align="center" width="270"> <el-table-column label="操作" align="center" width="180">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button size="mini" type="success" @click="openPass(row)">出门证</el-button> <el-button size="mini" type="success" @click="openPass(row)">出门证</el-button>
</template> </template>

View File

@ -34,17 +34,17 @@
ref="multipleTable" ref="multipleTable"
row-key="id" row-key="id"
> >
<el-table-column label="序号" width="70" align="center" type="index"> <el-table-column label="序号" width="60" align="center" 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>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工程名称" align="center" width="479" prop="proName" show-overflow-tooltip /> <el-table-column label="工程名称" align="center" prop="proName" show-overflow-tooltip />
<el-table-column label="装卸类型" align="center" width="120" prop="type" show-overflow-tooltip /> <el-table-column label="装卸类型" align="center" width="100" prop="type" show-overflow-tooltip />
<el-table-column label="车牌号" align="center" width="170" prop="carCode" show-overflow-tooltip /> <el-table-column label="车牌号" align="center" width="150" prop="carCode" show-overflow-tooltip />
<el-table-column label="联系人" align="center" width="170" prop="linkMan" show-overflow-tooltip /> <el-table-column label="联系人" align="center" width="150" prop="linkMan" show-overflow-tooltip />
<el-table-column label="联系电话" align="center" width="170" prop="phone" show-overflow-tooltip /> <el-table-column label="联系电话" align="center" width="160" prop="phone" show-overflow-tooltip />
<el-table-column label="日期" align="center" width="170" prop="reserveDate" show-overflow-tooltip /> <el-table-column label="日期" align="center" width="150" prop="reserveDate" show-overflow-tooltip />
<el-table-column label="排号" align="center" width="120" prop="sort" show-overflow-tooltip /> <el-table-column label="排号" align="center" width="120" prop="sort" show-overflow-tooltip />
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- label="排号"--> <!-- label="排号"-->

View File

@ -61,7 +61,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" row-key="id" border> <el-table v-loading="loading" :data="tableList" row-key="id" border :max-height="650">
<!-- <el-table-column type="selection" width="55" align="center" :selectable="selectable"/> --> <!-- <el-table-column type="selection" width="55" align="center" :selectable="selectable"/> -->
<el-table-column align="center" label="序号" type="index" > <el-table-column align="center" label="序号" type="index" >
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -55,7 +55,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="formList" ref="multipleTable" row-key="id" border> <el-table v-loading="loading" :data="formList" ref="multipleTable" row-key="id" border :max-height="650">
<el-table-column label="序号" align="center" type="index"> <el-table-column label="序号" align="center" 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>

View File

@ -88,7 +88,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" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="typeList" border @selection-change="handleSelectionChange" :max-height="650">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" /> -->
<!-- <el-table-column label="序号" align="center" width="80" type="index"> <!-- <el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope"> <template scope="scope">

View File

@ -48,7 +48,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="projectList" @selection-change="handleSelectionChange" border> <el-table v-loading="loading" :data="projectList" @selection-change="handleSelectionChange" border :max-height="650">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<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">

View File

@ -65,7 +65,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 type="selection" align="center" :selectable="(row) => row.sltStatus == 0 || row.sltStatus == 3"/> <el-table-column type="selection" align="center" :selectable="(row) => row.sltStatus == 0 || row.sltStatus == 3"/>
<el-table-column label="序号" align="center" type="index"> <el-table-column label="序号" align="center" type="index">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -57,7 +57,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" type="index"> <el-table-column label="序号" align="center" type="index">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{

View File

@ -72,6 +72,7 @@
show-summary show-summary
:summary-method="getSummaries" :summary-method="getSummaries"
style="width: 100%" style="width: 100%"
:max-height="650"
@selection-change="selectionChange" @selection-change="selectionChange"
> >
<!-- 多选 --> <!-- 多选 -->
@ -106,13 +107,13 @@
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->
<pagination <!-- <pagination
v-show="total > 0" v-show="total > 0"
:total="total" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"
/> /> -->
<!-- 弹框 --> <!-- 弹框 -->
<el-dialog title="查看" :visible.sync="dialogVisible" width="70%"> <el-dialog title="查看" :visible.sync="dialogVisible" width="70%">

View File

@ -73,6 +73,7 @@
show-summary show-summary
:summary-method="getSummaries" :summary-method="getSummaries"
style="width: 100%" style="width: 100%"
:max-height="650"
@selection-change="selectionChange" @selection-change="selectionChange"
> >
<!-- 多选 --> <!-- 多选 -->

View File

@ -66,6 +66,7 @@
:data="protocolList" :data="protocolList"
ref="multipleTable" ref="multipleTable"
row-key="id" row-key="id"
: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">

View File

@ -101,6 +101,7 @@
row-key="id" row-key="id"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
border border
:max-height="650"
> >
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/> <el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
<el-table-column label="序号" align="center" width="80" type="index"/> <el-table-column label="序号" align="center" width="80" type="index"/>

View File

@ -92,6 +92,7 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:span-method="objectSpanMethod" :span-method="objectSpanMethod"
border border
: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">

View File

@ -55,7 +55,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" row-key="id" @selection-change="handleSelectionChange" border> <el-table v-loading="loading" :data="typeList" row-key="id" @selection-change="handleSelectionChange" border :max-height="650">
<el-table-column type="selection" align="center" :selectable="selectable" /> <el-table-column type="selection" align="center" :selectable="selectable" />
<el-table-column align="center" label="序号" type="index"> <el-table-column align="center" label="序号" type="index">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -55,7 +55,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="typeList" border> <el-table v-loading="loading" :data="typeList" border :max-height="650">
<el-table-column align="center" label="序号" type="index"> <el-table-column 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>

View File

@ -55,7 +55,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="typeList" border> <el-table v-loading="loading" :data="typeList" border :max-height="650">
<el-table-column align="center" label="序号" type="index"> <el-table-column 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>

View File

@ -57,7 +57,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="typeList" border> <el-table v-loading="loading" :data="typeList" border :max-height="650">
<el-table-column align="center" label="序号" type="index"> <el-table-column 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>

View File

@ -55,7 +55,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" border :data="houseList" ref="multipleTable" row-key="teamId"> <el-table v-loading="loading" border :data="houseList" ref="multipleTable" row-key="teamId" :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) * queryParams.pageSize + scope.$index + 1 }}</span> <span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>

View File

@ -89,7 +89,7 @@
></right-toolbar> ></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="typeList" row-key="id" border> <el-table v-loading="loading" :data="typeList" row-key="id" border :max-height="650">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" /> -->
<el-table-column width="60" align="center" label="序号" type="index" /> <el-table-column width="60" align="center" label="序号" type="index" />
<el-table-column <el-table-column

View File

@ -36,7 +36,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="tableList" border @selection-change="handleSelectionChange" > <el-table v-loading="loading" :data="tableList" border @selection-change="handleSelectionChange" :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">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -85,6 +85,7 @@
:data="tableList" :data="tableList"
row-key="id" row-key="id"
ref="multipleTable" ref="multipleTable"
:max-height="650"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column <el-table-column

View File

@ -57,7 +57,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="tableList" row-key="id" @selection-change="handleSelectionChange" border> <el-table v-loading="loading" :data="tableList" row-key="id" @selection-change="handleSelectionChange" border :max-height="650">
<el-table-column type="selection" align="center" :selectable="selectable"/> <el-table-column type="selection" align="center" :selectable="selectable"/>
<el-table-column align="center" label="序号" type="index" /> <el-table-column align="center" label="序号" type="index" />
<el-table-column align="center" width="180" label="退料单位" prop="backUnit" /> <el-table-column align="center" width="180" label="退料单位" prop="backUnit" />

View File

@ -108,6 +108,7 @@
ref="multipleTable" ref="multipleTable"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
border border
:max-height="650"
> >
<el-table-column <el-table-column
type="selection" type="selection"

View File

@ -96,7 +96,7 @@
></right-toolbar> ></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="testedList" border ref="multipleTable" row-key="taskId" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="testedList" border ref="multipleTable" row-key="taskId" @selection-change="handleSelectionChange" :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">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -27,7 +27,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :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>

View File

@ -27,7 +27,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod" :max-height="650">
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope"> <template scope="scope">
<span v-if="scope.$index==0">合计</span> <span v-if="scope.$index==0">合计</span>

View File

@ -28,7 +28,7 @@
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :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>

View File

@ -28,7 +28,7 @@
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :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>

View File

@ -35,7 +35,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod" :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 v-if="scope.$index == 0">合计</span> <span v-if="scope.$index == 0">合计</span>

View File

@ -27,7 +27,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" ref="multipleTable" border :span-method="objectSpanMethod" :max-height="650">
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope"> <template scope="scope">
<span v-if="scope.$index==0">合计</span> <span v-if="scope.$index==0">合计</span>

View File

@ -126,7 +126,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" border> <el-table v-loading="loading" :data="tableList" border :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>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span> <span>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span>

View File

@ -53,7 +53,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" :span-method="objectSpanMethod" :max-height="650">
<!-- houseName type typeName typeModelName unitName storeNum manageType usNum repairNum inputNum repairInputNum allNum--> <!-- houseName type typeName typeModelName unitName storeNum manageType usNum repairNum inputNum repairInputNum allNum-->
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope"> <template scope="scope">

View File

@ -107,7 +107,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" border> <el-table v-loading="loading" :data="tableList" border :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>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span> <span>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span>

View File

@ -107,7 +107,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" border :span-method="objectSpanMethod"> <el-table v-loading="loading" :data="tableList" border :span-method="objectSpanMethod" :max-height="650">
<!-- houseName type typeName typeModelName unitName storeNum manageType useNum repairNum inputNum repairInputNum allNum--> <!-- houseName type typeName typeModelName unitName storeNum manageType useNum repairNum inputNum repairInputNum allNum-->
<el-table-column label="序号" align="center" type="index"> <el-table-column label="序号" align="center" type="index">
<template scope="scope"> <template scope="scope">

View File

@ -39,7 +39,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">
<!-- houseName type typeName typeModelName unitName storeNum manageType usNum repairNum inputNum repairInputNum allNum--> <!-- houseName type typeName typeModelName unitName storeNum manageType usNum repairNum inputNum repairInputNum allNum-->
<el-table-column label="序号" align="center" type="index"> <el-table-column label="序号" align="center" type="index">
<template scope="scope"> <template scope="scope">

View File

@ -48,7 +48,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-table :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="600">
<el-table-column <el-table-column
type="index" type="index"
width="55" width="55"

View File

@ -36,7 +36,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 :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> --> <!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> -->
<el-table-column <el-table-column

View File

@ -36,7 +36,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 :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> --> <!-- <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> -->
<el-table-column <el-table-column

View File

@ -58,7 +58,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>

View File

@ -77,7 +77,7 @@
</el-form> </el-form>
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table :data="tableList" border> <el-table :data="tableList" border :max-height="650">
<el-table-column <el-table-column
align="center" align="center"
label="序号" label="序号"

View File

@ -77,7 +77,7 @@
</el-form> </el-form>
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table :data="tableList" border> <el-table :data="tableList" border :max-height="650">
<el-table-column <el-table-column
align="center" align="center"
label="序号" label="序号"

View File

@ -77,7 +77,7 @@
</el-form> </el-form>
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table :data="tableList" border> <el-table :data="tableList" border :max-height="650">
<el-table-column <el-table-column
align="center" align="center"
label="序号" label="序号"

View File

@ -55,6 +55,7 @@
row-key="deptId" row-key="deptId"
:default-expand-all="isExpandAll" :default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
:max-height="700"
> >
<el-table-column prop="deptName" label="部门名称" min-width="260"></el-table-column> <el-table-column prop="deptName" label="部门名称" min-width="260"></el-table-column>
<el-table-column prop="orderNum" label="排序" min-width="200"></el-table-column> <el-table-column prop="orderNum" label="排序" min-width="200"></el-table-column>

View File

@ -55,6 +55,7 @@
row-key="menuId" row-key="menuId"
:default-expand-all="isExpandAll" :default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
:max-height="700"
> >
<el-table-column prop="menuName" label="菜单名称" align="center" :show-overflow-tooltip="true" width="160"></el-table-column> <el-table-column prop="menuName" label="菜单名称" align="center" :show-overflow-tooltip="true" width="160"></el-table-column>
<el-table-column prop="icon" label="图标" align="center" min-width="100"> <el-table-column prop="icon" label="图标" align="center" min-width="100">

View File

@ -122,7 +122,7 @@
<span>{{ parseTime(scope.row.createTime) }}</span> <span>{{ parseTime(scope.row.createTime) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template slot-scope="scope" v-if="scope.row.roleId !== 1 && scope.row.isBuiltIn !== '0'"> <template slot-scope="scope" v-if="scope.row.roleId !== 1 && scope.row.isBuiltIn !== '0'">
<el-button <el-button
size="mini" size="mini"

View File

@ -73,7 +73,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 :data="tableList" fit highlight-current-row style="width: 100%"> <el-table :data="tableList" fit highlight-current-row style="width: 100%" :max-height="650">
<!-- 多选 --> <!-- 多选 -->
<el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" /> <el-table-column type="selection" width="55" align="center" @selection-change="selectionChange" />
<el-table-column <el-table-column