瀏覽代碼

修改bug

csx 4 年之前
父節點
當前提交
b32e4fb768
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      src/pages/main/add_urgent_schedule.vue

+ 0 - 8
src/pages/main/add_urgent_schedule.vue 查看文件

@@ -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;