From 17ab57553df0ff07d4b913bb1f315f9f45a9bc0e Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 03 Feb 2023 17:08:51 +0800
Subject: [PATCH] json数据修改,表格内容根据所画区域渲染,去除第一层弹窗

---
 corelib/common/popup/js/evaluateAnalysis.js |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/corelib/common/popup/js/evaluateAnalysis.js b/corelib/common/popup/js/evaluateAnalysis.js
index 01875df..0ce5ace 100644
--- a/corelib/common/popup/js/evaluateAnalysis.js
+++ b/corelib/common/popup/js/evaluateAnalysis.js
@@ -1,12 +1,12 @@
 $(function () {
-// change事件
+    // change事件
     $('input[type=radio][name=value]').change(function () {
         if (this.value == 'list'){
             $('.evaluate-echarts').hide()
             $('.evaluate-box-top-left').css('visibility','visible')
-            $('.evaluate-table-thead').show()
+            $('.evaluate-table').show()
         }else {
-            $('.evaluate-table-thead').hide()
+            $('.evaluate-table').hide()
             $('.evaluate-box-top-left').css('visibility','hidden')
 
             recharts_z()
@@ -15,7 +15,9 @@
         }
     });
 
+    //加载饼图
     function loadEcharts(){
+
         var echartsOption = {
             tooltip: {
                 trigger: 'item'
@@ -57,15 +59,12 @@
             ]
         }
 
-
-
         var chartDom = document.getElementById('evaluate-echarts');
         var myChart = echarts.init(chartDom);
         echartsOption&&myChart.setOption(echartsOption,true);
     }
 
     function recharts_z() {
-        console.log($(window).width(),$(window).height(),"777")
         var width = $(window).width() * 0.8;
         var height = ($(window).height() - 50) - 80;
         $('#evaluate-echarts').empty();
@@ -78,4 +77,13 @@
         }
         myChartPie.resize(resize);
     }
+
+    //获取参数
+    function GetQueryString(name) {
+        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
+        var r = window.location.search.substr(1).match(reg);
+        if (r != null) return unescape(r[2]);
+        return null;
+    }
+
 });

--
Gitblit v1.9.3