|
@@ -118,6 +118,20 @@ $(document).ready(function() {
|
|
|
},
|
|
|
}
|
|
|
|
|
|
+ let resizeTimer = null;
|
|
|
+ $(window).bind('resize', function () {
|
|
|
+ if (resizeTimer) clearTimeout(resizeTimer);
|
|
|
+ resizeTimer = setTimeout(function () {
|
|
|
+ echartsReset();
|
|
|
+ }, 500);
|
|
|
+ })
|
|
|
+
|
|
|
+ function echartsReset() {
|
|
|
+ tenderChart.resize();
|
|
|
+ payUsedChart.resize();
|
|
|
+ paySeChart.resize();
|
|
|
+ }
|
|
|
+
|
|
|
//标段占比
|
|
|
const tenderChart = echarts.init(document.getElementById('jlchart3'));
|
|
|
const tenderOption = {
|