소스 검색

Merge branch 'version1.3.7' into test

zhangxc 5 년 전
부모
커밋
dfa3b05a46
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      src/css/qcScore.less
  2. 5 2
      src/js/qcScore.js

+ 1 - 0
src/css/qcScore.less

@@ -470,6 +470,7 @@
     margin-right: 10px;
     position: relative;
     background: #fff;
+    display: none;
     .flaw-title{
       position: absolute;
       top:0;

+ 5 - 2
src/js/qcScore.js

@@ -624,6 +624,9 @@ function formatFlawKeys(data){
         global_modules=data;
         getRecordDetail();
         $("#loading").hide();
+        setTimeout(function(){
+          $(".operation").show()
+        },50)
       }
     });
   }
@@ -636,10 +639,10 @@ function formatFlawKeys(data){
       if(res.data.code==='0') {
         global_check = 1
         $(".check").text("重新核查")
-        $.alerModal({"message":`<div class="checkTipsBox"><img class="checkImg" src=${checkOk}><p class="checkTxt">核成功</p></div>`,type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
+        $.alerModal({"message":`<div class="checkTipsBox"><img class="checkImg" src=${checkOk}><p class="checkTxt">核成功</p></div>`,type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
        
       }else{
-        $.alerModal({"message":'核查失败',type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
+        $.alerModal({"message":res.msg ||"核查失败",type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
       }
     });
   }