表格修复

duhanyu
许宏杰 2 years ago
parent 42bd4f08f7
commit 9fc9b358d5

@ -42,19 +42,19 @@
}
//
.el-table .el-table__header-wrapper th {
font-size: 12px;
font-weight: 400;
// height: 35px;
color: #666;
background-color: #f2f2f2;
}
.el-table--medium .el-table__cell {
padding: 3px 0;
// height: 35px;
font-size: 12px;
color: #666;
}
// .el-table .el-table__header-wrapper th {
// font-size: 12px;
// font-weight: 400;
// // height: 35px;
// color: #666;
// background-color: #f2f2f2;
// }
// .el-table--medium .el-table__cell {
// padding: 3px 0;
// // height: 35px;
// font-size: 12px;
// color: #666;
// }
.el-table .fixed-width .el-button--mini {
font-size: 12px;
@ -80,7 +80,8 @@
color: white;
}
}
.el-select,.el-date-editor{
.el-select,
.el-date-editor {
width: 100%;
}
}

@ -69,7 +69,7 @@
// dropdown
.el-dropdown-menu {
a {
display: block
display: block;
}
}
@ -89,4 +89,4 @@
> .el-submenu__title
.el-submenu__icon-arrow {
display: none;
}
}

@ -76,7 +76,6 @@
<el-table
v-loading="loading"
:data="DataSourceTjList"
:height="tableHeigth"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
@ -257,15 +256,7 @@ export default {
};
},
created() {
// //
this.$nextTick(() => {
this.tableHeigth =
this.$refs.main.offsetHeight -
(this.$refs.topSearch.offsetHeight +
this.$refs.tableTool.offsetHeight) -
46;
this.getList();
});
this.getList();
},
methods: {
/** 查询数据来源统计tc_sjlytj 列表 */

Loading…
Cancel
Save