Browse Source

新分支

28169 9 months ago
parent
commit
76e67ee13a

+ 55 - 44
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -827,7 +827,7 @@
827 827
                           class="under_line"
828 828
                           style="width: 70px; text-align: center"
829 829
                         >
830
-                         
830
+
831 831
 
832 832
                           <span v-if="org_id==10206">
833 833
                               {{
@@ -844,7 +844,7 @@
844 844
                               : "/"
845 845
                            }}
846 846
                           </span>
847
-                          
847
+
848 848
                           <span v-if="org_id!=10206&&org_id!=10510">
849 849
                             {{
850 850
                             record.prescription &&
@@ -1009,7 +1009,7 @@
1009 1009
                     </div>
1010 1010
 
1011 1011
                     <div
1012
-                    
1012
+
1013 1013
                       class="row"
1014 1014
                       style="padding: 2px 0; line-height: 23px; display: flex"
1015 1015
                     >
@@ -1048,7 +1048,7 @@
1048 1048
                           <span>{{
1049 1049
                             record.lastafterweight.weight_after
1050 1050
                           }}</span>
1051
-                       
1051
+
1052 1052
                         </div>
1053 1053
                         kg
1054 1054
                       </div>
@@ -1099,7 +1099,7 @@
1099 1099
                               : "/"
1100 1100
                           }}
1101 1101
                         </div>
1102
-                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460 || org_id ==10624 || org_id ==10644">ml</span> 
1102
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460 || org_id ==10624 || org_id ==10644">ml</span>
1103 1103
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460 && org_id!=10624  && org_id!=10644">L</span>
1104 1104
                       </div>
1105 1105
 
@@ -1354,7 +1354,7 @@
1354 1354
                               : 0
1355 1355
                           }}
1356 1356
                         </div>
1357
-                       
1357
+
1358 1358
                         <span v-if="record.prescription.anticoagulant == 6"
1359 1359
                           >iu</span
1360 1360
                         >
@@ -1542,7 +1542,7 @@
1542 1542
                         </div>
1543 1543
                         ml/h
1544 1544
                       </div>
1545
-                      
1545
+
1546 1546
                       <span>&nbsp;&nbsp;&nbsp;</span>
1547 1547
                       <div class="inline_block">
1548 1548
                         碳酸氢钠流速:
@@ -1611,7 +1611,7 @@
1611 1611
                           <td
1612 1612
                             width="50"
1613 1613
                             v-if="
1614
-                              org_id == 10121 || org_id == 9675 
1614
+                              org_id == 10121 || org_id == 9675
1615 1615
                             "
1616 1616
                           >
1617 1617
                             SpO₂<br />(%)
@@ -1757,7 +1757,7 @@
1757 1757
                                 : ""
1758 1758
                               }}
1759 1759
                             </span>
1760
-                           
1760
+
1761 1761
                           </td>
1762 1762
                           <td>
1763 1763
                             {{
@@ -1781,12 +1781,12 @@
1781 1781
                             }}
1782 1782
                           </td>
1783 1783
 
1784
-                      
1784
+
1785 1785
                           <td
1786 1786
                             v-if="
1787 1787
                               org_id != 9538 &&
1788 1788
                               org_id != 10121 &&
1789
-                              org_id != 9675 && 
1789
+                              org_id != 9675 &&
1790 1790
                               org_id!=10490 &&
1791 1791
                               org_id!=10600 &&
1792 1792
                               org_id!=10644
@@ -1801,7 +1801,7 @@
1801 1801
 
1802 1802
                           <td
1803 1803
                             v-if="
1804
-                              org_id == 10121 || org_id == 9675 
1804
+                              org_id == 10121 || org_id == 9675
1805 1805
                             "
1806 1806
                           >
1807 1807
                             {{
@@ -1813,7 +1813,7 @@
1813 1813
 
1814 1814
                           <td
1815 1815
                             v-if="
1816
-                              org_id == 10469 
1816
+                              org_id == 10469
1817 1817
                             "
1818 1818
                           >
1819 1819
                             {{
@@ -1990,7 +1990,7 @@
1990 1990
                         <td v-if="org_id == 9919||org_id == 9538 || org_id == 9671"></td>
1991 1991
                         <td v-if="org_id == 9538"></td>
1992 1992
                         <td v-if="org_id == 10490 || org_id == 0"></td>
1993
-                         
1993
+
1994 1994
                           <td style="line-height: 16px; padding: 0px">
1995 1995
                             <div
1996 1996
                               style="
@@ -2423,7 +2423,7 @@
2423 2423
                               colspan="2"
2424 2424
                               class="advice-name"
2425 2425
                               style="padding-left: 7px"
2426
-                              
2426
+
2427 2427
                             >
2428 2428
                              <span v-for="(it,i) in advice.child" :key="i">
2429 2429
                               <span>{{ it.advice_name }}</span>
@@ -2454,7 +2454,7 @@
2454 2454
                                   it.remark.length > 0
2455 2455
                                 "
2456 2456
                                 >({{ it.remark }})</span>
2457
-                              <span v-if="advice.child.length >1"> + </span> 
2457
+                              <span v-if="advice.child.length >1"> + </span>
2458 2458
                             </span>
2459 2459
                             </td>
2460 2460
 
@@ -2650,7 +2650,7 @@
2650 2650
                 </div>
2651 2651
               </div>
2652 2652
             </div>
2653
-            
2653
+
2654 2654
             <div class="row">
2655 2655
               <div class="inline_block">
2656 2656
                 入科方式:
@@ -2911,12 +2911,23 @@
2911 2911
                           class="under_line"
2912 2912
                           style="width: 70px; text-align: center"
2913 2913
                         >
2914
-                          {{
2914
+                        <span v-if="org_id != 10551">{{
2915 2915
                             record.assessment_after_dislysis &&
2916 2916
                             record.assessment_after_dislysis.weight_loss
2917 2917
                               ? record.assessment_after_dislysis.weight_loss
2918 2918
                               : "/"
2919 2919
                           }}
2920
+                         </span>
2921
+
2922
+                          <span v-if="org_id == 10551>{{
2923
+                           record.assessment_after_dislysis &&
2924
+                           record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
2925
+                             ?  record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
2926
+                             : "/"
2927
+                              }}
2928
+                            </span>
2929
+
2930
+
2920 2931
                         </div>
2921 2932
                         kg
2922 2933
                       </div>
@@ -2926,7 +2937,7 @@
2926 2937
                         style="flex: 1"
2927 2938
                         v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2928 2939
                       >
2929
-  
2940
+
2930 2941
                         <span v-if="org_id!=10460">
2931 2942
                           透析中入量  (L):
2932 2943
                         </span>
@@ -2981,7 +2992,7 @@
2981 2992
                               : "/"
2982 2993
                           }}
2983 2994
                         </div>
2984
-                       
2995
+
2985 2996
                       </div>
2986 2997
                     </div>
2987 2998
                     <div
@@ -3207,7 +3218,7 @@
3207 3218
                         </div>
3208 3219
                       </div>
3209 3220
 
3210
-                  
3221
+
3211 3222
                     </div>
3212 3223
                   <div
3213 3224
                     class="row"
@@ -3263,7 +3274,7 @@
3263 3274
                         </div>
3264 3275
                       </div>
3265 3276
 
3266
-                  
3277
+
3267 3278
                     </div>
3268 3279
                   </td>
3269 3280
                 </tr>
@@ -3798,17 +3809,17 @@ export default {
3798 3809
 
3799 3810
           //华池
3800 3811
           if(this.org_id == 0 || this.org_id ==10440){
3801
-          
3812
+
3802 3813
           var parint_id =0
3803
-        
3814
+
3804 3815
           if(this.records!=null&&this.records.length>0){
3805
-            
3816
+
3806 3817
             for(let i=0;i<this.records.length;i++){
3807 3818
              this.records[i].new_arr = []
3808 3819
              for(let j=0;j<this.records[i].advices.length;j++){
3809
-             
3820
+
3810 3821
                if(this.records[i].advices[j].advice_name.indexOf("低分子")!=-1){
3811
-                 
3822
+
3812 3823
                   parint_id = this.records[i].advices[j].id
3813 3824
                }
3814 3825
              }
@@ -3821,7 +3832,7 @@ export default {
3821 3832
              }
3822 3833
             }
3823 3834
 
3824
-           
3835
+
3825 3836
 
3826 3837
             for(let i=0;i<this.records.length;i++){
3827 3838
                this.records[i].advices= []
@@ -3838,7 +3849,7 @@ export default {
3838 3849
                 if(this.org_id!=10683){
3839 3850
                   this.records[i].monitor_records[j].end = "【结束透析】";
3840 3851
                 }
3841
-              
3852
+
3842 3853
                tempmonitorflag = false;
3843 3854
             }
3844 3855
             if(this.org_id!=10515 && this.org_id!=0){
@@ -3846,16 +3857,16 @@ export default {
3846 3857
                 if(this.org_id!=10683){
3847 3858
                   this.records[i].monitor_records[j].end = "【结束透析】";
3848 3859
                 }
3849
-              
3860
+
3850 3861
              }
3851 3862
              if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
3852 3863
                if(this.org_id!=10683){
3853 3864
                   this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
3854 3865
                }
3855
-              
3866
+
3856 3867
              }
3857 3868
             }
3858
-            
3869
+
3859 3870
             }
3860 3871
           }
3861 3872
           for (const recordIndex in this.records) {
@@ -3888,13 +3899,13 @@ export default {
3888 3899
 
3889 3900
 
3890 3901
             if(this.org_id ==10571){
3891
-             
3902
+
3892 3903
                if(this.records!=null&& this.records.length>0){
3893 3904
                 for(let i=0;i<this.records.length;i++){
3894 3905
                   this.records[i].advices.push(...this.records[i].his_advices)
3895 3906
                  }
3896 3907
                }
3897
-             
3908
+
3898 3909
             }
3899 3910
 
3900 3911
             var delghTwo = this.records[recordIndex].advices.length
@@ -3922,17 +3933,17 @@ export default {
3922 3933
 
3923 3934
 
3924 3935
 
3925
-          
3936
+
3926 3937
             if(this.org_id == 10206){
3927 3938
               console.log("this.records[recordIndex].his_project", this.records[recordIndex].his_project)
3928
-              var delghThree = 0 
3939
+              var delghThree = 0
3929 3940
              let his_project = []
3930 3941
               this.records[recordIndex].his_project.map(item => {
3931 3942
                 // if(item.type == 2){
3932 3943
                 //   his_project.push(item)
3933 3944
                 // }
3934 3945
                 his_project.push(item)
3935
-              
3946
+
3936 3947
               })
3937 3948
             this.records[recordIndex].his_project = his_project
3938 3949
               var delghThree = 0
@@ -4025,7 +4036,7 @@ export default {
4025 4036
           console.log("数据我哦我我", this.records);
4026 4037
 
4027 4038
 
4028
-           
4039
+
4029 4040
           if(this.records!=null && this.records.length>0){
4030 4041
             console.log("进啦地方大丰")
4031 4042
             for(let i=0;i<this.records.length;i++){
@@ -4062,7 +4073,7 @@ export default {
4062 4073
                       single_dose_unit:item.single_dose_unit,
4063 4074
                       parent_id:item.parent_id,
4064 4075
                       remark:item.remark,
4065
-                    
4076
+
4066 4077
                     }
4067 4078
                   }
4068 4079
                 })
@@ -4080,16 +4091,16 @@ export default {
4080 4091
 
4081 4092
                 console.log("newArrwowoow",newArr)
4082 4093
 
4083
-              this.records[i].new_his_advices = [] 
4094
+              this.records[i].new_his_advices = []
4084 4095
               this.records[i].new_his_advices.push(...newArr)
4085
-              
4096
+
4086 4097
             }
4087 4098
           }
4088 4099
 
4089
-        
4100
+
4090 4101
 
4091 4102
           console.log("时间我哦我",this.records)
4092
-        
4103
+
4093 4104
           // this.records.forEach(o => {
4094 4105
           //   console.log(o,'jj')
4095 4106
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
@@ -4315,7 +4326,7 @@ export default {
4315 4326
     //   }
4316 4327
     // },
4317 4328
     getAge: function(val) {
4318
-     
4329
+
4319 4330
      if (val.id_card_no) {
4320 4331
        var thisLen = val.id_card_no.length
4321 4332
 

+ 5 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -1253,6 +1253,10 @@ export default {
1253 1253
           }else{
1254 1254
             data["last_after_weight"] = ""
1255 1255
           }
1256
+          if(ParamsQuery.weight_loss == 0){
1257
+
1258
+             ParamsQuery.weight_loss = (this.predialysis_evaluation.weight_before - this.form.weight_after).toFixed(1)
1259
+          }
1256 1260
 
1257 1261
           console.log("Paramsquery",data)
1258 1262
 
@@ -1610,7 +1614,7 @@ export default {
1610 1614
   },
1611 1615
   created() {
1612 1616
     // console.log("this.form", this.form.consciousness);
1613
-   
1617
+
1614 1618
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1615 1619
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1616 1620
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')

+ 5 - 2
src/xt_pages/dialysis/doctorNewProjectStaticPrint.vue View File

@@ -134,22 +134,25 @@
134 134
               }
135 135
             })
136 136
             let arr = Object.values(dataInfo)
137
+            console.log("总过---------------------------",arr)
138
+          
137 139
             
138 140
             if(arr!=null && arr.length >0){
139 141
               for(let i =0;i<arr.length;i++){
140 142
                 for(let j=0;j<newArr.length;j++){
141 143
                    if(arr[i].project_id == newArr[j].project_id){
142
-                      arr[i].child.push(newArr[i])
144
+                      arr[i].child.push(newArr[j])
143 145
                    }
144 146
                 } 
145 147
               }
148
+             
146 149
               for(let i =0;i<arr.length;i++){
147 150
                 for(let j=0;j<arr[i].child.length;j++){
148 151
                    arr[i].count += parseInt(arr[i].child[j].count)
149 152
                 }
150 153
               }
151 154
 
152
-              console.log("arr0000000000000000000000",arr)
155
+              console.log("arr444444444444444444444444",arr)
153 156
               this.tableProjectList = []
154 157
               this.tableProjectList = arr
155 158
 

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

@@ -2133,7 +2133,7 @@ export default {
2133 2133
               for(let i =0;i<arr.length;i++){
2134 2134
                 for(let j=0;j<newArr.length;j++){
2135 2135
                    if(arr[i].project_id == newArr[j].project_id){
2136
-                      arr[i].child.push(newArr[i])
2136
+                      arr[i].child.push(newArr[j])
2137 2137
                    }
2138 2138
                 }
2139 2139
               }

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -100,7 +100,7 @@
100 100
                   ? dialysisOrder.DeviceNumber.number
101 101
                   : patientInfo.DialysisSchedule.device_number.number
102 102
               }}</span>
103
-            
103
+
104 104
               <span v-if="org_id ==9538 || org_id==0">
105 105
                 <span v-if="receiverTreatmentAccess.condition != 1">
106 106
                   {{
@@ -109,7 +109,7 @@
109 109
                   dialysisOrder.DeviceNumber.number.length > 0
110 110
                     ? dialysisOrder.DeviceNumber.number
111 111
                     : patientInfo.DialysisSchedule.device_number.number
112
-                
112
+
113 113
                  }}
114 114
                </span>
115 115
               </span>
@@ -1525,7 +1525,7 @@
1525 1525
                       </div>
1526 1526
                     </div>
1527 1527
 
1528
-                  
1528
+
1529 1529
 
1530 1530
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id ==10683">
1531 1531
                       上机时间:
@@ -2549,7 +2549,7 @@
2549 2549
                   ? dialysisOrder.DeviceNumber.number
2550 2550
                   : patientInfo.DialysisSchedule.device_number.number
2551 2551
               }}</span>
2552
-            
2552
+
2553 2553
               <span v-if="org_id ==9538 || org_id==0">
2554 2554
                 <span v-if="receiverTreatmentAccess.condition != 1">
2555 2555
                   {{
@@ -2558,7 +2558,7 @@
2558 2558
                   dialysisOrder.DeviceNumber.number.length > 0
2559 2559
                     ? dialysisOrder.DeviceNumber.number
2560 2560
                     : patientInfo.DialysisSchedule.device_number.number
2561
-                
2561
+
2562 2562
                  }}
2563 2563
                </span>
2564 2564
               </span>
@@ -2980,13 +2980,13 @@
2980 2980
                         class="under_line"
2981 2981
                         style="width: 70px; text-align: center"
2982 2982
                       >
2983
-                        <span v-if="org_id!=10598">{{
2983
+                        <span v-if="org_id!=10598 && org_id!=10551">{{
2984 2984
                           afterdialysis.weight_loss
2985 2985
                             ? afterdialysis.weight_loss
2986 2986
                             : "/"
2987 2987
                            }}
2988 2988
                          </span>
2989
-                         <span v-if="org_id ==10598">
2989
+                         <span v-if="org_id ==10598 || org_id == 10551">
2990 2990
                           {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2991 2991
                          </span>
2992 2992
 
@@ -4791,7 +4791,7 @@ export default {
4791 4791
           this.doctor_advices[index]["isShow"] = 2;
4792 4792
         }
4793 4793
 
4794
-          
4794
+
4795 4795
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
4796 4796
 
4797 4797
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0 || this.org_id==10478){

+ 1 - 1
src/xt_pages/user/firstDiseasePrint.vue View File

@@ -71,7 +71,7 @@
71 71
                   {{getDoctor(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))}}
72 72
                   </span>
73 73
                   <span v-else>
74
-                    <img style="height:50px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
74
+                    <img style="height:100px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
75 75
                   </span>
76 76
               </div>
77 77
           </div>