Commit c1468e63 authored by youjie's avatar youjie

no message

parent 339fdb23
...@@ -26,11 +26,12 @@ ...@@ -26,11 +26,12 @@
</el-row> </el-row>
</div> </div>
<div style="padding: 0 0 30px 0;background: #ffffff;"> <div style="padding: 0 0 30px 0;background: #ffffff;">
<!-- :style="{'height':screenHeight}" -->
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="dataList" :data="dataList"
style="width: 100%;" style="width: 100%;"
height="660" :height="screenHeight+'px'"
border border
:span-method="objectSpanMethod" :span-method="objectSpanMethod"
:default-sort = "{prop: 'date', order: 'descending'}"> :default-sort = "{prop: 'date', order: 'descending'}">
...@@ -342,10 +343,15 @@ ...@@ -342,10 +343,15 @@
StartTime:'', StartTime:'',
EndTime:'' EndTime:''
}, },
times:[] times:[],
screenHeight:'',//获取显示器高度
}; };
}, },
mounted() { mounted() {
const that = this;
that.screenHeight = (window.innerHeight-300)
// console.log(window.innerHeight);
this.getEnumerate() this.getEnumerate()
this.init(); this.init();
}, },
......
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