zhangxc 5 years atrás
parent
commit
4c56d235fa
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/js/qcListCopy.js

+ 5 - 5
src/js/qcListCopy.js

@@ -186,7 +186,7 @@ $(".abnormalClear").on("click", function(e){
     doctorNum=""; 
     doctorNameTemp=""; 
     doctorNumTemp=""; 
-    data_desc=["leave_hospital_date"]
+    data_desc=["leaveHospitalDate"]
     data_asc=[];
     $('.patientNumInp').val('')
     $('.patientNameInp').val('')
@@ -730,10 +730,10 @@ function bindColOrder(){
 $(".patientNumInp").on("input", function(e){
     const val = $(this).val().trim();
     let beCode=behospitalCode;
-    const patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/g;
-    beCode=val.replace(patrn,function(x){
-        return "\\"+x;
-    });
+    // const patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/g;
+    // beCode=val.replace(patrn,function(x){
+    //     return "\\"+x;
+    // });
     behospitalCodeTemp = beCode
 });
 $(".patientNameInp").on("input", function(e){