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
       "dev": true,
1740
       "dev": true,
1741
       "optional": true
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
     "block-stream": {
1753
     "block-stream": {
1744
       "version": "0.0.9",
1754
       "version": "0.0.9",
1745
       "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
1755
       "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
5139
       "resolved": "https://registry.npmmirror.com/file-saver/-/file-saver-1.3.8.tgz",
5149
       "resolved": "https://registry.npmmirror.com/file-saver/-/file-saver-1.3.8.tgz",
5140
       "integrity": "sha512-spKHSBQIxxS81N/O21WmuXA2F6wppUCsutpzenOeZzOCCJ5gEfcbqJP983IrpLXzYmXnMUa6J03SubcNPdKrlg=="
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
     "filesize": {
5159
     "filesize": {
5143
       "version": "3.6.1",
5160
       "version": "3.6.1",
5144
       "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
5161
       "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
14706
           "dev": true,
14723
           "dev": true,
14707
           "optional": true,
14724
           "optional": true,
14708
           "requires": {
14725
           "requires": {
14726
+            "bindings": "^1.5.0",
14709
             "nan": "^2.12.1"
14727
             "nan": "^2.12.1"
14710
           }
14728
           }
14711
         },
14729
         },

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

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

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

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

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

398
       currentIndex:0,
398
       currentIndex:0,
399
       is_drug_open:"2",
399
       is_drug_open:"2",
400
       textarea:"",
400
       textarea:"",
401
-
402
-
403
       drug_code_open:0,
401
       drug_code_open:0,
402
+      patientList:[]
404
 
403
 
405
     };
404
     };
406
   },
405
   },
537
           this.waitmount = res.data.data.itotal;
536
           this.waitmount = res.data.data.itotal;
538
           this.alreadmount = res.data.data.wtotal;
537
           this.alreadmount = res.data.data.wtotal;
539
           this.drugList = res.data.data.drug
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
       // console.log("2222222")
542
       // console.log("2222222")
550
         shift: this.shift,
549
         shift: this.shift,
551
         partition: this.partition,
550
         partition: this.partition,
552
       };
551
       };
553
-      console.log("班次---------------------",params)
552
+     
554
       waitingdrug(params).then((res) => {
553
       waitingdrug(params).then((res) => {
555
         if (res.data.state == 1) {
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
           this.baseList =[]
557
           this.baseList =[]
558
           this.baseList = res.data.data.baseList
558
           this.baseList = res.data.data.baseList
559
           if (this.shift != 0 || this.partition != 0) {
559
           if (this.shift != 0 || this.partition != 0) {
563
               this.waitmount = this.waitmount_data.length;
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
       issueddrugs(params).then((res) => {
612
       issueddrugs(params).then((res) => {
569
         if (res.data.state == 1) {
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
           if (this.shift != 0 || this.partition != 0) {
618
           if (this.shift != 0 || this.partition != 0) {
572
-            if (this.alreadmount_data == null) {
619
+            if (list == null) {
573
               this.alreadmount = 0;
620
               this.alreadmount = 0;
574
             } else {
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
       };
676
       };
590
       await waitingdrug(params).then((res) => {
677
       await waitingdrug(params).then((res) => {
591
         if (res.data.state == 1) {
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
           console.log("1111111");
715
           console.log("1111111");
594
         }
716
         }
595
       });
717
       });
596
       await issueddrugs(params).then((res) => {
718
       await issueddrugs(params).then((res) => {
597
         if (res.data.state == 1) {
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
           console.log("1111111s");
754
           console.log("1111111s");
600
         }
755
         }
601
       });
756
       });
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
     getpatientdetails(val) {
780
     getpatientdetails(val) {
608
       console.log("val2332323223",this.currentRow)
781
       console.log("val2332323223",this.currentRow)

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

38
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
38
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
39
               kg
39
               kg
40
             </span>
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
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
42
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
43
             </span>
43
             </span>
44
 
44
 
46
              衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
46
              衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
47
             </span>
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
               <span v-if="predialysis!=null && last_record!=null">
51
               <span v-if="predialysis!=null && last_record!=null">
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
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
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2638
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2639
         console.log("除非=======================")
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
           if(this.predialysis!=undefined){
2642
           if(this.predialysis!=undefined){
2643
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2643
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2644
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
2644
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
3103
         this.pre = pre
3103
         this.pre = pre
3104
         // console.log("pre1", pre);
3104
         // console.log("pre1", pre);
3105
         this.getPermission()
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
           this.getPatientBefor()
3107
           this.getPatientBefor()
3108
         }
3108
         }
3109
       
3109
       

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

17
                 <table class="table dialysisTable" border="1" cellspacing="0" cellpadding="0">
17
                 <table class="table dialysisTable" border="1" cellspacing="0" cellpadding="0">
18
                     <tr>
18
                     <tr>
19
                     <th width="40px">姓名</th>
19
                     <th width="40px">姓名</th>
20
-                    <th width="40px">透析器</th>
20
+                    <th width="50px">透析器</th>
21
+                    <th width="40px">床位号</th>
21
                     <!-- <th width="50px">类型</th> -->
22
                     <!-- <th width="50px">类型</th> -->
22
                     <th width="50px">开始时间</th>
23
                     <th width="50px">开始时间</th>
23
-                    <th width="100px">医嘱内容</th>
24
+                    <th width="200px">医嘱内容</th>
24
                     <th width="50px">执行时间</th>
25
                     <th width="50px">执行时间</th>
25
                     <th width="50px">执行护士</th>
26
                     <th width="50px">执行护士</th>
26
                     <th width="50px">校对护士</th>
27
                     <th width="50px">校对护士</th>
41
                         <td></td>
42
                         <td></td>
42
                         <td></td>
43
                         <td></td>
43
                         <td></td>
44
                         <td></td>
45
+                        <td></td>
44
                     </tr>
46
                     </tr>
45
                     <template v-for="schedule in schedules">
47
                     <template v-for="schedule in schedules">
46
                         <template v-for="(group, group_index) in schedule.new_advice">
48
                         <template v-for="(group, group_index) in schedule.new_advice">
67
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
69
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
68
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
70
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
69
                             <span v-if="schedule.mode_id == 24">I-HDF</span>
71
                             <span v-if="schedule.mode_id == 24">I-HDF</span>
72
+
73
+                          
70
                             </td>
74
                             </td>
75
+                           
71
                             <td v-if="advice_index == 0" :rowspan="group.advices.length">
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
                             </td>
85
                             </td>
74
                             <!-- <td
86
                             <!-- <td
75
                             v-if="advice_index == 0"
87
                             v-if="advice_index == 0"
264
     },
276
     },
265
     methods:{
277
     methods:{
266
         printAction: function() {
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
             printJS({
281
             printJS({
270
             printable: 'dialysisTable',
282
             printable: 'dialysisTable',
475
                     }
487
                     }
476
                  }
488
                  }
477
 
489
 
478
-
490
+                 console.log("sort===========",scheduleMap)
479
                  this.scheduleMap = scheduleMap
491
                  this.scheduleMap = scheduleMap
480
                 }
492
                 }
481
 
493
 
634
                     }
646
                     }
635
                  }
647
                  }
636
 
648
 
637
-
649
+                     console.log("scheduleMap------------------",scheduleMap)
638
                      this.scheduleMap = scheduleMap
650
                      this.scheduleMap = scheduleMap
639
                  }
651
                  }
640
 
652
 

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

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

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

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} });
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
          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} });
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
         this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
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
                     {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : " " }}
292
                     {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : " " }}
293
                 </div>ml
293
                 </div>ml
294
             </div>
294
             </div>
295
-            <div class="inline_block" style="margin-right:30px;">
295
+            <!-- <div class="inline_block" style="margin-right:30px;">
296
                 电导度
296
                 电导度
297
                 <div class="inline_block under_line" style="width:100px;">
297
                 <div class="inline_block under_line" style="width:100px;">
298
                     {{ prescription.conductivity ? prescription.conductivity : " " }}
298
                     {{ prescription.conductivity ? prescription.conductivity : " " }}
299
                 </div>mS/m
299
                 </div>mS/m
300
-            </div>
300
+            </div> -->
301
         </div>
301
         </div>
302
         <div class="row">
302
         <div class="row">
303
           透前评估
303
           透前评估
347
             <span v-if="predialysis.is_hemorrhage == 2">无</span>
347
             <span v-if="predialysis.is_hemorrhage == 2">无</span>
348
             <span v-if="predialysis.is_hemorrhage != 2 && predialysis.is_hemorrhage != 1">/</span>
348
             <span v-if="predialysis.is_hemorrhage != 2 && predialysis.is_hemorrhage != 1">/</span>
349
           </div>
349
           </div>
350
-          跌倒风险预防措施
350
+          <!-- 跌倒风险预防措施
351
           <div class="inline_block under_line" style="width:100px;text-align: center;">
351
           <div class="inline_block under_line" style="width:100px;text-align: center;">
352
             {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
352
             {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
353
-          </div>
353
+          </div> -->
354
         </div>
354
         </div>
355
         <div class="row">
355
         <div class="row">
356
           上机医生
356
           上机医生
440
           <tbody>
440
           <tbody>
441
               <tr style="line-height:20px;">
441
               <tr style="line-height:20px;">
442
                 <td width="60">时间</td>
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
                 <!-- <td width="40">透析液流量</td> -->
451
                 <!-- <td width="40">透析液流量</td> -->
452
                 <td width="40">UF/hr</td>
452
                 <td width="40">UF/hr</td>
453
                 <td width="200">病情变化处理方式及结果</td>
453
                 <td width="200">病情变化处理方式及结果</td>
517
                           </span>次/分
517
                           </span>次/分
518
                         </div>
518
                         </div>
519
                       </td>
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
                       <td width="100" style="text-align:left;border:none;">
529
                       <td width="100" style="text-align:left;border:none;">
522
                         <div>
530
                         <div>
523
                           <span class="under_line" style="width:100px;display:inline-block">
531
                           <span class="under_line" style="width:100px;display:inline-block">
524
                             {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
532
                             {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
525
                           </span>
533
                           </span>
526
                         </div>
534
                         </div>
527
-                      </td>
535
+                      </td> -->
528
                     </tr>
536
                     </tr>
529
                   </tbody>
537
                   </tbody>
530
                 </table>
538
                 </table>
531
                 <table class="table-box">
539
                 <table class="table-box">
532
                   <tbody>
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
                       <td width="60" style="text-align:left;border:none;">
543
                       <td width="60" style="text-align:left;border:none;">
536
                         <div>
544
                         <div>
537
                           <span class="under_line" style="width:50px;display:inline-block">
545
                           <span class="under_line" style="width:50px;display:inline-block">
538
                             {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
546
                             {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
539
                           </span>L
547
                           </span>L
540
                         </div>
548
                         </div>
541
-                      </td>
549
+                      </td> -->
542
 
550
 
543
 
551
 
544
                       <!-- <td width="50" style="text-align:left;border:none;"></td> -->
552
                       <!-- <td width="50" style="text-align:left;border:none;"></td> -->
545
                       <!-- <td width="110" style="text-align:left;border:none;"></td> -->
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
                       <td width="120" style="text-align:left;border:none;">
555
                       <td width="120" style="text-align:left;border:none;">
548
                         <div>
556
                         <div>
549
                           <span class="under_line" style="width:120px;display:inline-block">
557
                           <span class="under_line" style="width:120px;display:inline-block">
551
                             <span v-if='afterdialysis.is_eat == 2'>否</span>
559
                             <span v-if='afterdialysis.is_eat == 2'>否</span>
552
                           </span>
560
                           </span>
553
                         </div>
561
                         </div>
554
-                      </td>
555
-                      <td width='20'></td>
562
+                      </td> -->
563
+                      <!-- <td width='20'></td>
556
                       <td width="70" style="border:none;padding-left:5px">透析进食:</td>
564
                       <td width="70" style="border:none;padding-left:5px">透析进食:</td>
557
                       <td width="70" style="text-align:left;border:none;">
565
                       <td width="70" style="text-align:left;border:none;">
558
                         <div>
566
                         <div>
561
                           </span>g
569
                           </span>g
562
                         </div>
570
                         </div>
563
                       </td>
571
                       </td>
564
-                      <td></td>
572
+                      <td></td> -->
565
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
573
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
566
                       <td width="110" style="text-align:left;border:none;"></td> -->
574
                       <td width="110" style="text-align:left;border:none;"></td> -->
567
                     </tr>
575
                     </tr>
570
                 <table class="table-box">
578
                 <table class="table-box">
571
                   <tbody>
579
                   <tbody>
572
                     <tr>
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
                         <span class="under_line" style="width:100px;display:inline-block">
591
                         <span class="under_line" style="width:100px;display:inline-block">
576
                           {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
592
                           {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
577
                         </span>
593
                         </span>
578
                       </td>
594
                       </td>
579
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
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
                         <span class="under_line" style="width:100px;display:inline-block">
597
                         <span class="under_line" style="width:100px;display:inline-block">
582
                           {{  getintravenous(afterdialysis.intravenous_tube) }}
598
                           {{  getintravenous(afterdialysis.intravenous_tube) }}
583
                         </span>
599
                         </span>
588
                         <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
604
                         <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
589
                       </td>
605
                       </td>
590
                       <td width="90" style="border:none;padding-left:5px">动脉管道:</td>
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
                         <span class="under_line" style="width:100px;display:inline-block">
608
                         <span class="under_line" style="width:100px;display:inline-block">
593
                           {{ getarterial(afterdialysis.arterial_tube) }}
609
                           {{ getarterial(afterdialysis.arterial_tube) }}
594
                         </span>
610
                         </span>

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

169
         highlight-current-row
169
         highlight-current-row
170
         height="calc(100vh - 300px)"
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
         <el-table-column
173
         <el-table-column
174
           prop="date"
174
           prop="date"
175
           label="序号"
175
           label="序号"
192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
194
         </el-table-column>
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
           <template slot-scope="scope">
196
           <template slot-scope="scope">
197
             {{ getpatient(scope.row.patient.patient_type) }}
197
             {{ getpatient(scope.row.patient.patient_type) }}
198
           </template>
198
           </template>
233
           </template>
233
           </template>
234
         </el-table-column>
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
           <template slot-scope="scope">
237
           <template slot-scope="scope">
238
             <div v-if="scope.row.insutype == '390'">
238
             <div v-if="scope.row.insutype == '390'">
239
               城乡居民
239
               城乡居民
269
             }}
269
             }}
270
           </template>
270
           </template>
271
         </el-table-column>
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
           <template slot-scope="scope">{{
273
           <template slot-scope="scope">{{
274
               getName(scope.row.creator)
274
               getName(scope.row.creator)
275
             }}
275
             }}
276
           </template>
276
           </template>
277
         </el-table-column>
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
           <template slot-scope="scope">
279
           <template slot-scope="scope">
280
             <div v-if="scope.row.order_status == 1">待结算</div>
280
             <div v-if="scope.row.order_status == 1">待结算</div>
281
             <div v-if="scope.row.order_status == 2">已结算</div>
281
             <div v-if="scope.row.order_status == 2">已结算</div>
282
             <div v-if="scope.row.order_status == 3">已退费</div>
282
             <div v-if="scope.row.order_status == 3">已退费</div>
283
           </template>
283
           </template>
284
         </el-table-column>
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
           <template slot-scope="scope">
286
           <template slot-scope="scope">
287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
288
             >详情
288
             >详情
375
               @click="invoicePrint(scope.row)"
375
               @click="invoicePrint(scope.row)"
376
             >打印发票
376
             >打印发票
377
             </el-button>
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
           </template>
385
           </template>
379
         </el-table-column>
386
         </el-table-column>
380
       </el-table>
387
       </el-table>
431
       <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
438
       <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
432
       <statement-list-print ref="printlist" :paramsObj='orderObj'></statement-list-print>
439
       <statement-list-print ref="printlist" :paramsObj='orderObj'></statement-list-print>
433
     </el-dialog>
440
     </el-dialog>
434
-
441
+    <!-- 打印结算清单 -->
435
     <el-dialog
442
     <el-dialog
436
       class="centerDialog"
443
       class="centerDialog"
437
       width="900px"
444
       width="900px"
438
       title="打印"
445
       title="打印"
439
       :visible.sync="listVisible"
446
       :visible.sync="listVisible"
440
     >
447
     >
441
-      <listPrint></listPrint>
448
+      <listPrint :paramsObj='paramsObj'></listPrint>
442
     </el-dialog>
449
     </el-dialog>
450
+    
443
     <el-dialog
451
     <el-dialog
444
       class="centerDialog"
452
       class="centerDialog"
445
       width="900px"
453
       width="900px"
712
       allListVisible: false,
720
       allListVisible: false,
713
       adminUserOptions: [],
721
       adminUserOptions: [],
714
       invoiceVisible: false,
722
       invoiceVisible: false,
715
-      paramsObj: {},
723
+      paramsObj: {id:''},
716
       invoiceParams: {},
724
       invoiceParams: {},
717
       settlementVisible: false,
725
       settlementVisible: false,
718
       settlementObj: {},
726
       settlementObj: {},
720
       org_id:'',
728
       org_id:'',
721
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
729
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
722
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
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
         }
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
         this.listVisible = true
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
     }, unique(array) {
4105
     }, unique(array) {
4093
       // res用来存储结果
4106
       // res用来存储结果
4094
       var res = []
4107
       var res = []

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))