|
@@ -1021,6 +1021,7 @@
|
1021
|
1021
|
this.showAdviceForm = false
|
1022
|
1022
|
this.showAdvicePanel = true
|
1023
|
1023
|
var advice = response.data.data.advice
|
|
1024
|
+ console.log("advic323323232323232",advice)
|
1024
|
1025
|
this.doctor_advices[this.currentIndex].drug_spec = advice.drug_spec
|
1025
|
1026
|
this.doctor_advices[this.currentIndex].drug_spec_unit =
|
1026
|
1027
|
advice.drug_spec_unit
|
|
@@ -1382,7 +1383,7 @@
|
1382
|
1383
|
return false
|
1383
|
1384
|
}
|
1384
|
1385
|
let mode = '1'
|
1385
|
|
-
|
|
1386
|
+ console.log("sry2332322332",this.src_type)
|
1386
|
1387
|
if(this.src_type == ""){
|
1387
|
1388
|
this.form.way = 1
|
1388
|
1389
|
}
|
|
@@ -1409,6 +1410,9 @@
|
1409
|
1410
|
this.currentRow = null
|
1410
|
1411
|
this.setCurrent()
|
1411
|
1412
|
this.hideForm()
|
|
1413
|
+ console.log("子药23223332323332",this.form.parent_id)
|
|
1414
|
+ console.log("232322332323232",this.form.parent_id)
|
|
1415
|
+
|
1412
|
1416
|
if (this.form.parent_id > 0) {
|
1413
|
1417
|
var spliceIndex = -1
|
1414
|
1418
|
for (let index = this.doctor_advices.length - 1; ; index--) {
|
|
@@ -1420,6 +1424,7 @@
|
1420
|
1424
|
break
|
1421
|
1425
|
}
|
1422
|
1426
|
}
|
|
1427
|
+ console.log("spliceIndex233232323232",spliceIndex)
|
1423
|
1428
|
if (spliceIndex > -1) {
|
1424
|
1429
|
spliceIndex += 1
|
1425
|
1430
|
if (spliceIndex === this.doctor_advices.length) {
|
|
@@ -1431,18 +1436,19 @@
|
1431
|
1436
|
this.doctor_advices.push(swapData[index])
|
1432
|
1437
|
}
|
1433
|
1438
|
}
|
|
1439
|
+
|
|
1440
|
+ console.log("doctore_advic4233232323232",this.doctor_advices)
|
1434
|
1441
|
}
|
1435
|
1442
|
} else {
|
1436
|
1443
|
this.doctor_advices.unshift(response.data.data.advice)
|
1437
|
1444
|
}
|
1438
|
1445
|
return false
|
1439
|
1446
|
}
|
1440
|
|
- })
|
1441
|
|
- .catch(v => {
|
|
1447
|
+ }).catch(v => {
|
1442
|
1448
|
this.loading = false
|
1443
|
1449
|
})
|
1444
|
1450
|
// location. reload()
|
1445
|
|
- this.getDialysisScheduleDetail()
|
|
1451
|
+ // this.getDialysisScheduleDetail()
|
1446
|
1452
|
|
1447
|
1453
|
}
|
1448
|
1454
|
,
|