f6333e41 by 杨威

更正和添加页面样式修改,报错问题解决

1 parent 07b87cf8
......@@ -69,7 +69,7 @@
type: [],
},
tableData: [],
tableHeight: "",
tableHeight: 0,
};
},
created() {
......@@ -79,9 +79,9 @@
pageNo: this.pageNo,
pageSize: this.pageSize,
})
this.$nextTick(()=>{
this.tableHeight = this.$refs.dataGrid.offsetHeight - 68;
})
this.$nextTick(() => {
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 255;
});
},
methods: {
handleCurrentChange(val) {
......@@ -150,7 +150,7 @@
padding: 0 18px;
display: flex;
flex-direction: column;
background-color: #fcfdff;
background-color: #EAEDF5;
.demo-form-inline {
margin-top: 18px;
.moreSearchBtn {
......
......@@ -71,16 +71,16 @@
},
queryData: {},
tableData: [],
tableHeight: "",
tableHeight: 0,
};
},
created() {
},
mounted() {
this.getData({})
this.$nextTick(()=>{
this.tableHeight = this.$refs.dataGrid.offsetHeight - 68;
})
this.$nextTick(() => {
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 255;
});
},
methods: {
handleCurrentChange(val) {
......@@ -168,7 +168,7 @@
padding: 0 18px;
display: flex;
flex-direction: column;
background-color: #fcfdff;
background-color: #EAEDF5;
.demo-form-inline {
margin-top: 18px;
.moreSearchBtn {
......@@ -182,7 +182,6 @@
}
.dataGrid {
flex: 1;
margin-top: 20px;
.pagination {
padding: 18px 0;
}
......