zhangxc 4 years ago
parent
commit
a71d9d3a0d
3 changed files with 6 additions and 4 deletions
  1. 3 3
      src/css/qcScore.less
  2. 1 1
      src/html/qcScore.html
  3. 2 0
      src/js/console.js

+ 3 - 3
src/css/qcScore.less

@@ -569,7 +569,7 @@
   margin-top: 120px;
   text-align: center;
   img{
-    width: 86px;
+    width: 140px;
   }
   p{
     margin-top: 15px;
@@ -768,9 +768,9 @@
       line-height: 44px;
       border-bottom: 1px @tableBorderColor solid;
       font-size: 16px;
-      font-weight: normal;
+      font-weight: bold;
       margin-bottom: 20px;
-      text-indent: 20px;
+      text-align: center;
     }
   }
   .interval-color{

+ 1 - 1
src/html/qcScore.html

@@ -233,7 +233,7 @@
             <h2 class="title" code="${title}">${title}</h2>
             {{if !data || data&&data.length === 0}}
             <div class="empty">
-                <img src="../images/empty.png" alt="空"/>
+                <img src="../images/empty1.png" alt="空"/>
                 <p>暂无信息~</p>
             </div>
             {{else}}

+ 2 - 0
src/js/console.js

@@ -357,7 +357,9 @@ function getHomeData(name){
             if(data.code == 0){
                 let result1 = data.data||[]
                 let data1=result1['合格率'],data2=result1['完整率'],data3=result1['改善率'],tmp1=[],tmp2=[],tmp3=[]
+                console.log("data1",data1)
                 if(data1&&data1.totleNum == 0){
+                   
                     $(".binganshouye").css("display","block")
                     $(".bldjss").css("display","none")
                     picEmptyData(".binganshouyeEmpty")