SanHQin 2 months ago
parent
commit
252b39cc96

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.137141548ac3110c35160d7a9057214e.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.25ad5c505a471db56fe8.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.a7f85de81652e003bed5e38b4db522fd.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.b362e43a97ecebc699ba.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a7f85de81652e003bed5e38b4db522fd.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a7f85de81652e003bed5e38b4db522fd.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b362e43a97ecebc699ba.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b362e43a97ecebc699ba.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 7 - 6
src/components/pages/test/data/randar1.vue

@@ -5,7 +5,7 @@
         </div>
     </div>
 </template>
-  
+
 <script>
 export default {
     props: {
@@ -50,12 +50,12 @@ export default {
                                 },
                                 lineStyle: {
                                     normal: {
-                                        color: '#3673E8' // 
+                                        color: '#3673E8' //
                                     }
                                 },
                                 areaStyle: {
                                     normal: {
-                                        color: '#3673E833' // 
+                                        color: '#3673E833' //
                                     }
                                 }
                             }
@@ -85,6 +85,7 @@ export default {
             });
         },
         setJson(array) {
+          array = array.filter(i=>i.zcount>0);
             this.ooption = {
                 indicator: [],
                 max: 100,
@@ -103,7 +104,7 @@ export default {
             for(var i = 0;i<this.ooption.indicator.length;i++){
                 this.ooption.indicator[i].max = this.ooption.max
             }
-            
+
             if (!this.chartObj) {
                 this.setChart(this.ooption);
             } else {
@@ -134,7 +135,7 @@ export default {
     },
 };
 </script>
-  
+
 <style scoped>
 .data_body {
     height: 100%;
@@ -148,4 +149,4 @@ export default {
     width: 100%;
     /* background: #fff; */
 }
-</style>
+</style>

+ 1 - 1
src/components/pages/test/data/randar2.vue

@@ -104,7 +104,7 @@ export default {
             });
         },
         setJson(array) {
-            // array = array.filter(i=>i.kcount>0);
+            array = array.filter(i=>i.kcount>0);
             this.ooption = {
                 xdata: [],
                 sdata: [],

+ 8 - 2
src/components/pages/test/index.vue

@@ -103,7 +103,8 @@
                     </div>
                     <div class= "right" style="height: calc(100% - 20px);">
                         <div class="emptyArea" v-if="typeJArray.length<=0">
-                          <img src="../../../assets/icon/test/noDataSvg.svg">
+                          <span>暂无数据...</span>
+                          <!-- <img src="../../../assets/icon/test/noDataSvg.svg"> -->
                         </div>
                         <randar-2 :typeJArray="typeJArray" v-else></randar-2>
                     </div>
@@ -2491,6 +2492,11 @@ export default {
 }
 
 .emptyArea>img{
-  height: 50%;
+  height: 40%;
+}
+
+.emptyArea>span{
+  font-size: 14px;
+  color: #A7A7A7;
 }
 </style>

Some files were not shown because too many files changed in this diff