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