|
@@ -98,22 +98,22 @@
|
98
|
98
|
{{hosDetail.pathology}}
|
99
|
99
|
</div>
|
100
|
100
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院诊断:
|
101
|
|
- {{hosDetail.admitting_diagnosis}}
|
|
101
|
+ <span v-html="hosDetail.admitting_diagnosis"></span>
|
102
|
102
|
</div>
|
103
|
103
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院诊断:
|
104
|
|
- {{hosDetail.discharge_diagnosis}}
|
|
104
|
+ <span v-html="hosDetail.discharge_diagnosis"></span>
|
105
|
105
|
</div>
|
106
|
106
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院时病情:
|
107
|
|
- {{hosDetail.diagnosis_admission}}
|
|
107
|
+ <span v-html="hosDetail.diagnosis_admission"></span>
|
108
|
108
|
</div>
|
109
|
109
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">诊断经过:
|
110
|
|
- {{hosDetail.treatment}}
|
|
110
|
+ <span v-html="hosDetail.treatment"></span>
|
111
|
111
|
</div>
|
112
|
112
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院时病情:
|
113
|
|
- {{hosDetail.illness_discharge}}
|
|
113
|
+ <span v-html="hosDetail.illness_discharge"></span>
|
114
|
114
|
</div>
|
115
|
115
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院医嘱:
|
116
|
|
- {{hosDetail.discharge_advice}}
|
|
116
|
+ <span v-html="hosDetail.discharge_advice"></span>
|
117
|
117
|
</div>
|
118
|
118
|
|
119
|
119
|
</div>
|
|
@@ -583,8 +583,8 @@
|
583
|
583
|
form:{
|
584
|
584
|
id:0,
|
585
|
585
|
title:"",
|
586
|
|
- admission_time:new Date(),
|
587
|
|
- discharge_time:new Date(),
|
|
586
|
+ admission_time:this.getTime(new Date()),
|
|
587
|
+ discharge_time:this.getTime(new Date()),
|
588
|
588
|
sick_personnel:"",
|
589
|
589
|
xray:"",
|
590
|
590
|
admitting_diagnosis_id:"",
|
|
@@ -599,7 +599,7 @@
|
599
|
599
|
illness_discharge:"",
|
600
|
600
|
dean:"",
|
601
|
601
|
doctor:"",
|
602
|
|
- record_date:new Date(),
|
|
602
|
+ record_date:this.getTime(new Date()),
|
603
|
603
|
discharge_advice_id:"",
|
604
|
604
|
discharge_advice:"",
|
605
|
605
|
connecticut:"",
|
|
@@ -673,6 +673,8 @@
|
673
|
673
|
|
674
|
674
|
},
|
675
|
675
|
changeCurrentRecordTwo(row){
|
|
676
|
+ console.log("ro2233322332323223",row)
|
|
677
|
+ this.form.id = 0
|
676
|
678
|
this.form.id = row.id
|
677
|
679
|
this.getHospitalSummaryDetail(row.id)
|
678
|
680
|
},
|
|
@@ -698,36 +700,36 @@
|
698
|
700
|
this.form.discharge_advice = content
|
699
|
701
|
},
|
700
|
702
|
createAction(){
|
701
|
|
-
|
|
703
|
+ console.log("hhj232322323",this.form.admission_time)
|
702
|
704
|
var params = {
|
703
|
705
|
patient_id:parseInt(this.patient_id),
|
704
|
706
|
title:this.form.title,
|
705
|
|
- admission_time:this.getTime(this.form.admission_time),
|
706
|
|
- discharge_time:this.getTime(this.form.discharge_time),
|
|
707
|
+ admission_time:this.form.admission_time,
|
|
708
|
+ discharge_time:this.form.discharge_time,
|
707
|
709
|
sick_personnel:this.form.sick_personnel,
|
708
|
710
|
xray:this.form.xray,
|
709
|
711
|
admitting_diagnosis_id:this.form.admitting_diagnosis_id,
|
710
|
|
- admitting_diagnosis:this.form.admitting_diagnosis,
|
711
|
|
- discharge_diagnosis:this.form.discharge_diagnosis,
|
|
712
|
+ admitting_diagnosis:this.$refs.editor.content,
|
|
713
|
+ discharge_diagnosis:this.$refs.editorOne.content,
|
712
|
714
|
discharge_diagnosis_id:this.form.discharge_diagnosis_id,
|
713
|
715
|
diagnosis_admission_id:this.form.diagnosis_admission_id,
|
714
|
|
- diagnosis_admission:this.form.diagnosis_admission,
|
715
|
|
- illness_discharge:this.form.illness_discharge,
|
|
716
|
+ diagnosis_admission:this.$refs.editorTwo.content,
|
|
717
|
+ illness_discharge:this.$refs.editorFive.content,
|
716
|
718
|
illness_discharge_id:this.form.illness_discharge_id,
|
717
|
719
|
discharge_advice_id:this.form.discharge_advice_id,
|
718
|
|
- discharge_advice:this.form.discharge_advice,
|
|
720
|
+ discharge_advice:this.$refs.editorSix.content,
|
719
|
721
|
treatment_id:this.form.treatment_id,
|
720
|
|
- treatment:this.form.treatment,
|
|
722
|
+ treatment:this.$refs.editorFour.content,
|
721
|
723
|
dean:this.form.dean,
|
722
|
724
|
doctor:this.form.doctor,
|
723
|
|
- record_date:this.getTime(this.form.record_date),
|
|
725
|
+ record_date:this.form.record_date,
|
724
|
726
|
connecticut:this.form.connecticut,
|
725
|
727
|
nuclear_magnetic_resonance:this.form.nuclear_magnetic_resonance,
|
726
|
728
|
ultrasound:this.form.ultrasound,
|
727
|
729
|
pathology:this.form.pathology,
|
728
|
730
|
}
|
729
|
731
|
console.log("oaram2322323",params)
|
730
|
|
-
|
|
732
|
+
|
731
|
733
|
createHospitalSummary(params).then(response=>{
|
732
|
734
|
if(response.data.state == 1){
|
733
|
735
|
var list = response.data.data.list
|
|
@@ -831,7 +833,7 @@
|
831
|
833
|
this.form.illness_discharge = detail.illness_discharge
|
832
|
834
|
this.form.discharge_advice_id = detail.discharge_advice_id
|
833
|
835
|
this.form.discharge_advice = detail.discharge_advice
|
834
|
|
- this.form.record_time = detail.record_time
|
|
836
|
+ this.form.record_time = this.getTime(detail.record_time)
|
835
|
837
|
this.form.dean = detail.dean_id
|
836
|
838
|
this.form.doctor = detail.doctor
|
837
|
839
|
this.form.record_date = detail.record_date
|
|
@@ -854,17 +856,17 @@
|
854
|
856
|
sick_personnel:this.form.sick_personnel,
|
855
|
857
|
xray:this.form.xray,
|
856
|
858
|
admitting_diagnosis_id:this.form.admitting_diagnosis_id,
|
857
|
|
- admitting_diagnosis:this.form.admitting_diagnosis,
|
858
|
|
- discharge_diagnosis:this.form.discharge_diagnosis,
|
|
859
|
+ admitting_diagnosis:this.$refs.editorTen.content,
|
|
860
|
+ discharge_diagnosis:this.$refs.editorSeven.content,
|
859
|
861
|
discharge_diagnosis_id:this.form.discharge_diagnosis_id,
|
860
|
862
|
diagnosis_admission_id:this.form.diagnosis_admission_id,
|
861
|
|
- diagnosis_admission:this.form.diagnosis_admission,
|
862
|
|
- illness_discharge:this.form.illness_discharge,
|
|
863
|
+ diagnosis_admission:this.$refs.editorEight.content,
|
|
864
|
+ illness_discharge:this.$refs.editorElement.content,
|
863
|
865
|
illness_discharge_id:this.form.illness_discharge_id,
|
864
|
866
|
discharge_advice_id:this.form.discharge_advice_id,
|
865
|
867
|
discharge_advice:this.form.discharge_advice,
|
866
|
868
|
treatment_id:this.form.treatment_id,
|
867
|
|
- treatment:this.form.treatment,
|
|
869
|
+ treatment:this.$refs.editorNight.content,
|
868
|
870
|
dean:this.form.dean,
|
869
|
871
|
doctor:this.form.doctor,
|
870
|
872
|
record_date:this.getTime(this.form.record_date),
|
|
@@ -883,7 +885,7 @@
|
883
|
885
|
}
|
884
|
886
|
})
|
885
|
887
|
},
|
886
|
|
- deleteAction(id,index){
|
|
888
|
+ deleteAction(){
|
887
|
889
|
this.$confirm('确认删除吗?', '删除', {
|
888
|
890
|
confirmButtonText: '确 定',
|
889
|
891
|
cancelButtonText: '取 消',
|
|
@@ -895,7 +897,7 @@
|
895
|
897
|
deleteHospitalSummary(params).then(response => {
|
896
|
898
|
if (response.data.state == 1) {
|
897
|
899
|
var msg = response.data.data.msg
|
898
|
|
- this.tableData.splice(index, 1);
|
|
900
|
+ this.getlist()
|
899
|
901
|
this.$message.success("删除成功")
|
900
|
902
|
} else {
|
901
|
903
|
this.$message.error("删除失败")
|