|
@@ -1153,7 +1153,8 @@ export default {
|
1153
|
1153
|
germ_number: "", // 数量
|
1154
|
1154
|
clean: "", // 清洁
|
1155
|
1155
|
sign_name: "", // 签名
|
1156
|
|
- patient_id: ""
|
|
1156
|
+ patient_id: "",
|
|
1157
|
+ equiment_id: ""
|
1157
|
1158
|
},
|
1158
|
1159
|
hiddenShow: false,
|
1159
|
1160
|
searchArray: [],
|
|
@@ -1474,7 +1475,7 @@ export default {
|
1474
|
1475
|
EditUser(id, patientid).then(response => {
|
1475
|
1476
|
if (response.data.state === 1) {
|
1476
|
1477
|
var device = response.data.data.device;
|
1477
|
|
- // console.log('device', device)
|
|
1478
|
+ console.log("device", device);
|
1478
|
1479
|
var patients = response.data.data.patients;
|
1479
|
1480
|
// console.log('patients', patients)
|
1480
|
1481
|
// eslint-disable-next-line no-sequences
|
|
@@ -1485,7 +1486,7 @@ export default {
|
1485
|
1486
|
));
|
1486
|
1487
|
this.userform.patient_id = device.patient_id;
|
1487
|
1488
|
this.userform.classtype = device.class;
|
1488
|
|
- this.userform.zone = device.zone;
|
|
1489
|
+ this.userform.zone = device.zone_id;
|
1489
|
1490
|
this.userform.bed_number = device.bed_number;
|
1490
|
1491
|
this.userform.contagion = device.contagion;
|
1491
|
1492
|
this.userform.patient_name = patients.name;
|
|
@@ -1531,6 +1532,7 @@ export default {
|
1531
|
1532
|
// )
|
1532
|
1533
|
this.userform.starttime = this.updateTimes(device.disinfec_startime);
|
1533
|
1534
|
this.userform.endtime = this.updateTimes(device.disinfec_endtime);
|
|
1535
|
+ this.userform.equiment_id = device.equiment_id;
|
1534
|
1536
|
if (device.dialysis_checked === 1) {
|
1535
|
1537
|
this.userform.dialysis_checked = true;
|
1536
|
1538
|
}
|
|
@@ -2242,8 +2244,9 @@ export default {
|
2242
|
2244
|
var addmacher = response.data.data.addmacher;
|
2243
|
2245
|
console.log("addmacher=============", addmacher);
|
2244
|
2246
|
var number = response.data.data.number;
|
2245
|
|
- // console.log('number', number)
|
2246
|
|
- this.form.zone = addmacher.zone_id;
|
|
2247
|
+ console.log("number", number);
|
|
2248
|
+ //改动
|
|
2249
|
+ this.form.zone = number[0].zone_id;
|
2247
|
2250
|
this.form.bed = addmacher.bed_id;
|
2248
|
2251
|
|
2249
|
2252
|
var bed = [{ id: 0, number: "全部" }];
|