|
@@ -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() {
|
|
@@ -631,7 +636,7 @@
|
631
|
636
|
}
|
632
|
637
|
}
|
633
|
638
|
}
|
634
|
|
-
|
|
639
|
+
|
635
|
640
|
for(let i=0;i<arr.length;i++){
|
636
|
641
|
for(let j=0;j<arr[i].child.length;j++){
|
637
|
642
|
if(j%2 ==0){
|
|
@@ -647,17 +652,18 @@
|
647
|
652
|
this.Inspect = arr
|
648
|
653
|
console.log("newarr----------------",arr)
|
649
|
654
|
}
|
650
|
|
-
|
651
|
|
- this.$nextTick(()=>{
|
|
655
|
+
|
|
656
|
+ // this.$nextTick(()=>{
|
652
|
657
|
const iframeDoc = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('tbody')[0].children[9].children[1]
|
653
|
|
-
|
654
|
|
- const jiancDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[8].children[1]
|
655
|
658
|
|
|
659
|
+ const jiancDoc = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('tbody')[0].children[8].children[1]
|
|
660
|
+ jiancDoc.getElementsByTagName('br')[0].remove()
|
|
661
|
+ jiancDoc.style.cssText='padding: 0'
|
656
|
662
|
if(this.Inspect.length<1){
|
657
|
|
- let newList = document.createElement('p');
|
658
|
|
- newList.style.cssText = 'padding: 5px;'
|
659
|
|
- newList.textContent = '无';
|
660
|
|
- jiancDoc.appendChild(newList)
|
|
663
|
+ let newList2 = document.createElement('p');
|
|
664
|
+ newList2.style.cssText = 'padding: 5px;'
|
|
665
|
+ newList2.textContent = '无';
|
|
666
|
+ jiancDoc.appendChild(newList2)
|
661
|
667
|
}else{
|
662
|
668
|
let newList = document.createElement('p');
|
663
|
669
|
newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
|
|
@@ -709,9 +715,9 @@
|
709
|
715
|
child1.appendChild(newListItem2);
|
710
|
716
|
for(let j in this.Inspect[i].left){
|
711
|
717
|
let newListItem3 = document.createElement('span');
|
712
|
|
- newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
718
|
+ 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;'
|
713
|
719
|
let newListItem4 = document.createElement('span');
|
714
|
|
- newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;'
|
|
720
|
+ newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;'
|
715
|
721
|
newListItem3.textContent = this.Inspect[i].left[j].item_name;
|
716
|
722
|
newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
|
717
|
723
|
child2.appendChild(newListItem3);
|
|
@@ -719,9 +725,9 @@
|
719
|
725
|
}
|
720
|
726
|
for(let x in this.Inspect[i].right){
|
721
|
727
|
let newListItem5 = document.createElement('span');
|
722
|
|
- newListItem5.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
|
728
|
+ 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;'
|
723
|
729
|
let newListItem6 = document.createElement('span');
|
724
|
|
- newListItem6.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
|
730
|
+ newListItem6.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
725
|
731
|
newListItem5.textContent = this.Inspect[i].right[x].item_name;
|
726
|
732
|
newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
|
727
|
733
|
child3.appendChild(newListItem5);
|
|
@@ -731,14 +737,14 @@
|
731
|
737
|
}
|
732
|
738
|
}
|
733
|
739
|
|
734
|
|
-
|
|
740
|
+
|
735
|
741
|
var newListArr =[]
|
736
|
742
|
for(let j in this.longAdvice){
|
737
|
743
|
const obj={
|
738
|
744
|
id:this.longAdvice[j].id,
|
739
|
745
|
newlist:'newList'+j
|
740
|
746
|
}
|
741
|
|
- newListArr.push(obj)
|
|
747
|
+ newListArr.push(obj)
|
742
|
748
|
}
|
743
|
749
|
for(let i in this.longAdvice){
|
744
|
750
|
for(let j in newListArr){
|
|
@@ -773,7 +779,7 @@
|
773
|
779
|
}
|
774
|
780
|
}
|
775
|
781
|
}
|
776
|
|
- })
|
|
782
|
+ // })
|
777
|
783
|
|
778
|
784
|
|
779
|
785
|
this.AuToShow = true
|
|
@@ -955,11 +961,11 @@
|
955
|
961
|
console.log("start_time==============",params)
|
956
|
962
|
getAutoPatientContent(params).then(response=>{
|
957
|
963
|
if(response.data.state == 1){
|
958
|
|
-
|
|
964
|
+
|
959
|
965
|
var prescription = response.data.data.prescription
|
960
|
966
|
this.prescription=[]
|
961
|
967
|
this.prescription = prescription
|
962
|
|
-
|
|
968
|
+
|
963
|
969
|
var berfor = response.data.data.berfor
|
964
|
970
|
this.berforList = []
|
965
|
971
|
this.berforList = berfor
|
|
@@ -978,10 +984,10 @@
|
978
|
984
|
this.inpectionList = []
|
979
|
985
|
|
980
|
986
|
this.inpectionList = inpectionList
|
981
|
|
-
|
982
|
|
-
|
|
987
|
+
|
|
988
|
+
|
983
|
989
|
var patient = response.data.data.patient
|
984
|
|
-
|
|
990
|
+
|
985
|
991
|
if(patient.gender == 1){
|
986
|
992
|
patient.gender_name = "男"
|
987
|
993
|
}
|
|
@@ -994,19 +1000,19 @@
|
994
|
1000
|
|
995
|
1001
|
this.dialysisOrderList = []
|
996
|
1002
|
this.dialysisOrderList = dialysisOrderList
|
997
|
|
-
|
|
1003
|
+
|
998
|
1004
|
var longAdvice = response.data.data.longAdvice
|
999
|
|
-
|
|
1005
|
+
|
1000
|
1006
|
this.longAdvice = []
|
1001
|
1007
|
this.longAdvice = longAdvice
|
1002
|
1008
|
|
1003
|
1009
|
this.groupPrescriptionList = []
|
1004
|
1010
|
this.groupPrescriptionList = response.data.data.groupPrescriptionList
|
1005
|
|
-
|
|
1011
|
+
|
1006
|
1012
|
this.afterList = response.data.data.after
|
1007
|
1013
|
|
1008
|
1014
|
this.max_blood_flow_volume = response.data.data.max_blood_flow_volume
|
1009
|
|
-
|
|
1015
|
+
|
1010
|
1016
|
this.max_befor_systolic_blood_pressure = response.data.data.max_befor_systolic_blood_pressure
|
1011
|
1017
|
|
1012
|
1018
|
this.min_befor_systolic_blood_pressure = response.data.data.min_befor_systolic_blood_pressure
|
|
@@ -1017,7 +1023,7 @@
|
1017
|
1023
|
|
1018
|
1024
|
|
1019
|
1025
|
this.max_after_systolic_blood_pressure = response.data.data.max_after_systolic_blood_pressure
|
1020
|
|
-
|
|
1026
|
+
|
1021
|
1027
|
this.min_after_systolic_blood_pressure = response.data.data.min_after_systolic_blood_pressure
|
1022
|
1028
|
|
1023
|
1029
|
this.max_after_diastolic_blood_pressure = response.data.data.max_after_diastolic_blood_pressure
|
|
@@ -1036,8 +1042,8 @@
|
1036
|
1042
|
|
1037
|
1043
|
this.min_monitor_diastolic_blood_pressure = response.data.data.min_monitor_diastolic_blood_pressure
|
1038
|
1044
|
|
1039
|
|
-
|
1040
|
|
- this.lastDryWeight = response.data.data.lastDryWeight
|
|
1045
|
+
|
|
1046
|
+ this.lastDryWeight = response.data.data.lastDryWeight
|
1041
|
1047
|
|
1042
|
1048
|
this.patientVascularAccess = response.data.data.patientVascularAccess
|
1043
|
1049
|
|
|
@@ -1045,8 +1051,8 @@
|
1045
|
1051
|
|
1046
|
1052
|
this.auto_dialog = true
|
1047
|
1053
|
|
1048
|
|
-
|
1049
|
|
-
|
|
1054
|
+
|
|
1055
|
+
|
1050
|
1056
|
}
|
1051
|
1057
|
})
|
1052
|
1058
|
|
|
@@ -1259,15 +1265,15 @@
|
1259
|
1265
|
getTimeOne (time) {
|
1260
|
1266
|
return uParseTime(time, '{y}-{m}-{d}')
|
1261
|
1267
|
},
|
1262
|
|
-
|
|
1268
|
+
|
1263
|
1269
|
newcontent(val){
|
1264
|
1270
|
this.new_content =''
|
1265
|
1271
|
this.new_content = val
|
1266
|
|
- // console.log('1111112323',this.new_content);
|
|
1272
|
+ console.log('1111112323',val);
|
1267
|
1273
|
this.$refs.editor.contents = this.new_content
|
1268
|
1274
|
}
|
1269
|
1275
|
},
|
1270
|
|
-
|
|
1276
|
+
|
1271
|
1277
|
}
|
1272
|
1278
|
</script>
|
1273
|
1279
|
|