|
@@ -246,9 +246,9 @@
|
246
|
246
|
</div>
|
247
|
247
|
<!-- </div> -->
|
248
|
248
|
<div v-show="AuToShow">
|
249
|
|
- <text_content @new_content="newcontent" :patient="patient" :prescription="prescription" :berforList="berforList"
|
250
|
|
- :monitorList="monitorList" :dryweightList="dryweightList" :inpectionList="inpectionList" :dialysisOrderList="dialysisOrderList"
|
251
|
|
- :start_date="start_date" :end_date="end_date" :patient_id="patient_id" :num="num" :longAdvice="longAdvice" :groupPrescriptionList="groupPrescriptionList" :afterList="afterList" :max_blood_flow_volume="max_blood_flow_volume"
|
|
249
|
+ <text_content @new_content="newcontent" :patient="patient" :prescription="prescription" :berforList="berforList"
|
|
250
|
+ :monitorList="monitorList" :dryweightList="dryweightList" :inpectionList="inpectionList" :dialysisOrderList="dialysisOrderList"
|
|
251
|
+ :start_date="start_date" :end_date="end_date" :patient_id="patient_id" :num="num" :longAdvice="longAdvice" :groupPrescriptionList="groupPrescriptionList" :afterList="afterList" :max_blood_flow_volume="max_blood_flow_volume"
|
252
|
252
|
:max_befor_systolic_blood_pressure="max_befor_systolic_blood_pressure" :min_befor_systolic_blood_pressure="min_befor_systolic_blood_pressure" :max_befor_diastolic_blood_pressure="max_befor_diastolic_blood_pressure" :min_befor_diastolic_blood_pressure="min_befor_diastolic_blood_pressure"
|
253
|
253
|
:max_after_systolic_blood_pressure="max_after_systolic_blood_pressure" :min_after_systolic_blood_pressure="min_after_systolic_blood_pressure" :max_after_diastolic_blood_pressure="max_after_diastolic_blood_pressure" :min_after_diastolic_blood_pressure="min_after_diastolic_blood_pressure"
|
254
|
254
|
:max_monitor_systolic_blood_pressure="max_monitor_systolic_blood_pressure" :min_monitor_systolic_blood_pressure="min_monitor_systolic_blood_pressure" :max_monitor_diastolic_blood_pressure="max_monitor_diastolic_blood_pressure" :min_monitor_diastolic_blood_pressure="min_monitor_diastolic_blood_pressure"
|
|
@@ -371,7 +371,12 @@
|
371
|
371
|
min_monitor_diastolic_blood_pressure:"",
|
372
|
372
|
lastDryWeight:{},
|
373
|
373
|
patientVascularAccess:{},
|
374
|
|
- lastBefor:{}
|
|
374
|
+ lastBefor:{},
|
|
375
|
+ Inspect:[{id:1,name:'血常规',date:'2024-12-09',left:[{c_id:1,c_name:'血红蛋白',c_value:110},{c_id:2,c_name:'血红蛋白2',c_value:110}],
|
|
376
|
+ right:[{c_id:1,c_name:'白细胞1',c_value:110},{c_id:2,c_name:'白细胞3',c_value:110}]},
|
|
377
|
+ {id:2,name:'血常规',date:'2024-12-19',left:[{c_id:1,c_name:'血红蛋白',c_value:110},{c_id:2,c_name:'血红蛋白2',c_value:110}],
|
|
378
|
+ right:[{c_id:1,c_name:'白细胞1',c_value:110},{c_id:2,c_name:'白细胞3',c_value:110}]}
|
|
379
|
+ ],
|
375
|
380
|
}
|
376
|
381
|
},
|
377
|
382
|
created() {
|
|
@@ -637,7 +642,7 @@
|
637
|
642
|
}
|
638
|
643
|
}
|
639
|
644
|
}
|
640
|
|
-
|
|
645
|
+
|
641
|
646
|
for(let i=0;i<arr.length;i++){
|
642
|
647
|
for(let j=0;j<arr[i].child.length;j++){
|
643
|
648
|
if(j%2 ==0){
|
|
@@ -653,17 +658,18 @@
|
653
|
658
|
this.Inspect = arr
|
654
|
659
|
console.log("newarr----------------",arr)
|
655
|
660
|
}
|
656
|
|
-
|
657
|
|
- this.$nextTick(()=>{
|
|
661
|
+
|
|
662
|
+ // this.$nextTick(()=>{
|
658
|
663
|
const iframeDoc = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('tbody')[0].children[9].children[1]
|
659
|
|
-
|
660
|
|
- const jiancDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[8].children[1]
|
661
|
664
|
|
|
665
|
+ const jiancDoc = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('tbody')[0].children[8].children[1]
|
|
666
|
+ jiancDoc.getElementsByTagName('br')[0].remove()
|
|
667
|
+ jiancDoc.style.cssText='padding: 0'
|
662
|
668
|
if(this.Inspect.length<1){
|
663
|
|
- let newList = document.createElement('p');
|
664
|
|
- newList.style.cssText = 'padding: 5px;'
|
665
|
|
- newList.textContent = '无';
|
666
|
|
- jiancDoc.appendChild(newList)
|
|
669
|
+ let newList2 = document.createElement('p');
|
|
670
|
+ newList2.style.cssText = 'padding: 5px;'
|
|
671
|
+ newList2.textContent = '无';
|
|
672
|
+ jiancDoc.appendChild(newList2)
|
667
|
673
|
}else{
|
668
|
674
|
let newList = document.createElement('p');
|
669
|
675
|
newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
|
|
@@ -715,9 +721,9 @@
|
715
|
721
|
child1.appendChild(newListItem2);
|
716
|
722
|
for(let j in this.Inspect[i].left){
|
717
|
723
|
let newListItem3 = document.createElement('span');
|
718
|
|
- newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
724
|
+ newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
719
|
725
|
let newListItem4 = document.createElement('span');
|
720
|
|
- newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;'
|
|
726
|
+ newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;'
|
721
|
727
|
newListItem3.textContent = this.Inspect[i].left[j].item_name;
|
722
|
728
|
newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
|
723
|
729
|
child2.appendChild(newListItem3);
|
|
@@ -725,9 +731,9 @@
|
725
|
731
|
}
|
726
|
732
|
for(let x in this.Inspect[i].right){
|
727
|
733
|
let newListItem5 = document.createElement('span');
|
728
|
|
- newListItem5.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
|
734
|
+ newListItem5.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
729
|
735
|
let newListItem6 = document.createElement('span');
|
730
|
|
- newListItem6.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
|
736
|
+ newListItem6.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
731
|
737
|
newListItem5.textContent = this.Inspect[i].right[x].item_name;
|
732
|
738
|
newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
|
733
|
739
|
child3.appendChild(newListItem5);
|
|
@@ -737,14 +743,14 @@
|
737
|
743
|
}
|
738
|
744
|
}
|
739
|
745
|
|
740
|
|
-
|
|
746
|
+
|
741
|
747
|
var newListArr =[]
|
742
|
748
|
for(let j in this.longAdvice){
|
743
|
749
|
const obj={
|
744
|
750
|
id:this.longAdvice[j].id,
|
745
|
751
|
newlist:'newList'+j
|
746
|
752
|
}
|
747
|
|
- newListArr.push(obj)
|
|
753
|
+ newListArr.push(obj)
|
748
|
754
|
}
|
749
|
755
|
for(let i in this.longAdvice){
|
750
|
756
|
for(let j in newListArr){
|
|
@@ -779,7 +785,7 @@
|
779
|
785
|
}
|
780
|
786
|
}
|
781
|
787
|
}
|
782
|
|
- })
|
|
788
|
+ // })
|
783
|
789
|
|
784
|
790
|
|
785
|
791
|
this.AuToShow = true
|
|
@@ -961,11 +967,11 @@
|
961
|
967
|
console.log("start_time==============",params)
|
962
|
968
|
getAutoPatientContent(params).then(response=>{
|
963
|
969
|
if(response.data.state == 1){
|
964
|
|
-
|
|
970
|
+
|
965
|
971
|
var prescription = response.data.data.prescription
|
966
|
972
|
this.prescription=[]
|
967
|
973
|
this.prescription = prescription
|
968
|
|
-
|
|
974
|
+
|
969
|
975
|
var berfor = response.data.data.berfor
|
970
|
976
|
this.berforList = []
|
971
|
977
|
this.berforList = berfor
|
|
@@ -984,10 +990,10 @@
|
984
|
990
|
this.inpectionList = []
|
985
|
991
|
|
986
|
992
|
this.inpectionList = inpectionList
|
987
|
|
-
|
988
|
|
-
|
|
993
|
+
|
|
994
|
+
|
989
|
995
|
var patient = response.data.data.patient
|
990
|
|
-
|
|
996
|
+
|
991
|
997
|
if(patient.gender == 1){
|
992
|
998
|
patient.gender_name = "男"
|
993
|
999
|
}
|
|
@@ -1000,19 +1006,19 @@
|
1000
|
1006
|
|
1001
|
1007
|
this.dialysisOrderList = []
|
1002
|
1008
|
this.dialysisOrderList = dialysisOrderList
|
1003
|
|
-
|
|
1009
|
+
|
1004
|
1010
|
var longAdvice = response.data.data.longAdvice
|
1005
|
|
-
|
|
1011
|
+
|
1006
|
1012
|
this.longAdvice = []
|
1007
|
1013
|
this.longAdvice = longAdvice
|
1008
|
1014
|
|
1009
|
1015
|
this.groupPrescriptionList = []
|
1010
|
1016
|
this.groupPrescriptionList = response.data.data.groupPrescriptionList
|
1011
|
|
-
|
|
1017
|
+
|
1012
|
1018
|
this.afterList = response.data.data.after
|
1013
|
1019
|
|
1014
|
1020
|
this.max_blood_flow_volume = response.data.data.max_blood_flow_volume
|
1015
|
|
-
|
|
1021
|
+
|
1016
|
1022
|
this.max_befor_systolic_blood_pressure = response.data.data.max_befor_systolic_blood_pressure
|
1017
|
1023
|
|
1018
|
1024
|
this.min_befor_systolic_blood_pressure = response.data.data.min_befor_systolic_blood_pressure
|
|
@@ -1023,7 +1029,7 @@
|
1023
|
1029
|
|
1024
|
1030
|
|
1025
|
1031
|
this.max_after_systolic_blood_pressure = response.data.data.max_after_systolic_blood_pressure
|
1026
|
|
-
|
|
1032
|
+
|
1027
|
1033
|
this.min_after_systolic_blood_pressure = response.data.data.min_after_systolic_blood_pressure
|
1028
|
1034
|
|
1029
|
1035
|
this.max_after_diastolic_blood_pressure = response.data.data.max_after_diastolic_blood_pressure
|
|
@@ -1042,8 +1048,8 @@
|
1042
|
1048
|
|
1043
|
1049
|
this.min_monitor_diastolic_blood_pressure = response.data.data.min_monitor_diastolic_blood_pressure
|
1044
|
1050
|
|
1045
|
|
-
|
1046
|
|
- this.lastDryWeight = response.data.data.lastDryWeight
|
|
1051
|
+
|
|
1052
|
+ this.lastDryWeight = response.data.data.lastDryWeight
|
1047
|
1053
|
|
1048
|
1054
|
this.patientVascularAccess = response.data.data.patientVascularAccess
|
1049
|
1055
|
|
|
@@ -1051,8 +1057,8 @@
|
1051
|
1057
|
|
1052
|
1058
|
this.auto_dialog = true
|
1053
|
1059
|
|
1054
|
|
-
|
1055
|
|
-
|
|
1060
|
+
|
|
1061
|
+
|
1056
|
1062
|
}
|
1057
|
1063
|
})
|
1058
|
1064
|
|
|
@@ -1265,15 +1271,15 @@
|
1265
|
1271
|
getTimeOne (time) {
|
1266
|
1272
|
return uParseTime(time, '{y}-{m}-{d}')
|
1267
|
1273
|
},
|
1268
|
|
-
|
|
1274
|
+
|
1269
|
1275
|
newcontent(val){
|
1270
|
1276
|
this.new_content =''
|
1271
|
1277
|
this.new_content = val
|
1272
|
|
- // console.log('1111112323',this.new_content);
|
|
1278
|
+ console.log('1111112323',val);
|
1273
|
1279
|
this.$refs.editor.contents = this.new_content
|
1274
|
1280
|
}
|
1275
|
1281
|
},
|
1276
|
|
-
|
|
1282
|
+
|
1277
|
1283
|
}
|
1278
|
1284
|
</script>
|
1279
|
1285
|
|