kz-ui-base 2.5.167 → 2.5.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
</el-col>
|
|
364
364
|
</template>
|
|
365
365
|
<el-table
|
|
366
|
-
:height="
|
|
366
|
+
:height="tableHeight2"
|
|
367
367
|
:border="true"
|
|
368
368
|
:key="dex"
|
|
369
369
|
v-loading="loading"
|
|
@@ -704,6 +704,7 @@ export default class doubleBasePageTs extends ListBasePage {
|
|
|
704
704
|
activeName = "0";
|
|
705
705
|
//表格高度
|
|
706
706
|
tableHeight = "700";
|
|
707
|
+
tableHeight2 = "700";
|
|
707
708
|
//独立搜索
|
|
708
709
|
searchShow = false;
|
|
709
710
|
//多表格独立自定义按钮
|
|
@@ -796,16 +797,22 @@ export default class doubleBasePageTs extends ListBasePage {
|
|
|
796
797
|
this.$nextTick(function() {
|
|
797
798
|
this.tableHeight =
|
|
798
799
|
window.innerHeight / 2 -
|
|
799
|
-
this.$refs.multipleTable.$el.getBoundingClientRect().top;
|
|
800
|
+
this.$refs.multipleTable.$el.getBoundingClientRect().top + 100;
|
|
801
|
+
this.tableHeight2 =
|
|
802
|
+
window.innerHeight / 2 -
|
|
803
|
+
this.$refs.multipleTable.$el.getBoundingClientRect().top + 100;
|
|
800
804
|
|
|
801
|
-
//
|
|
805
|
+
// 监听窗口大小变化
|
|
802
806
|
|
|
803
807
|
var that = this;
|
|
804
808
|
|
|
805
809
|
window.onresize = function() {
|
|
806
810
|
that.tableHeight =
|
|
807
811
|
window.innerHeight / 2 -
|
|
808
|
-
that.$refs.multipleTable.$el.getBoundingClientRect().top;
|
|
812
|
+
that.$refs.multipleTable.$el.getBoundingClientRect().top + 100;
|
|
813
|
+
that.tableHeight2 =
|
|
814
|
+
window.innerHeight / 2 -
|
|
815
|
+
that.$refs.multipleTable.$el.getBoundingClientRect().top + 100;
|
|
809
816
|
};
|
|
810
817
|
});
|
|
811
818
|
}
|