zhangxc 5 lat temu
rodzic
commit
d33d70007e
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/js/qcScore.js

+ 1 - 2
src/js/qcScore.js

@@ -123,7 +123,6 @@ function getRecordDetail(){
 
 //填充患者信息
 function initPatientInfo(data){
-  console.log('global_check',global_check)
   const obj=Object.assign({},data,{age:!global_age||global_age=="null"?"-":global_age,checkState:global_check});
   $("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
   $(".check").on("click", function(){
@@ -642,7 +641,7 @@ function formatFlawKeys(data){
         $.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":res.msg ||"核查失败",type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
+        $.alerModal({"message":res.data.msg ||"核查失败",type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
       }
     });
   }