See999 před 4 roky
rodič
revize
7249dd7579

+ 2 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Zobrazit soubor

69
         <desk-prescription  :addtions_charge="addtions_charge" :diagnoses="diagnoses" :other_sick="other_sick" :record_date="record_date"
69
         <desk-prescription  :addtions_charge="addtions_charge" :diagnoses="diagnoses" :other_sick="other_sick" :record_date="record_date"
70
                           ref="prescriptions" :prescriptions="prescriptions" :patientInfo="patientInfo"
70
                           ref="prescriptions" :prescriptions="prescriptions" :patientInfo="patientInfo"
71
                           :hisPatientInfo="hisPatientInfo" @event1="changetwo($event)"
71
                           :hisPatientInfo="hisPatientInfo" @event1="changetwo($event)"
72
-                          v-show="titleType == '电子处方'" style="flex:1;"></desk-prescription>
72
+                          v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription>
73
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"
73
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"
74
-                    :hisPatientInfo="hisPatientInfo"   v-show="titleType == '电子病历'" :detalid="detalid" ref="child"></desk-record>
74
+                    :hisPatientInfo="hisPatientInfo"   v-if="titleType == '电子病历'" :detalid="detalid" ref="child"></desk-record>
75
 
75
 
76
         <medicalRecord ref='medicalRecord' @func="getMsgFormSon" ></medicalRecord>
76
         <medicalRecord ref='medicalRecord' @func="getMsgFormSon" ></medicalRecord>
77
         <saveRecordTemplate ref='saveRecordTemplate'></saveRecordTemplate>
77
         <saveRecordTemplate ref='saveRecordTemplate'></saveRecordTemplate>

+ 10 - 11
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Zobrazit soubor

42
         <div class="printTitle">病历内容</div>
42
         <div class="printTitle">病历内容</div>
43
         <div class="recordTitle">
43
         <div class="recordTitle">
44
             <div>科别:{{hispatient.departments?hispatient.departments:''}}</div>
44
             <div>科别:{{hispatient.departments?hispatient.departments:''}}</div>
45
-            <div>姓名:{{hispatient.name?hispatient.name:''}}</div>
45
+            <div>姓名:{{patient.name?patient.name:''}}</div>
46
             <div>性别:
46
             <div>性别:
47
-                <span v-if="hispatient.gender == 1">男</span>
48
-                <span v-if="hispatient.gender == 2">女</span>
47
+                <span v-if="patient.gender == 1">男</span>
48
+                <span v-if="patient.gender == 2">女</span>
49
             </div>
49
             </div>
50
-            <div>年龄:{{hispatient.age?hispatient.age:''}}岁</div>
50
+            <div>年龄:{{patient.age?patient.age:''}}岁</div>
51
         </div>
51
         </div>
52
         <div class="otherInfo">
52
         <div class="otherInfo">
53
             <div class="otherName">主诉:</div>
53
             <div class="otherName">主诉:</div>
100
       hispatient:Object,
100
       hispatient:Object,
101
       history:Object,
101
       history:Object,
102
     },
102
     },
103
-    return:{
104
-      educationOptions:[]
105
-    },
106
     data(){
103
     data(){
107
-
104
+        return{
105
+            educationOptions:[]
106
+        }                   
108
     },
107
     },
109
     methods:{
108
     methods:{
110
       getProfession(id){
109
       getProfession(id){
111
         var name = ""
110
         var name = ""
112
         for(let i=0;i<this.educationOptions.length;i++){
111
         for(let i=0;i<this.educationOptions.length;i++){
113
-           if(id == this.educationOptions[i].id){
114
-              name = this.educationOptions[i].name
115
-           }
112
+            if(id == this.educationOptions[i].id){
113
+                name = this.educationOptions[i].name
114
+            }
116
         }
115
         }
117
         return name
116
         return name
118
       },
117
       },