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,7 +305,8 @@
305 305
 
306 306
           }
307 307
         })
308
-      },getPatientInfo(val){
308
+      },
309
+      getPatientInfo(val){
309 310
         this.patientid = val.patients.id
310 311
         let params = {
311 312
           'record_date': this.record_date,
@@ -354,6 +355,15 @@
354 355
             if (this.case_history.sick_type <= 0) {
355 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 367
             this.case_history.sick_date = uParseTime(this.case_history.sick_date, '{y}-{m}-{d}')
358 368
             if (this.case_history.is_infect == 1) {
359 369
               this.case_history.is_infect = true
@@ -875,7 +885,7 @@
875 885
        // console.log("99999",this.selecting_schs)
876 886
       },
877 887
       handleClick(){
878
-
888
+       
879 889
       },
880 890
       savePrint(){
881 891
         var arr = []