表格修复

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

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

@ -69,7 +69,7 @@
// dropdown // dropdown
.el-dropdown-menu { .el-dropdown-menu {
a { a {
display: block display: block;
} }
} }

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

Loading…
Cancel
Save