|
@@ -990,7 +990,7 @@
|
990
|
990
|
},
|
991
|
991
|
submitEditAdvice() {
|
992
|
992
|
// console.log()
|
993
|
|
- console.log("==this.form==",this.form)
|
|
993
|
+ console.log("保存22222222222222")
|
994
|
994
|
console.log("==this.src_type==",this.src_type)
|
995
|
995
|
if (this.form.advice_name.length == 0) {
|
996
|
996
|
this.$message.error('请填写医嘱名称')
|
|
@@ -1372,6 +1372,7 @@
|
1372
|
1372
|
}
|
1373
|
1373
|
,
|
1374
|
1374
|
submitAdvice() {
|
|
1375
|
+ console.log("保存111111111111111111111")
|
1375
|
1376
|
if (this.form.advice_name.length == 0) {
|
1376
|
1377
|
this.$message.error('请填写医嘱名称')
|
1377
|
1378
|
return
|
|
@@ -1398,9 +1399,8 @@
|
1398
|
1399
|
this.form.advice_name = arr[0]
|
1399
|
1400
|
}
|
1400
|
1401
|
|
1401
|
|
-
|
1402
|
1402
|
CreateDoctorAdvice(this.patient.id, this.form, mode).then(response => {
|
1403
|
|
- console("保存!!!!!!!!!!!!!!!this.form",this.form)
|
|
1403
|
+ console("保存!!!!!!!!!!!!!!!this.form")
|
1404
|
1404
|
this.loading = false
|
1405
|
1405
|
if (response.data.state == 0) {
|
1406
|
1406
|
this.$message.error(response.data.msg)
|
|
@@ -2374,6 +2374,19 @@
|
2374
|
2374
|
this.doctor_advices.push(his_advices[i])
|
2375
|
2375
|
}
|
2376
|
2376
|
}
|
|
2377
|
+
|
|
2378
|
+ this.$notify({
|
|
2379
|
+ title: '成功',
|
|
2380
|
+ message: '新增医嘱成功',
|
|
2381
|
+ type: 'success',
|
|
2382
|
+ duration: 2000
|
|
2383
|
+ })
|
|
2384
|
+
|
|
2385
|
+ this.currentIndex = -1
|
|
2386
|
+ this.currentRow = null
|
|
2387
|
+ this.setCurrent()
|
|
2388
|
+ this.hideForm()
|
|
2389
|
+
|
2377
|
2390
|
}
|
2378
|
2391
|
})
|
2379
|
2392
|
}
|