Browse Source

8月9日杨青

杨青 1 year ago
parent
commit
e45a9d045c

+ 42 - 79
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

@@ -37,7 +37,7 @@
37 37
               <tr>
38 38
                 <td>姓名:{{ patientInfo.name }}</td>
39 39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
40
-                <td>年龄:{{ getAge(patientInfo) }}</td>
40
+                <td>年龄:{{ getAge(patientInfo) }}</td>
41 41
                 <td>门诊号: {{
42 42
                     patientInfo.admission_number
43 43
                       ? patientInfo.admission_number
@@ -57,9 +57,9 @@
57 57
                   </span>
58 58
                 </td>
59 59
                 <td>治疗时间:{{getTime(prescription.record_date,"{y}-{m}-{d}") }}</td>
60
-                <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}</td>
60
+                <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg</td>
61 61
                 <td>上次透后体重:
62
-                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
62
+                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}kg
63 63
                 </td>
64 64
               </tr>
65 65
               <tr>
@@ -68,7 +68,7 @@
68 68
                     predialysis.weight_before ? predialysis.weight_before : "/"
69 69
                   }}kg
70 70
                 </td>
71
-                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
71
+                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
72 72
                 <td colspan="2">患者评估:
73 73
                   入科方式:
74 74
                   <span v-if="receiverTreatmentAccess.way == 1">步行</span>
@@ -131,8 +131,8 @@
131 131
                         }}次/分
132 132
                       </span>&nbsp;
133 133
                     BP <span>
134
-                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} /
135
-                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}
134
+                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} mmHg/
135
+                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}mmHg
136 136
                       </span>&nbsp;
137 137
                   </div>
138 138
                 </td>
@@ -179,7 +179,7 @@
179 179
                   {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }} min
180 180
                 </td>
181 181
                 <td>预超:{{prescription.target_ultrafiltration }}L</td>
182
-                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}</td>
182
+                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}ml/min</td>
183 183
               </tr>
184 184
               <tr>
185 185
                 <td colspan="4">抗凝剂:
@@ -251,18 +251,16 @@
251 251
                 <td colspan="2">
252 252
                   处方医生:
253 253
                   <span
254
-                    style="height: 30px; display: inline-block"
255
-                      v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
256
-                      >
254
+                    style="height: 30px; display: inline-block">
257 255
                      {{ getAdminUser(doctor_advices[0].advice_doctor) }}
258 256
                   </span>
259
-                  <img
257
+                  <!-- <img
260 258
                     style="height: 60px; width:30%"
261 259
                     :src="setAdminUserES(doctor_advices[0].advice_doctor)"
262 260
                     alt=""
263 261
                     srcset=""
264 262
                     v-else
265
-                  />
263
+                  /> -->
266 264
                 </td>
267 265
               </tr>
268 266
             </table>
@@ -271,7 +269,7 @@
271 269
           <div class="infoTitle">透析记录</div>
272 270
           <div style="margin: 10px 0px;">
273 271
             <table class="table" border="1"
274
-            style="border-collapse: collapse;text-align: center;width: 100%;"
272
+            style="border-collapse: collapse;width: 100%;"
275 273
             >
276 274
               <tr>
277 275
                 <th rowspan="2" width="50">时间</th>
@@ -281,9 +279,9 @@
281 279
                 <th rowspan="2" width="80">签名</th>
282 280
               </tr>
283 281
               <tr>
284
-                <th width="50">血压<br>mmHg</th>
285
-                <th width="50">呼吸<br>次/分</th>
286
-                <th width="50">心率<br>次/分</th>
282
+                <th width="70">血压<br>mmHg</th>
283
+                <th width="40">呼吸<br>次/分</th>
284
+                <th width="40">心率<br>次/分</th>
287 285
                 <th width="50">血流量<br>ml/min</th>
288 286
                 <th width="50">静脉压<br>mmHg</th>
289 287
                 <th width="50">透析液<br>温度℃</th>
@@ -292,7 +290,7 @@
292 290
                 <th width="50">超滤率<br>ml/h</th>
293 291
                 <th width="50">电导率<br>ms/cm</th>
294 292
               </tr>
295
-              <tr v-for="(monitor, monindex) in monitors" :key="monindex">
293
+               <tr v-for="(monitor, monindex) in monitors" :key="monindex">
296 294
                 <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
297 295
                 <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
298 296
                 {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
@@ -305,28 +303,26 @@
305 303
                 <td>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</td>
306 304
                 <td>{{monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</td>
307 305
                 <td>{{monitor.conductivity? monitor.conductivity: ""}}</td>
308
-                <td>
306
+               <td>
309 307
                   {{monitor.symptom?monitor.symptom:"" }}&nbsp;
310 308
                   {{monitor.dispose? monitor.dispose: ""}}&nbsp;
311 309
                   {{monitor.result? monitor.result: ""}}
312 310
                 </td>
313 311
                 <td>
314 312
                   <span
315
-                    style="height: 30px; display: inline-block"
316
-                      v-if="setAdminUserES(monitor.monitoring_nurse) == ''"
317
-                      >
313
+                    style="height: 30px; display: inline-block">
318 314
                      {{ getAdminUser(monitor.monitoring_nurse) }}
319 315
                   </span>
320
-                  <img
316
+                  <!-- <img  v-if="setAdminUserES(monitor.monitoring_nurse) != ''"
321 317
                     style="height: 60px"
322 318
                     :src="setAdminUserES(monitor.monitoring_nurse)"
323 319
                     alt=""
324 320
                     srcset=""
325 321
                     v-else
326
-                  />
322
+                  /> -->
327 323
                  
328 324
                 </td>
329
-              </tr>
325
+                </tr> 
330 326
             </table>
331 327
           </div>
332 328
           <div style="margin-bottom: 10px;">
@@ -383,17 +379,9 @@
383 379
                 </td>
384 380
 
385 381
                 <td height="32px">
386
-                  <span
387
-                    v-if="setAdminUserES(advice.advice_doctor) == ''"
388
-                    >{{ getAdminUser(advice.advice_doctor) }}</span
389
-                  >
390
-                  <img
391
-                    style="height: 60px ;width: 84%;"
392
-                    :src="setAdminUserES(advice.advice_doctor)"
393
-                    alt=""
394
-                    srcset=""
395
-                    v-else
396
-                  />
382
+                  <span>
383
+                    {{ getAdminUser(advice.advice_doctor) }}
384
+                  </span>
397 385
                 </td>
398 386
                 <td height="32px">
399 387
                   <span v-if="advice.execution_time">{{
@@ -401,17 +389,9 @@
401 389
                   }}</span>
402 390
                 </td>
403 391
                 <td height="32px">
404
-                  <span
405
-                    v-if="setAdminUserES(advice.execution_staff) == ''"
406
-                    >{{ getAdminUser(advice.execution_staff) }}</span
407
-                  >
408
-                  <img
409
-                    style="height: 60px;width: 84%;"
410
-                    :src="setAdminUserES(advice.execution_staff)"
411
-                    alt=""
412
-                    srcset=""
413
-                    v-else
414
-                  />
392
+                  <span>
393
+                    {{ getAdminUser(advice.execution_staff) }}
394
+                  </span>
415 395
                 </td>
416 396
               </tr>
417 397
             </table>
@@ -496,15 +476,7 @@
496 476
                 <td width="8%">上机护士:</td>
497 477
                 <td width="10%">
498 478
                   <div>
499
-                    <span
500
-                      v-if="
501
-                        setAdminUserES(
502
-                          dialysisOrder == null
503
-                            ? 0
504
-                            : dialysisOrder.start_nurse
505
-                        ) == ''
506
-                      "
507
-                    >
479
+                    <span>
508 480
                       {{
509 481
                         getAdminUser(
510 482
                           dialysisOrder == null
@@ -512,36 +484,22 @@
512 484
                             : dialysisOrder.start_nurse
513 485
                         )
514 486
                       }}</span>
515
-                    <img
516
-                      style="height: 65px;width: 100%;"
517
-                      :src="
518
-                        setAdminUserES(
519
-                          dialysisOrder == null
520
-                            ? 0
521
-                            : dialysisOrder.start_nurse
522
-                        )
523
-                      "
524
-                      alt=""
525
-                      srcset=""
526
-                      v-else
527
-                    />
528
-
529 487
                   </div>
530 488
                 </td>
531 489
                 <td width="8%">核对护士:</td>
532 490
                 <td width="10%">
533
-                  <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
534
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
491
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
492
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
535 493
                 </td>
536 494
                 <td width="8%">下机护士:</td>
537 495
                 <td width="10%">
538
-                  <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
539
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
496
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
497
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
540 498
                 </td>
541 499
                 <td width="5%">医生:</td>
542 500
                 <td width="10%">
543
-                  <span v-if="setAdminUserES(prescription.creater) == ''">{{getAdminUser(prescription.creater)}}</span>
544
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else>
501
+                  <span>{{getAdminUser(prescription.creater)}}</span>
502
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
545 503
                 </td>
546 504
               </tr>
547 505
             </table>
@@ -964,17 +922,22 @@ export default {
964 922
       return vascular_access_part_name;
965 923
     },
966 924
     getAdminUser(id) {
925
+      // console.log('3333333',id);
967 926
       if (id == 0) {
968 927
         return "";
969 928
       }
970 929
       if (id == undefined) {
971 930
         return "";
972 931
       }
973
-      for (let i = 0; i < this.adminUser.length; i++) {
974
-        if (this.adminUser[i].id == id) {
975
-          return this.adminUser[i].name;
932
+      if(id != ''){
933
+        for (let i = 0; i < this.adminUser.length; i++) {
934
+          if (this.adminUser[i].id == id) {
935
+            console.log('this.adminUser[i].name',this.adminUser[i].name);
936
+            return this.adminUser[i].name;
937
+          }
976 938
         }
977 939
       }
940
+      
978 941
     },
979 942
     getTime(value, temp) {
980 943
       if (value == 0) {
@@ -1081,7 +1044,7 @@ export default {
1081 1044
 
1082 1045
         this.users = response.data.data.users;
1083 1046
         this.patientInfo = response.data.data.patientInfo;
1084
-
1047
+console.log('122222222',response.data.data);
1085 1048
         this.patientInfo.birth = uParseTime(
1086 1049
           this.patientInfo.birthday,
1087 1050
           "{y}-{m}-{d}"

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printTen.vue View File

@@ -9,8 +9,8 @@
9 9
           <div >
10 10
             <span>姓名:{{paramsObj.name}}</span>
11 11
             <span style="margin-left: 60px;">性别:</span>
12
-            <span style="" v-if="list.gender == 1">女</span>
13
-            <span style="" v-else-if="list.gender == 2">男</span>
12
+            <span style="" v-if="list.gender == 2">女</span>
13
+            <span style="" v-else-if="list.gender == 1">男</span>
14 14
           </div>
15 15
           <div>
16 16
             <span style="margin-right: 60px;">NO:</span>