Commit f79fc989 authored by honghy's avatar honghy Committed by wux

列表底部滚动条固定

parent 7d5bfa1f
......@@ -998,6 +998,9 @@ export default {
}
},
watch: {
showSearch() {
this.handleQuery()
},
selectCustomerList(val) {
if (val.length === 0) {
this.getList()
......@@ -1533,6 +1536,7 @@ export default {
},
//表格高度自适应
getHeight() {
this.$refs.multipleTable.doLayout()
let getHeightFromBottom = (element, variableHeight) => {
const elementRect = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
......
......@@ -975,6 +975,7 @@ export default {
},
//表格高度自适应
getHeight() {
this.$refs.multipleTable.doLayout()
let getHeightFromBottom = (element, variableHeight) => {
const elementRect = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
......@@ -988,6 +989,9 @@ export default {
},
},
watch: {
showSearch() {
this.handleQuery()
},
selectCustomerList(val) {
if (val.length === 0) {
this.getList()
......
......@@ -695,6 +695,11 @@ export default {
this.$refs.multipleTable.doLayout()
})
},
watch: {
showSearch() {
this.handleQuery()
}
},
computed: {
isChinese() {
return this.$i18n.locale === "zh_CN";
......@@ -1071,6 +1076,7 @@ export default {
},
//表格高度自适应
getHeight() {
this.$refs.multipleTable.doLayout()
let getHeightFromBottom = (element, variableHeight) => {
const elementRect = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
......
......@@ -227,6 +227,9 @@ export default {
}
},
watch: {
showSearch() {
this.handleQuery()
},
selectCustomerFollowList(val) {
if (val.length === 0) {
this.getDataSpaceCustomerFollowupList()
......@@ -333,6 +336,7 @@ export default {
},
//表格高度自适应
getHeight() {
this.$refs.multipleTable.doLayout()
let getHeightFromBottom = (element, variableHeight) => {
const elementRect = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
......
......@@ -201,7 +201,7 @@
</el-row>
<!-- 列表 -->
<el-table v-loading="loading" border :data="list" @selection-change="handleSelectionChange" id="dataTable" :height="autoHeight">
<el-table v-loading="loading" border :data="list" @selection-change="handleSelectionChange" ref="dataTable" id="dataTable" :height="autoHeight">
<el-table-column type="selection" width="55" align="center" />
<el-table-column :label="$t('订单编号')" width="120px" align="center" prop="orderNo" fixed>
......@@ -852,7 +852,9 @@ export default {
this.getList()
},
// provinceCode destCountryId
showSearch() {
this.handleQuery()
},
destCountryId: {
//监听当前地区值的变化,于与上方地区值进行了双向绑定
deep: true, //深度监听
......@@ -1504,6 +1506,7 @@ export default {
},
//表格高度自适应
getHeight() {
this.$refs.dataTable.doLayout()
let getHeightFromBottom = (element, variableHeight) => {
const elementRect = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment