Commit 3a32dd7e authored by youjie's avatar youjie

no message

parent b4d5ada9
......@@ -77,8 +77,9 @@
<span style="color:#000000;background-color: #808000;padding:2px 4px;border-radius:5px">行前日</span>
</div>
<template v-if="isShow">
<el-table v-if="dataList.length>0" :data="dataList" style="width:100%" border v-loading='loading'
:height="tableHeight">
<el-table v-if="dataList.length>0" :data="dataList"
style="width:100%" border v-loading='loading'
ref="mytable" key="HotelId" :height="tableHeight">
<el-table-column fixed label="酒店名称" min-width="180">
<template slot-scope="scope">
<!-- @click="GotoHotel(scope.row.HotelId)" -->
......@@ -384,14 +385,7 @@
watch: {
dataList:{
handler(val, oldVal){
let that = this
that.$nextTick(()=>{
that.com_onresize();
window.onresize = () => {
that.com_onresize();
}
that.$forceUpdate();
})
},
deep: true
}
......@@ -507,6 +501,10 @@
this.dataList = res.data.data.pageData;
this.total = res.data.data.count
this.isShow = true;
let _this = this
this.$nextTick(() => {
_this.$refs.mytable.doLayout();
})
} else {
this.Error(res.data.message);
}
......
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