Browse Source

Merge branch '20200916_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200916_pc_vue_new_branch

XMLWAN 4 years ago
parent
commit
fba13777a9

+ 2 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

946
         this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : ''
946
         this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : ''
947
         this.form.urr = resp.monitor.urr?resp.monitor.urr:''
947
         this.form.urr = resp.monitor.urr?resp.monitor.urr:''
948
         this.form.blood_sugar = resp.monitor.blood_sugar?resp.monitor.blood_sugar:''
948
         this.form.blood_sugar = resp.monitor.blood_sugar?resp.monitor.blood_sugar:''
949
+        this.form.sodium_concentration = resp.monitor.sodium_concentration?resp.monitor.sodium_concentration:''
950
+        this.form.conductivity = resp.monitor.conductivity?resp.monitor.conductivity:''
949
       })
951
       })
950
     },
952
     },
951
 
953
 

+ 73 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue View File

273
                      {{ predialysis.exposed ? predialysis.exposed : '' }}
273
                      {{ predialysis.exposed ? predialysis.exposed : '' }}
274
                   </div>
274
                   </div>
275
                 </td>
275
                 </td>
276
-                <td width='10'>ml</td>
276
+                <td width='10'>cm</td>
277
                 <td width="30"></td>
277
                 <td width="30"></td>
278
 
278
 
279
                 <td width="95">内瘘皮肤情况:</td>
279
                 <td width="95">内瘘皮肤情况:</td>
325
             <table class="table-box">
325
             <table class="table-box">
326
               <tbody>
326
               <tbody>
327
               <tr>
327
               <tr>
328
-                <td width="86">活动性出血:</td>
328
+                <td width="80">活动性出血:</td>
329
                 <td width="40">
329
                 <td width="40">
330
                   <div>
330
                   <div>
331
                     <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
331
                     <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
332
                   </div>
332
                   </div>
333
                 </td>
333
                 </td>
334
-                <td width="380">
334
+                <td width="420">
335
                   <div>
335
                   <div>
336
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
336
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
337
                     &nbsp;
337
                     &nbsp;
338
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
338
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
339
                     &nbsp;
339
                     &nbsp;
340
-                    <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('穿刺点渗血') > -1 ? true : false" showValue="穿刺点渗血"></label-box>
340
+                    <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('皮下瘀斑') > -1 ? true : false" showValue="皮下瘀斑"></label-box>
341
                     &nbsp;
341
                     &nbsp;
342
-
343
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
342
                     <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
343
+                    &nbsp;
344
+                    <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('血尿') > -1 ? true : false" showValue="血尿"></label-box>
344
                   </div>
345
                   </div>
345
                 </td>
346
                 </td>
346
 
347
 
359
               <tbody>
360
               <tbody>
360
               <tr>
361
               <tr>
361
                 <td width="70">血管通路:</td>
362
                 <td width="70">血管通路:</td>
362
-                <td width="480">
363
+                <td width="620">
363
                   <div>
364
                   <div>
364
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1 ? true : false" showValue="自体内瘘"></label-box>
365
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1 ? true : false" showValue="自体内瘘"></label-box>
365
                     &nbsp;
366
                     &nbsp;
367
                     &nbsp;
368
                     &nbsp;
368
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('直穿') > -1 ? true : false" showValue="直穿"></label-box>
369
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('直穿') > -1 ? true : false" showValue="直穿"></label-box>
369
                     &nbsp;
370
                     &nbsp;
371
+                    <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下') > -1 ? true : false" showValue="锁骨下"></label-box>
372
+                    &nbsp;
370
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="颈内静脉"></label-box>
373
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="颈内静脉"></label-box>
371
                     &nbsp;
374
                     &nbsp;
375
+                    (&nbsp;<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-长期') > -1 ? true : false" showValue="长期"></label-box>&nbsp;
376
+                    <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-临时') > -1 ? true : false" showValue="临时"></label-box>&nbsp;)
372
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="股静脉"></label-box>
377
                     <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="股静脉"></label-box>
373
                     &nbsp;
378
                     &nbsp;
374
-                    <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下') > -1 ? true : false" showValue="锁骨下"></label-box>
375
-                    &nbsp;
379
+                    
376
                   </div>
380
                   </div>
377
                 </td>
381
                 </td>
378
 
382
 
408
                   </div>
412
                   </div>
409
                 </td>
413
                 </td>
410
                 <td width="20">Kg</td>
414
                 <td width="20">Kg</td>
415
+                <td></td>
416
+                <td width="60">衣物重:</td>
417
+                <td width="50">
418
+                  <div class="under-line">
419
+                    &nbsp;{{ predialysis.additional_weight ? predialysis.additional_weight : 0 }}
420
+                  </div>
421
+                </td>
422
+                <td width="20">Kg</td>
411
 
423
 
412
                 <td></td>
424
                 <td></td>
413
                 <td width="100">计划治疗时间:</td>
425
                 <td width="100">计划治疗时间:</td>
439
             <table class="table-box">
451
             <table class="table-box">
440
               <tbody>
452
               <tbody>
441
               <tr>
453
               <tr>
442
-                <td width="120">计划超滤总量:</td>
454
+                <td width="100">计划超滤总量:</td>
443
                 <td width="50">
455
                 <td width="50">
444
                   <div class="under-line">
456
                   <div class="under-line">
445
-                    &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
457
+                    &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : 0 }}
446
                   </div>
458
                   </div>
447
                 </td>
459
                 </td>
448
-                <td width="10">ml</td>
460
+                <td width="10">L</td>
461
+                <td width='70'>置换方式:</td>
462
+                <td width='130'>
463
+                  <label-box :isChecked="prescription.displace_liqui_part == 1 ? true : false" showValue="前置换"></label-box>&nbsp;
464
+                  <label-box :isChecked="prescription.displace_liqui_part == 2 ? true : false" showValue="后置换"></label-box>
465
+                </td>
449
                 <td width="60">置换量:</td>
466
                 <td width="60">置换量:</td>
450
                 <td width="40">
467
                 <td width="40">
451
                   <div class="under-line">
468
                   <div class="under-line">
452
                     &nbsp;{{ prescription.replacement_total ? prescription.replacement_total : "/" }}
469
                     &nbsp;{{ prescription.replacement_total ? prescription.replacement_total : "/" }}
453
                   </div>
470
                   </div>
454
                 </td>
471
                 </td>
455
-                <td width="20">ml</td>
456
-
472
+                <td width="20">L</td>
473
+                
457
                 <td width="80">透析方式:</td>
474
                 <td width="80">透析方式:</td>
458
                 <td width="50">
475
                 <td width="50">
459
                   <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
476
                   <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
461
                 <td width="60">
478
                 <td width="60">
462
                   <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
479
                   <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
463
                 </td>
480
                 </td>
464
-                <td width="50">
465
-                  <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
466
-                </td>
467
                 <td width="50">
481
                 <td width="50">
468
                   <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>
482
                   <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>
469
                 </td>
483
                 </td>
470
                 <td width="80">
484
                 <td width="80">
471
                   <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
485
                   <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
472
                 </td>
486
                 </td>
473
-                <td width="90">透析器型号:</td>
474
-                <td width="100">
475
-                  <div class="under-line">
476
-                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
477
-                  </div>
478
-                </td>
479
               </tr>
487
               </tr>
480
               </tbody>
488
               </tbody>
481
             </table>
489
             </table>
579
                 </td>
587
                 </td>
580
                 <td width="10">(</td>
588
                 <td width="10">(</td>
581
                 <td width="100">
589
                 <td width="100">
582
-                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="1.5"></label-box>
583
                   <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="1.25"></label-box>
590
                   <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="1.25"></label-box>
591
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="1.5"></label-box>
584
                 </td>
592
                 </td>
585
                 <td width="10">)</td>
593
                 <td width="10">)</td>
586
                 <td width="10">mmol/L</td>
594
                 <td width="10">mmol/L</td>
594
                 </td>
602
                 </td>
595
                 <td width="10">)</td>
603
                 <td width="10">)</td>
596
                 <td width="10">mmol/L</td>
604
                 <td width="10">mmol/L</td>
597
-                
605
+                <td width="90">透析器型号:</td>
606
+                <td width="100">
607
+                  <div class="under-line">
608
+                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
609
+                  </div>
610
+                </td>
598
                 <td></td>
611
                 <td></td>
599
               </tr>
612
               </tr>
600
               </tbody>
613
               </tbody>
750
                       <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
763
                       <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
751
                     </div>
764
                     </div>
752
                   </td>
765
                   </td>
766
+                  <td width='30'></td>
767
+                  <td width="40">导管:</td>
768
+                  <td width='200'>
769
+                    <label-box showValue="通畅" :isChecked="afterdialysis.catheter.indexOf('通畅') > -1 ? true : false"></label-box>&nbsp;
770
+                    <label-box showValue="A堵塞" :isChecked="afterdialysis.catheter.indexOf('A堵塞') > -1 ? true : false"></label-box>&nbsp;
771
+                    <label-box showValue="V堵塞" :isChecked="afterdialysis.catheter.indexOf('V堵塞') > -1 ? true : false"></label-box>&nbsp;
772
+                  </td>
753
                   <td></td>
773
                   <td></td>
754
                 </tr>
774
                 </tr>
755
                 </tbody>
775
                 </tbody>
878
                   <td width="90">实际超滤总量</td>
898
                   <td width="90">实际超滤总量</td>
879
                   <td width="40">
899
                   <td width="40">
880
                     <div class="under-line">
900
                     <div class="under-line">
881
-                      &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
901
+                      &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : 0 }}
882
                     </div>
902
                     </div>
883
                   </td>
903
                   </td>
884
-                  <td width="10">ml</td>
904
+                  <td width="10">L</td>
885
                   <td width="20"></td>
905
                   <td width="20"></td>
886
                   <td width="90">实际治疗时间</td>
906
                   <td width="90">实际治疗时间</td>
887
                   <td width="40">
907
                   <td width="40">
927
               <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
947
               <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
928
             </div>
948
             </div>
929
           </td>
949
           </td>
930
-          <td width="50">下机护士</td>
931
-          <td width="80">
932
-            <div class="under-line">
933
-              &nbsp;
934
-              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
935
-              <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
936
-            </div>
937
-          </td>
938
-          <td width="50">看机护士</td>
939
-          <td width="80">
940
-            <div class="under-line">
941
-              &nbsp;
942
-              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
943
-              <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
944
-            </div>
945
-          </td>
946
           <td width="50">穿刺护士</td>
950
           <td width="50">穿刺护士</td>
947
           <td width="80">
951
           <td width="80">
948
             <div class="under-line">
952
             <div class="under-line">
955
           <td width="80">
959
           <td width="80">
956
             <div class="under-line">
960
             <div class="under-line">
957
               &nbsp;
961
               &nbsp;
958
-              <span v-if="doctor_advices[0].execution_staff != check.modifier">
962
+              <span v-if="(dialysisOrder==null?0:dialysisOrder.start_nurse) != check.modifier">
959
                 <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
963
                 <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
960
                 {{ getAdminUser(check == null ? 0 : check.modifier) }}
964
                 {{ getAdminUser(check == null ? 0 : check.modifier) }}
961
                 </span>
965
                 </span>
969
               </span>
973
               </span>
970
             </div>
974
             </div>
971
           </td>
975
           </td>
976
+          <td width="50">看机护士</td>
977
+          <td width="80">
978
+            <div class="under-line">
979
+              &nbsp;
980
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
981
+              <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
982
+            </div>
983
+          </td>
984
+          <td width="50">下机护士</td>
985
+          <td width="80">
986
+            <div class="under-line">
987
+              &nbsp;
988
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
989
+              <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
990
+            </div>
991
+          </td>
972
         </tr>
992
         </tr>
973
         </tbody>
993
         </tbody>
974
       </table>
994
       </table>
1457
               this.doctor_advices.push(obj3)
1477
               this.doctor_advices.push(obj3)
1458
               this.doctor_advices.push(obj3)
1478
               this.doctor_advices.push(obj3)
1459
               this.doctor_advices.push(obj3)
1479
               this.doctor_advices.push(obj3)
1480
+              this.doctor_advices.push(obj3)
1460
             }
1481
             }
1461
             if (this.doctor_advices.length === 1) {
1482
             if (this.doctor_advices.length === 1) {
1462
               var obj = { advice_name: '', start_time: '' }
1483
               var obj = { advice_name: '', start_time: '' }
1467
               this.doctor_advices.push(obj2)
1488
               this.doctor_advices.push(obj2)
1468
               this.doctor_advices.push(obj2)
1489
               this.doctor_advices.push(obj2)
1469
               this.doctor_advices.push(obj2)
1490
               this.doctor_advices.push(obj2)
1491
+              this.doctor_advices.push(obj2)
1470
             }
1492
             }
1471
             if (this.doctor_advices.length === 2) {
1493
             if (this.doctor_advices.length === 2) {
1472
               var obj = { advice_name: '', start_time: '' }
1494
               var obj = { advice_name: '', start_time: '' }
1475
               this.doctor_advices.push(obj1)
1497
               this.doctor_advices.push(obj1)
1476
               this.doctor_advices.push(obj1)
1498
               this.doctor_advices.push(obj1)
1477
               this.doctor_advices.push(obj1)
1499
               this.doctor_advices.push(obj1)
1500
+              this.doctor_advices.push(obj1)
1478
             }
1501
             }
1479
             if (this.doctor_advices.length === 3) {
1502
             if (this.doctor_advices.length === 3) {
1480
               // eslint-disable-next-line no-redeclare
1503
               // eslint-disable-next-line no-redeclare
1482
               this.doctor_advices.push(obj)
1505
               this.doctor_advices.push(obj)
1483
               this.doctor_advices.push(obj)
1506
               this.doctor_advices.push(obj)
1484
               this.doctor_advices.push(obj)
1507
               this.doctor_advices.push(obj)
1508
+              this.doctor_advices.push(obj)
1485
             }
1509
             }
1486
-            if (this.doctor_advices.length === 2) {
1510
+            if (this.doctor_advices.length === 4) {
1487
               // eslint-disable-next-line no-redeclare
1511
               // eslint-disable-next-line no-redeclare
1488
               var obj = { advice_name: '', start_time: '' }
1512
               var obj = { advice_name: '', start_time: '' }
1489
               this.doctor_advices.push(obj)
1513
               this.doctor_advices.push(obj)
1490
               this.doctor_advices.push(obj)
1514
               this.doctor_advices.push(obj)
1491
               this.doctor_advices.push(obj)
1515
               this.doctor_advices.push(obj)
1492
-              this.doctor_advices.push(obj)
1493
             }
1516
             }
1494
-            if (this.doctor_advices.length === 1) {
1517
+            if (this.doctor_advices.length === 5) {
1495
               // eslint-disable-next-line no-redeclare
1518
               // eslint-disable-next-line no-redeclare
1496
               var obj = { advice_name: '', start_time: '' }
1519
               var obj = { advice_name: '', start_time: '' }
1497
               this.doctor_advices.push(obj)
1520
               this.doctor_advices.push(obj)
1498
               this.doctor_advices.push(obj)
1521
               this.doctor_advices.push(obj)
1499
-              this.doctor_advices.push(obj)
1500
-              this.doctor_advices.push(obj)
1522
+            }
1523
+            if (this.doctor_advices.length === 6) {
1524
+              // eslint-disable-next-line no-redeclare
1525
+              var obj = { advice_name: '', start_time: '' }
1501
               this.doctor_advices.push(obj)
1526
               this.doctor_advices.push(obj)
1502
             }
1527
             }
1503
 
1528