Browse Source

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 1 year ago
parent
commit
a0f9d19827

+ 2 - 25
src/pages/main/newActionBar/components/subDrugOrder.vue View File

28
                         v-model="order.advice_desc"
28
                         v-model="order.advice_desc"
29
                         :fetch-suggestions="querySearch1"
29
                         :fetch-suggestions="querySearch1"
30
                         placeholder="请输入内容"
30
                         placeholder="请输入内容"
31
+                        @select="handleSelect1"
31
                         @input="changeDrugDesc"
32
                         @input="changeDrugDesc"
32
                         ></el-autocomplete>
33
                         ></el-autocomplete>
33
                         <input
34
                         <input
260
         },
261
         },
261
         createFilter (queryString) {
262
         createFilter (queryString) {
262
             return (restaurant) => {
263
             return (restaurant) => {
263
-                // return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
264
+                //return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
264
                 return (restaurant.drug_name.indexOf(queryString) != -1)
265
                 return (restaurant.drug_name.indexOf(queryString) != -1)
265
             }
266
             }
266
         },
267
         },
267
         handleSelect (item) {
268
         handleSelect (item) {
268
-            console.log("itemwowowowo",item)
269
             this.drug_id = 0
269
             this.drug_id = 0
270
             this.way = 0
270
             this.way = 0
271
             this.current_drug_name = name
271
             this.current_drug_name = name
272
             this.order.advice_desc = ''
272
             this.order.advice_desc = ''
273
-             
274
-            var specai_name  = item.drug_specs[0].dose + item.drug_specs[0].dose_unit +"*" +item.drug_specs[0].min_number + item.drug_specs[0].min_unit +"/" + item.drug_specs[0].max_unit
275
-
276
-            this.order.advice_desc = specai_name
277
-            this.order.drug_spec_unit = item.drug_specs[0].min_unit
278
-            this.order.prescribing_number = item.drug_specs[0].prescribing_number
279
-            this.order.prescribing_number_unit = item.drug_specs[0].prescribing_number_unit
280
-            this.order.single_dose = item.drug_specs[0].single_dose
281
-            this.order.single_dose_unit =this.getUnits(item.drug_specs[0].drug_dose_unit) 
282
-            this.order.delivery_way  = item.drug_specs[0].delivery_way
283
-            this.order.execution_frequency = item.drug_specs[0].execution_frequency
284
-
285
             this.drugSpec = []
273
             this.drugSpec = []
286
             for (let i = 0; i < this.all_drug.length; i++) {
274
             for (let i = 0; i < this.all_drug.length; i++) {
287
                 if (this.all_drug[i].drug_name == item.drug_name) {
275
                 if (this.all_drug[i].drug_name == item.drug_name) {
509
             this.drug_name_id = 0
497
             this.drug_name_id = 0
510
             this.order.drug_id = 0;
498
             this.order.drug_id = 0;
511
         },
499
         },
512
-
513
-        getUnits(id){
514
-            console.log("drug_spec_unit_options",this.drug_spec_unit_options)
515
-            var name = ""
516
-            for(let i=0;i<this.drug_spec_unit_options.length;i++){
517
-                if(id == this.drug_spec_unit_options[i].id){
518
-                name = this.drug_spec_unit_options[i].name
519
-                }
520
-            }
521
-            return name
522
-          },
523
     }
500
     }
524
 }
501
 }
525
 </script>
502
 </script>

+ 15 - 15
src/pages/main/template/DialysisPrintOrderSeventy.vue View File

27
                 <check-box  :checked="patientInfo_source_1 "></check-box>
27
                 <check-box  :checked="patientInfo_source_1 "></check-box>
28
             </div>
28
             </div>
29
         </div>
29
         </div>
30
-        <div class="inline_block" v-if="org_id!=10510">
30
+        <div class="inline_block" v-if="org_id!=10510" >
31
           病区:
31
           病区:
32
-            <div class="under_line" style="width: 50px;text-align: center;">
32
+            <div class="under_line" style="width: 70px;text-align: left;">
33
                 {{'/'}}
33
                 {{'/'}}
34
             </div>
34
             </div>
35
         </div>
35
         </div>
36
-        <div class="inline_block" v-if="org_id!=10510">
36
+        <div class="inline_block" v-if="org_id!=10510" style="margin-left: 10px;">
37
           床号:
37
           床号:
38
             <div class="under_line" style="width: 50px;text-align: center;">
38
             <div class="under_line" style="width: 50px;text-align: center;">
39
               <span v-if="org_id!=9675 && org_id!=10447 && org_id!=10460"> {{'/'}}</span>
39
               <span v-if="org_id!=9675 && org_id!=10447 && org_id!=10460"> {{'/'}}</span>
184
                   </div>
184
                   </div>
185
                 </div>
185
                 </div>
186
                 <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" >
186
                 <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" >
187
-                  <div class="inline_block" style="flex:1;">
187
+                  <div class="inline_block" style=" flex: 1">
188
                     穿刺方式:
188
                     穿刺方式:
189
                     <div
189
                     <div
190
                       class="under_line"
190
                       class="under_line"
191
-                      style="width: 100px;text-align: center"
192
-                      v-if="predialysis.puncture_way == 0"
191
+                      style="width: 100px; text-align: center"
192
+                      v-if="predialysis.puncture_way == ''"
193
                     >
193
                     >
194
-                      /
194
+                        /
195
                     </div>
195
                     </div>
196
                     <div
196
                     <div
197
                       class="under_line"
197
                       class="under_line"
198
-                      style="width: 100px;text-align: center"
199
-                      v-if="predialysis.puncture_way == 1"
198
+                      style="width: 60px; text-align: center"
199
+                      v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
200
                     >
200
                     >
201
                       绳梯
201
                       绳梯
202
                     </div>
202
                     </div>
203
                     <div
203
                     <div
204
                       class="under_line"
204
                       class="under_line"
205
-                      style="width: 100px;text-align: center"
206
-                      v-if="predialysis.puncture_way == 2"
205
+                      style="width: 60px; text-align: center"
206
+                      v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
207
                     >
207
                     >
208
                       扣眼
208
                       扣眼
209
                     </div>
209
                     </div>
210
                     <div
210
                     <div
211
                       class="under_line"
211
                       class="under_line"
212
-                      style="width: 100px;text-align: center"
213
-                      v-if="predialysis.puncture_way == 3"
212
+                      style="width: 60px; text-align: center"
213
+                      v-if="predialysis.puncture_way.indexOf('区域') > -1"
214
                     >
214
                     >
215
                       区域
215
                       区域
216
                     </div>
216
                     </div>
444
                     kg
444
                     kg
445
                   </div>
445
                   </div>
446
                   <div class="inline_block" style="flex:1;" >
446
                   <div class="inline_block" style="flex:1;" >
447
-                    计划超滤量:
447
+                    目标超滤量:
448
                     <div class="under_line" style="width: 70px;text-align: center">
448
                     <div class="under_line" style="width: 70px;text-align: center">
449
                       {{prescription.target_ultrafiltration?prescription.target_ultrafiltration:'/'}}
449
                       {{prescription.target_ultrafiltration?prescription.target_ultrafiltration:'/'}}
450
                     </div>
450
                     </div>
627
                       <td> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
627
                       <td> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
628
                       <td>{{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}</td>
628
                       <td>{{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}</td>
629
                       <td> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
629
                       <td> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
630
-                      <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
631
                       <td> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
630
                       <td> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
632
                         {{  monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
631
                         {{  monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
633
                       </td>
632
                       </td>
633
+                      <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
634
                       <td> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
634
                       <td> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
635
                       <td> {{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }} </td>
635
                       <td> {{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }} </td>
636
                       <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} </td>
636
                       <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} </td>