Ver código fonte

Merge remote-tracking branch 'origin/versionV1.3.5' into test

zhouna 5 anos atrás
pai
commit
7dbfa1d426

+ 1 - 0
src/css/qcList.less

@@ -115,6 +115,7 @@ table{
     left: 1008px;
     top: 8px;
     color: #777;
+    white-space: nowrap;
     font-size: 14px;
     background: url("../images/arrow_up.png") 60px center no-repeat;
     padding-right: 15px;

+ 1 - 0
src/css/qcListDept.less

@@ -113,6 +113,7 @@ table{
     left: 1008px;
     top: 8px;
     color: #777;
+    white-space: nowrap;
     font-size: 14px;
     background: url("../images/arrow_up.png") 60px center no-repeat;
     padding-right: 15px;

+ 1 - 0
src/css/qcListDocteam.less

@@ -112,6 +112,7 @@ table{
     left: 788px;
     top: 8px;
     color: #777;
+    white-space: nowrap;
     font-size: 14px;
     background: url("../images/arrow_up.png") 60px center no-repeat;
     padding-right: 15px;

+ 1 - 0
src/css/qcListPerson.less

@@ -118,6 +118,7 @@ table{
     left: 1008px;
     top: 8px;
     color: #777;
+    white-space: nowrap;
     font-size: 14px;
     background: url("../images/arrow_up.png") 60px center no-repeat;
     padding-right: 15px;

+ 8 - 3
src/js/qcList.js

@@ -708,9 +708,14 @@ function bindColOrder(){
 }
 
 $(".patientNumInp").on("input", function(e){
-    const val = $(this).val().trim()
-    behospitalCodeTemp = val
-})
+    const val = $(this).val().trim();
+    let beCode=behospitalCode;
+    const patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/g;
+    beCode=val.replace(patrn,function(x){
+        return "\\"+x;
+    });
+    behospitalCodeTemp = beCode
+});
 $(".patientNameInp").on("input", function(e){
     const val = $(this).val().trim()
     nameTemp = val

+ 6 - 1
src/js/qcListDept.js

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

+ 6 - 1
src/js/qcListDocteam.js

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

+ 6 - 1
src/js/qcListPerson.js

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