|
@@ -75,7 +75,7 @@
|
|
|
搜索到实验室总数 {{numData.sumTotal}},存在危险源的实验室数 {{numData.hazardSubjectTotal}},危险源总数 {{numData.hazardTotal}}<span v-for="item in numData.classListVo">,{{item.levelName}} {{item.amount}}</span>
|
|
|
</div>
|
|
|
<el-table border :data="tableList" ref="multipleTable"
|
|
|
- :row-key="getRowKeys"
|
|
|
+ tooltip-effect="dark" :row-key="getRowKeys"
|
|
|
@select="select" @select-all="selectAll">
|
|
|
<el-table-column type="selection" width="50" align="center" fixed/>
|
|
|
<el-table-column label="序号" align="center" type="index" width="60" fixed/>
|
|
@@ -165,7 +165,7 @@
|
|
|
obj.endTime = "";
|
|
|
}
|
|
|
dataStatisticsSubList(obj).then(response => {
|
|
|
- this.total = response.total;
|
|
|
+ this.total = response.data.total;
|
|
|
this.tableList = response.data.records;
|
|
|
});
|
|
|
dataStatisticsSubListTop(obj).then(response => {
|
|
@@ -232,6 +232,8 @@
|
|
|
},
|
|
|
// 单选
|
|
|
select (selection, row) {
|
|
|
+ console.log('selection',selection)
|
|
|
+ console.log('row',row)
|
|
|
if (selection.some(el => { return row.id === el.id })) {
|
|
|
if (row.children) {
|
|
|
this.setChildren(row.children, true)
|
|
@@ -272,16 +274,17 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+ ::v-deep .el-table__body-wrapper{
|
|
|
+ padding-bottom: 8px;
|
|
|
+ }
|
|
|
::v-deep .el-table__fixed{
|
|
|
margin-top:-1px;
|
|
|
margin-left:-1px;
|
|
|
- height:100%!important;
|
|
|
+ height:calc(100% - 8px)!important;
|
|
|
}
|
|
|
::v-deep .el-table__fixed-body-wrapper{
|
|
|
height: calc(100% - 48px);
|
|
|
overflow-y: auto;
|
|
|
- pointer-events: none;
|
|
|
- cursor: default;
|
|
|
}
|
|
|
.laboratoryStatistics{
|
|
|
flex:1;
|