Browse Source

批量打印

XMLWAN 4 years ago
parent
commit
b013ac5568
1 changed files with 12 additions and 2 deletions
  1. 12 2
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue

+ 12 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

305
 
305
 
306
           }
306
           }
307
         })
307
         })
308
-      },getPatientInfo(val){
308
+      },
309
+      getPatientInfo(val){
309
         this.patientid = val.patients.id
310
         this.patientid = val.patients.id
310
         let params = {
311
         let params = {
311
           'record_date': this.record_date,
312
           'record_date': this.record_date,
354
             if (this.case_history.sick_type <= 0) {
355
             if (this.case_history.sick_type <= 0) {
355
               this.case_history.sick_type = ''
356
               this.case_history.sick_type = ''
356
             }
357
             }
358
+
359
+             if (this.case_history.sick <= 0) {
360
+              this.case_history.sick= ''
361
+            }
362
+
363
+            if(this.case_history.diagnose <= 0){
364
+               this.case_history.diagnose = ''
365
+            }
366
+
357
             this.case_history.sick_date = uParseTime(this.case_history.sick_date, '{y}-{m}-{d}')
367
             this.case_history.sick_date = uParseTime(this.case_history.sick_date, '{y}-{m}-{d}')
358
             if (this.case_history.is_infect == 1) {
368
             if (this.case_history.is_infect == 1) {
359
               this.case_history.is_infect = true
369
               this.case_history.is_infect = true
875
        // console.log("99999",this.selecting_schs)
885
        // console.log("99999",this.selecting_schs)
876
       },
886
       },
877
       handleClick(){
887
       handleClick(){
878
-
888
+       
879
       },
889
       },
880
       savePrint(){
890
       savePrint(){
881
         var arr = []
891
         var arr = []