Pārlūkot izejas kodu

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

csx 3 gadus atpakaļ
vecāks
revīzija
56d494b598

+ 0 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue Parādīt failu

@@ -3194,7 +3194,6 @@
3194 3194
         if (this.dayorMonth == 'day') {
3195 3195
           this.$emit('day')
3196 3196
         } else if (this.dayorMonth == 'month') {
3197
-          console.log('~~~~~~')
3198 3197
           let form = {
3199 3198
             id: this.patientInfo.id,
3200 3199
             his_patient_id: this.hisPatientInfo.id

+ 5 - 0
src/xt_pages/hospitalStation/doctorDesk.vue Parādīt failu

@@ -318,6 +318,7 @@
318 318
     },
319 319
     data() {
320 320
       return {
321
+        current_data:null,
321 322
         drugs: [],
322 323
         allDrugs: [],
323 324
         advices_template: [],
@@ -598,6 +599,7 @@
598 599
             this.admin_info = response.data.data.info
599 600
 
600 601
             if (this.patientTableData.length > 0) {
602
+              this.current_data = this.patientTableData[0]
601 603
               this.$refs.tab.setCurrentRow(this.patientTableData[0])
602 604
               this.oldCurrentRow = this.patientTableData[0]
603 605
               this.getPatientInfo(this.patientTableData[0])
@@ -1038,6 +1040,7 @@
1038 1040
             this.admin_info = response.data.data.info
1039 1041
 
1040 1042
             if (this.patientTableData.length > 0) {
1043
+              this.current_data = this.patientTableData[0]
1041 1044
               this.$refs.tab.setCurrentRow(this.patientTableData[0])
1042 1045
               this.oldCurrentRow = this.patientTableData[0]
1043 1046
               this.getPatientInfo(this.patientTableData[0])
@@ -1422,6 +1425,7 @@
1422 1425
       },
1423 1426
 
1424 1427
       choosePatient(val) {
1428
+        this.current_data = val
1425 1429
         if (this.titleType == '电子病历') {
1426 1430
 
1427 1431
           if (this.$refs.child.watchSign > 2) {
@@ -4010,6 +4014,7 @@
4010 4014
         }
4011 4015
       }, changeDay() {
4012 4016
         this.current_tab = 'day'
4017
+        this.getPatientInfo(this.current_data)
4013 4018
 
4014 4019
       }, changeMonth(val) {
4015 4020
         this.current_tab = 'month'