Browse Source

11月25日,年龄

yq1 12 hours ago
parent
commit
c7fb0bf36b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/main/PatientBox.vue

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

56
               <span v-if="patient.patient.is_infectious==2" style="color:red">{{ patient.patient.name }}</span> 
56
               <span v-if="patient.patient.is_infectious==2" style="color:red">{{ patient.patient.name }}</span> 
57
               <span v-if="patient.patient.is_infectious!=2">{{ patient.patient.name }}</span> 
57
               <span v-if="patient.patient.is_infectious!=2">{{ patient.patient.name }}</span> 
58
               <span class="num"
58
               <span class="num"
59
-                >{{ genderText(patient) }} | {{ age(patient) }}岁</span
59
+                >{{ genderText(patient) }} | {{ age(patient)>200 ? patient.patient.age : age(patient) }}岁</span
60
               >
60
               >
61
             </h3>
61
             </h3>
62
             <div class="difficult" v-if="patient.patient.troble_shoot == 1">
62
             <div class="difficult" v-if="patient.patient.troble_shoot == 1">