XMLWAN před 3 roky
rodič
revize
602cb15b76

+ 15 - 0
src/store/modules/globalConfig.js Zobrazit soubor

@@ -554,6 +554,21 @@ const global_config = {
554 554
         sodium: 1,
555 555
         calcium: 1,
556 556
         bicarbonate: 1
557
+      },
558
+      24: {
559
+        id: 24,
560
+        name: 'I-HDF',
561
+        dialysis_duration: 1,
562
+        replacement_way: 1,
563
+        hemodialysis_machine: 2,
564
+        blood_filter: 1,
565
+        perfusion_apparatus: 2,
566
+        blood_flow_volume: 1,
567
+        dialysate_flow: 1,
568
+        kalium: 1,
569
+        sodium: 1,
570
+        calcium: 1,
571
+        bicarbonate: 1
557 572
       }
558 573
     },
559 574
     anticoagulants_confit: { // 抗凝剂

+ 16 - 1
src/xt_pages/data/prescription.vue Zobrazit soubor

@@ -773,7 +773,22 @@ export default {
773 773
           sodium: 1,
774 774
           calcium: 1,
775 775
           bicarbonate: 1
776
-        }
776
+        },
777
+        {
778
+          id: 24,
779
+          name: 'I-HDF',
780
+          dialysis_duration: 1,
781
+          replacement_way: 1,
782
+          hemodialysis_machine: 2,
783
+          blood_filter: 1,
784
+          perfusion_apparatus: 2,
785
+          blood_flow_volume: 1,
786
+          dialysate_flow: 1,
787
+          kalium: 1,
788
+          sodium: 1,
789
+          calcium: 1,
790
+          bicarbonate: 1
791
+       }
777 792
       ],
778 793
       addPlan: {
779 794
         id: 0,

+ 2 - 0
src/xt_pages/dialysis/dialysisDoctorAdvice.vue Zobrazit soubor

@@ -121,6 +121,7 @@
121 121
             <span v-if="scope.row.mode_id == 12">(HDF+HP)</span>
122 122
             <span v-if="scope.row.mode_id == 13">(CRRT)</span>
123 123
             <span v-if="scope.row.mode_id == 14">(腹水回输)</span>
124
+            <span v-if="scope.row.mode_id == 24">I-HDF</span>
124 125
           </template>
125 126
         </el-table-column>
126 127
         <el-table-column  label="分区床位" width="100">
@@ -249,6 +250,7 @@
249 250
             <span v-if="scope.row.mode_id == 12">(HDF+HP)</span>
250 251
             <span v-if="scope.row.mode_id == 13">(CRRT)</span>
251 252
             <span v-if="scope.row.mode_id == 14">(腹水回输)</span>
253
+            <span v-if="scope.row.mode_id == 24">I-HDF</span>
252 254
           </template>
253 255
         </el-table-column>
254 256
         <el-table-column prop="date" label="透析器" align="center" min-width="26px">

+ 2 - 2
src/xt_pages/dialysis/doctorAdvicePrint.vue Zobrazit soubor

@@ -66,7 +66,7 @@
66 66
                             <span v-if="schedule.mode_id == 12">(HDF+HP)</span>
67 67
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
68 68
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
69
-                                
69
+                            <span v-if="schedule.mode_id == 24">I-HDF</span>   
70 70
                             </td>
71 71
                             <td v-if="advice_index == 0" :rowspan="group.advices.length">
72 72
                             {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialyzer_perfusion_apparatus : ""}}
@@ -177,7 +177,7 @@
177 177
                             <span v-if="schedule.mode_id == 12">(HDF+HP)</span>
178 178
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
179 179
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
180
-                                
180
+                            <span v-if="schedule.mode_id == 24">I-HDF</span>   
181 181
                             </td>
182 182
                             <td v-if="advice_index == 0" :rowspan="group.advices.length">
183 183
                             {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialyzer_perfusion_apparatus : ""}}

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue Zobrazit soubor

@@ -47,7 +47,7 @@
47 47
             <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp;
48 48
             <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>&nbsp;
49 49
             <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>&nbsp;
50
-            
50
+            <label-box :isChecked="prescription.mode_id == 24 ? true : false" showValue="I-HDF"></label-box>&nbsp;
51 51
           </td>
52 52
         </tr>
53 53
         <tr>

+ 32 - 6
src/xt_pages/stock/drugs/drugPrint.vue Zobrazit soubor

@@ -42,13 +42,13 @@
42 42
               </td>
43 43
             
44 44
               <td style="line-height: 50px">
45
-                  {{item.warehousing_count}}
45
+                  {{getCount(item.drug_id)}}
46 46
               </td>
47 47
               <td style="line-height:50px">
48 48
                   {{item.price}}
49 49
               </td>
50 50
               <td style="line-height:50px">
51
-                 {{(item.warehousing_count*item.price).toFixed(2)}}
51
+                 {{(getCount(item.drug_id)*item.price).toFixed(2)}}
52 52
               </td>
53 53
               <td style="line-height: 50px">
54 54
                  {{item.remark}}
@@ -89,7 +89,7 @@
89 89
   import { jsGetAge, uParseTime } from '@/utils/tools'
90 90
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
91 91
   import print from 'print-js'
92
-  import { getDrugIndetail,getDrugWarehouseInfoPrint} from "@/api/drug/drug_stock"
92
+  import { getDrugIndetail,getDrugWarehouseInfoPrint,getDrugCountList} from "@/api/drug/drug_stock"
93 93
   export default {
94 94
     name: 'dialysisPrintOrder',
95 95
     components: {
@@ -115,6 +115,7 @@
115 115
         limit:this.$route.query.limit,
116 116
         page:this.$route.query.page,
117 117
         cancelStockDate:[],
118
+        minCount:[],
118 119
       }
119 120
     },
120 121
     methods: {
@@ -218,7 +219,7 @@
218 219
       getTotal(){
219 220
         var total = 0
220 221
         for(let i=0;i<this.cancelStockDate.length;i++){
221
-           total += this.cancelStockDate[i].price*this.cancelStockDate[i].warehousing_count
222
+           total += this.cancelStockDate[i].price*getCount(this.cancelStockDate[i].drug_id)
222 223
         }
223 224
         return total
224 225
       },
@@ -238,7 +239,32 @@
238 239
         })
239 240
 
240 241
         
241
-      }
242
+      },
243
+      getCount(drug_id){
244
+        var total = 0
245
+        for(let i=0;i<this.minCount.length;i++){
246
+          if(drug_id == this.minCount[i].drug_id){
247
+            total += this.minCount[i].warehousing_count
248
+          }
249
+        }
250
+        return total
251
+      },
252
+      getDrugCountList(){
253
+         var params = {
254
+          keyword: this.keywords,
255
+          start_time:this.start_time,
256
+          end_time:this.end_time,
257
+         }
258
+         console.log("paramsw2ww",params)
259
+        getDrugCountList(params).then(response=>{
260
+          if(response.data.state == 1){
261
+            var minCount = response.data.data.minCount
262
+            console.log("minCount",minCount)
263
+            this.minCount = minCount
264
+
265
+          }
266
+        })
267
+      },
242 268
     },
243 269
     created() {
244 270
       var xtuser = this.$store.getters.xt_user
@@ -247,7 +273,7 @@
247 273
      
248 274
 
249 275
       this.getDrugWarehouseInfoPrint()
250
-      
276
+       this.getDrugCountList()
251 277
 
252 278
     }
253 279