|
@@ -1103,7 +1103,16 @@
|
|
|
exitFullscreen();
|
|
|
})
|
|
|
})
|
|
|
- $(window).resize(echartsReset);
|
|
|
+ let resizeTimer = null;
|
|
|
+ $(window).bind('resize', function () {
|
|
|
+ if (resizeTimer) clearTimeout(resizeTimer);
|
|
|
+ resizeTimer = setTimeout(function () {
|
|
|
+ echartsReset();
|
|
|
+ $(".tableid_").find('th').each(function(i) {
|
|
|
+ $(this).css('width', $('#tableId').find('th:eq(' + i + ')').innerWidth());
|
|
|
+ });
|
|
|
+ }, 500);
|
|
|
+ })
|
|
|
|
|
|
// 数据全屏
|
|
|
function launchIntoFullscreen(element) {
|
|
@@ -1506,6 +1515,8 @@
|
|
|
myChart4_1.setOption(option4);
|
|
|
myChart4_2.setOption(option4);
|
|
|
|
|
|
+ $('#tableId').css({'margin-top': 0});
|
|
|
+
|
|
|
// 地图设置
|
|
|
// const polyLineList = [];
|
|
|
// const centerPoint = { lng: mapJson.lng, lat: mapJson.lat };
|