浏览代码

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

28169 6 个月前
父节点
当前提交
874060d0bc

+ 5 - 3
src/xt_pages/dialysis/PatientBox.vue 查看文件

26
                 {{ schedule.patient.name
26
                 {{ schedule.patient.name
27
                 }}<span class="yc" v-show="isAbnormal(schedule)">异常</span>
27
                 }}<span class="yc" v-show="isAbnormal(schedule)">异常</span>
28
               </h3>
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
               <div
32
               <div
33
                 style="
33
                 style="
34
                   margin-left: 10px;
34
                   margin-left: 10px;
499
       // return nowYear - birthdayYear
499
       // return nowYear - birthdayYear
500
     },
500
     },
501
     getAge: function (val) {
501
     getAge: function (val) {
502
+      console.log('1111111111222222',val);
503
+      
502
       var thisLen = val.patient.id_card_no.length;
504
       var thisLen = val.patient.id_card_no.length;
503
       var birth = "";
505
       var birth = "";
504
       if (thisLen == 15) {
506
       if (thisLen == 15) {

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue 查看文件

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

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue 查看文件

1412
                         </div>
1412
                         </div>
1413
                         min
1413
                         min
1414
                       </div>
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
                           {{ record.summer ? record.summer.mission : '/' }}
1418
                           {{ record.summer ? record.summer.mission : '/' }}
1419
                         </div>
1419
                         </div>
1420
                       </div>
1420
                       </div>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue 查看文件

1244
                       min
1244
                       min
1245
                     </div>
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
                         {{ summary.mission ? summary.mission : '/' }}
1250
                         {{ summary.mission ? summary.mission : '/' }}
1251
                       </div>
1251
                       </div>
1252
                     </div>
1252
                     </div>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue 查看文件

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

+ 9 - 3
src/xt_pages/user/components/PatientSidebar.vue 查看文件

46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47
           tranSex(currentPatient.gender)
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
           currentPatient.dialysis_no
58
           currentPatient.dialysis_no
51
         }}
59
         }}
52
       </span>
60
       </span>
599
        this.treeKey = this.defaultActive
607
        this.treeKey = this.defaultActive
600
 
608
 
601
     }
609
     }
602
-
603
-
604
     this.getList()
610
     this.getList()
605
   },
611
   },
606
 
612