Browse Source

HIS 系统提交

XMLWAN 4 years ago
parent
commit
df05b05837

+ 8 - 0
src/xt_pages/outpatientDoctorStation/components/additionalCharges.vue View File

28
 <script>
28
 <script>
29
  import { saveCharges } from "@/api/project/project"
29
  import { saveCharges } from "@/api/project/project"
30
 export default {
30
 export default {
31
+    props:{
32
+     paitent_id:Number,   
33
+    },
31
     data(){
34
     data(){
32
         return{
35
         return{
33
             visible:false,
36
             visible:false,
79
              }
82
              }
80
           })      
83
           })      
81
         }
84
         }
85
+    },
86
+    watch:{
87
+       paitent_id:function(val){
88
+         console.log("患者ID=====",val)  
89
+       }
82
     }
90
     }
83
 }
91
 }
84
 </script>
92
 </script>

+ 8 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

200
         </template>
200
         </template>
201
       </div>
201
       </div>
202
     </div>
202
     </div>
203
-    <additionalCharges ref='additionalCharges'></additionalCharges>
203
+    <additionalCharges ref='additionalCharges' :paitent_id="paitent_id"></additionalCharges>
204
     <select-template ref='selectTemplate'></select-template>
204
     <select-template ref='selectTemplate'></select-template>
205
     <save-template ref='saveTemplate'></save-template>
205
     <save-template ref='saveTemplate'></save-template>
206
   </div>
206
   </div>
221
     props: {
221
     props: {
222
       patientInfo: Object,
222
       patientInfo: Object,
223
       hisPatientInfo: Object,
223
       hisPatientInfo: Object,
224
-      prescriptions: Array
224
+      prescriptions: Array,
225
     },
225
     },
226
     components: {
226
     components: {
227
       selectTemplate,
227
       selectTemplate,
511
       this.getlist()
511
       this.getlist()
512
       //获取所以项目组套
512
       //获取所以项目组套
513
       this.getAllProjectTeam()
513
       this.getAllProjectTeam()
514
-
515
-   
514
+    },
515
+    watch:{
516
+      hisPatientInfo:function(val){
517
+        console.log("333333333",this.hisPatientInfo)
518
+        deep:true
519
+      }
516
     }
520
     }
517
   }
521
   }
518
 </script>
522
 </script>

+ 4 - 3
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

45
             <el-radio-button label="病历"></el-radio-button>
45
             <el-radio-button label="病历"></el-radio-button>
46
           </el-radio-group>
46
           </el-radio-group>
47
         </div>
47
         </div>
48
-        <desk-prescription ref="prescriptions"  :prescriptions="prescriptions" :patientInfo="patientInfo" :hisPatientInfo="hisPatientInfo"
49
-                           v-if="titleType == '处方'" style="flex:1;"></desk-prescription>
48
+        <desk-prescription ref="prescriptions"   :prescriptions="prescriptions" :patientInfo="patientInfo" :hisPatientInfo="hisPatientInfo"
49
+                   v-if="titleType == '处方'" style="flex:1;"></desk-prescription>
50
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"
50
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"
51
                      :hisPatientInfo="hisPatientInfo" v-if="titleType == '病历'"></desk-record>
51
                      :hisPatientInfo="hisPatientInfo" v-if="titleType == '病历'"></desk-record>
52
       </div>
52
       </div>
216
       },
216
       },
217
       changePatient(val){
217
       changePatient(val){
218
         console.log("患者val",val)
218
         console.log("患者val",val)
219
-        this.patient_id = val.id
219
+        this.hisPatientInfo = val.his_patient
220
+        console.log("333333",this.hisPatientInfo)
220
       }
221
       }
221
     }, created() {
222
     }, created() {
222
       var nowDate = new Date()
223
       var nowDate = new Date()