Преглед на файлове

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 преди 1 месец
родител
ревизия
4451322741
променени са 30 файла, в които са добавени 486 реда и са изтрити 159 реда
  1. 45 0
      src/api/fallassement.js
  2. 4 0
      src/xt_pages/dialysis/PatientBox.vue
  3. 3 1
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue
  4. 5 5
      src/xt_pages/dialysis/batch_print/batch_print_order_seventythree.vue
  5. 7 0
      src/xt_pages/dialysis/details/NavIgation.vue
  6. 29 2
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  7. 2 1
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue
  8. 1 2
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  9. 5 1
      src/xt_pages/dialysis/details/index.vue
  10. 5 0
      src/xt_pages/dialysis/details/indexs.vue
  11. 24 8
      src/xt_pages/dialysis/hisLongSignPrint.vue
  12. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue
  13. 12 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue
  14. 4 4
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue
  15. 5 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue
  16. 8 2
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue
  17. 1 0
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  18. 55 8
      src/xt_pages/qcd/patientControlAnalysis.vue
  19. 3 3
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  20. 2 2
      src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue
  21. 26 7
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  22. 8 4
      src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue
  23. 62 62
      src/xt_pages/user/components/PatientSidebar.vue
  24. 1 4
      src/xt_pages/user/evaluationtool/Fallassessment.vue
  25. 38 23
      src/xt_pages/user/evaluationtool/OHpressuresore.vue
  26. 21 8
      src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue
  27. 22 2
      src/xt_pages/user/evaluationtool/pressuresore.vue
  28. 55 4
      src/xt_pages/user/history/Children_history.vue
  29. 22 2
      src/xt_pages/user/history/tumble_history.vue
  30. 9 1
      src/xt_pages/user/templateSummary.vue

+ 45 - 0
src/api/fallassement.js Целия файл

@@ -61,4 +61,49 @@ export function getAllNurseList(params){
61 61
       method:"post",
62 62
       data:data,
63 63
     })
64
+  }
65
+
66
+  export function getPedDiatricFallAssessmentList(params){
67
+   
68
+    return request({
69
+      url:"/api/patient/getbeddiatricfallassessmentlist",
70
+      method:"get",
71
+      params:params
72
+    })
73
+  }
74
+
75
+  export function getPedPatientFallAssessmentById(id,params){
76
+   
77
+    return request({
78
+      url:"/api/patient/getpedpatientfallassessmentbyid?id="+id,
79
+      method:"get",
80
+      params:params
81
+    })
82
+  }
83
+
84
+  export function deletePedPatientFallassment(id,params){
85
+   
86
+    return request({
87
+      url:"/api/patient/deletepedpatientfallassment?id="+id,
88
+      method:"Get",
89
+      params:params
90
+    })
91
+  }
92
+
93
+  export function savePatientPressuresore(data){
94
+   
95
+    return request({
96
+      url:"/api/patient/savepatientpressuresore",
97
+      method:"post",
98
+      data:data,
99
+    })
100
+  }
101
+
102
+  export function savePatientHpressuresore(data){
103
+   
104
+    return request({
105
+      url:"/api/patient/savepatienthpressuresore",
106
+      method:"post",
107
+      data:data,
108
+    })
64 109
   }

+ 4 - 0
src/xt_pages/dialysis/PatientBox.vue Целия файл

@@ -361,6 +361,7 @@ export default {
361 361
       modedata: 0,
362 362
       stockType: [],
363 363
       dryWeightList:[],
364
+      lastAccept:{id:0}
364 365
     };
365 366
   },
366 367
   props: {
@@ -580,6 +581,9 @@ export default {
580 581
 
581 582
           var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation;
582 583
           console.log("上次透前评估", lastPredialysisEvaluation);
584
+          this.lastAccept = resp.data.lastAcceptTreatment
585
+          console.log("上次透析数据----",this.lastAccept)
586
+          
583 587
           if (lastPredialysisEvaluation != null) {
584 588
             if (lastPredialysisEvaluation.blood_access_part_id == -2) {
585 589
               lastPredialysisEvaluation.blood_access_part_id = 0;

+ 3 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue Целия файл

@@ -689,7 +689,9 @@
689 689
                     </td>
690 690
                     <td v-if="advice_index === 4">净脱水量</td>
691 691
                     <td v-if="advice_index === 4">
692
-                      {{record.assessment_after_dislysis.actual_ultrafiltration ? record.assessment_after_dislysis.actual_ultrafiltration : '0'}}L
692
+                      {{record.assessment_after_dislysis.actual_ultrafiltration ? record.assessment_after_dislysis.actual_ultrafiltration : '0'}}
693
+                      <span v-if="org_id ==10617"> ml</span>
694
+                      <span v-else>L</span>
693 695
                     </td>
694 696
                     <td v-if="advice_index === 5">透后体重</td>
695 697
                     <td v-if="advice_index === 5">

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_seventythree.vue Целия файл

@@ -1170,10 +1170,10 @@
1170 1170
                                   v-if=" record.dialysis_order && monitor_record.operate_time == 
1171 1171
                                     record.dialysis_order.start_time
1172 1172
                                   "
1173
-                                  >【开始透析】引血100ml/min</template
1173
+                                  >【开始透析】引血 {{ record.dialysis_order.blood_drawing }} ml/min</template
1174 1174
                                 >
1175 1175
                                 {{ monitor_record.end }}
1176
-                                 &nbsp;{{ monitor_record.dispose}}
1176
+                                 &nbsp;
1177 1177
                                 &nbsp;
1178 1178
                               </span>
1179 1179
                             </div>
@@ -1991,15 +1991,15 @@ export default {
1991 1991
             for(let j=0;j<this.records[i].monitor_records.length;j++){
1992 1992
               this.records[i].monitor_records[j].end = ""
1993 1993
               if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
1994
-              this.records[i].monitor_records[j].end = "【结束透析】回血100ml/min";
1994
+              this.records[i].monitor_records[j].end = "【结束透析】回血"+this.records[i].dialysis_order.blood_drawing +"ml/min"
1995 1995
               tempmonitorflag = false;
1996 1996
             }
1997 1997
             if(this.org_id!=10515 ){
1998 1998
               if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1999
-              this.records[i].monitor_records[j].end = "【结束透析】回血100ml/min";
1999
+              this.records[i].monitor_records[j].end = "【结束透析】回血"+this.records[i].dialysis_order.blood_drawing +"ml/min"
2000 2000
              }
2001 2001
              if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
2002
-               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】回血100ml/min"
2002
+               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】回血"+this.records[i].dialysis_order.blood_drawing +"ml/min"
2003 2003
              }
2004 2004
             }
2005 2005
 

+ 7 - 0
src/xt_pages/dialysis/details/NavIgation.vue Целия файл

@@ -110,6 +110,7 @@
110 110
       ref="accepts"
111 111
       :patient="patient"
112 112
       :receiver_treatment_access="receiver_treatment_access"
113
+      :lastTreat="lastTreat"
113 114
     ></accepts-treatment-dialog>
114 115
 
115 116
     <assessment-before-dislysis-dialog
@@ -588,6 +589,12 @@ export default {
588 589
     },
589 590
     record_date:{
590 591
       type:String
592
+    },
593
+    lastTreat:{
594
+      type: Object,
595
+      default: () => {
596
+        return { id: 0 };
597
+      }
591 598
     }
592 599
   },
593 600
   methods: {

+ 29 - 2
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Целия файл

@@ -77,7 +77,7 @@
77 77
         :rules="isCheckmust('病人情况')"
78 78
         v-if="isShow('病人情况')"
79 79
       >
80
-      <el-radio-group v-model="receiveTreatmentAsses.condition">
80
+      <el-radio-group v-model="receiveTreatmentAsses.condition" @change="changeRaido">
81 81
         <el-radio label="1"
82 82
           >住院</el-radio
83 83
         >
@@ -717,7 +717,20 @@ export default {
717 717
              this.infoDialogVisible = false
718 718
            }
719 719
         })
720
-      }
720
+      },
721
+      changeRaido(val){
722
+        console.log("val---",val)
723
+        console.log("lastt",this.lastTreat)
724
+        if(val ==1){
725
+          if(this.lastTreat!=null){
726
+            this.receiveTreatmentAsses.admission_number = this.lastTreat.admission_number
727
+          }
728
+        }else{
729
+          if(this.lastTreat!=null){
730
+            this.receiveTreatmentAsses.admission_number = ""
731
+          }
732
+        }
733
+    }
721 734
   },
722 735
   props: {
723 736
     receiver_treatment_access: {
@@ -734,6 +747,12 @@ export default {
734 747
         return { id: 0 };
735 748
       },
736 749
     },
750
+    lastTreat:{
751
+      type: Object,
752
+      default: () => {
753
+        return { id: 0 };
754
+      }
755
+    }
737 756
   },
738 757
   watch: {
739 758
     isVisibility(val) {},
@@ -747,6 +766,13 @@ export default {
747 766
     },
748 767
   },
749 768
   created() {
769
+    console.log("lastTreat",this.lastTreat)
770
+    if(this.lastTreat!=null){
771
+      if(this.receiveTreatmentAsses.condition ==1){
772
+        this.receiveTreatmentAsses.admission_number = this.lastTreat.admission_number
773
+      }
774
+    
775
+    }
750 776
     // console.log("接诊评估", this.receiver_treatment_access);
751 777
     var date = this.$route.query && this.$route.query.date;
752 778
     this.record_date = date
@@ -764,6 +790,7 @@ export default {
764 790
     this.intake_arr = getDataConfig("hemodialysis", "intake");
765 791
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
766 792
   },
793
+ 
767 794
 };
768 795
 </script>
769 796
 

+ 2 - 1
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Целия файл

@@ -551,6 +551,7 @@ export default {
551 551
     this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers;
552 552
     this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation;
553 553
     this.form.blood_access_id = this.dialysis_order.blood_access_id;
554
+    this.form.blood_drawing = this.dialysis_order.blood_drawing
554 555
     this.blood_access_option_name = this.changeBloodAccessOpion(this.dialysis_order.blood_access_id)
555 556
     // this.form.schedual_type = this.dialysis_order.schedule_type
556 557
     // this.schedual_type = this.dialysis_order.schedule_type
@@ -608,7 +609,7 @@ export default {
608 609
       this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers;
609 610
       this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation;
610 611
       this.form.blood_access_id = this.dialysis_order.blood_access_id;
611
-
612
+      this.form.blood_drawing = this.dialysis_order.blood_drawing
612 613
       var blood_access_option_name = this.changeBloodAccessOpionOne(this.dialysis_order.blood_access_id)
613 614
       // this.form.schedual_type = this.dialysis_order.schedule_type
614 615
       // console.log("8823832323223",this.form.schedual_type)

+ 1 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Целия файл

@@ -2528,7 +2528,7 @@ mu
2528 2528
          console.log("开始啊",admins)
2529 2529
          this.dialysisPrescription.admin_user_id = this.$store.getters.xt_user.user.id
2530 2530
        }else{
2531
-          this.dialysisPrescription.admin_user_id = prescription.admin_user_id
2531
+          this.dialysisPrescription.admin_user_id = prescription.admin_user_id?this.$store.getters.xt_user.user.id:0
2532 2532
        }
2533 2533
 
2534 2534
        this.adminRoles = []
@@ -2537,7 +2537,6 @@ mu
2537 2537
             this.adminRoles.push(admins[i])
2538 2538
           }
2539 2539
         }
2540
-        console.log("admin_user_+id2332323223332", this.$store.getters.xt_user.user.id)
2541 2540
       },
2542 2541
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2543 2542
         console.log("pres",pre)

+ 5 - 1
src/xt_pages/dialysis/details/index.vue Целия файл

@@ -1041,7 +1041,7 @@
1041 1041
           :lastOrder="lastOrder"
1042 1042
           :dryWeightList="dryWeightList"
1043 1043
           :docList="docList"
1044
-
1044
+          :lastTreat="lastTreat"
1045 1045
         >
1046 1046
         </nav-igation>
1047 1047
 
@@ -1522,6 +1522,7 @@ export default {
1522 1522
       start_time:moment().startOf('months').format('YYYY-MM-DD'),
1523 1523
       end_time:moment().endOf('months').format('YYYY-MM-DD'),
1524 1524
       orderList:[],
1525
+      lastTreat:{id:0}
1525 1526
       // start_time2:'',
1526 1527
       // end_time2:'',
1527 1528
     }
@@ -2021,6 +2022,9 @@ export default {
2021 2022
           var stockType =  resp.data.stockType
2022 2023
           this.stockType = stockType
2023 2024
 
2025
+          this.lastTreat = resp.data.lastAcceptTreatment
2026
+          console.log("上次透后平出-----------",this.lastTreat)
2027
+
2024 2028
           this.dryWeightList = resp.data.dryWeightList
2025 2029
           this.docList = resp.data.docList
2026 2030
           console.log("doclist-----",this.docList)

+ 5 - 0
src/xt_pages/dialysis/details/indexs.vue Целия файл

@@ -106,6 +106,7 @@
106 106
           :lastOrder="lastOrder"
107 107
           :dryWeightList="dryWeightList"
108 108
           :docList="docList"
109
+          :lastTreat="lastTreat"
109 110
 
110 111
         >
111 112
         </nav-igation>
@@ -538,6 +539,7 @@ export default {
538 539
       dryWeightList:[],
539 540
       docList:[],
540 541
       blood_access_part_opera: [],
542
+      lastTreat:{id:0}
541 543
     }
542 544
   },
543 545
   created() {
@@ -1033,6 +1035,9 @@ export default {
1033 1035
           this.dryWeightList = resp.data.dryWeightList
1034 1036
           this.docList = resp.data.docList
1035 1037
           console.log("doclist-----",this.docList)
1038
+
1039
+          this.lastTreat = resp.data.lastAcceptTreatment
1040
+          console.log("上次透后平出-----------",this.lastTreat)
1036 1041
           var prepare = resp.data.prepare
1037 1042
           if(prepare!=null){
1038 1043
             this.preparestock = prepare

+ 24 - 8
src/xt_pages/dialysis/hisLongSignPrint.vue Целия файл

@@ -55,7 +55,6 @@ export default {
55 55
             start_time:"",
56 56
             end_time:"",
57 57
             print_time:moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
58
-
59 58
             zone_selected: 0,
60 59
             scheduleMap:[],
61 60
             time:'',
@@ -195,18 +194,35 @@ export default {
195 194
           }
196 195
         }
197 196
        
198
-        this.list = list
197
+       
199 198
         this.total = response.data.data.total
200 199
         var adviceList = response.data.data.adviceList
201 200
         this.adviceList = adviceList
202 201
 
203
-        for(let i=0;i<list.length;i++){
204
-          for(let j=0;j<adviceList.length;j++){
205
-            if(list[i].patient_id == adviceList[j].patient_id){
206
-                list[i].his_advice_list.push(adviceList[j])
207
-            }
208
-          }
202
+        var longHisAdviceList = response.data.data.longHisAdviceList
203
+        
204
+        if(this.org_id!=10571 && this.org_id!=0){
205
+            for(let i=0;i<list.length;i++){
206
+                for(let j=0;j<adviceList.length;j++){
207
+                    if(list[i].patient_id == adviceList[j].patient_id){
208
+                        list[i].his_advice_list.push(adviceList[j])
209
+                    }
210
+                }
211
+             }
209 212
         }
213
+
214
+        if(this.org_id ==10571 || this.org_id == 0){
215
+            for(let i=0;i<list.length;i++){
216
+                for(let j=0;j<longHisAdviceList.length;j++){
217
+                    if(list[i].patient_id == longHisAdviceList[j].patient_id){
218
+                        list[i].his_advice_list.push(longHisAdviceList[j])
219
+                    }
220
+                }
221
+             }
222
+        }
223
+       
224
+
225
+        this.list = list
210 226
       
211 227
         var druglist = response.data.data.drugList
212 228
         this.drugList =druglist

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue Целия файл

@@ -512,8 +512,8 @@
512 512
           </th>
513 513
 
514 514
           <th style="width: 80px; font-weight: normal">
515
-            <p style="height: 20px; line-height: 20px">SpO₂</p>
516
-            <p style="height: 20px; line-height: 20px">%</p>
515
+            <p style="height: 20px; line-height: 20px">肝素余量</p>
516
+            <!-- <p style="height: 20px; line-height: 20px">%</p> -->
517 517
           </th>
518 518
           <th style="width: 333px; font-weight: normal">
519 519
             <p style="height: 20px; line-height: 20px">

+ 12 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue Целия файл

@@ -73,6 +73,12 @@
73 73
                   : ""
74 74
               }}</span>
75 75
               <span v-else>{{ "/" }}</span> -->
76
+
77
+              <span>{{
78
+                patientInfo.DialysisSchedule.device_zone.name
79
+                  ? patientInfo.DialysisSchedule.device_zone.name
80
+                  : ""
81
+              }}</span>
76 82
             </div>
77 83
           </div>
78 84
           <div class="inline_block" >
@@ -86,6 +92,12 @@
86 92
                   : patientInfo.DialysisSchedule.device_number.number
87 93
               }}</span>
88 94
               <span v-else>{{ "/" }}</span> -->
95
+              {{dialysisOrder &&
96
+                dialysisOrder.DeviceNumber &&
97
+                dialysisOrder.DeviceNumber.number.length > 0
98
+                  ? dialysisOrder.DeviceNumber.number
99
+                  : patientInfo.DialysisSchedule.device_number.number
100
+                }}
89 101
             </div>
90 102
           </div>
91 103
           <div class="inline_block">

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue Целия файл

@@ -1084,10 +1084,10 @@
1084 1084
                                   monitor.operate_time ==
1085 1085
                                     dialysisOrder.start_time)
1086 1086
                                 "
1087
-                                >【开始透析】引血100ml/min
1087
+                                >【开始透析】引血{{ dialysisOrder.blood_drawing }} ml/min
1088 1088
                                 </template>
1089 1089
 
1090
-                              {{ monitor.end }}  &nbsp;{{ monitor.dispose}}
1090
+                              {{ monitor.end }}  &nbsp;
1091 1091
                               &nbsp;
1092 1092
                             </span>
1093 1093
                           </div>
@@ -2638,11 +2638,11 @@ export default {
2638 2638
               (this.dialysisOrder &&
2639 2639
               monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)
2640 2640
             ) {
2641
-              this.monitors[index].end = "【结束透析】回血100ml/min";
2641
+              this.monitors[index].end = "【结束透析】"+"回血"+this.dialysisOrder.blood_drawing +"ml/min";
2642 2642
               tempmonitorflag = false;
2643 2643
             }
2644 2644
             if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
2645
-              this.monitors[index].end = "【结束透析】回血100ml/min";
2645
+              this.monitors[index].end = "【结束透析】"+"回血"+this.dialysisOrder.blood_drawing +"ml/min";
2646 2646
             }
2647 2647
           }
2648 2648
         }

+ 5 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue Целия файл

@@ -137,7 +137,8 @@
137 137
         <div class="row">
138 138
           血管通路 
139 139
           <div class="inline_block under_line" style="width:92%;text-align: left;">
140
-            <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="内瘘"></label-box>
140
+            {{ predialysis.blood_access_part_opera_name?predialysis.blood_access_part_opera_name:"/" }}
141
+            <!-- <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="内瘘"></label-box>
141 142
             (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : false" showValue="左"></label-box>
142 143
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="右"></label-box>)
143 144
             &nbsp;
@@ -151,10 +152,13 @@
151 152
             &nbsp;
152 153
             <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股')>-1?true:predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股')>-1?true:false" showValue="股"></label-box>
153 154
             &nbsp;
155
+           
154 156
             <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-左')>-1?true:predialysis.blood_access_part_opera_name.indexOf('股静脉-右')>-1?true:false" showValue="股静脉"></label-box>
155 157
             (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-左') > -1 ? true : false" showValue="左"></label-box>
156 158
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-右') > -1 ? true : false" showValue="右"></label-box>)
157 159
             &nbsp;
160
+            <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股')>-1?true:predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股')>-1?true:false" showValue="股"></label-box>
161
+            &nbsp; -->
158 162
           </div>
159 163
         </div>
160 164
         <div class="row">

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue Целия файл

@@ -72,7 +72,10 @@
72 72
           <div style="flex: 1;">
73 73
             置换方式
74 74
             <span class="under-line" style="display: inline-block;width: 50%;" v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">
75
-              {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
75
+              <!-- {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }} -->
76
+              {{
77
+                getDisplaceLiquiPart(prescription.displace_liqui_part)
78
+             }}
76 79
             </span>
77 80
             <span class="under-line" style="display: inline-block;width: 50%;" v-else>
78 81
               /
@@ -497,7 +500,10 @@
497 500
               <td v-if="advice_index === 3">较干体重增加量</td>
498 501
               <td v-if="advice_index === 3">{{ (predialysis.weight_before - predialysis.dry_weight - predialysis.additional_weight).toFixed(2) }}kg</td>
499 502
               <td v-if="advice_index === 4">净脱水量</td>
500
-              <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}L</td>
503
+              <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }} 
504
+                <span v-if="org_id ==10617"> ml</span>
505
+                <span v-else>L</span>
506
+              </td>
501 507
               <td v-if="advice_index === 5">透后体重</td>
502 508
               <td v-if="advice_index === 5">{{ afterdialysis.weight_after }}kg</td>
503 509
               <td v-if="advice_index === 6">本次透析体重下降量</td>

+ 1 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Целия файл

@@ -1906,6 +1906,7 @@ export default {
1906 1906
                 }).catch(() => {
1907 1907
                 })
1908 1908
 
1909
+
1909 1910
               } else {
1910 1911
                 that.radio = 1
1911 1912
                 that.changeRadioAndPatient(1)

+ 55 - 8
src/xt_pages/qcd/patientControlAnalysis.vue Целия файл

@@ -76,6 +76,7 @@
76 76
           <p class="chartTitle">统计表</p>
77 77
         </div>
78 78
         <div>
79
+          <el-button type="primary" size="small" style="margin-bottom: 10px;" @click="toExportList">导出</el-button>
79 80
           <el-table :data="tableData" v-loading="isLoadingTwo" border style="width: 100%"
80 81
                     :row-style="{ color: '#303133' }"
81 82
                     :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}">
@@ -105,7 +106,7 @@
105 106
                     v-if="scope.row.data[modeItem.item_name].range_type == 1 && scope.row.data[modeItem.item_name].inspect_value !=''&& (parseInt(scope.row.data[modeItem.item_name].inspect_value) > parseInt(scope.row.data[modeItem.item_name].range_max))">
106 107
                 <span>{{ scope.row.data[modeItem.item_name].inspect_value }}</span><span
107 108
                     style="color:#F56C6C;margin-left:5px;">↑</span>
108
-              </span>
109
+               </span>
109 110
                 <span
110 111
                     v-if="scope.row.data[modeItem.item_name].range_type == 1 && scope.row.data[modeItem.item_name].inspect_value !=''&& (parseInt(scope.row.data[modeItem.item_name].inspect_value) >= parseInt(scope.row.data[modeItem.item_name].range_min))&& (parseInt(scope.row.data[modeItem.item_name].inspect_value) <= parseInt(scope.row.data[modeItem.item_name].range_max)) ">{{ scope.row.data[modeItem.item_name].inspect_value }}</span>
111 112
                 <span
@@ -137,7 +138,7 @@
137 138
               @size-change="handleSizeChange"
138 139
               @current-change="handleCurrentChange"
139 140
               :current-page="listQuery.page"
140
-              :page-sizes="[10, 20, 50, 100]"
141
+              :page-sizes="[10, 20, 50, 100,200,300,400,500,600]"
141 142
               :page-size="10"
142 143
               background
143 144
               style="margin-top:20px;"
@@ -586,10 +587,6 @@ export default {
586 587
           }
587 588
           console.log(newArr)
588 589
 
589
-          console.log("newArr")
590
-
591
-
592
-
593 590
           let dataInfo = {}
594 591
           newArr.forEach((item, index) => {
595 592
             let { patient_id } = item
@@ -644,7 +641,7 @@ export default {
644 641
           })
645 642
 
646 643
 
647
-
644
+          console.log("arrthree",arrthree)
648 645
           var dd = {}
649 646
           for (const index in arrthree) {
650 647
             if (!(arrthree[index].patient_id in dd)) {
@@ -655,6 +652,7 @@ export default {
655 652
 
656 653
             }
657 654
           }
655
+          console.log("dad00000000000000",dd)
658 656
 
659 657
           let dataInfotwo = {}
660 658
           newArr.forEach((item, index) => {
@@ -795,7 +793,56 @@ export default {
795 793
       this.listQuery.search = val.name
796 794
       this.patient_id = val.id
797 795
       this.onSearch()
798
-    }
796
+    },
797
+    toExportList(){
798
+      import("@/vendor/Export2Excel").then((excel) => {
799
+       
800
+         var arr =["序号","姓名","透析号"]
801
+          if(this.normData!=null && this.normData.length>0){
802
+            for(let i=0;i<this.normData.length;i++){
803
+               arr.push(this.normData[i].item_name)
804
+            }
805
+          }
806
+         
807
+         if(this.tableData!=null && this.normData!=null && this.tableData.length>0&&this.normData.length>0){
808
+           
809
+          var newArr =[]
810
+         
811
+          for(let i=0;i<this.tableData.length;i++){
812
+            var obj = {index:0,name:"",patient_id:0,dialysis_no:"",item_name:""}
813
+            for(let j=0;j<this.normData.length;j++){
814
+               obj.index = i+1
815
+               obj.patient_id = this.tableData[i].patient_id
816
+               obj.name = this.tableData[i].name
817
+               obj.dialysis_no = this.tableData[i].dialysis_no
818
+               obj[this.normData[j].item_name] = this.tableData[i].data[this.normData[j].item_name].inspect_value
819
+            }
820
+            newArr.push(obj)
821
+          }
822
+         }
823
+        console.log("患者质控达标统计",newArr) 
824
+        const tHeader = arr
825
+         var newList = ["index","name","dialysis_no"]
826
+         if(this.normData!=null && this.normData.length>0){
827
+            for(let i=0;i<this.normData.length;i++){
828
+              newList.push(this.normData[i].item_name)
829
+            }
830
+          }
831
+          var filterVal = []
832
+          filterVal = newList
833
+
834
+          const data = this.formatJson(filterVal, newArr);
835
+          excel.export_json_to_excel({
836
+            header: tHeader,
837
+            data,
838
+            filename: "患者质控达标统计",
839
+          });
840
+          this.downloadLoading = false;
841
+        });
842
+    },
843
+    formatJson(filterVal, jsonData) {
844
+      return jsonData.map((v) => filterVal.map((j) => v[j]));
845
+    },
799 846
   },
800 847
   created() {
801 848
     var nowDate = new Date()

+ 3 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Целия файл

@@ -144,7 +144,7 @@
144 144
            <el-pagination
145 145
             @size-change="handleSizeChange"
146 146
             @current-change="handleCurrentChange"
147
-            :page-sizes="[10, 50, 100,200,500,1000]"
147
+            :page-sizes="[10, 50, 100,200,300,400,500,1000]"
148 148
             :page-size="10"
149 149
             background
150 150
             align="right"
@@ -438,7 +438,7 @@ export default {
438 438
               list[i].drugAddOne= 0
439 439
               list[i].drugOutOne =0
440 440
               
441
-              if(this.org_id ==10210 || this.org_id==0 || this.org_id ==10402){
441
+              if(this.org_id ==10210 || this.org_id==0 || this.org_id ==10402 || this.org_id ==10215){
442 442
                  list[i].drugIn = this.GetDrugStartFlow(list[i].DrugStatFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit) 
443 443
               }else{
444 444
                 list[i].drugIn = this.GetInitStartFlow(list[i].new_drug_in_flow_info,list[i].new_drug_profit_flow_info,list[i].new_drug_out_flow_info,list[i].new_drug_no_profit_flow_info,list[i].new_drug_cancel_flow_info,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -463,7 +463,7 @@ export default {
463 463
               list[i].drugOutSalePrice = "/"
464 464
 
465 465
          
466
-            if(this.org_id == 10265 || this.org_id ==10210 || this.org_id==10402){
466
+            if(this.org_id == 10265 || this.org_id ==10210 || this.org_id==10402 || this.org_id ==10215){
467 467
               list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
468 468
             }else{
469 469
               list[i].overDrug = this.GetDrugOver(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)

+ 2 - 2
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue Целия файл

@@ -347,7 +347,7 @@ export default {
347 347
                 list[i].drugAddOne= 0
348 348
                 list[i].drugOutOne =0
349 349
                
350
-                if(this.org_id ==10210 || this.org_id ==10402){
350
+                if(this.org_id ==10210 || this.org_id ==10402 || this.org_id ==10215){
351 351
                    list[i].drugIn = this.GetDrugStartFlow(list[i].DrugStatFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit) 
352 352
                 }else{
353 353
                   list[i].drugIn = this.GetInitStartFlow(list[i].new_drug_in_flow_info,list[i].new_drug_profit_flow_info,list[i].new_drug_out_flow_info,list[i].new_drug_no_profit_flow_info,list[i].new_drug_cancel_flow_info,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -371,7 +371,7 @@ export default {
371 371
                 list[i].drugOutSalePrice = "/"
372 372
 
373 373
                
374
-                if(this.org_id ==10265 || this.org_id ==10210 || this.org_id ==10402){
374
+                if(this.org_id ==10265 || this.org_id ==10210 || this.org_id ==10402 || this.org_id ==10215){
375 375
                   list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
376 376
                 }else{
377 377
                   list[i].overDrug = this.GetDrugOver(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)

+ 26 - 7
src/xt_pages/stock/query/purchaseNewStockQuery.vue Целия файл

@@ -151,7 +151,7 @@
151 151
            <el-pagination
152 152
             @size-change="handleSizeChange"
153 153
             @current-change="handleCurrentChange"
154
-            :page-sizes="[10, 50, 100,200,500,1000]"
154
+            :page-sizes="[10, 50, 100,200,300,400,500,1000]"
155 155
             :page-size="10"
156 156
             background
157 157
             align="right"
@@ -265,13 +265,24 @@ export default {
265 265
             this.loading = false
266 266
             for(let i=0;i<list.length;i++){
267 267
                
268
-              if(this.org_id == 0 || this.org_id ==10210){
268
+              if(this.org_id ==10210){
269 269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270 270
               }else{
271
-                list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
272
-                if(list[i].stockIn <0){
273
-                  list[i].stockIn =0
271
+                console.log("good_id",list[i].id)
272
+                console.log("入库",this.getAllStockIn(list[i].StWarehousingInfoTwo))
273
+                console.log("盘盈",this.getAllStockInFlow(list[i].WareStartInStockFlow))
274
+                console.log("出库",this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) )
275
+                console.log("盘亏",this.getAllStockOutFlow(list[i].WareStartOutStockFlow))
276
+                //针对武穴软水盐的问题
277
+                if(list[i].id== 5052){
278
+                  list[i].stockIn = list[i].GoodStartFlowInfo.over_count
279
+                }else{
280
+                  list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
281
+                  if(list[i].stockIn <0){
282
+                    list[i].stockIn =0
283
+                  }
274 284
                 }
285
+               
275 286
               }
276 287
               //  list[i].stockIn = list[i].GoodStartFlowInfo.over_count
277 288
                list[i].stock_in_price = "/"
@@ -285,10 +296,18 @@ export default {
285 296
               list[i].outStock = this.getWarehosueOutInfo(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)//本期减少
286 297
               list[i].stockOutprice = "/"
287 298
               list[i].saleOutMoney = "/"
288
-              if(this.org_id == 10265 || this.org_id == 0){
299
+              if(this.org_id == 10265){
289 300
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
290 301
               }else{
291
-                list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
302
+                console.log("期初",list[i].stockIn)
303
+                console.log("增加",list[i].stockAdd)
304
+                console.log("出库",list[i].outStock)
305
+                if((list[i].stockIn + list[i].stockAdd - list[i].outStock)>0 ){
306
+                  list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
307
+                }else{
308
+                  list[i].overStock = 0
309
+                }
310
+               
292 311
               }
293 312
             
294 313
             

+ 8 - 4
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue Целия файл

@@ -172,10 +172,14 @@ export default {
172 172
                     if(this.org_id == 0 || this.org_id ==10210){
173 173
                        list[i].stockIn = list[i].GoodStartFlowInfo.over_count
174 174
                     }else{
175
-                       list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
176
-                       if(list[i].stockIn <0){
177
-                         list[i].stockIn =0
178
-                       }
175
+                      if(list[i].id== 5052){
176
+                        list[i].stockIn = list[i].GoodStartFlowInfo.over_count
177
+                      }else{
178
+                        list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
179
+                        if(list[i].stockIn <0){
180
+                          list[i].stockIn =0
181
+                        }
182
+                      }
179 183
                     }
180 184
                     list[i].stock_in_price = "/"
181 185
                     list[i].stockMoney = "/"

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue Целия файл

@@ -204,68 +204,68 @@ export default {
204 204
             },
205 205
           ]
206 206
         },
207
-        {
208
-          name: '5',
209
-          label: '评估工具',
210
-          children: [
211
-            {
212
-              name: '5-1',
213
-              label: '跌倒评估'
214
-            },
215
-            {
216
-              name: '5-2',
217
-              label: '小儿跌倒风险评估'
218
-            },
219
-            {
220
-              name: '5-3',
221
-              label: '压疮风险评估'
222
-            },
223
-            {
224
-              name: '5-4',
225
-              label: 'OH压疮评估'
226
-            },
227
-            {
228
-              name: '5-5',
229
-              label: '日常生活能力评估'
230
-            },
231
-            {
232
-              name: '5-6',
233
-              label: '导管脱落风险评估'
234
-            },
235
-            {
236
-              name: '5-7',
237
-              label: 'RASS及疼痛评估'
238
-            },
239
-            {
240
-              name: '5-8',
241
-              label: '营养状况评估'
242
-            },
243
-            {
244
-              name: '5-9',
245
-              label: '约束告知单'
246
-            },
247
-            {
248
-              name: '5-10',
249
-              label: '心理评估'
250
-            },
251
-            {
252
-              name: '5-11',
253
-              label: '瘙痒评估'
254
-            },
255
-            {
256
-              name: '5-12',
257
-              label: '血液透析患者评估'
258
-            },
259
-            {
260
-              name: '5-13',
261
-              label: 'Glasgow昏迷评分量表'
262
-            },
263
-            {
264
-              name: '5-14',
265
-              label: '肌力评估表'
266
-            },
267
-           ]
268
-         },
207
+        // {
208
+        //   name: '5',
209
+        //   label: '评估工具',
210
+        //   children: [
211
+        //     {
212
+        //       name: '5-1',
213
+        //       label: '跌倒评估'
214
+        //     },
215
+        //     {
216
+        //       name: '5-2',
217
+        //       label: '小儿跌倒风险评估'
218
+        //     },
219
+        //     {
220
+        //       name: '5-3',
221
+        //       label: '压疮风险评估'
222
+        //     },
223
+        //     {
224
+        //       name: '5-4',
225
+        //       label: 'OH压疮评估'
226
+        //     },
227
+        //     {
228
+        //       name: '5-5',
229
+        //       label: '日常生活能力评估'
230
+        //     },
231
+        //     {
232
+        //       name: '5-6',
233
+        //       label: '导管脱落风险评估'
234
+        //     },
235
+        //     {
236
+        //       name: '5-7',
237
+        //       label: 'RASS及疼痛评估'
238
+        //     },
239
+        //     {
240
+        //       name: '5-8',
241
+        //       label: '营养状况评估'
242
+        //     },
243
+        //     {
244
+        //       name: '5-9',
245
+        //       label: '约束告知单'
246
+        //     },
247
+        //     {
248
+        //       name: '5-10',
249
+        //       label: '心理评估'
250
+        //     },
251
+        //     {
252
+        //       name: '5-11',
253
+        //       label: '瘙痒评估'
254
+        //     },
255
+        //     {
256
+        //       name: '5-12',
257
+        //       label: '血液透析患者评估'
258
+        //     },
259
+        //     {
260
+        //       name: '5-13',
261
+        //       label: 'Glasgow昏迷评分量表'
262
+        //     },
263
+        //     {
264
+        //       name: '5-14',
265
+        //       label: '肌力评估表'
266
+        //     },
267
+        //    ]
268
+        //  },
269 269
         {
270 270
           name: '6',
271 271
           label: '文书管理',

+ 1 - 4
src/xt_pages/user/evaluationtool/Fallassessment.vue Целия файл

@@ -518,7 +518,6 @@
518 518
     data() {
519 519
       return {
520 520
         patient_id:0,
521
-        postdata:{
522 521
         ping_date:'',
523 522
         Nurse:'',
524 523
         input:'',
@@ -543,7 +542,6 @@
543 542
         content:"",
544 543
         contentOne:"",
545 544
         listOne:[],
546
-
547 545
         is_check:false,
548 546
         is_check_one:false,
549 547
         is_check_two:false,
@@ -564,11 +562,10 @@
564 562
         is_check_seventeen:false,
565 563
         is_check_eighteen:false,
566 564
         is_check_nineteen:false,
567
-
568 565
         nurseList:[],
569 566
         admin_user_id:"",
570 567
         record_date:"",
571
-        }
568
+        
572 569
       }
573 570
 
574 571
     },

+ 38 - 23
src/xt_pages/user/evaluationtool/OHpressuresore.vue Целия файл

@@ -278,6 +278,7 @@
278 278
 import PatientSidebar from '../components/PatientSidebar.vue'
279 279
 import print from 'print-js'
280 280
 import { uParseTime } from '@/utils/tools'
281
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
281 282
 export default {
282 283
   components:{
283 284
     PatientSidebar
@@ -318,8 +319,9 @@ export default {
318 319
       oh_huli:'',//护理措施
319 320
       oh_date:this.getTime(new Date()),
320 321
       oh_appraiser:null,
321
-      dayintime:this.getTime(new Date())//打印
322
+      dayintime:this.getTime(new Date()),//打印
322 323
       // oh_pinggr:[],
324
+      nurseList:[],
323 325
     }
324 326
   },
325 327
   methods:{
@@ -429,26 +431,29 @@ export default {
429 431
           oh_appraiser:this.oh_appraiser,
430 432
           Totalpoints:this.Totalpoints
431 433
         }
432
-        const arr={
433
-          id:'002',
434
-          date:this.oh_date,
435
-          mark:this.Totalpoints,
436
-          evaluate:this.oh_appraiser
437
-        }
438
-        console.log('rrrrr',arr,params);
439
-        this.history_OH.push(arr)
440
-        const lenOH= this.history_OH
441
-        var nameoh=''
442
-        for(let i=0;i<lenOH.length;i++){
443
-          lenOH[i].mark= this.Totalpoints
444
-          for(let y=0;y<this.oh_pinggr.length;y++){
445
-            if(this.oh_appraiser==this.oh_pinggr[y].id){
446
-              nameoh=this.oh_pinggr[y].label
447
-            }
448
-          }
449
-          lenOH[i].evaluate= nameoh
450
-        }
451
-        return this.cancel_num
434
+      savePatientHpressuresore(params).then(response=>{
435
+
436
+      })
437
+        // const arr={
438
+        //   id:'002',
439
+        //   date:this.oh_date,
440
+        //   mark:this.Totalpoints,
441
+        //   evaluate:this.oh_appraiser
442
+        // }
443
+        // console.log('rrrrr',arr,params);
444
+        // this.history_OH.push(arr)
445
+        // const lenOH= this.history_OH
446
+        // var nameoh=''
447
+        // for(let i=0;i<lenOH.length;i++){
448
+        //   lenOH[i].mark= this.Totalpoints
449
+        //   for(let y=0;y<this.oh_pinggr.length;y++){
450
+        //     if(this.oh_appraiser==this.oh_pinggr[y].id){
451
+        //       nameoh=this.oh_pinggr[y].label
452
+        //     }
453
+        //   }
454
+        //   lenOH[i].evaluate= nameoh
455
+        // }
456
+        // return this.cancel_num
452 457
       }
453 458
     },
454 459
     //编辑
@@ -541,13 +546,23 @@ export default {
541 546
           return this.oh_pinggr[i].label
542 547
         }
543 548
       }
544
-    }
549
+    },
550
+    getAllNurseList(){
551
+     getAllNurseList().then(response=>{
552
+        if(response.data.state ==1){
553
+          var nurseList  = response.data.data.nurseList
554
+
555
+          this.nurseList =nurseList
556
+        }
557
+    })
558
+  },
545 559
   },
546 560
   computed:{
547 561
     Totalpoints(){
548 562
       return this.gaunjie_num*1 + this.edema_num*1 + this.bingli_num*1 + this.tiwei_num*1
549 563
     }
550
-  }
564
+  },
565
+ 
551 566
 }
552 567
 </script>
553 568
 <style lang="scss" scoped>

+ 21 - 8
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue Целия файл

@@ -115,9 +115,9 @@
115 115
                             <el-select v-model="tumble" placeholder="请选择" >
116 116
                                 <el-option
117 117
                                 v-for="item in tumble_options"
118
-                                :key="item.value"
119
-                                :label="item.label"
120
-                                :value="item.value"
118
+                                :key="item.admin_user_id"
119
+                                :label="item.user_name"
120
+                                :value="item.admin_user_id"
121 121
                                 style="width:150px;">
122 122
                                 </el-option>
123 123
                             </el-select>
@@ -157,7 +157,7 @@
157 157
 import PatientSidebar from '../components/PatientSidebar.vue'
158 158
 import Falloutbedprint from './Falloutbedprint.vue'
159 159
 import { uParseTime } from '@/utils/tools'
160
-import { savePediatrcFallAssesment } from '@/api/fallassement'
160
+import { savePediatrcFallAssesment,getAllNurseList } from '@/api/fallassement'
161 161
 export default {
162 162
   components:{
163 163
     PatientSidebar,
@@ -209,6 +209,7 @@ export default {
209 209
   created(){
210 210
     const id = this.$route.params && this.$route.params.id
211 211
     this.patient_id = parseInt(id)
212
+    this.getAllNurseList()
212 213
   },
213 214
   methods:{
214 215
     ageclick(e,item){
@@ -309,7 +310,7 @@ export default {
309 310
     },
310 311
     // 历史评估
311 312
     childerHistory(){
312
-      this.$router.push({path: '/patients/Children_history'})
313
+      this.$router.push({path: '/patients/Children_history?patient_id='+this.patient_id})
313 314
     },
314 315
     getTime(val) {
315 316
         if(val < 0){
@@ -338,10 +339,22 @@ export default {
338 339
           patient:this.patient,
339 340
        }
340 341
        console.log("params----",params)
341
-      savePediatrcFallAssesment(params).then(Response=>{
342
-
342
+      savePediatrcFallAssesment(params).then(response=>{
343
+         if(response.data.state ==1){
344
+           var pedFallssessment =  response.data.data.pedFallssessment
345
+           this.$message.success("保存成功!")
346
+         }
343 347
       })
344
-    }
348
+    },
349
+    getAllNurseList(){
350
+        getAllNurseList().then(response=>{
351
+           if(response.data.state ==1){
352
+             var nurseList  = response.data.data.nurseList
353
+
354
+             this.tumble_options =nurseList
355
+           }
356
+        })
357
+    },
345 358
   },
346 359
   computed:{
347 360
     pedia_Totalpoints(){

+ 22 - 2
src/xt_pages/user/evaluationtool/pressuresore.vue Целия файл

@@ -348,6 +348,7 @@
348 348
 <script>
349 349
 import PatientSidebar from '../components/PatientSidebar'
350 350
 import { uParseTime } from '@/utils/tools'
351
+import {getAllNurseList,savePatientPressuresore } from '@/api/fallassement'
351 352
 export default {
352 353
    components:{
353 354
     PatientSidebar
@@ -382,7 +383,8 @@ export default {
382 383
       hulicheckarr:[],
383 384
       hulicuoshi:[{id:1,label:'挂床头警示标识',hulicheck:0,is_check:false},{id:2,label:'保护受压皮肤,使用减压用具(气垫床/压疮床)',hulicheck:0,is_check:false},
384 385
       {id:3,label:'定时翻身,移动避免拖拉',hulicheck:0,is_check:false},{id:4,label:'加强营养',hulicheck:0,is_check:false},
385
-      {id:5,label:'保持被衣物清洁舒适',hulicheck:0,is_check:false},{id:6,label:'其他',hulicheck:0,is_check:false}]
386
+      {id:5,label:'保持被衣物清洁舒适',hulicheck:0,is_check:false},{id:6,label:'其他',hulicheck:0,is_check:false}],
387
+      nurseList:[]
386 388
     }
387 389
    },
388 390
    methods:{
@@ -421,6 +423,15 @@ export default {
421 423
         return uParseTime(val, '{y}-{m}-{d}')
422 424
         }
423 425
     },
426
+    getAllNurseList(){
427
+        getAllNurseList().then(response=>{
428
+           if(response.data.state ==1){
429
+             var nurseList  = response.data.data.nurseList
430
+
431
+             this.nurseList =nurseList
432
+           }
433
+        })
434
+    },
424 435
     // 确认
425 436
     Pressuresore(){
426 437
       var params={
@@ -442,15 +453,24 @@ export default {
442 453
         nurse_options:this.nurse_options,
443 454
         nurse_date:this.nurse_date,
444 455
         patientID:this.patientID,
445
-        checkList:this.checkList
456
+        checkList:this.checkList,
457
+        hulicuoshi:this.hulicuoshi,
446 458
       }
447 459
       console.log('params----',params);
460
+      savePatientPressuresore.then(response=>{
461
+        if(response.data.state == 1){
462
+
463
+        }
464
+      })
448 465
     }
449 466
    },
450 467
    computed:{
451 468
     mark(){
452 469
       return this.ganzhi*1 + this.shidu*1 + this.huodong*1 + this.yidong*1 + this.mocha*1 + this.yingyang*1
453 470
     }
471
+   },
472
+   created(){
473
+     this.getAllNurseList()
454 474
    }
455 475
 }
456 476
 </script>

+ 55 - 4
src/xt_pages/user/history/Children_history.vue Целия файл

@@ -62,6 +62,7 @@
62 62
             </template>
63 63
           </el-table-column>
64 64
         </el-table>
65
+
65 66
       </div>
66 67
 
67 68
     </div>
@@ -341,7 +342,7 @@
341 342
       <span>是否删除该记录</span>
342 343
       <span slot="footer" class="dialog-footer">
343 344
         <el-button @click="delete_centerDialogVisible=false">取 消</el-button>
344
-        <el-button type="primary" @click="delete_childer">确 定</el-button>
345
+        <el-button type="primary" @click="deletePedPatientFallassment">确 定</el-button>
345 346
       </span>
346 347
     </el-dialog>
347 348
   </div>
@@ -349,6 +350,7 @@
349 350
 <script>
350 351
 import print from 'print-js'
351 352
 import { uParseTime } from '@/utils/tools'
353
+import {  getPedDiatricFallAssessmentList,getPedPatientFallAssessmentById,deletePedPatientFallassment } from '@/api/fallassement'
352 354
 export default{
353 355
   data(){
354 356
     return{
@@ -395,10 +397,23 @@ export default{
395 397
       patient_id:0,
396 398
       patient:'',
397 399
       touxihao:0,//透析号
398
-      dayintime:new Date()//打印时间
400
+      dayintime:new Date(),//打印时间
401
+      patient_id:0,
402
+      page:1,
403
+      limit:10,
404
+      total:0,
405
+      id:0,
399 406
     }
400 407
   },
401 408
   methods:{
409
+    handleSizeChange(limit){
410
+      this.limit = limit
411
+      this.getPedDiatricFallAssessmentList()
412
+    },
413
+    handleCurrentChange(page){
414
+      this.page = page;
415
+      this.getPedDiatricFallAssessmentList();
416
+    },
402 417
     fanhui(){
403 418
       window.history.go(-1);
404 419
     },
@@ -420,10 +435,17 @@ export default{
420 435
       }
421 436
     },
422 437
     open_editor(row){
423
-      this.editor_dialogVisible =true
438
+      getPedPatientFallAssessmentById(row.id).then(response=>{
439
+        if(response.data.state ==1){
440
+          this.editor_dialogVisible =true
441
+          var fallassessment = response.data.data.fallassessment
442
+        }
443
+      })
444
+     
445
+      
424 446
     },
425 447
     deletes(row){
426
-      this.row=row.id
448
+      this.id =row.id
427 449
       this.delete_centerDialogVisible = true
428 450
     },
429 451
     delete_childer(){
@@ -584,11 +606,40 @@ export default{
584 606
         return uParseTime(val, '{y}-{m}-{d}')
585 607
         }
586 608
     },
609
+
610
+    getPedDiatricFallAssessmentList(){
611
+        var params = {
612
+          patient_id:this.patient_id,
613
+          is_type:1,
614
+          page:this.page,
615
+          limit:this.limit,
616
+        }
617
+      getPedDiatricFallAssessmentList(params).then(response=>{
618
+         if(response.data.state ==1){
619
+          var list = response.data.data.list
620
+          console.log("list------",list)
621
+          var total =  response.data.data.total
622
+          this.total = total
623
+         }
624
+      })
625
+    },
626
+    deletePedPatientFallassment(){
627
+      deletePedPatientFallassment(this.id).then(response=>{
628
+         if(response.data.state==1){
629
+           var msg = response.data.data.msg
630
+           this.$message.success("保存成功!")
631
+         }
632
+      })
633
+    }
587 634
   },
588 635
   computed:{
589 636
     pedia_Totalpoints(){
590 637
       return this.agevalue + this.sexvalue + this.diagnosis_val +this.cognize_val + this.environment_val + this.medicine_val
591 638
     },
639
+  },
640
+  created(){
641
+    this.patient_id = this.$route.query.patient_id
642
+    this.getPedDiatricFallAssessmentList()
592 643
   }
593 644
 }
594 645
 </script>

+ 22 - 2
src/xt_pages/user/history/tumble_history.vue Целия файл

@@ -17,6 +17,7 @@
17 17
         <el-table
18 18
           ref="multipleTable"
19 19
           :data="tableData"
20
+          @selection-change="handleSelectionChange"
20 21
           border
21 22
           tooltip-effect="dark"
22 23
           :header-cell-style="{
@@ -816,6 +817,7 @@ export default{
816 817
       id:0,
817 818
       index:0,
818 819
       fallassesment_id:0,
820
+      ids:[]
819 821
     }
820 822
   },
821 823
   methods:{
@@ -823,10 +825,28 @@ export default{
823 825
       window.history.go(-1);
824 826
     },
825 827
     handleSelectionChange(val) {
826
-      this.multipleSelection=val;
827
-      console.log('0000',this.multipleSelection);
828
+      if(val!=null && val.length>0){
829
+        for(let i=0;i<val.length;i++){
830
+          this.ids.push(val[i].id)
831
+        }
832
+      }
828 833
     },
829 834
     open_pingfen(ids){
835
+      console.log("this.multipleSelection", this.ids)
836
+      if(ids ==1){
837
+        
838
+        if(this.ids.length==0){
839
+          this.$message('请选择需要打印的记录')
840
+        }
841
+         var params = {
842
+          ids:this.ids.join(","),
843
+         }
844
+         console.log("params----",params)
845
+        getPatientFallaessmentList(params).then(response=>{
846
+
847
+       })
848
+      }
849
+    
830 850
       if(this.multipleSelection.length==0){
831 851
         this.$message('请选择需要打印的记录')
832 852
       }else{

+ 9 - 1
src/xt_pages/user/templateSummary.vue Целия файл

@@ -1833,11 +1833,19 @@
1833 1833
           this.startYear = val+"-" + "31"
1834 1834
         }else if(val == "2021-12"){
1835 1835
           this.startYear = val+"-" + "31"
1836
+        }else if(val == "2024-02"){
1837
+          this.startYear = val+"-" + "29"
1836 1838
         }else{
1837 1839
           this.startYear = val+"-" + "30"
1838 1840
         }
1839 1841
 
1840
-        this.lastYear = val+"-"+"01"
1842
+        if(val == "2024-02"){
1843
+          this.lastYear = val+"-"+"01"
1844
+        }else{
1845
+          this.lastYear = val+"-"+"01"
1846
+        }
1847
+
1848
+       
1841 1849
         this.getInspectionMajor()
1842 1850
       },
1843 1851
       selectSummary(val){