zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
af608d12d2
Modificáronse 4 ficheiros con 7 adicións e 4 borrados
  1. 1 0
      src/css/qcList.less
  2. 1 0
      src/css/qcListDept.less
  3. 1 0
      src/css/qcListPerson.less
  4. 4 4
      src/js/qcList.js

+ 1 - 0
src/css/qcList.less

@@ -81,6 +81,7 @@ table{
     cursor: pointer;
     img{
         margin: 0 10px 0 0;
+        vertical-align: middle;
     }
 }
 

+ 1 - 0
src/css/qcListDept.less

@@ -81,6 +81,7 @@ table{
     cursor: pointer;
     img{
         margin: 0 10px 0 0;
+        vertical-align: middle;
     }
 }
 

+ 1 - 0
src/css/qcListPerson.less

@@ -81,6 +81,7 @@ table{
     cursor: pointer;
     img{
         margin: 0 10px 0 0;
+        vertical-align: middle;
     }
 }
 

+ 4 - 4
src/js/qcList.js

@@ -361,7 +361,7 @@ $('.recordScoreBtn').on("click",function(e){
     } else{
         loading()
         for(let j = 0; j < scoreList.length; j++){
-            recordScore(scoreList[j],scoreList.length)
+            recordScore(scoreList[j],scoreList.length,true)
         }
     }
 })
@@ -394,9 +394,9 @@ function recordScore(behospitalCode,totalNum,hasToast){
                 const activePage = $(".activePage").attr('data-page') || 1
 
                 getTabData(activePage)
-            }
-            if(hasToast){
-                $.alerModal({"message":'评分成功',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
+                if(hasToast){
+                  $.alerModal({"message":'评分成功',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
+                }
             }
             
         }else{