|
@@ -59,9 +59,10 @@
|
|
|
<input-dialog :type='1' @confirm='confirm'></input-dialog>
|
|
|
</div>
|
|
|
<div class='gdqd-dialog-bottom'>
|
|
|
+ <!-- TODO: 宽度修改 -->
|
|
|
<el-table @row-click='innerTable' :data='tableData' :key='key' :border='true' style='width: 100%' :highlight-current-row='true'>
|
|
|
<el-table-column type='index' label='序号' width='60'></el-table-column>
|
|
|
- <el-table-column prop='sbjc' label='设备名称' show-overflow-tooltip resizable min-width='500'>
|
|
|
+ <el-table-column prop='sbjc' label='设备名称' show-overflow-tooltip resizable min-width='338'>
|
|
|
<template slot-scope='{row}'>{{row.sbjc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='assetnum' label='设备内码' show-overflow-tooltip resizable width='80'>
|
|
@@ -76,19 +77,19 @@
|
|
|
<el-table-column prop='brand' label='品牌' show-overflow-tooltip resizable width='80'>
|
|
|
<template slot-scope='{row}'>{{row.brand || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='sbxh' label='型号' show-overflow-tooltip resizable width='80'>
|
|
|
+ <el-table-column prop='sbxh' label='型号' show-overflow-tooltip resizable width='100'>
|
|
|
<template slot-scope='{row}'>{{row.sbxh || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='floor' sortable label='楼层' width='70' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.floorcode || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='wzjc' label='安装位置' show-overflow-tooltip resizable min-width='150'>
|
|
|
+ <el-table-column prop='wzjc' label='安装位置' show-overflow-tooltip resizable min-width='250'>
|
|
|
<template slot-scope='{row}'>{{row.wzjc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='manufacturer' label='生产厂商' show-overflow-tooltip resizable min-width='150'>
|
|
|
+ <el-table-column prop='manufacturer' label='生产厂商' show-overflow-tooltip resizable min-width='300'>
|
|
|
<template slot-scope='{row}'>{{row.manufacturer || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='fws' label='服务商' show-overflow-tooltip resizable min-width='150'>
|
|
|
+ <el-table-column prop='fws' label='服务商' show-overflow-tooltip resizable min-width='300'>
|
|
|
<template slot-scope='{row}'>{{row.fws || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='相关资料' show-overflow-tooltip resizable min-width='150'>
|
|
@@ -385,9 +386,12 @@ export default {
|
|
|
height: 90vh;
|
|
|
.gdqd-top {
|
|
|
.gdqd-dialog-bottom {
|
|
|
- overflow: auto;
|
|
|
- max-height: 17.6vh;
|
|
|
margin-top: 20px;
|
|
|
+ // 表格主体(数据列,不含表头),高度
|
|
|
+ /deep/.el-table__body-wrapper {
|
|
|
+ overflow: auto;
|
|
|
+ max-height: 13.6vh;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// 底部表格
|
|
@@ -447,20 +451,12 @@ export default {
|
|
|
.gdqd-dialog td {
|
|
|
padding: 4px 0;
|
|
|
}
|
|
|
- .gdqd-dialog-bottom {
|
|
|
- max-height: 20vh !important;
|
|
|
- }
|
|
|
}
|
|
|
@media screen and (max-width: 1366px) {
|
|
|
.gdqd-dialog {
|
|
|
/deep/ .el-table td {
|
|
|
padding: 1px 0 !important;
|
|
|
}
|
|
|
- .gdqd-dialog-bottom {
|
|
|
- max-height: 20vh !important;
|
|
|
- margin-top: 10px !important;
|
|
|
- }
|
|
|
-
|
|
|
.table-bottom {
|
|
|
.title {
|
|
|
height: 60px !important;
|
|
@@ -475,7 +471,7 @@ export default {
|
|
|
</style>
|
|
|
<style lang="less">
|
|
|
.gdqd-dialog {
|
|
|
- /deep/.el-table td {
|
|
|
+ /deep/.el-table__body-wrapper td {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.el-dialog__header {
|