|
@@ -6,7 +6,7 @@
|
6
|
6
|
<div
|
7
|
7
|
id="dialysis-print-box-64-1 "
|
8
|
8
|
class="dialysis-print-order print-template-two print_page_main_content"
|
9
|
|
-
|
|
9
|
+
|
10
|
10
|
>
|
11
|
11
|
<div id="dialysis-print-box-64" style="padding:10px 0 0 40px;">
|
12
|
12
|
<!-- <div 10px 0 0 40px
|
|
@@ -89,7 +89,7 @@
|
89
|
89
|
<span v-else-if="prescription.mode_id == 11">HFR</span>
|
90
|
90
|
<span v-else-if="prescription.mode_id == 12">HDF+HP</span>
|
91
|
91
|
<span v-else-if="prescription.mode_id == 13">CRRT</span>
|
92
|
|
-
|
|
92
|
+
|
93
|
93
|
<span v-else-if="prescription.mode_id == 19">IUF+HD</span>
|
94
|
94
|
<span v-else-if="prescription.mode_id == 20">UF</span>
|
95
|
95
|
<span v-else-if="prescription.mode_id == 21">HD+</span>
|
|
@@ -138,10 +138,10 @@
|
138
|
138
|
<span v-else-if="prescription.anticoagulant == 13">那屈肝素钙</span>
|
139
|
139
|
<span v-else-if="prescription.anticoagulant == 14">肝素钙注射液</span>
|
140
|
140
|
<span v-else-if="prescription.anticoagulant == 15">甲磺酸萘莫司他</span>
|
141
|
|
-
|
142
|
|
- <span style="width:150px;display: inline-block;"
|
|
141
|
+
|
|
142
|
+ <span style="width:150px;display: inline-block;"
|
143
|
143
|
v-if=" prescription.anticoagulant != 1 && prescription.anticoagulant != 12 && prescription.anticoagulant != 5">
|
144
|
|
- 首剂: {{ prescription.anticoagulant_shouji }}
|
|
144
|
+ 首剂: {{ prescription.anticoagulant_shouji }}
|
145
|
145
|
<span v-if="prescription.anticoagulant == 4">mg</span>
|
146
|
146
|
<span v-if="prescription.anticoagulant == 3">iu</span>
|
147
|
147
|
<span v-if="prescription.anticoagulant == 2">iu</span>
|
|
@@ -152,15 +152,15 @@
|
152
|
152
|
<span v-if="prescription.anticoagulant == 9">iu</span>
|
153
|
153
|
<span v-if="prescription.anticoagulant == 11">mg</span>
|
154
|
154
|
<span v-if="prescription.anticoagulant == 13">mg</span>
|
155
|
|
- <span v-if="prescription.anticoagulant == 14 ||
|
|
155
|
+ <span v-if="prescription.anticoagulant == 14 ||
|
156
|
156
|
prescription.anticoagulant == 15">mg
|
157
|
157
|
</span>
|
158
|
|
-
|
|
158
|
+
|
159
|
159
|
</span>
|
160
|
|
-
|
161
|
|
- <span style="width:135px;display: inline-block;"
|
|
160
|
+
|
|
161
|
+ <span style="width:150px;display: inline-block;"
|
162
|
162
|
v-if="prescription.anticoagulant != 12 && prescription.anticoagulant != 1 ">
|
163
|
|
- 追加: {{ prescription.anticoagulant_weichi }}
|
|
163
|
+ 追加: {{ prescription.anticoagulant_weichi }}
|
164
|
164
|
<span v-if="prescription.anticoagulant == 5">ml/h</span>
|
165
|
165
|
<span v-if="prescription.anticoagulant == 4">mg/h</span>
|
166
|
166
|
<span v-if="prescription.anticoagulant == 3">iu/h</span>
|
|
@@ -169,18 +169,18 @@
|
169
|
169
|
<span v-if="prescription.anticoagulant == 7">iu/h</span>
|
170
|
170
|
<span v-if="prescription.anticoagulant == 10">mg/h</span>
|
171
|
171
|
<span v-if="prescription.anticoagulant == 8">iu/h</span>
|
172
|
|
- <span v-if="prescription.anticoagulant == 9">iu/h</span>
|
|
172
|
+ <span v-if="prescription.anticoagulant == 9">iu/h</span>
|
173
|
173
|
<span v-if="prescription.anticoagulant == 11">mg/h</span>
|
174
|
174
|
<span v-if="prescription.anticoagulant == 13">mg/h</span>
|
175
|
|
- <span v-if="prescription.anticoagulant == 14 ||
|
|
175
|
+ <span v-if="prescription.anticoagulant == 14 ||
|
176
|
176
|
prescription.anticoagulant == 15">mg/h
|
177
|
177
|
</span>
|
178
|
178
|
</span>
|
179
|
|
-
|
180
|
|
-
|
181
|
|
- <span style="width:150px;display: inline-block;"
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+ <span style="width:150px;display: inline-block;"
|
182
|
182
|
v-if="prescription.anticoagulant != 12 && prescription.anticoagulant != 1 && prescription.anticoagulant != 5 ">
|
183
|
|
- 总量: {{ prescription.anticoagulant_zongliang }}
|
|
183
|
+ 总量: {{ prescription.anticoagulant_zongliang }}
|
184
|
184
|
<span v-if="prescription.anticoagulant == 4">mg</span>
|
185
|
185
|
<span v-if="prescription.anticoagulant == 3">iu</span>
|
186
|
186
|
<span v-if="prescription.anticoagulant == 2">iu</span>
|
|
@@ -188,14 +188,14 @@
|
188
|
188
|
<span v-if="prescription.anticoagulant == 7">iu</span>
|
189
|
189
|
<span v-if="prescription.anticoagulant == 10">mg</span>
|
190
|
190
|
<span v-if="prescription.anticoagulant == 8">iu</span>
|
191
|
|
- <span v-if="prescription.anticoagulant == 9">iu</span>
|
|
191
|
+ <span v-if="prescription.anticoagulant == 9">iu</span>
|
192
|
192
|
<span v-if="prescription.anticoagulant == 11">mg</span>
|
193
|
193
|
<span v-if="prescription.anticoagulant == 13">mg</span>
|
194
|
|
- <span v-if="prescription.anticoagulant == 14 ||
|
|
194
|
+ <span v-if="prescription.anticoagulant == 14 ||
|
195
|
195
|
prescription.anticoagulant == 15">mg
|
196
|
196
|
</span>
|
197
|
197
|
</span>
|
198
|
|
-
|
|
198
|
+
|
199
|
199
|
</td>
|
200
|
200
|
</tr>
|
201
|
201
|
<tr>
|
|
@@ -218,7 +218,7 @@
|
218
|
218
|
</div>
|
219
|
219
|
<!-- <div style="margin-left:70px ;display: inline-block;">
|
220
|
220
|
实际预冲量:
|
221
|
|
- {{ prescription.pre_impulse ? prescription.pre_impulse : "/" }}
|
|
221
|
+ {{ prescription.pre_impulse ? prescription.pre_impulse : "/" }}
|
222
|
222
|
L
|
223
|
223
|
</div> -->
|
224
|
224
|
<div style="margin-left:70px ; display: inline-block;">
|
|
@@ -372,7 +372,7 @@
|
372
|
372
|
<td style=" ">记录</td>
|
373
|
373
|
<!-- <td >护士签名</td> -->
|
374
|
374
|
</tr>
|
375
|
|
-
|
|
375
|
+
|
376
|
376
|
<tr style="" v-for="(monitor, monindex) in monitors" :key="monindex" >
|
377
|
377
|
<td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
|
378
|
378
|
<td style=" ">
|
|
@@ -491,7 +491,7 @@
|
491
|
491
|
</table>
|
492
|
492
|
</td>
|
493
|
493
|
</tr>
|
494
|
|
-
|
|
494
|
+
|
495
|
495
|
<tr>
|
496
|
496
|
<td colspan="3">
|
497
|
497
|
<table class="inside_table" border="1" cellspacing="0" cellpadding="0"
|
|
@@ -526,7 +526,7 @@
|
526
|
526
|
</tr>
|
527
|
527
|
<tr v-for="(advice, advice_index) in advices" :key="advice_index" >
|
528
|
528
|
<td colspan="3">
|
529
|
|
- <table class="inside_table" border="1" cellspacing="0" cellpadding="0"
|
|
529
|
+ <table class="inside_table" border="1" cellspacing="0" cellpadding="0"
|
530
|
530
|
style="text-align: center; border-top: none;border-bottom: none;
|
531
|
531
|
border-right: none;border-left: none; box-sizing: border-box;">
|
532
|
532
|
<tr style="border-bottom:none;">
|
|
@@ -629,11 +629,11 @@
|
629
|
629
|
<td v-if="advice_index > 5" width="150" style=""></td>
|
630
|
630
|
<td v-if="advice_index > 5" width="110"></td>
|
631
|
631
|
</tr>
|
632
|
|
-
|
|
632
|
+
|
633
|
633
|
</table>
|
634
|
634
|
</td>
|
635
|
635
|
</tr>
|
636
|
|
-
|
|
636
|
+
|
637
|
637
|
<tr>
|
638
|
638
|
<td colspan="3">
|
639
|
639
|
<!-- <div style="display: inline-block;">
|
|
@@ -710,7 +710,7 @@
|
710
|
710
|
</td>
|
711
|
711
|
</tr>
|
712
|
712
|
|
713
|
|
-
|
|
713
|
+
|
714
|
714
|
</table>
|
715
|
715
|
</div>
|
716
|
716
|
</div>
|
|
@@ -1004,7 +1004,7 @@ export default {
|
1004
|
1004
|
let projects = [];
|
1005
|
1005
|
response.data.data.projects.map((item) => {
|
1006
|
1006
|
if (item.type == 2 && item.project.is_print == 1) {
|
1007
|
|
-
|
|
1007
|
+
|
1008
|
1008
|
projects.push(item);
|
1009
|
1009
|
}
|
1010
|
1010
|
});
|
|
@@ -1029,13 +1029,13 @@ export default {
|
1029
|
1029
|
console.log("this.projects", this.projects);
|
1030
|
1030
|
|
1031
|
1031
|
// var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
|
1032
|
|
-
|
1033
|
|
-
|
|
1032
|
+
|
|
1033
|
+
|
1034
|
1034
|
if(this.projects!=null && this.projects.length >0){
|
1035
|
1035
|
for(let i=0;i<this.projects.length;i++){
|
1036
|
1036
|
this.projects.sort(this.compare('id'))
|
1037
|
1037
|
if(this.projects[i].type== 2){
|
1038
|
|
-
|
|
1038
|
+
|
1039
|
1039
|
this.projects[i].project_team_name = ""
|
1040
|
1040
|
this.projects[i].project_team_id = 0
|
1041
|
1041
|
console.log("this.projects[i].project.team",this.projects[i].project.team)
|
|
@@ -1043,32 +1043,32 @@ export default {
|
1043
|
1043
|
this.projects[i].project_team = this.projects[i].team.project_team
|
1044
|
1044
|
this.projects[i].project_team_id = this.projects[i].team.id
|
1045
|
1045
|
this.projects[i].start_time = this.projects[i].start_time
|
1046
|
|
- this.projects[i].single_dose = this.getCount(this.projects[i].project_id)
|
|
1046
|
+ this.projects[i].single_dose = this.getCount(this.projects[i].project_id)
|
1047
|
1047
|
this.projects[i].single_dose_unit = this.projects[i].unit
|
1048
|
1048
|
this.projects[i].execution_time = this.projects[i].execution_time
|
1049
|
|
- this.projects[i].execution_staff= this.projects[i].execution_staff
|
|
1049
|
+ this.projects[i].execution_staff= this.projects[i].execution_staff
|
1050
|
1050
|
this.projects[i].advice_name = this.projects[i].team.project_team
|
1051
|
|
-
|
1052
|
|
-
|
|
1051
|
+
|
|
1052
|
+
|
1053
|
1053
|
this.advices.push(this.projects[i])
|
1054
|
1054
|
}else{
|
1055
|
1055
|
this.projects[i].project_team = this.projects[i].project.project_name
|
1056
|
1056
|
this.projects[i].advice_name = this.projects[i].project.project_name
|
1057
|
1057
|
this.projects[i].start_time = this.projects[i].start_time
|
1058
|
|
- this.projects[i].single_dose = this.getCount(this.projects[i].project_id)
|
|
1058
|
+ this.projects[i].single_dose = this.getCount(this.projects[i].project_id)
|
1059
|
1059
|
this.projects[i].single_dose_unit = this.projects[i].unit
|
1060
|
1060
|
this.projects[i].execution_time = this.projects[i].execution_time
|
1061
|
|
- this.projects[i].execution_staff= this.projects[i].execution_staff
|
|
1061
|
+ this.projects[i].execution_staff= this.projects[i].execution_staff
|
1062
|
1062
|
this.advices.push(this.projects[i])
|
1063
|
1063
|
}
|
1064
|
|
-
|
|
1064
|
+
|
1065
|
1065
|
}
|
1066
|
|
-
|
|
1066
|
+
|
1067
|
1067
|
}
|
1068
|
1068
|
}
|
1069
|
|
-
|
1070
|
|
-
|
1071
|
|
-
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
1072
|
1072
|
var tableAdvice = this.advices;
|
1073
|
1073
|
|
1074
|
1074
|
|
|
@@ -1148,11 +1148,11 @@ export default {
|
1148
|
1148
|
this.advices = tableAdvice;
|
1149
|
1149
|
}
|
1150
|
1150
|
|
1151
|
|
- var arr = []
|
|
1151
|
+ var arr = []
|
1152
|
1152
|
arr = this.unique(this.advices)
|
1153
|
1153
|
// console.log("arriooowo",arr)
|
1154
|
1154
|
// if(arr!=null && arr.length >0){
|
1155
|
|
-
|
|
1155
|
+
|
1156
|
1156
|
// for(let i=0;i<arr.length;i++){
|
1157
|
1157
|
// if(arr[i].advice_name!="" && arr[i].advice_name!=undefined){
|
1158
|
1158
|
// arr[i].prescription_id_no = 0
|
|
@@ -1160,7 +1160,7 @@ export default {
|
1160
|
1160
|
// }else{
|
1161
|
1161
|
// arr[i].prescription_id_no = 0
|
1162
|
1162
|
// }
|
1163
|
|
-
|
|
1163
|
+
|
1164
|
1164
|
// }
|
1165
|
1165
|
// let dataInfo = {}
|
1166
|
1166
|
// arr.forEach((item, index) => {
|
|
@@ -1173,7 +1173,7 @@ export default {
|
1173
|
1173
|
// single_dose:item.single_dose,
|
1174
|
1174
|
// single_dose_unit:item.unit,
|
1175
|
1175
|
// execution_time:item.execution_time,
|
1176
|
|
- // execution_staff:item.execution_staff,
|
|
1176
|
+ // execution_staff:item.execution_staff,
|
1177
|
1177
|
// advice_doctor:item.advice_doctor,
|
1178
|
1178
|
// checker:item.checker,
|
1179
|
1179
|
// check_time:item.check_time,
|
|
@@ -1184,7 +1184,7 @@ export default {
|
1184
|
1184
|
// single_dose:item.single_dose,
|
1185
|
1185
|
// single_dose_unit:item.single_dose_unit,
|
1186
|
1186
|
// child:[]
|
1187
|
|
-
|
|
1187
|
+
|
1188
|
1188
|
// }
|
1189
|
1189
|
// }
|
1190
|
1190
|
// })
|
|
@@ -1206,11 +1206,11 @@ export default {
|
1206
|
1206
|
|
1207
|
1207
|
this.advices = []
|
1208
|
1208
|
this.advices= arr
|
1209
|
|
-
|
|
1209
|
+
|
1210
|
1210
|
console.log("advices-----------------",this.advices)
|
1211
|
1211
|
|
1212
|
|
-
|
1213
|
|
-
|
|
1212
|
+
|
|
1213
|
+
|
1214
|
1214
|
|
1215
|
1215
|
// this.loading = false;
|
1216
|
1216
|
// console.log(this.advice_groups);
|
|
@@ -1227,7 +1227,7 @@ export default {
|
1227
|
1227
|
var arr = []
|
1228
|
1228
|
var count =0
|
1229
|
1229
|
for(let i=0;i<this.projects.length;i++){
|
1230
|
|
-
|
|
1230
|
+
|
1231
|
1231
|
if(id == this.projects[i].project_id){
|
1232
|
1232
|
arr.push(this.projects[i])
|
1233
|
1233
|
}
|
|
@@ -1238,7 +1238,7 @@ export default {
|
1238
|
1238
|
// if(parseInt(arr[i].single_dose)>0){
|
1239
|
1239
|
// count += parseInt(arr[i].single_dose)
|
1240
|
1240
|
// }
|
1241
|
|
-
|
|
1241
|
+
|
1242
|
1242
|
// }
|
1243
|
1243
|
count = arr[arr.length -1].count
|
1244
|
1244
|
}
|
|
@@ -1331,9 +1331,9 @@ export default {
|
1331
|
1331
|
var age = jsGetAge(birthtwo, "-");
|
1332
|
1332
|
return age;
|
1333
|
1333
|
}
|
1334
|
|
-
|
|
1334
|
+
|
1335
|
1335
|
},
|
1336
|
|
-
|
|
1336
|
+
|
1337
|
1337
|
getDiagnosis(id) {
|
1338
|
1338
|
let arr = id.split(',')
|
1339
|
1339
|
var name = ''
|
|
@@ -1346,7 +1346,7 @@ export default {
|
1346
|
1346
|
},
|
1347
|
1347
|
|
1348
|
1348
|
toUpload() {
|
1349
|
|
-
|
|
1349
|
+
|
1350
|
1350
|
let dom = document.getElementById("dialysis-print-box-64")
|
1351
|
1351
|
//调用方法下载
|
1352
|
1352
|
html2canvas(dom, {
|
|
@@ -1374,7 +1374,7 @@ export default {
|
1374
|
1374
|
const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
|
1375
|
1375
|
this.openPdf(blob);
|
1376
|
1376
|
// this.viewPdf(newBase64Data)
|
1377
|
|
-
|
|
1377
|
+
|
1378
|
1378
|
// var data = {
|
1379
|
1379
|
// name:newBase64Data,
|
1380
|
1380
|
// }
|
|
@@ -1385,14 +1385,14 @@ export default {
|
1385
|
1385
|
// this.$message.success("保存成功!")
|
1386
|
1386
|
// }
|
1387
|
1387
|
// })
|
1388
|
|
-
|
|
1388
|
+
|
1389
|
1389
|
// this.viewPdf(newBase64Data)
|
1390
|
1390
|
//保存到pdf,名字是stone
|
1391
|
1391
|
// pdf.save('stone.pdf');
|
1392
|
|
-
|
|
1392
|
+
|
1393
|
1393
|
});
|
1394
|
1394
|
},
|
1395
|
|
-
|
|
1395
|
+
|
1396
|
1396
|
viewPdf(content) {
|
1397
|
1397
|
console.log("content",content);
|
1398
|
1398
|
const blob = this.base64ToBlob(content);
|
|
@@ -1457,7 +1457,7 @@ export default {
|
1457
|
1457
|
});
|
1458
|
1458
|
},
|
1459
|
1459
|
|
1460
|
|
-
|
|
1460
|
+
|
1461
|
1461
|
},
|
1462
|
1462
|
created() {
|
1463
|
1463
|
var bloodAccessParOpera = getDataConfig(
|