Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

csx 5 years ago
parent
commit
9f3f46cc8e
3 changed files with 23 additions and 22 deletions
  1. 1 1
      src/pages/main/PatientBox.vue
  2. 8 7
      src/pages/main/dialog/PrescriptionDialog.vue
  3. 14 14
      src/styles/media.scss

+ 1 - 1
src/pages/main/PatientBox.vue View File

@@ -452,7 +452,7 @@ export default {
452 452
 }
453 453
 .yztx {
454 454
   margin: 0 5px;
455
-  padding: 4px 10px;
455
+  padding: 3px 10px;
456 456
   background-color: #f56c6c;
457 457
   color: #fff;
458 458
   border-radius: 15px;

+ 8 - 7
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -1078,15 +1078,16 @@
1078 1078
         for (let keys in treatment_mode) {
1079 1079
           if (treatment_mode[keys].id == val) {
1080 1080
             treatment_mode_name = treatment_mode[keys].name
1081
-            if (treatment_mode_name == 'HD' || treatment_mode_name == 'HD+HP' || treatment_mode_name == 'HP' || treatment_mode_name == 'HF' || treatment_mode_name == 'SCUF' || treatment_mode_name == 'IUF' || treatment_mode_name == 'HFHD' || treatment_mode_name == 'HFHD +HP' || treatment_mode_name == 'PHF'|| treatment_mode_name == 'HFR' || treatment_mode_name == 'CRRT' || treatment_mode_name == '腹水回收' || treatment_mode_name == 'HD前置换' || treatment_mode_name == 'HD后置换') {
1082
-              this.zhiShow = false
1083
-              this.totalShow = false
1084
-              this.huShow = false
1085
-            } else {
1081
+          var treatment_mode_id = treatment_mode[keys].id
1082
+          console.log("呵呵",treatment_mode_id)
1083
+            if(treatment_mode_id === 1 || treatment_mode_id === 3 || treatment_mode_id === 4 || treatment_mode_id === 5 || treatment_mode_id === 6 || treatment_mode_id === 7 || treatment_mode_id === 8 || treatment_mode_id === 9 || treatment_mode_id === 10 || treatment_mode_id === 11 || treatment_mode_id === 13 || treatment_mode_id === 14 || treatment_mode_id === 15 || treatment_mode_id === 16){
1084
+                 this.zhiShow = false
1085
+                 this.totalShow = false
1086
+                 this.huShow =false
1087
+            }else{
1086 1088
               this.zhiShow = true
1087 1089
               this.totalShow = true
1088
-              this.huShow = true
1089
-              console.log("a")
1090
+              this.huShow  = true           
1090 1091
             }
1091 1092
           }
1092 1093
         }

+ 14 - 14
src/styles/media.scss View File

@@ -1,4 +1,4 @@
1
-@media only screen and (max-width: 500px) {
1
+@media only screen and (max-width: 767px) {
2 2
   html {
3 3
     font-size: 30px;
4 4
   }
@@ -10,17 +10,17 @@
10 10
 // }
11 11
 
12 12
 /* Medium devices (landscape tablets, 768px and up) */
13
-@media only screen and (min-width: 768px) {
14
-  html {
15
-    font-size: 50px;
16
-  }
17
-}
18
-
19
-// @media screen and (orientation: portrait) and (max-width: 640px) {
20
-// .mainBox {
21
-//   -webkit-transform: rotate(-90deg);
22
-//   -moz-transform: rotate(-90deg);
23
-//   -ms-transform: rotate(-90deg);
24
-//   transform: rotate(-90deg);
25
-// }
13
+// @media only screen and (min-width: 800px) {
14
+//   html {
15
+//     font-size: 50px;
16
+//   }
26 17
 // }
18
+
19
+@media screen and (orientation: portrait) and (max-width: 640px) {
20
+  // .mainBox {
21
+  //   -webkit-transform: rotate(-90deg);
22
+  //   -moz-transform: rotate(-90deg);
23
+  //   -ms-transform: rotate(-90deg);
24
+  //   transform: rotate(-90deg);
25
+  // }
26
+}