|
@@ -74,6 +74,8 @@
|
74
|
74
|
</el-form>
|
75
|
75
|
<div class="mainTitle">病历信息:</div>
|
76
|
76
|
<el-form class="recordForm" :model="case_history" ref="form" label-width="80px">
|
|
77
|
+
|
|
78
|
+
|
77
|
79
|
<el-form-item label="发病日期: " prop="name">
|
78
|
80
|
<el-date-picker
|
79
|
81
|
style="width:100%;"
|
|
@@ -341,7 +343,10 @@
|
341
|
343
|
valueFour:'',
|
342
|
344
|
valueFive:'',
|
343
|
345
|
valueSix:'',
|
344
|
|
- valueSeven:''
|
|
346
|
+ valueSeven:'',
|
|
347
|
+ diagnoses:[],
|
|
348
|
+ state1:"",
|
|
349
|
+ diagnose:""
|
345
|
350
|
}
|
346
|
351
|
},
|
347
|
352
|
methods: {
|
|
@@ -390,7 +395,9 @@
|
390
|
395
|
"diagnostic":this.case_history.diagnostic,
|
391
|
396
|
"breathing":this.case_history.breathing,
|
392
|
397
|
"doctor_advice":this.case_history.doctor_advice,
|
393
|
|
- "remark":this.case_history.remark
|
|
398
|
+ "remark":this.case_history.remark,
|
|
399
|
+ "sick":this.case_history.sick,
|
|
400
|
+ "diagnose":this.case_history.diagnose
|
394
|
401
|
}
|
395
|
402
|
|
396
|
403
|
createCaseHistory(params).then(response => {
|
|
@@ -425,6 +432,8 @@
|
425
|
432
|
this.case_history.diagnostic = templatedetail.diagnostic
|
426
|
433
|
this.case_history.doctor_advice = templatedetail.doctor_advice
|
427
|
434
|
this.case_history.remark = templatedetail.remark
|
|
435
|
+ this.sick = templatedetail.sick
|
|
436
|
+ this.diagnose = templatedetail.diagnose
|
428
|
437
|
}
|
429
|
438
|
})
|
430
|
439
|
},
|
|
@@ -538,7 +547,18 @@
|
538
|
547
|
}
|
539
|
548
|
}
|
540
|
549
|
},
|
541
|
|
-
|
|
550
|
+ getInitData() {
|
|
551
|
+ getInitData().then(response => {
|
|
552
|
+ if (response.data.state == 0) {
|
|
553
|
+ this.$message.error(response.data.msg)
|
|
554
|
+ return false
|
|
555
|
+ } else {
|
|
556
|
+ this.sick = response.data.data.sick
|
|
557
|
+ this.diagnoses = response.data.data.diagnose
|
|
558
|
+ }
|
|
559
|
+ })
|
|
560
|
+
|
|
561
|
+ },
|
542
|
562
|
},
|
543
|
563
|
created(){
|
544
|
564
|
this.getlist()
|
|
@@ -549,7 +569,7 @@
|
549
|
569
|
}else if(this.patientInfo.gender = 2){
|
550
|
570
|
this.patientInfo.gender = '女'
|
551
|
571
|
}
|
552
|
|
-
|
|
572
|
+ this.getInitData()
|
553
|
573
|
},
|
554
|
574
|
watch:{
|
555
|
575
|
detalid:function(val){
|