Quellcode durchsuchen

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

csx vor 3 Jahren
Ursprung
Commit
56d494b598

+ 0 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue Datei anzeigen

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

+ 5 - 0
src/xt_pages/hospitalStation/doctorDesk.vue Datei anzeigen

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