Browse Source

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

陈少旭 1 week ago
parent
commit
f9bd805f65

+ 18 - 0
package-lock.json View File

@@ -1740,6 +1740,16 @@
1740 1740
       "dev": true,
1741 1741
       "optional": true
1742 1742
     },
1743
+    "bindings": {
1744
+      "version": "1.5.0",
1745
+      "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
1746
+      "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
1747
+      "dev": true,
1748
+      "optional": true,
1749
+      "requires": {
1750
+        "file-uri-to-path": "1.0.0"
1751
+      }
1752
+    },
1743 1753
     "block-stream": {
1744 1754
       "version": "0.0.9",
1745 1755
       "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
@@ -5139,6 +5149,13 @@
5139 5149
       "resolved": "https://registry.npmmirror.com/file-saver/-/file-saver-1.3.8.tgz",
5140 5150
       "integrity": "sha512-spKHSBQIxxS81N/O21WmuXA2F6wppUCsutpzenOeZzOCCJ5gEfcbqJP983IrpLXzYmXnMUa6J03SubcNPdKrlg=="
5141 5151
     },
5152
+    "file-uri-to-path": {
5153
+      "version": "1.0.0",
5154
+      "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
5155
+      "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
5156
+      "dev": true,
5157
+      "optional": true
5158
+    },
5142 5159
     "filesize": {
5143 5160
       "version": "3.6.1",
5144 5161
       "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
@@ -14706,6 +14723,7 @@
14706 14723
           "dev": true,
14707 14724
           "optional": true,
14708 14725
           "requires": {
14726
+            "bindings": "^1.5.0",
14709 14727
             "nan": "^2.12.1"
14710 14728
           }
14711 14729
         },

+ 4 - 0
src/store/modules/globalConfig.js View File

@@ -70878,6 +70878,10 @@ const global_config = {
70878 70878
     {
70879 70879
       id: 4,
70880 70880
       name: '血流不止'
70881
+    },
70882
+    {
70883
+      id: 5,
70884
+      name: '患者要求'
70881 70885
     }
70882 70886
     ],
70883 70887
     hemostasis_opera: [{

+ 2 - 2
src/xt_pages/Pharmacy/DispensingDetails.vue View File

@@ -32,7 +32,7 @@
32 32
             align="right"
33 33
             format="yyyy-MM-dd"
34 34
             value-format="yyyy-MM-dd"
35
-            @change="startTimeChange"
35
+           
36 36
           ></el-date-picker
37 37
           >-
38 38
           <el-date-picker
@@ -46,7 +46,7 @@
46 46
             align="right"
47 47
             format="yyyy-MM-dd"
48 48
             value-format="yyyy-MM-dd"
49
-            @change="endTimeChange"
49
+          
50 50
           ></el-date-picker>
51 51
 
52 52
           <el-button

+ 183 - 10
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -398,9 +398,8 @@ export default {
398 398
       currentIndex:0,
399 399
       is_drug_open:"2",
400 400
       textarea:"",
401
-
402
-
403 401
       drug_code_open:0,
402
+      patientList:[]
404 403
 
405 404
     };
406 405
   },
@@ -537,7 +536,7 @@ export default {
537 536
           this.waitmount = res.data.data.itotal;
538 537
           this.alreadmount = res.data.data.wtotal;
539 538
           this.drugList = res.data.data.drug
540
-          this.drug_code_open = response.data.data.config.is_open
539
+          this.drug_code_open = res.data.data.config.is_open
541 540
         }
542 541
       });
543 542
       // console.log("2222222")
@@ -550,10 +549,11 @@ export default {
550 549
         shift: this.shift,
551 550
         partition: this.partition,
552 551
       };
553
-      console.log("班次---------------------",params)
552
+     
554 553
       waitingdrug(params).then((res) => {
555 554
         if (res.data.state == 1) {
556
-          this.waitmount_data = res.data.data.list;
555
+          this.waitmount_data=[]
556
+          var list = res.data.data.list;
557 557
           this.baseList =[]
558 558
           this.baseList = res.data.data.baseList
559 559
           if (this.shift != 0 || this.partition != 0) {
@@ -563,18 +563,105 @@ export default {
563 563
               this.waitmount = this.waitmount_data.length;
564 564
             }
565 565
           }
566
+          this.patientList = []
567
+          this.patientList = res.data.data.patientList
568
+          var listTwo = res.data.data.listTwo
569
+         
570
+          var newArr =[]
571
+          if(listTwo!=null && listTwo.length>0){
572
+             for(let i=0;i<listTwo.length;i++){
573
+              listTwo[i].PatientID = 0
574
+              listTwo[i].Name=""
575
+              listTwo[i].DialysisNo=""
576
+              listTwo[i].PatientID = listTwo[i].patient_id
577
+              listTwo[i].Name = listTwo[i].patient.name
578
+              listTwo[i].DialysisNo = listTwo[i].patient.dialysis_no
579
+              newArr.push(listTwo[i])
580
+             }
581
+          }
582
+        
583
+          if(list!=null && list.length>0){
584
+            for(let i=0;i<list.length;i++){
585
+              this.waitmount_data.push(list[i])
586
+            }
587
+            if(newArr!=null && newArr.length>0){
588
+               for(let i=0;i<newArr.length;i++){
589
+                this.waitmount_data.push(newArr[i]) 
590
+               }
591
+            }
592
+          }
593
+          if(this.waitmount_data==null){
594
+            if(newArr!=null && newArr.length>0){
595
+               for(let i=0;i<newArr.length;i++){
596
+                this.waitmount_data.push(newArr[i]) 
597
+               }
598
+            }
599
+           
600
+          }
601
+          if(list==null){
602
+            if(newArr!=null && newArr.length>0){
603
+               for(let i=0;i<newArr.length;i++){
604
+                this.waitmount_data.push(newArr[i]) 
605
+               }
606
+            }
607
+           
608
+          }
609
+         
566 610
         }
567 611
       });
568 612
       issueddrugs(params).then((res) => {
569 613
         if (res.data.state == 1) {
570
-          this.alreadmount_data = res.data.data.list;
614
+          this.alreadmount_data =[]
615
+          var list = res.data.data.list;
616
+          var listTwo =res.data.data.listTwo
617
+          
571 618
           if (this.shift != 0 || this.partition != 0) {
572
-            if (this.alreadmount_data == null) {
619
+            if (list == null) {
573 620
               this.alreadmount = 0;
574 621
             } else {
575
-              this.alreadmount = this.alreadmount_data.length;
622
+              this.alreadmount = list.length;
576 623
             }
577 624
           }
625
+
626
+          var newArr =[]
627
+          if(listTwo!=null && listTwo.length>0){
628
+             for(let i=0;i<listTwo.length;i++){
629
+              listTwo[i].PatientID = 0
630
+              listTwo[i].Name=""
631
+              listTwo[i].DialysisNo=""
632
+              listTwo[i].PatientID = listTwo[i].patient_id
633
+              listTwo[i].Name = listTwo[i].patient.name
634
+              listTwo[i].DialysisNo = listTwo[i].patient.dialysis_no
635
+              newArr.push(listTwo[i])
636
+             }
637
+          }
638
+        
639
+          if(list!=null && list.length>0){
640
+            for(let i=0;i<list.length;i++){
641
+              this.alreadmount_data.push(list[i])
642
+            }
643
+            if(newArr!=null && newArr.length>0){
644
+               for(let i=0;i<newArr.length;i++){
645
+                this.alreadmount_data.push(newArr[i]) 
646
+               }
647
+            }
648
+          }
649
+          if(this.waitmount_data==null){
650
+            if(newArr!=null && newArr.length>0){
651
+               for(let i=0;i<newArr.length;i++){
652
+                this.alreadmount_data.push(newArr[i]) 
653
+               }
654
+            }
655
+           
656
+          }
657
+          if(list==null){
658
+            if(newArr!=null && newArr.length>0){
659
+               for(let i=0;i<newArr.length;i++){
660
+                this.alreadmount_data.push(newArr[i]) 
661
+               }
662
+            }
663
+           
664
+          }
578 665
         }
579 666
       });
580 667
     },
@@ -589,13 +676,81 @@ export default {
589 676
       };
590 677
       await waitingdrug(params).then((res) => {
591 678
         if (res.data.state == 1) {
592
-          this.waitmount_data = res.data.data.list;
679
+          this.waitmount_data=[]
680
+          var list = res.data.data.list;
681
+          this.patientList = []
682
+          this.patientList = res.data.data.patientList
683
+          var listTwo = res.data.data.listTwo
684
+          var newArr =[]
685
+          if(listTwo!=null && listTwo.length>0){
686
+             for(let i=0;i<listTwo.length;i++){
687
+              listTwo[i].PatientID = 0
688
+              listTwo[i].Name=""
689
+              listTwo[i].DialysisNo=""
690
+              listTwo[i].PatientID = listTwo[i].patient_id
691
+              listTwo[i].Name = listTwo[i].patient.name
692
+              listTwo[i].DialysisNo = listTwo[i].patient.dialysis_no
693
+              newArr.push(listTwo[i])
694
+             }
695
+          }
696
+          if(list!=null && list.length>0){
697
+            for(let i=0;i<list.length;i++){
698
+              this.waitmount_data.push(list[i])
699
+            }
700
+            if(newArr!=null && newArr.length>0){
701
+               for(let i=0;i<newArr.length;i++){
702
+                this.waitmount_data.push(newArr[i]) 
703
+               }
704
+            }
705
+          }
706
+          if(list==null){
707
+            if(newArr!=null && newArr.length>0){
708
+               for(let i=0;i<newArr.length;i++){
709
+                this.waitmount_data.push(newArr[i]) 
710
+               }
711
+            }
712
+           
713
+          }
714
+
593 715
           console.log("1111111");
594 716
         }
595 717
       });
596 718
       await issueddrugs(params).then((res) => {
597 719
         if (res.data.state == 1) {
598
-          this.alreadmount_data = res.data.data.list;
720
+          this.alreadmount_data = []
721
+          var list = res.data.data.list;
722
+          var listTwo = res.data.data.listTwo
723
+          var newArr =[]
724
+          if(listTwo!=null && listTwo.length>0){
725
+             for(let i=0;i<listTwo.length;i++){
726
+              listTwo[i].PatientID = 0
727
+              listTwo[i].Name=""
728
+              listTwo[i].DialysisNo=""
729
+              listTwo[i].PatientID = listTwo[i].patient_id
730
+              listTwo[i].Name = listTwo[i].patient.name
731
+              listTwo[i].DialysisNo = listTwo[i].patient.dialysis_no
732
+              newArr.push(listTwo[i])
733
+             }
734
+          }
735
+          if(list!=null && list.length>0){
736
+            for(let i=0;i<list.length;i++){
737
+              this.alreadmount_data.push(list[i])
738
+            }
739
+            if(newArr!=null && newArr.length>0){
740
+               for(let i=0;i<newArr.length;i++){
741
+                this.alreadmount_data.push(newArr[i]) 
742
+               }
743
+            }
744
+          }
745
+          if(list==null){
746
+            if(newArr!=null && newArr.length>0){
747
+               for(let i=0;i<newArr.length;i++){
748
+                this.alreadmount_data.push(newArr[i]) 
749
+               }
750
+            }
751
+           
752
+          }
753
+
599 754
           console.log("1111111s");
600 755
         }
601 756
       });
@@ -603,6 +758,24 @@ export default {
603 758
 
604 759
       // })
605 760
     },
761
+    getPatientName(patient_id){
762
+      var name = ""
763
+      for(let i=0;i<this.patientList.length;i++){
764
+        if(patient_id == this.patientList[i].id){
765
+           name = this.patientList[i].name
766
+        }
767
+      }
768
+      return name
769
+    },
770
+    getPatientDialysisNo(patient_id){
771
+      var dialysis_no = ""
772
+      for(let i=0;i<this.patientList.length;i++){
773
+        if(patient_id == this.patientList[i].id){
774
+          dialysis_no = this.patientList[i].dialysis_no
775
+        }
776
+      }
777
+      return dialysis_no
778
+    },
606 779
     //获取患者信息详情
607 780
     getpatientdetails(val) {
608 781
       console.log("val2332323223",this.currentRow)

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -38,7 +38,7 @@
38 38
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
39 39
               kg
40 40
             </span>
41
-            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
41
+            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702 &&this.$store.getters.xt_user.template_info.org_id!=10721">
42 42
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
43 43
             </span>
44 44
 
@@ -46,7 +46,7 @@
46 46
              衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
47 47
             </span>
48 48
 
49
-            <span style="position: absolute;left: 80%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702 || this.$store.getters.xt_user.template_info.org_id ==10598">
49
+            <span style="position: absolute;left: 80%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10721">
50 50
               体重增长:
51 51
               <span v-if="predialysis!=null && last_record!=null">
52 52
                 {{predialysis&&last_record&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
@@ -2638,7 +2638,7 @@ mu
2638 2638
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2639 2639
         console.log("除非=======================")
2640 2640
       
2641
-        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721){
2641
+        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726){
2642 2642
           if(this.predialysis!=undefined){
2643 2643
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2644 2644
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
@@ -3103,7 +3103,7 @@ mu
3103 3103
         this.pre = pre
3104 3104
         // console.log("pre1", pre);
3105 3105
         this.getPermission()
3106
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0){
3106
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726){
3107 3107
           this.getPatientBefor()
3108 3108
         }
3109 3109
       

+ 18 - 6
src/xt_pages/dialysis/doctorAdvicePrint.vue View File

@@ -17,10 +17,11 @@
17 17
                 <table class="table dialysisTable" border="1" cellspacing="0" cellpadding="0">
18 18
                     <tr>
19 19
                     <th width="40px">姓名</th>
20
-                    <th width="40px">透析器</th>
20
+                    <th width="50px">透析器</th>
21
+                    <th width="40px">床位号</th>
21 22
                     <!-- <th width="50px">类型</th> -->
22 23
                     <th width="50px">开始时间</th>
23
-                    <th width="100px">医嘱内容</th>
24
+                    <th width="200px">医嘱内容</th>
24 25
                     <th width="50px">执行时间</th>
25 26
                     <th width="50px">执行护士</th>
26 27
                     <th width="50px">校对护士</th>
@@ -41,6 +42,7 @@
41 42
                         <td></td>
42 43
                         <td></td>
43 44
                         <td></td>
45
+                        <td></td>
44 46
                     </tr>
45 47
                     <template v-for="schedule in schedules">
46 48
                         <template v-for="(group, group_index) in schedule.new_advice">
@@ -67,9 +69,19 @@
67 69
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
68 70
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
69 71
                             <span v-if="schedule.mode_id == 24">I-HDF</span>
72
+
73
+                          
70 74
                             </td>
75
+                           
71 76
                             <td v-if="advice_index == 0" :rowspan="group.advices.length">
72
-                            {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialyzer_perfusion_apparatus : ""}}
77
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialyzer_perfusion_apparatus : ""}}
78
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_dialyszers : "/"}}
79
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_irrigation : "/"}}
80
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_strainer : ""}}
81
+                              
82
+                            </td>
83
+                            <td>
84
+                                {{ schedule.device_number.number }}
73 85
                             </td>
74 86
                             <!-- <td
75 87
                             v-if="advice_index == 0"
@@ -264,7 +276,7 @@ export default {
264 276
     },
265 277
     methods:{
266 278
         printAction: function() {
267
-            const style = '@media print { .dialysisTable{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
279
+            const style = '@media print { .dialysisTable{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 5px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 0px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 5px 5px !important;} }'
268 280
 
269 281
             printJS({
270 282
             printable: 'dialysisTable',
@@ -475,7 +487,7 @@ export default {
475 487
                     }
476 488
                  }
477 489
 
478
-
490
+                 console.log("sort===========",scheduleMap)
479 491
                  this.scheduleMap = scheduleMap
480 492
                 }
481 493
 
@@ -634,7 +646,7 @@ export default {
634 646
                     }
635 647
                  }
636 648
 
637
-
649
+                     console.log("scheduleMap------------------",scheduleMap)
638 650
                      this.scheduleMap = scheduleMap
639 651
                  }
640 652
 

+ 3 - 1
src/xt_pages/dialysis/doctorAdvicePrintTwo.vue View File

@@ -142,6 +142,8 @@ export default {
142 142
                      for(let j=0;j<hisAdvices[i].doctor_advice.length;j++){
143 143
                         hisAdvices[i].doctor_advice[j].patient_name = ""
144 144
                         hisAdvices[i].doctor_advice[j].patient_name = hisAdvices[i].patient.name
145
+                        hisAdvices[i].doctor_advice[j].sort = 0
146
+                        hisAdvices[i].doctor_advice[j].sort =  hisAdvices[i].device_number.sort
145 147
                         if(hisAdvices[i].doctor_advice[j].delivery_way !='口服' && hisAdvices[i].doctor_advice[j].delivery_way!='中药口服'){
146 148
                           if(hisAdvices[i].doctor_advice[j].execution_frequency.indexOf('上机前')==-1){
147 149
                              newArr.push(hisAdvices[i].doctor_advice[j])
@@ -151,7 +153,7 @@ export default {
151 153
                    }
152 154
                 }
153 155
                 this.tableData = []
154
-                this.tableData = newArr
156
+                this.tableData = newArr.sort((a, b) => a.sort - b.sort)
155 157
                 console.log("newArr------",newArr)
156 158
                
157 159
                }

+ 2 - 2
src/xt_pages/dialysis/newDoctorAdvice.vue View File

@@ -1550,11 +1550,11 @@ export default {
1550 1550
         this.$router.push({ path: "/dialysis/doctorAdvicePrint/one",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way,schedulType:this.schedulType,partitionType:this.partitionType} });
1551 1551
        }
1552 1552
 
1553
-       if(this.org_id == 0 || this.org_id == 10721){
1553
+       if(this.org_id == 10721){
1554 1554
          this.$router.push({ path: "/dialysis/doctorAdvicePrint/two",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way,schedulType:this.schedulType,partitionType:this.partitionType} });
1555 1555
        }
1556 1556
 
1557
-       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=0 && this.org_id!=10721){
1557
+       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=10721){
1558 1558
         this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1559 1559
        }
1560 1560
 

+ 41 - 25
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

@@ -292,12 +292,12 @@
292 292
                     {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : " " }}
293 293
                 </div>ml
294 294
             </div>
295
-            <div class="inline_block" style="margin-right:30px;">
295
+            <!-- <div class="inline_block" style="margin-right:30px;">
296 296
                 电导度
297 297
                 <div class="inline_block under_line" style="width:100px;">
298 298
                     {{ prescription.conductivity ? prescription.conductivity : " " }}
299 299
                 </div>mS/m
300
-            </div>
300
+            </div> -->
301 301
         </div>
302 302
         <div class="row">
303 303
           透前评估
@@ -347,10 +347,10 @@
347 347
             <span v-if="predialysis.is_hemorrhage == 2">无</span>
348 348
             <span v-if="predialysis.is_hemorrhage != 2 && predialysis.is_hemorrhage != 1">/</span>
349 349
           </div>
350
-          跌倒风险预防措施
350
+          <!-- 跌倒风险预防措施
351 351
           <div class="inline_block under_line" style="width:100px;text-align: center;">
352 352
             {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
353
-          </div>
353
+          </div> -->
354 354
         </div>
355 355
         <div class="row">
356 356
           上机医生
@@ -440,14 +440,14 @@
440 440
           <tbody>
441 441
               <tr style="line-height:20px;">
442 442
                 <td width="60">时间</td>
443
-                <td width="60">BP</td>
444
-                <td width="40">脉搏</td>
445
-                <td width="40">血流速</td>
446
-                <td width="100">静脉压/动脉压</td>
447
-                <td width="40">超滤量</td>
448
-                <td width="40">TMP</td>
449
-                <td width="40">电导率</td>
450
-                <td width="40">温度</td>
443
+                <td width="60">BP<br/>mmHg</td>
444
+                <td width="40">脉搏<br/>次/分</td>
445
+                <td width="40">血流速<br/>ml/min</td>
446
+                <td width="100">静脉压/动脉压<br/>mmHg</td>
447
+                <td width="40">超滤量<br/>ml</td>
448
+                <td width="40">TMP<br/>mmHg</td>
449
+                <td width="40">电导率<br/>(mS/cm)</td>
450
+                <td width="40">温度<br/>℃</td>
451 451
                 <!-- <td width="40">透析液流量</td> -->
452 452
                 <td width="40">UF/hr</td>
453 453
                 <td width="200">病情变化处理方式及结果</td>
@@ -517,33 +517,41 @@
517 517
                           </span>次/分
518 518
                         </div>
519 519
                       </td>
520
-                      <td width="70" style="border:none;padding-left:5px">透后症状:</td>
520
+                      <td width="80" style="border:none;padding-left:5px">实际置换量:</td>
521
+                      <td width="60" style="text-align:left;border:none;">
522
+                        <div>
523
+                          <span class="under_line" style="width:50px;display:inline-block">
524
+                            {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
525
+                          </span>L
526
+                        </div>
527
+                      </td>
528
+                      <!-- <td width="70" style="border:none;padding-left:5px">透后症状:</td>
521 529
                       <td width="100" style="text-align:left;border:none;">
522 530
                         <div>
523 531
                           <span class="under_line" style="width:100px;display:inline-block">
524 532
                             {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
525 533
                           </span>
526 534
                         </div>
527
-                      </td>
535
+                      </td> -->
528 536
                     </tr>
529 537
                   </tbody>
530 538
                 </table>
531 539
                 <table class="table-box">
532 540
                   <tbody>
533
-                    <tr style="height:30px;line-height:30px;">
534
-                      <td width="80" style="border:none;padding-left:5px">实际置换量:</td>
541
+                    <tr >
542
+                      <!-- <td width="80" style="border:none;padding-left:5px">实际置换量:</td>
535 543
                       <td width="60" style="text-align:left;border:none;">
536 544
                         <div>
537 545
                           <span class="under_line" style="width:50px;display:inline-block">
538 546
                             {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
539 547
                           </span>L
540 548
                         </div>
541
-                      </td>
549
+                      </td> -->
542 550
 
543 551
 
544 552
                       <!-- <td width="50" style="text-align:left;border:none;"></td> -->
545 553
                       <!-- <td width="110" style="text-align:left;border:none;"></td> -->
546
-                      <td width="120" style="border:none;padding-left:5px">透析期间进食:</td>
554
+                      <!-- <td width="120" style="border:none;padding-left:5px">透析期间进食:</td>
547 555
                       <td width="120" style="text-align:left;border:none;">
548 556
                         <div>
549 557
                           <span class="under_line" style="width:120px;display:inline-block">
@@ -551,8 +559,8 @@
551 559
                             <span v-if='afterdialysis.is_eat == 2'>否</span>
552 560
                           </span>
553 561
                         </div>
554
-                      </td>
555
-                      <td width='20'></td>
562
+                      </td> -->
563
+                      <!-- <td width='20'></td>
556 564
                       <td width="70" style="border:none;padding-left:5px">透析进食:</td>
557 565
                       <td width="70" style="text-align:left;border:none;">
558 566
                         <div>
@@ -561,7 +569,7 @@
561 569
                           </span>g
562 570
                         </div>
563 571
                       </td>
564
-                      <td></td>
572
+                      <td></td> -->
565 573
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
566 574
                       <td width="110" style="text-align:left;border:none;"></td> -->
567 575
                     </tr>
@@ -570,14 +578,22 @@
570 578
                 <table class="table-box">
571 579
                   <tbody>
572 580
                     <tr>
573
-                      <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
574
-                      <td width="220" style="text-align:left;border:none;">
581
+                      <td width="100" style="border:none;padding-left:5px">透析进食:</td>
582
+                      <td width="70" style="text-align:left;border:none;">
583
+                        <div>
584
+                          <span class="under_line" style="width:50px;display:inline-block">
585
+                            {{ afterdialysis.is_eat == 1 && afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }}
586
+                          </span>g
587
+                        </div>
588
+                      </td>
589
+                      <td width="100" style="border:none;padding-left:5px">透析器凝血:</td>
590
+                      <td width="200" style="text-align:left;border:none;">
575 591
                         <span class="under_line" style="width:100px;display:inline-block">
576 592
                           {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
577 593
                         </span>
578 594
                       </td>
579 595
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
580
-                      <td width="220" style="text-align:left;border:none;">
596
+                      <td width="200" style="text-align:left;border:none;">
581 597
                         <span class="under_line" style="width:100px;display:inline-block">
582 598
                           {{  getintravenous(afterdialysis.intravenous_tube) }}
583 599
                         </span>
@@ -588,7 +604,7 @@
588 604
                         <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
589 605
                       </td>
590 606
                       <td width="90" style="border:none;padding-left:5px">动脉管道:</td>
591
-                      <td width="220" style="text-align:left;border:none;">
607
+                      <td width="200" style="text-align:left;border:none;">
592 608
                         <span class="under_line" style="width:100px;display:inline-block">
593 609
                           {{ getarterial(afterdialysis.arterial_tube) }}
594 610
                         </span>

+ 28 - 15
src/xt_pages/outpatientCharges/summary.vue View File

@@ -169,7 +169,7 @@
169 169
         highlight-current-row
170 170
         height="calc(100vh - 300px)"
171 171
       >
172
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
172
+        <el-table-column align="center" type="selection" width="50"></el-table-column>
173 173
         <el-table-column
174 174
           prop="date"
175 175
           label="序号"
@@ -192,7 +192,7 @@
192 192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
193 193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
194 194
         </el-table-column>
195
-        <el-table-column align="center" prop="name" label="患者类型">
195
+        <el-table-column align="center" width="90" prop="name" label="患者类型">
196 196
           <template slot-scope="scope">
197 197
             {{ getpatient(scope.row.patient.patient_type) }}
198 198
           </template>
@@ -233,7 +233,7 @@
233 233
           </template>
234 234
         </el-table-column>
235 235
 
236
-        <el-table-column align="center" width="90" prop="name" label="险种类型">
236
+        <el-table-column align="center" width="60" prop="name" label="险种类型">
237 237
           <template slot-scope="scope">
238 238
             <div v-if="scope.row.insutype == '390'">
239 239
               城乡居民
@@ -269,20 +269,20 @@
269 269
             }}
270 270
           </template>
271 271
         </el-table-column>
272
-        <el-table-column align="center" width="70" prop="name" label="收费员">
272
+        <el-table-column align="center" width="65" prop="name" label="收费员">
273 273
           <template slot-scope="scope">{{
274 274
               getName(scope.row.creator)
275 275
             }}
276 276
           </template>
277 277
         </el-table-column>
278
-        <el-table-column align="center" width="70" prop="name" label="状态">
278
+        <el-table-column align="center" width="65" prop="name" label="状态">
279 279
           <template slot-scope="scope">
280 280
             <div v-if="scope.row.order_status == 1">待结算</div>
281 281
             <div v-if="scope.row.order_status == 2">已结算</div>
282 282
             <div v-if="scope.row.order_status == 3">已退费</div>
283 283
           </template>
284 284
         </el-table-column>
285
-        <el-table-column align="center" prop="name" label="操作">
285
+        <el-table-column align="center" width="110" prop="name" label="操作">
286 286
           <template slot-scope="scope">
287 287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
288 288
             >详情
@@ -375,6 +375,13 @@
375 375
               @click="invoicePrint(scope.row)"
376 376
             >打印发票
377 377
             </el-button>
378
+            <el-button
379
+              class="butt_2"
380
+              size="mini"
381
+              type="primary"
382
+              @click="open(scope.row)"
383
+            >打印结算清单
384
+            </el-button>
378 385
           </template>
379 386
         </el-table-column>
380 387
       </el-table>
@@ -431,15 +438,16 @@
431 438
       <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
432 439
       <statement-list-print ref="printlist" :paramsObj='orderObj'></statement-list-print>
433 440
     </el-dialog>
434
-
441
+    <!-- 打印结算清单 -->
435 442
     <el-dialog
436 443
       class="centerDialog"
437 444
       width="900px"
438 445
       title="打印"
439 446
       :visible.sync="listVisible"
440 447
     >
441
-      <listPrint></listPrint>
448
+      <listPrint :paramsObj='paramsObj'></listPrint>
442 449
     </el-dialog>
450
+    
443 451
     <el-dialog
444 452
       class="centerDialog"
445 453
       width="900px"
@@ -712,7 +720,7 @@ export default {
712 720
       allListVisible: false,
713 721
       adminUserOptions: [],
714 722
       invoiceVisible: false,
715
-      paramsObj: {},
723
+      paramsObj: {id:''},
716 724
       invoiceParams: {},
717 725
       settlementVisible: false,
718 726
       settlementObj: {},
@@ -720,7 +728,10 @@ export default {
720 728
       org_id:'',
721 729
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
722 730
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
723
-      ]
731
+      ],
732
+      // paramsObj3:{
733
+      //   id:''
734
+      // }
724 735
     }
725 736
   },
726 737
 
@@ -4083,12 +4094,14 @@ export default {
4083 4094
         }
4084 4095
       })
4085 4096
     },
4086
-    open(index) {
4087
-      if (index == 1) {
4097
+    open(row) {
4098
+      console.log('row',row);
4099
+      this.paramsObj.id = row.id
4100
+      // if (index == 1) {
4088 4101
         this.listVisible = true
4089
-      } else if (index == 2) {
4090
-        this.allListVisible = true
4091
-      }
4102
+      // } else if (index == 2) {
4103
+      //   this.allListVisible = true
4104
+      // }
4092 4105
     }, unique(array) {
4093 4106
       // res用来存储结果
4094 4107
       var res = []

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))