|
@@ -873,8 +873,6 @@
|
873
|
873
|
methods: {
|
874
|
874
|
//调试
|
875
|
875
|
lili(index,row){
|
876
|
|
- // console.log("==index==",index)
|
877
|
|
- // console.log("==row==",row)
|
878
|
876
|
console.log("==doctor_advices==",this.doctor_advices)
|
879
|
877
|
console.log("==this.form==",this.form)
|
880
|
878
|
},
|
|
@@ -990,8 +988,6 @@
|
990
|
988
|
},
|
991
|
989
|
submitEditAdvice() {
|
992
|
990
|
// console.log()
|
993
|
|
- console.log("保存22222222222222")
|
994
|
|
- console.log("==this.src_type==",this.src_type)
|
995
|
991
|
if (this.form.advice_name.length == 0) {
|
996
|
992
|
this.$message.error('请填写医嘱名称')
|
997
|
993
|
return
|
|
@@ -1350,6 +1346,7 @@
|
1350
|
1346
|
}
|
1351
|
1347
|
}
|
1352
|
1348
|
this.execTimeDialogVisible = false
|
|
1349
|
+
|
1353
|
1350
|
return false
|
1354
|
1351
|
}
|
1355
|
1352
|
|
|
@@ -1372,7 +1369,6 @@
|
1372
|
1369
|
}
|
1373
|
1370
|
,
|
1374
|
1371
|
submitAdvice() {
|
1375
|
|
- console.log("保存111111111111111111111")
|
1376
|
1372
|
if (this.form.advice_name.length == 0) {
|
1377
|
1373
|
this.$message.error('请填写医嘱名称')
|
1378
|
1374
|
return
|
|
@@ -1387,9 +1383,6 @@
|
1387
|
1383
|
}
|
1388
|
1384
|
let mode = '1'
|
1389
|
1385
|
|
1390
|
|
- console.log("==this.form==",this.form)
|
1391
|
|
- console.log("==this.src_type==",this.src_type)
|
1392
|
|
-
|
1393
|
1386
|
if(this.src_type == ""){
|
1394
|
1387
|
this.form.way = 1
|
1395
|
1388
|
}
|
|
@@ -1400,7 +1393,6 @@
|
1400
|
1393
|
}
|
1401
|
1394
|
|
1402
|
1395
|
CreateDoctorAdvice(this.patient.id, this.form, mode).then(response => {
|
1403
|
|
- console("保存!!!!!!!!!!!!!!!this.form")
|
1404
|
1396
|
this.loading = false
|
1405
|
1397
|
if (response.data.state == 0) {
|
1406
|
1398
|
this.$message.error(response.data.msg)
|
|
@@ -1417,11 +1409,9 @@
|
1417
|
1409
|
this.currentRow = null
|
1418
|
1410
|
this.setCurrent()
|
1419
|
1411
|
this.hideForm()
|
1420
|
|
- console.log("保存",this.form.parent_id)
|
1421
|
1412
|
if (this.form.parent_id > 0) {
|
1422
|
1413
|
var spliceIndex = -1
|
1423
|
1414
|
for (let index = this.doctor_advices.length - 1; ; index--) {
|
1424
|
|
- console.log("====this.doctor_advices[index].origin====",this.doctor_advices[index].origin)
|
1425
|
1415
|
if (this.doctor_advices[index].parent_id === this.form.parent_id) {
|
1426
|
1416
|
spliceIndex = index
|
1427
|
1417
|
break
|
|
@@ -1850,7 +1840,6 @@
|
1850
|
1840
|
})
|
1851
|
1841
|
.catch(() => {
|
1852
|
1842
|
})
|
1853
|
|
- // this.handleSpanTempArr()
|
1854
|
1843
|
}
|
1855
|
1844
|
,
|
1856
|
1845
|
openDelete(index, row) {
|
|
@@ -2027,9 +2016,6 @@
|
2027
|
2016
|
}
|
2028
|
2017
|
}
|
2029
|
2018
|
})
|
2030
|
|
-
|
2031
|
|
- // this.handleSpanTempArr()
|
2032
|
|
- // this.handleStyle()
|
2033
|
2019
|
}
|
2034
|
2020
|
,
|
2035
|
2021
|
getXuserName(id) {
|
|
@@ -2061,9 +2047,6 @@
|
2061
|
2047
|
}
|
2062
|
2048
|
,
|
2063
|
2049
|
show(his_is_open,is_advice_open) {
|
2064
|
|
- console.log("this.doctor_advices",this.doctor_advices)
|
2065
|
|
- console.log("++++his_is_open++++++",his_is_open)
|
2066
|
|
- console.log("++++is_advice_open++++++",is_advice_open)
|
2067
|
2050
|
this.his_is_open = his_is_open
|
2068
|
2051
|
this.is_advice_open = is_advice_open
|
2069
|
2052
|
this.isVisibility = true
|