Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 6 months ago
parent
commit
874060d0bc

+ 5 - 3
src/xt_pages/dialysis/PatientBox.vue View File

@@ -26,9 +26,9 @@
26 26
                 {{ schedule.patient.name
27 27
                 }}<span class="yc" v-show="isAbnormal(schedule)">异常</span>
28 28
               </h3>
29
-              <span class="num"
30
-                >{{ genderText(schedule) }} | {{ getAge(schedule) }} 岁</span
31
-              >
29
+              <span class="num">
30
+                {{ genderText(schedule) }} | {{ getAge(schedule)>200 ? schedule.patient.age : getAge(schedule) }} 岁
31
+              </span>
32 32
               <div
33 33
                 style="
34 34
                   margin-left: 10px;
@@ -499,6 +499,8 @@ export default {
499 499
       // return nowYear - birthdayYear
500 500
     },
501 501
     getAge: function (val) {
502
+      console.log('1111111111222222',val);
503
+      
502 504
       var thisLen = val.patient.id_card_no.length;
503 505
       var birth = "";
504 506
       if (thisLen == 15) {

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

@@ -1199,7 +1199,7 @@
1199 1199
                               : "/"
1200 1200
                           }}
1201 1201
                         </div>
1202
-                        kg
1202
+                        L
1203 1203
                       </div>
1204 1204
                     </div>
1205 1205
 

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue View File

@@ -1412,9 +1412,9 @@
1412 1412
                         </div>
1413 1413
                         min
1414 1414
                       </div>
1415
-                      <div class="inline_block" style="flex: 2">
1415
+                      <div class="inline_block" style="flex: 3">
1416 1416
                         透后宣教:
1417
-                        <div class="under_line" style="width: 60%; text-align: center">
1417
+                        <div class="under_line" style="width: 85%; text-align: left;white-space: normal;">
1418 1418
                           {{ record.summer ? record.summer.mission : '/' }}
1419 1419
                         </div>
1420 1420
                       </div>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue View File

@@ -1244,9 +1244,9 @@
1244 1244
                       min
1245 1245
                     </div>
1246 1246
 
1247
-                    <div class="inline_block" style="flex: 2">
1247
+                    <div class="inline_block" style="flex: 3">
1248 1248
                       透后宣教:
1249
-                      <div class="under_line" style="width: 80%; text-align: center;white-space: normal;">
1249
+                      <div class="under_line" style="width: 85%; text-align: left;white-space: normal;">
1250 1250
                         {{ summary.mission ? summary.mission : '/' }}
1251 1251
                       </div>
1252 1252
                     </div>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

@@ -1055,7 +1055,7 @@
1055 1055
                             : "/"
1056 1056
                         }}
1057 1057
                       </div>
1058
-                      kg
1058
+                      L
1059 1059
                     </div>
1060 1060
                   </div>
1061 1061
 

+ 9 - 3
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -46,7 +46,15 @@
46 46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47 47
           tranSex(currentPatient.gender)
48 48
         }}
49
-        &nbsp;&nbsp; 年龄:{{ getAge(currentPatient) }} &nbsp;&nbsp; 透析号:{{
49
+        &nbsp;&nbsp; 年龄:
50
+        <span v-if="getAge(currentPatient)>200">
51
+          {{ currentPatient.age }}
52
+        </span>
53
+        <span v-else>
54
+          {{ getAge(currentPatient) }} 
55
+        </span>
56
+        
57
+        &nbsp;&nbsp; 透析号:{{
50 58
           currentPatient.dialysis_no
51 59
         }}
52 60
       </span>
@@ -599,8 +607,6 @@ export default {
599 607
        this.treeKey = this.defaultActive
600 608
 
601 609
     }
602
-
603
-
604 610
     this.getList()
605 611
   },
606 612