瀏覽代碼

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

yq1 8 月之前
父節點
當前提交
9e81fbb11e

+ 34 - 0
src/store/modules/globalConfig.js 查看文件

@@ -834,6 +834,36 @@ const global_config = {
834 834
         calcium: 1,
835 835
         bicarbonate: 1
836 836
       },
837
+      42: {
838
+        id: 42,
839
+        name: 'HD(1)',
840
+        dialysis_duration: 1,
841
+        replacement_way: 1,
842
+        hemodialysis_machine: 2,
843
+        blood_filter: 1,
844
+        perfusion_apparatus: 2,
845
+        blood_flow_volume: 1,
846
+        dialysate_flow: 1,
847
+        kalium: 1,
848
+        sodium: 1,
849
+        calcium: 1,
850
+        bicarbonate: 1
851
+      },
852
+      43: {
853
+        id: 43,
854
+        name: 'HD(2)',
855
+        dialysis_duration: 1,
856
+        replacement_way: 1,
857
+        hemodialysis_machine: 2,
858
+        blood_filter: 1,
859
+        perfusion_apparatus: 2,
860
+        blood_flow_volume: 1,
861
+        dialysate_flow: 1,
862
+        kalium: 1,
863
+        sodium: 1,
864
+        calcium: 1,
865
+        bicarbonate: 1
866
+      },
837 867
     },
838 868
     anticoagulants_confit: { // 抗凝剂
839 869
       1: {
@@ -2349,6 +2379,10 @@ const global_config = {
2349 2379
     {
2350 2380
       id: 2,
2351 2381
       name: '后稀释'
2382
+    },
2383
+    {
2384
+      id:3,
2385
+      name:"前+后稀释"
2352 2386
     }
2353 2387
     ],
2354 2388
 

+ 1 - 0
src/xt_pages/dialysis/details/NavIgation.vue 查看文件

@@ -126,6 +126,7 @@
126 126
        :dryWeightList="dryWeightList"
127 127
        :docList="docList"
128 128
        :first_monitor="first_monitor"
129
+       :last_record="last_assessment_after_dislysis"
129 130
     ></assessment-before-dislysis-dialog>
130 131
 
131 132
     <treatment-summary-dialog

+ 15 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

@@ -39,6 +39,12 @@
39 39
             </el-form-item>
40 40
           </el-col>
41 41
 
42
+          <el-col :span="8" v-if="this.$store.getters.xt_user.template_info.org_id ==10702 || this.$store.getters.xt_user.template_info.org_id ==0">
43
+            <el-form-item label="上次透后体重:" :prop="isName('上次透后体重')">
44
+              <el-input v-model="assessmentBeforeDislysis.last_weight" :disabled="true"></el-input>
45
+            </el-form-item>
46
+          </el-col>
47
+
42 48
           <el-col :span="8">
43 49
             <el-form-item label="干体重(kg):"
44 50
               :prop="isName('干体重')"
@@ -988,6 +994,7 @@
988 994
           washing_time:"",
989 995
           warsh_count:"",
990 996
           puncture_needle_direction:"",
997
+          last_weight:"",
991 998
         },
992 999
 
993 1000
         InnerDialogProps: {
@@ -1068,6 +1075,12 @@
1068 1075
           return { id: 0 };
1069 1076
         }
1070 1077
       },
1078
+      last_record: {
1079
+        type: Object,
1080
+        default: () => {
1081
+          return { id: 0 }
1082
+        }
1083
+      },
1071 1084
 
1072 1085
     },
1073 1086
     methods: {
@@ -1138,6 +1151,8 @@
1138 1151
 
1139 1152
         console.log("第一条监测数据23333333333333333",this.first_monitor)
1140 1153
 
1154
+        this.assessmentBeforeDislysis.last_weight = (this.last_record.weight_after - this.last_record.additional_weight).toFixed(1)
1155
+
1141 1156
         if(this.lastPredialysisEvaluation != null) {
1142 1157
         // if(this.lastPredialysisEvaluation.remark == "" && this.$store.getters.xt_user.org.id == 10307){
1143 1158
         //     console.log("2o2o3232o23o2o3o23")

+ 12 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -952,20 +952,22 @@
952 952
                     <el-col :span="8"
953 953
                             v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
954 954
                             v-show="totalShow">
955
-                        <el-form-item label="置换液总量(ml)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')">
956
-                            <el-input
957
-                                    v-model="dialysisPrescription.displace_liqui_value"
958
-                            ></el-input>
955
+                        <el-form-item label="置换液总量(ml)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26">
956
+                            <el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
957
+                        </el-form-item>
958
+
959
+                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id ==26">
960
+                            <el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
959 961
                         </el-form-item>
960 962
                     </el-col>
961 963
                     <el-col :span="8"
962 964
                             v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
963 965
                             v-show="totalShow">
964
-                            <!-- v-show="totalShow" -->
965
-                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')">
966
-                            <el-input
967
-                                    v-model="dialysisPrescription.displace_liqui_value"
968
-                            ></el-input>
966
+                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26">
967
+                            <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
968
+                        </el-form-item>
969
+                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26">
970
+                            <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
969 971
                         </el-form-item>
970 972
                     </el-col>
971 973
 
@@ -3309,7 +3311,7 @@ mu
3309 3311
             //   }
3310 3312
 
3311 3313
             // }
3312
-            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10 && this.dialysisPrescription.mode_id!=34 && this.dialysisPrescription.mode_id!=35  && this.dialysisPrescription.mode_id!=36 && this.dialysisPrescription.mode_id!=37){
3314
+            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10 && this.dialysisPrescription.mode_id!=34 && this.dialysisPrescription.mode_id!=35  && this.dialysisPrescription.mode_id!=36 && this.dialysisPrescription.mode_id!=37 && this.dialysisPrescription.mode_id!=41){
3313 3315
               this.dialysisPrescription.displace_liqui_part = 0
3314 3316
               this.dialysisPrescription.displace_liqui_value = 0
3315 3317
               this.dialysisPrescription.replacement_total = 0

+ 13 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -917,7 +917,7 @@
917 917
                         }}
918 918
                         </span>
919 919
 
920
-                        <span v-if="org_id ==10510 ">
920
+                        <span v-if="org_id ==10510 || org_id == 0">
921 921
                           <span v-if="prescription.mode_id ==2 || prescription.mode_id ==5 || presciption.mode_id==12">{{
922 922
                             afterdialysis.displace_liqui_value
923 923
                             ? afterdialysis.displace_liqui_value
@@ -926,7 +926,7 @@
926 926
                         </span>
927 927
                         <span v-else>/</span>
928 928
                         </span>
929
-                        <span v-if="org_id!=10206&& org_id!=10510"> {{
929
+                        <span v-if="org_id!=10206&& org_id!=10510 && org_id!=0"> {{
930 930
                           prescription.displace_liqui_value
931 931
                             ? prescription.displace_liqui_value
932 932
                             : "/"
@@ -951,15 +951,19 @@
951 951
                             ? prescription.replacement_total
952 952
                             : "/"
953 953
                         }}
954
-                        </span>
954
+                       </span>
955 955
 
956
-                        <span v-if="org_id ==10510"> {{
957
-                          afterdialysis.displace_liqui_value
956
+                        <span v-if="org_id ==10510 || org_id == 0">
957
+                          <span v-if="prescription.mode_id ==2 || prescription.mode_id ==5 || presciption.mode_id==12">{{
958
+                            afterdialysis.displace_liqui_value
958 959
                             ? afterdialysis.displace_liqui_value
959 960
                             : "/"
960
-                        }}
961
+                           }}
962
+                          </span>
963
+                          <span v-else>/</span>
961 964
                         </span>
962 965
 
966
+                       
963 967
                         <span v-if="org_id!=10206 && org_id!=10510"> {{
964 968
                           prescription.displace_liqui_value
965 969
                             ? prescription.displace_liqui_value
@@ -2197,7 +2201,7 @@
2197 2201
 
2198 2202
 
2199 2203
                       <tr
2200
-                      v-if="org_id == 0 || org_id ==10206 || org_id== 10489"
2204
+                      v-if="org_id == 0 || org_id ==10206"
2201 2205
                       v-for="(advice, advice_index) in projectsOne"
2202 2206
                       :key="advice_index"
2203 2207
                     >
@@ -2416,7 +2420,7 @@
2416 2420
 
2417 2421
 
2418 2422
                       <tr
2419
-                      v-if="org_id == 0 || org_id ==10206 || org_id ==10489 || org_id ==10633 || org_id ==10644"
2423
+                      v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id ==10644"
2420 2424
                       v-for="(advice, advice_index) in projectsOne"
2421 2425
                       :key="advice_index"
2422 2426
                     >
@@ -5639,7 +5643,7 @@ export default {
5639 5643
 
5640 5644
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5641 5645
 
5642
-        if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0){
5646
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0){
5643 5647
           let projectsOne = [];
5644 5648
           response.data.data.projects.map((item) => {
5645 5649
               projectsOne.push(item);