|
@@ -77,10 +77,10 @@
|
|
<el-table border :data="tableList" ref="multipleTable"
|
|
<el-table border :data="tableList" ref="multipleTable"
|
|
:row-key="getRowKeys"
|
|
:row-key="getRowKeys"
|
|
@select="select" @select-all="selectAll">
|
|
@select="select" @select-all="selectAll">
|
|
- <el-table-column type="selection" width="50" align="center"/>
|
|
|
|
- <el-table-column label="序号" align="center" type="index" width="60" />
|
|
|
|
- <el-table-column label="学院" align="center" prop="collegeName" show-overflow-tooltip width="200"/>
|
|
|
|
- <el-table-column label="实验室" align="center" prop="subjectName" show-overflow-tooltip width="180"/>
|
|
|
|
|
|
+ <el-table-column type="selection" width="50" align="center" fixed/>
|
|
|
|
+ <el-table-column label="序号" align="center" type="index" width="60" fixed/>
|
|
|
|
+ <el-table-column label="学院" align="center" prop="collegeName" show-overflow-tooltip width="200" fixed/>
|
|
|
|
+ <el-table-column label="实验室" align="center" prop="subjectName" show-overflow-tooltip width="180" fixed/>
|
|
<el-table-column label="房间号" align="center" prop="roomNumber" show-overflow-tooltip width="100"/>
|
|
<el-table-column label="房间号" align="center" prop="roomNumber" show-overflow-tooltip width="100"/>
|
|
<el-table-column label="楼栋" align="center" prop="buildName" show-overflow-tooltip width="180"/>
|
|
<el-table-column label="楼栋" align="center" prop="buildName" show-overflow-tooltip width="180"/>
|
|
<el-table-column label="安全分类" align="center" prop="typeName" show-overflow-tooltip width="100"/>
|
|
<el-table-column label="安全分类" align="center" prop="typeName" show-overflow-tooltip width="100"/>
|
|
@@ -272,6 +272,17 @@
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
|
+ ::v-deep .el-table__fixed{
|
|
|
|
+ margin-top:-1px;
|
|
|
|
+ margin-left:-1px;
|
|
|
|
+ height:100%!important;
|
|
|
|
+ }
|
|
|
|
+ ::v-deep .el-table__fixed-body-wrapper{
|
|
|
|
+ height: calc(100% - 48px);
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ cursor: default;
|
|
|
|
+ }
|
|
.laboratoryStatistics{
|
|
.laboratoryStatistics{
|
|
flex:1;
|
|
flex:1;
|
|
display: flex;
|
|
display: flex;
|