Explorar el Código

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

张保健 hace 4 años
padre
commit
f5a13aee77
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      src/pages/main/add_urgent_schedule.vue

+ 0 - 8
src/pages/main/add_urgent_schedule.vue Ver fichero

@@ -387,18 +387,10 @@
387 387
               this.zone_device_options = []
388 388
               this.origin_schedules = rs.data.data.schedules;
389 389
               this.patients = rs.data.data.patients;
390
-              console.log(this.patients)
391 390
               this.modes = rs.data.data.modes;
392 391
               this.origin_device_numbers = rs.data.data.device_numbers;
393 392
 
394 393
 
395
-              if (this.patients.length > 0) {
396
-                this.patient_id = this.patients[0].id;
397
-              }
398
-              if (this.modes.length > 0) {
399
-                this.mode_id = this.modes[0].id;
400
-              }
401
-
402 394
               var zone_device_map = {};
403 395
               for (
404 396
                 let index = 0;